AfrNavigator 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:
-
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 | iWindowTag, |
| | iEditor, |
| | iModel, |
| | iNavigatorId | = "Default", |
| | iNavigatorDepth | = -1, |
| | 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
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 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 geometric viewer.
o GetNavigBox
public virtual GetNavigBox( | ) |
-
Returns the navigbox (graph).
o GetNavigViewer
public virtual 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: CATAfrNavigator
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.