VisualizationController CAT3DViewer

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


public class CAT3DViewer

Class to display 3D Graphic Representations on the screen.


Constructor and Destructor Index


o CAT3DViewer(CATDialog*,CATString&,CATDlgStyle,int,int,CATViewerStyle)
Constructs a CAT3DViewer.

Method Index


o ClassId()
Returns the class identifier for which the given object is an instance.
o GetGlobalBoundingSphere()
Gets the CAT3DBoundingSphere of the scene displayed by the CAT3DViewer.
o ReframeOn(CAT3DBoundingSphere&)
Modifies the Main 3D viewpoint so that the specified CAT3DBoundingSphere takes as much place as possible on the screen.

Constructor and Destructor


o CAT3DViewer
public CAT3DViewer( iFather,
const iName,
iStyle=CATDlgFraNoTitle,
const iWidth= 800,
const iHeight= 500,
const iViewerStyle=NULL)
Constructs a CAT3DViewer.
Parameters:
iFather
iStyle
iWidth
Width in pixel
iHeight
Height in pixel
iViewerStyle
Options of the viewer's behaviour.

Methods


o ClassId
public static ClassId()
Returns the class identifier for which the given object is an instance.
o GetGlobalBoundingSphere
public GetGlobalBoundingSphere()
Gets the CAT3DBoundingSphere of the scene displayed by the CAT3DViewer.
o ReframeOn
public virtual ReframeOn( const iBs3D)
Modifies the Main 3D viewpoint so that the specified CAT3DBoundingSphere takes as much place as possible on the screen.
Parameters:
iBs3D
The CAT3DBoundingSphere you want to reframe on
See also:

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

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