25#ifndef _SO_QT_CONSTRAINED_VIEWER_
26#define _SO_QT_CONSTRAINED_VIEWER_
91 float sceneHeight, sceneSize;
117 virtual void tiltCamera(
float deltaAngle );
120 virtual void dollyCamera(
float dist );
127 virtual void bottomWheelMotion(
float newVal );
128 virtual void leftWheelMotion(
float newVal );
129 virtual void rightWheelMotion(
float newVal );
130 virtual void mouseWheelMotion(
float newVal );
135 virtual void changeCameraValues(
SoCamera* newCamera );
141 void findUpDirection(
const SbVec2s& mouseLocation );
147 void checkForCameraUpConstrain();
150 virtual void computeSeekFinalOrientation();
154 void constructorCommon(
SbBool buildNow );
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 setCamera(SoCamera *newCam)
Sets the edited camera.
void setUpDirection(const SbVec3f &newUpDirection)
Specifies the upward direction of the viewer.
virtual void resetToHomePosition()
Restores the camera values.
SbVec3f getUpDirection()
Returns 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 saveHomePosition()
Saves the camera values.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Base viewer clas...