VisualizationController CATNavigation3DViewer

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


public class CATNavigation3DViewer

Class to display 3D Graphic Representations on the screen, adding the Local Transformations.
When beeing instantiated, this class creates a Basic2DViewpointEditor and associate it to the Main2DViewpoint, and a CATBsic3DViewpointeditor and associate it to the Main3DViewpoint


Constructor and Destructor Index


o CATNavigation3DViewer(CATDialog*,CATString&,CATDlgStyle,int,int,CATViewerStyle)
Creates a 3D Dialog frame.

Method Index


o DisplayNextViewpoint()
Restores the Viewpoint store after the current viepoint.
o DisplayPreviousViewpoint()
Restores the Viewpoint store before the current viepoint.
o SaveViewpoint()
Stores the Current MainViewpoint so that it cn be restored later.
o SetMainViewpoint(CATViewpoint*)
Changes the viewpoint that is affected by Local Transformation .
o SetReferenceAxis(int)
Display the reference axes or hide them.

Constructor and Destructor


o CATNavigation3DViewer
public CATNavigation3DViewer( iFather,
const iName,
style=NULL,
const iWidth= 800,
const Height= 500,
const iViewerStyle=NULL)
Creates a 3D 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()
Restores the Viewpoint store after the current viepoint.
o DisplayPreviousViewpoint
public virtual DisplayPreviousViewpoint()
Restores the Viewpoint store before the current viepoint.
o SaveViewpoint
public virtual SaveViewpoint()
Stores the Current MainViewpoint so that it cn be restored later.
o SetMainViewpoint
public virtual SetMainViewpoint( )
Changes the viewpoint that is affected by Local Transformation .
o SetReferenceAxis
public virtual SetReferenceAxis( iOnOff)
Display the reference axes or hide them.
Parameters:
iOnOff
Says the reference axes are to be drawn or not.
Legal values:
  • 0 hide the reference axes
  • 1 display the reference axes (it's the default value)
  • .

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

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