26#ifndef _SO_WIN_CONSTRAINED_VIEWER_
27#define _SO_WIN_CONSTRAINED_VIEWER_
29#include <Inventor/Win/SoWinBeginStrict.h>
31#include <Inventor/Win/viewers/SoWinFullViewer.h>
32#include <Inventor/SbBox.h>
34#include <Inventor/Gui/viewers/SoGuiConstrainedViewer.h>
101 float sceneHeight, sceneSize;
118 virtual void tiltCamera(
float deltaAngle );
121 virtual void dollyCamera(
float dist );
128 virtual void bottomWheelMotion(
float newVal );
129 virtual void leftWheelMotion(
float newVal );
130 virtual void rightWheelMotion(
float newVal );
131 virtual void mouseWheelMotion(
float newVal );
136 virtual void changeCameraValues(
SoCamera* newCamera );
142 void findUpDirection(
const SbVec2s& mouseLocation );
148 void checkForCameraUpConstrain();
151 virtual void computeSeekFinalOrientation();
155 void constructorCommon(
SbBool buildNow );
160#include <Inventor/Win/SoWinEndStrict.h>
Abstract base class for camera nodes.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Base viewer clas...
virtual void resetToHomePosition()
Restores the camera values.
void setUpDirection(const SbVec3f &newUpDirection)
Specifies the upward direction of the viewer.
virtual void recomputeSceneSize()
This can be used to let the viewer know that the scene graph has changed so that the viewer can recom...
virtual void setCamera(SoCamera *newCam)
Sets the camera that will be controlled by the viewer.
SbVec3f getUpDirection()
Returns the upward direction of the viewer.
virtual void saveHomePosition()
Saves the camera values.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Base viewer clas...
BuildFlag
This specifies what should be build by default in the constructor.
Type
An EDITOR viewer will create a camera under the user supplied scene graph (specified in setSceneGraph...