InteractiveInterfaces Interface CATIGraphWindow

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIGraphWindow

Interface to manage the graph.
Role: This interface gives an access to a graph.
It provides the basic methods to manage the graph


Method Index


o ChangeRoot(CATPathElement*)
Changes the root path.
o Collapse(CATPathElement*)
Collapses the graph node.
o Expand(CATPathElement*,CATGraphLevel)
Expands the graph node.
o SetGraphVisibility(CATGraphVisibility)
Shows/Hides the graph.
o SetGraphVisibility(CATGraphVisibility&)
Returns the Show/Hide status of graph.

Methods


o ChangeRoot
public virtual HRESULT ChangeRoot(CATPathElement* iRootPath) = 0
Changes the root path. Deletes the current root then adds the new root.
Parameters:
iRootPath
New root.
o Collapse
public virtual HRESULT Collapse(CATPathElement* iNodePath) = 0
Collapses the graph node.
Parameters:
iNodePath
Graph node to collapse.
o Expand
public virtual HRESULT Expand(CATPathElement* iNodePath,
CATGraphLevel iLevel= CATGraphLevel_1) = 0
Expands the graph node.
Parameters:
iNodePath
Graph node to expand.
iLevel
Graph expansion level.
Legal values:
  • CATGraphLevel_All to expand all level
  • CATGraphLevel_1 to collapse all level
  • CATGraphLevel_2 to expand first level
  • CATGraphLevel_3 to expand second level
  • o SetGraphVisibility
    public virtual HRESULT SetGraphVisibility(CATGraphVisibility iVisibility) = 0
    Shows/Hides the graph.
    Parameters:
    iVisibility
    Graph visibility.
    Legal values:
  • CATGraphWindow_Show graph is visible
  • CATGraphWindow_Hide graph is not visible
  • o SetGraphVisibility
    public virtual HRESULT SetGraphVisibility(CATGraphVisibility& oVisibility) = 0
    Returns the Show/Hide status of graph.
    Parameters:
    oVisibility
    Graph visibility.
    Legal values:
  • CATGraphWindow_Show graph is visible
  • CATGraphWindow_Hide graph is not visible

  • This object is included in the file: CATIGraphWindow.h
    If needed, your Imakefile.mk should include the module: CATInteractiveInterfaces

    Copyright © 1999-2014, Dassault Systèmes. All rights reserved.