25#ifndef _SO_QT_FLY_VIEWER_
26#define _SO_QT_FLY_VIEWER_
27#include <Inventor/Qt/OivQtCompat.h>
28#include <Inventor/Qt/viewers/SoQtConstrainedViewer.h>
29#include <Inventor/SbLinear.h>
30#include <Inventor/SbTime.h>
32#include <Inventor/Gui/viewers/SoGuiFlyViewer.h>
104 const char* name = NULL,
105 SbBool buildInsideParent = TRUE,
164 virtual SbString getDefaultWidgetName()
const;
165 virtual SbString getDefaultTitle()
const;
166 virtual SbString getDefaultIconTitle()
const;
169 virtual void processEvent( QEvent* anyevent );
170 virtual void actualRedraw();
171 virtual void rightWheelMotion(
float newVal);
172 virtual void mouseWheelMotion(
float newVal );
175 virtual void createPrefSheet();
178 virtual void openViewerHelpCard();
187 void switchMode(
int newMode );
188 void changeMaxStraightSpeed(
SbBool increase );
191 void constructorCommon(
SbBool buildNow );
Class for representing a rotation.
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...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Viewer component...
virtual void setCursorEnabled(SbBool onOrOff)
Sets whether the viewer is allowed to change the cursor over the renderArea window.
virtual void resetToHomePosition()
Restores the camera values.
void setSpeedMultiplier(float speedInc)
Sets the speed multiplier.
~SoQtFlyViewer()
Destructor.
float getSpeedMultiplier()
Returns the speed multiplier.
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...
void setMinSpeed(float speed)
Sets the minimum speed in world coodinate / second.
virtual void setCamera(SoCamera *cam)
Sets the edited camera.
float getMinSpeed()
Returns the minimum speed.
SoQtFlyViewer(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 setViewing(SbBool onOrOff)
Sets whether the viewer is turned on or off.
virtual void setSeekMode(SbBool onOrOff)
Set the viewer into/out of seek mode (default OFF).
@ BUILD_ALL
Build everything by default.
@ BROWSER
Camera views scene, but is not added to scene.
Stores runtime type information.