All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

Visualization Class CATNavigation2DViewer

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---System.CATEventSubscriber
        |
        +---System.CATCommand
          |
          +---Dialog.CATDialog
            |
            +---Dialog.CATDlgBox
              |
              +---Dialog.CATDlgFrame
                |
                +---Visualization.CATViewer
                  |
                  +---Visualization.CAT2DViewer
                    |
                    +---CATNavigation2DViewer
 

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


public class CATNavigation2DViewer

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


Constructor and Destructor Index


o CATNavigation2DViewer(CATDialog*,CATString&,CATDlgStyle,int,int,CATViewerStyle)
Create a 2D Dialog frame.

Method Index


o DisplayNextViewpoint()
Restore the Viewpoint store after the current viepoint.
o DisplayPreviousViewpoint()
Restore the Viewpoint store before the current viepoint.
o SaveViewpoint()
Store the Current MainViewpoint so that it cn be restored later.

Constructor and Destructor


o CATNavigation2DViewer
public CATNavigation2DViewer(CATDialog* iFather,
const CATString& iName,
CATDlgStyle iStyle=CATDlgFraNoTitle,
const int iWidth= 800,
const int iHeight= 500,
const CATViewerStyle iViewerStyle=NULL)
Create a 2D 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()
Restore the Viewpoint store after the current viepoint.
o DisplayPreviousViewpoint
public virtual void DisplayPreviousViewpoint()
Restore the Viewpoint store before the current viepoint.
o SaveViewpoint
public virtual void SaveViewpoint()
Store the Current MainViewpoint so that it cn be restored later.

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

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