MainFrame Class Reference

This class implement the main frame. More...

#include <Inventor/ViewerComponents/MFC/MFCRenderArea/MainFrame.h>

List of all members.

Public Member Functions

virtual BOOL PreCreateWindow (CREATESTRUCT &cs)
virtual BOOL PreCreateWindow (CREATESTRUCT &cs)
virtual BOOL PreCreateWindow (CREATESTRUCT &cs)
RenderAreaExaminergetChildView ()
void loadFile (const SbString &filename)
void startIvTune ()
void viewAll ()
void setNavigationMode (SceneExaminer::NavigationMode mode)
SceneExaminer::NavigationMode getNavigationMode ()
RenderAreaInteractive::ClippingPlanesAdjustMode getClippingPlanesAdjustMode ()
virtual void setClippingPlanesAdjustMode (RenderAreaInteractive::ClippingPlanesAdjustMode mode)
void viewAxis (const SbVec3f &direction, const SbVec3f &up)
void saveCamera ()
void restoreCamera ()
void setSeekMode (bool onOrOff)
void openStereoPreferences ()
void activateStereo (bool activated)
bool isRawStereoAvailable ()
bool isStereoSupported ()
void setStereoCameraOffset (float offset)
void setStereoCameraBalance (float balance)

Detailed Description

This class implement the main frame.


Member Function Documentation

void MainFrame::activateStereo ( bool  activated  ) 

Activate/Deactivate stereo.

RenderAreaExaminer* MainFrame::getChildView (  )  [inline]

Function to get the child view.

RenderAreaInteractive::ClippingPlanesAdjustMode MainFrame::getClippingPlanesAdjustMode (  ) 

Get the camera clipping planes adjustment mode.

SceneExaminer::NavigationMode MainFrame::getNavigationMode (  ) 

Returns the current navigation mode.

bool MainFrame::isRawStereoAvailable (  ) 

Returns true if stereo buffering is enabled.

bool MainFrame::isStereoSupported (  ) 

Returns true if stereo can be activated.

void MainFrame::loadFile ( const SbString filename  ) 

Function to load an iv file.

void MainFrame::openStereoPreferences (  ) 

Open stereo preferences dialog.

virtual BOOL MainFrame::PreCreateWindow ( CREATESTRUCT &  cs  )  [virtual]
virtual BOOL MainFrame::PreCreateWindow ( CREATESTRUCT &  cs  )  [virtual]
virtual BOOL MainFrame::PreCreateWindow ( CREATESTRUCT &  cs  )  [virtual]
void MainFrame::restoreCamera (  ) 

Function to restore the camera parameters.

void MainFrame::saveCamera (  ) 

Function to save the camera parameters.

virtual void MainFrame::setClippingPlanesAdjustMode ( RenderAreaInteractive::ClippingPlanesAdjustMode  mode  )  [virtual]

Set the camera clipping planes adjustment mode.

void MainFrame::setNavigationMode ( SceneExaminer::NavigationMode  mode  ) 

Set navigation mode.

void MainFrame::setSeekMode ( bool  onOrOff  ) 

Set the interaction into or out off seek mode.

void MainFrame::setStereoCameraBalance ( float  balance  ) 

Set the stereo balance.

void MainFrame::setStereoCameraOffset ( float  offset  ) 

Set the stereo offset.

void MainFrame::startIvTune (  ) 

Function to start ivTune viewer.

void MainFrame::viewAll (  ) 

Function to recenter camera on the scene.

void MainFrame::viewAxis ( const SbVec3f direction,
const SbVec3f up 
)

Moves the camera to be aligned with the given direction vector while keeping the "up" direction of the camera parallel to the specified up vector.


The documentation for this class was generated from the following files:

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/