25#ifndef _SO_QT_WALK_VIEWER_
26#define _SO_QT_WALK_VIEWER_
103 const char* name = NULL,
151 virtual SbString getDefaultWidgetName()
const;
152 virtual SbString getDefaultTitle()
const;
153 virtual SbString getDefaultIconTitle()
const;
156 virtual void processEvent( QEvent* anyevent );
157 virtual void actualRedraw();
158 virtual void rightWheelMotion(
float newVal );
159 virtual void mouseWheelMotion(
float newVal );
160 virtual void dollyCamera(
float dist );
163 virtual QWidget* buildLeftTrim( QWidget* parent );
166 virtual void createPrefSheet();
169 virtual void openViewerHelpCard();
171 virtual void updateCursor();
182 void updateViewerMode(
unsigned int state );
183 void switchMode(
int newMode );
186 void constructorCommon(
SbBool buildNow );
189#ifndef HIDDEN_FROM_DOC
190 void extraWheelDrag(
int value );
191 void extraWheelOther(
void);
#define TRUE
Possible value of SbBool.
Class for smart character strings.
Abstract base class for camera nodes.
Sensor class that can be attached to Open Inventor fields.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Base viewer clas...
@ BUILD_ALL
Build everything by default.
@ BROWSER
Camera views scene, but is not added to scene.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Viewer component...
~SoQtWalkViewer()
Destructor.
virtual void setViewing(SbBool onOrOff)
Sets whether the viewer is turned on or off.
virtual void setCursorEnabled(SbBool onOrOff)
Sets whether the viewer is allowed to change the cursor over the renderArea window.
SoQtWalkViewer(QWidget *parent=NULL, const char *name=NULL, SbBool buildInsideParent=TRUE, SoQtFullViewer::BuildFlag flag=SoQtFullViewer::BUILD_ALL, SoQtViewer::Type type=SoQtViewer::BROWSER)
Constructor which specifies the viewer type.
virtual void setCamera(SoCamera *cam)
Sets the edited camera.
virtual void setCameraType(SoType type)
Sets the camera type that will be created by the viewer if no cameras are found in the scene graph (s...
float getViewerSpeed() const
Get viewer speed multiplier.
virtual void setSeekMode(SbBool onOrOff)
Set the viewer into/out of seek mode (default OFF).
void setViewerSpeed(float speed)
Set viewer speed multiplier (default is 1).
Stores runtime type information.