Base class to have a MFC viewer with the OpenInventor OpenGL rendering. More...
#include <Inventor/ViewerComponents/MFC/Viewers/ViewerExaminer.h>
Base class to have a MFC viewer with the OpenInventor OpenGL rendering.
Class to render an OpenInventor scene graph in a Qt widget, with navigation tools.
This class is designed to be used as main widget of an application. See MFCRenderAreaGuiIntegration example for more details.
This class extends QWidget.
ViewerExaminer::ViewerExaminer | ( | ) |
Constructor.
virtual ViewerExaminer::~ViewerExaminer | ( | ) | [virtual] |
Destructor.
ViewerExaminer::ViewerExaminer | ( | QWidget * | parent | ) |
Constructor.
ViewerExaminer::~ViewerExaminer | ( | ) |
void ViewerExaminer::activateStereo | ( | bool | activated | ) |
void ViewerExaminer::activateStereo | ( | bool | activated | ) |
Activate/Deactivate stereo.
RenderAreaExaminer* ViewerExaminer::getChildView | ( | ) | [inline] |
Get the child view.
virtual RenderAreaInteractive::ClippingPlanesAdjustMode ViewerExaminer::getClippingPlanesAdjustMode | ( | ) | [virtual] |
Get the camera clipping planes adjustment mode.
RenderAreaInteractive::ClippingPlanesAdjustMode ViewerExaminer::getClippingPlanesAdjustMode | ( | ) |
Get the camera clipping planes adjustment mode.
virtual SceneExaminer::NavigationMode ViewerExaminer::getNavigationMode | ( | ) | [virtual] |
Returns the current navigation mode.
SceneExaminer::NavigationMode ViewerExaminer::getNavigationMode | ( | ) |
Returns the current navigation mode.
RenderAreaExaminer* ViewerExaminer::getRenderArea | ( | ) |
Gets the render area examiner.
bool ViewerExaminer::isRawStereoAvailable | ( | ) |
bool ViewerExaminer::isRawStereoAvailable | ( | ) |
Returns true if stereo buffering is enabled.
bool ViewerExaminer::isStereoSupported | ( | ) |
bool ViewerExaminer::isStereoSupported | ( | ) |
Returns true if stereo can be activated.
void ViewerExaminer::loadFile | ( | QString | filename | ) |
This method loads an IV file using SoInput::openFile and SoDB::readAll.
filename | This argument is the fullpath to an iv file. |
void ViewerExaminer::loadFile | ( | const SbString & | filename | ) |
Load an iv file.
virtual void ViewerExaminer::openPreferences | ( | ) | [protected, virtual, slot] |
Open preferences dialog.
void ViewerExaminer::openStereoPreferences | ( | ) |
Open stereo preferences dialog.
virtual void ViewerExaminer::restoreCamera | ( | ) | [protected, virtual, slot] |
Restore the camera position.
void ViewerExaminer::restoreCamera | ( | ) |
Restore the camera parameters.
virtual void ViewerExaminer::saveCamera | ( | ) | [protected, virtual, slot] |
Save the camera position.
void ViewerExaminer::saveCamera | ( | ) |
Save the camera parameters.
virtual void ViewerExaminer::setCameraOrtho | ( | ) | [protected, virtual, slot] |
Select the orthographic camera.
virtual void ViewerExaminer::setCameraPerspective | ( | ) | [protected, virtual, slot] |
Select the perspective camera.
virtual void ViewerExaminer::setCameraType | ( | SoType | type | ) | [virtual] |
Select the camera type.
virtual void ViewerExaminer::setClippingPlanesAdjustMode | ( | RenderAreaInteractive::ClippingPlanesAdjustMode | mode | ) | [virtual] |
Set the camera clipping planes adjustment mode.
virtual void ViewerExaminer::setClippingPlanesAdjustMode | ( | RenderAreaInteractive::ClippingPlanesAdjustMode | mode | ) | [virtual] |
Set the camera clipping planes adjustment mode.
virtual void ViewerExaminer::setNavigationMode | ( | SceneExaminer::NavigationMode | mode | ) | [virtual] |
Set navigation mode.
void ViewerExaminer::setNavigationMode | ( | SceneExaminer::NavigationMode | mode | ) |
Set navigation mode.
void ViewerExaminer::setSceneGraph | ( | SoNode * | sceneGraph | ) |
Sets the scene graph.
This is the Open Inventor scene which will be traversed for rendering and event processing.
virtual void ViewerExaminer::setSeekMode | ( | ) | [protected, virtual, slot] |
Activate/Deactivate seek mode.
void ViewerExaminer::setSeekMode | ( | bool | onOrOff | ) |
Set the interaction into or out off seek mode.
void ViewerExaminer::setStereoCameraBalance | ( | float | balance | ) |
void ViewerExaminer::setStereoCameraBalance | ( | float | balance | ) |
Set the stereo balance.
void ViewerExaminer::setStereoCameraOffset | ( | float | offset | ) |
void ViewerExaminer::setStereoCameraOffset | ( | float | offset | ) |
Set the stereo offset.
virtual void ViewerExaminer::setXYView | ( | ) | [protected, virtual, slot] |
Set XY view.
virtual void ViewerExaminer::setXZView | ( | ) | [protected, virtual, slot] |
Set XZ view.
virtual void ViewerExaminer::setYZView | ( | ) | [protected, virtual, slot] |
Set YZ view.
virtual void ViewerExaminer::viewAll | ( | ) | [virtual, slot] |
Set the camera in order to see the whole scene.
void ViewerExaminer::viewAll | ( | ) |
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.
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.