All Frameworks  Class Hierarchy  This Framework  Indexes   

Visualization Class 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 .

Constructor and Destructor


o CATNavigation3DViewer
public CATNavigation3DViewer( iFather,
const iName,
iStyle=NULL,
const iWidth= 800,
const iHeight= 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 .

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

Copyright © 2003, Dassault Systèmes. All rights reserved.