All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

Visualization Class CATNavigation3DViewer

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---System.CATEventSubscriber
        |
        +---System.CATCommand
          |
          +---Dialog.CATDialog
            |
            +---Dialog.CATDlgBox
              |
              +---Dialog.CATDlgFrame
                |
                +---Visualization.CATViewer
                  |
                  +---Visualization.CAT3DViewer
                    |
                    +---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(CATDialog* iFather,
const CATString& iName,
CATDlgStyle iStyle=NULL,
const int iWidth= 800,
const int iHeight= 500,
const CATViewerStyle 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 void DisplayNextViewpoint()
Restores the Viewpoint store after the current viepoint.
o DisplayPreviousViewpoint
public virtual void DisplayPreviousViewpoint()
Restores the Viewpoint store before the current viepoint.
o SaveViewpoint
public virtual void SaveViewpoint()
Stores the Current MainViewpoint so that it cn be restored later.
o SetMainViewpoint
public virtual void SetMainViewpoint(CATViewpoint* )
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.