All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

Visualization Class CAT3DViewer

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---System.CATEventSubscriber
        |
        +---System.CATCommand
          |
          +---Dialog.CATDialog
            |
            +---Dialog.CATDlgBox
              |
              +---Dialog.CATDlgFrame
                |
                +---Visualization.CATViewer
                  |
                  +---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(CATDialog* iFather,
const CATString& iName,
CATDlgStyle iStyle=CATDlgFraNoTitle,
const int iWidth= 800,
const int iHeight= 500,
const CATViewerStyle 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 const CLSID & __stdcall ClassId()
Returns the class identifier for which the given object is an instance.
o GetGlobalBoundingSphere
public CAT3DBoundingSphere GetGlobalBoundingSphere()
Gets the CAT3DBoundingSphere of the scene displayed by the CAT3DViewer.
o ReframeOn
public virtual void ReframeOn( const CAT3DBoundingSphere& 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:
CAT3DBoundingSphere

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

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