This class implement the main frame. More...
#include <Inventor/ViewerComponents/MFC/MFCRenderArea/MainFrame.h>
Public Member Functions | |
virtual BOOL | PreCreateWindow (CREATESTRUCT &cs) |
virtual BOOL | PreCreateWindow (CREATESTRUCT &cs) |
virtual BOOL | PreCreateWindow (CREATESTRUCT &cs) |
RenderAreaExaminer * | getChildView () |
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) |
This class implement the main frame.
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.
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.