All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATIAApplicationFrame Class CATFrmNavigGraphicWindow

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---System.CATEventSubscriber
        |
        +---System.CATCommand
          |
          +---Dialog.CATDialog
            |
            +---Dialog.CATDlgWindow
              |
              +---Dialog.CATDlgDialog
                |
                +---ApplicationFrame.CATFrmWindow
                  |
                  +---CATFrmNavigGraphicWindow
 

Usage: you must use this class as is. You should never derive it.


public class CATFrmNavigGraphicWindow

Class providing a standard window with a graph and a viewer.
Role: This standard window offers a NavigBox (Graph) and a Geometric viewer. It supplies standard functionnalities on these viewers.

See also:
CATNavigBox


Constructor and Destructor Index


o CATFrmNavigGraphicWindow(CATString&,CATFrmEditor*,CATBaseUnknown_var,CATClassId,int,int)
Constructs a CATFrmNavigGraphicWindow.
o ~CATFrmNavigGraphicWindow()

Method Index


o DeleteWindow()
Deletes the window.
o DuplicateWindow()
Creates a clone window.
o GetGraphicViewer()
Returns the geometric viewer.
o GetNavigBox()
Returns the navigbox (graph).
o GetNavigViewer()
Returns the viewer of the graph.

Constructor and Destructor


o CATFrmNavigGraphicWindow
public CATFrmNavigGraphicWindow( const CATString& iWindowTag,
CATFrmEditor* iEditor,
CATBaseUnknown_var iModel,
CATClassId iNavigatorId= "Default",
int iNavigatorDepth= -1,
int iGraphDuplicate= 0 )
Constructs a CATFrmNavigGraphicWindow.
Parameters:
iWindowTag
The window name. This name is the base of displayed window title.
iEditor
The editor of the document.
iModel
The root object of the model. If this object implements the
CATINavigateObject then a specification graph of the model can be constructed automatically.
iNavigatorId
The name of the graph navigator. By default it is set to "Default".
iNavigatorDepth
The parameter of the graph navigator indicates the maximum number of visible levels in the graph. This parameter can be set to any positive integer value. The default value is set to -1 (no limit for the visible graph level).
iGraphDuplicate
The parameter of the graph navigator indicates if a node in the graph will be duplicated when it is instanciated more than one time.
Legal values:
  • 0 the nodes are not duplicated (it's the default value)
  • 1 otherwise
  • .
    o ~CATFrmNavigGraphicWindow
    public virtual ~CATFrmNavigGraphicWindow()

    Methods


    o DeleteWindow
    public virtual void DeleteWindow()
    Deletes the window.
    Role: Calls this method in place of the destructor.
    o DuplicateWindow
    public virtual CATFrmWindow* DuplicateWindow()
    Creates a clone window.
    Role: This method creates a new instance of this class. It's called to create a new window of the same document.
    o GetGraphicViewer
    public virtual CATViewer * GetGraphicViewer()
    Returns the geometric viewer.
    o GetNavigBox
    public virtual CATNavigBox * GetNavigBox()
    Returns the navigbox (graph).
    o GetNavigViewer
    public virtual CATViewer * GetNavigViewer()
    Returns the viewer of the graph.

    This object is included in the file: CATFrmNavigGraphicWindow.h
    If needed, your Imakefile.mk should include the module: CATIAApplicationFrame

    Copyright © 2003, Dassault Systèmes. All rights reserved.