AfrNavigator CATFrmGraphAnd3DWindow

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


public class CATFrmGraphAnd3DWindow

Class providing a standard window with a graph and a 3D viewer.
Role: This standard window offers a graph and a 3D geometric viewer. It supplies standard functionnalities on these viewers. Instantiate this inside your editor's method


Constructor and Destructor Index


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

Method Index


o DeleteWindow()
Deletes the window.
o DuplicateWindow()
Creates a clone window.
o GetGraphicViewer()
Returns the 3D Navigation viewer.

Constructor and Destructor


o CATFrmGraphAnd3DWindow
public CATFrmGraphAnd3DWindow( const iWindowTag,
iModel,
iEditor= 0,
iGraphDuplicate= 0,
iLodMode= 0,
iNavigatorDepth= -1)
Constructs a CATFrmGraphAnd3DWindow.
Parameters:
iWindowTag
The window name. This name is the base of displayed window title.
iModel
The root object of the model. If this object implements the
then a specification graph of the model can be constructed automatically.
iEditor
The editor of the document. By default there is no editor.
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
  • .
    iLodMode
    The level of detail mode. The default value is set to 0 (LOD mode is set to off).
    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).
    o ~CATFrmGraphAnd3DWindow
    public virtual ~CATFrmGraphAnd3DWindow()

    Methods


    o DeleteWindow
    public virtual DeleteWindow()
    Deletes the window.
    Role: Calls this method in place of the destructor.
    o DuplicateWindow
    public virtual 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 GetGraphicViewer()
    Returns the 3D Navigation viewer.

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

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