All Frameworks Class Hierarchy This Framework Previous Next Indexes
CATIAApplicationFrame Class CATFrmGraphAnd3DWindow
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---System.CATEventSubscriber
|
+---System.CATCommand
|
+---Dialog.CATDialog
|
+---Dialog.CATDlgWindow
|
+---Dialog.CATDlgDialog
|
+---ApplicationFrame.CATFrmWindow
|
+---CATIAApplicationFrame.CATFrmNavigGraphicWindow
|
+---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 CATIDocumentEdit.CreateDefaultWindow 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
-
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
CATINavigateObject 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 void DeleteWindow( | ) |
-
Deletes the window.
Role: Calls this method in place of the destructor.
o 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
-
Returns the 3D Navigation viewer.
This object is included in the file: CATFrmGraphAnd3DWindow.h
If needed, your Imakefile.mk should include the module: CATIAApplicationFrame