1#ifndef VIEWEREXAMINER_H
2#define VIEWEREXAMINER_H
4#include <Inventor/ViewerComponents/MFC/RenderAreaExaminer.h>
6#include <Inventor/sys/port.h>
8class StereoPropertiesDialog;
36 return &m_renderAreaExaminer;
125 StereoPropertiesDialog* m_stereoDialog;
129 afx_msg
int OnCreate( LPCREATESTRUCT lpCreateStruct );
130 afx_msg BOOL OnMouseWheel( UINT flags,
short zDelta, CPoint pt );
131 afx_msg BOOL PreTranslateMessage( MSG* pMsg );
132 afx_msg BOOL PreCreateWindow( CREATESTRUCT& cs );
134 DECLARE_MESSAGE_MAP()
Class to render an OpenInventor scene graph in a Qt OpenGL window.
ClippingPlanesAdjustMode
Camera clipping planes adjustment mode.
Class for smart character strings.
NavigationMode
Navigation Mode.
Smart pointer for any class inheriting SoRefCounter.
Base class to have a MFC viewer with the OpenInventor OpenGL rendering.
virtual ~ViewerExaminer()
Destructor.
void loadFile(const SbString &filename)
Load an iv file.
virtual void setClippingPlanesAdjustMode(RenderAreaInteractive::ClippingPlanesAdjustMode mode)
Set the camera clipping planes adjustment mode.
ViewerExaminer()
Constructor.
void openStereoPreferences()
Open stereo preferences dialog.
RenderAreaExaminer * getChildView()
Get the child view.
bool isRawStereoAvailable()
Returns true if stereo buffering is enabled.
void setNavigationMode(SceneExaminer::NavigationMode mode)
Set navigation mode.
void setStereoCameraOffset(float offset)
Set the stereo offset.
void setSeekMode(bool onOrOff)
Set the interaction into or out off seek mode.
void viewAxis(const SbVec3f &direction, const SbVec3f &up)
Moves the camera to be aligned with the given direction vector while keeping the "up" direction of th...
void viewAll()
Recenter camera on the scene.
void restoreCamera()
Restore the camera parameters.
RenderAreaInteractive::ClippingPlanesAdjustMode getClippingPlanesAdjustMode()
Get the camera clipping planes adjustment mode.
void saveCamera()
Save the camera parameters.
bool isStereoSupported()
Returns true if stereo can be activated.
void activateStereo(bool activated)
Activate/Deactivate stereo.
void setStereoCameraBalance(float balance)
Set the stereo balance.
SceneExaminer::NavigationMode getNavigationMode()
Returns the current navigation mode.