VisualizationController CATNavigation2DViewer
Usage: you must use this class as is. You should never derive it.
public class CATNavigation2DViewer
Class to display 2D Graphic Representations on the screen, adding
the Local Transformations.
When beeing instantiated, this class creates a Basic2DViewpointEditor and associate
it to the Main2DViewpoint
Constructor and Destructor Index
- o
CATNavigation2DViewer(CATDialog*,CATString&,CATDlgStyle,int,int,CATViewerStyle)
- Create a 2D Dialog frame.
Method Index
- o
DisplayNextViewpoint()
- Restore the Viewpoint store after the current viepoint.
- o
DisplayPreviousViewpoint()
- Restore the Viewpoint store before the current viepoint.
- o
SaveViewpoint()
- Store the Current MainViewpoint so that it cn be restored later.
Constructor and Destructor
o CATNavigation2DViewer
public CATNavigation2DViewer( | | iFather, |
| const | iName, |
| | iStyle | =CATDlgFraNoTitle, |
| const | iWidth | = 800, |
| const | iHeight | = 500, |
| const | iViewerStyle | =NULL) |
-
Create a 2D Dialog frame.
- Parameters:
-
- iFather
- Dialog object the viewer will be inserted into.
- iName
- Name of the viewer.
- iStyle
- Frame style (See CATDlgFrame styles)
- iWidth
- Width of the viewer's window (in pixel)
- iHeight
- Height of the viewer's window
- iViewerStyle
- Options of the viewer's behaviour
Methods
o DisplayNextViewpoint
public virtual DisplayNextViewpoint( | ) |
-
Restore the Viewpoint store after the current viepoint.
o DisplayPreviousViewpoint
public virtual DisplayPreviousViewpoint( | ) |
-
Restore the Viewpoint store before the current viepoint.
o SaveViewpoint
public virtual SaveViewpoint( | ) |
-
Store the Current MainViewpoint so that it cn be restored later.
This object is included in the file: CATNavigation2DViewer.h
If needed, your Imakefile.mk should include the module: CATVisController
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.