26#ifndef _SO_WIN_FLY_VIEWER_
27#define _SO_WIN_FLY_VIEWER_
29#include <Inventor/Win/SoWinBeginStrict.h>
31#include <Inventor/Win/viewers/SoWinConstrainedViewer.h>
32#include <Inventor/SbLinear.h>
33#include <Inventor/SbTime.h>
35#include <Inventor/Gui/viewers/SoGuiFlyViewer.h>
103 const char* name = NULL,
104 SbBool buildInsideParent = TRUE,
151 virtual SbString getDefaultWidgetName()
const;
152 virtual SbString getDefaultTitle()
const;
153 virtual SbString getDefaultIconTitle()
const;
156 virtual void processEvent( XAnyEvent* anyevent );
157 virtual void actualRedraw();
158 virtual void rightWheelMotion(
float newVal);
159 virtual void mouseWheelMotion(
float newVal );
162 virtual void createPrefSheet();
165 virtual void openViewerHelpCard();
174 void switchMode(
int newMode );
175 void changeMaxStraightSpeed(
SbBool increase );
178 void constructorCommon(
SbBool buildNow );
181 void processPopupItem(
int item );
184#include <Inventor/Win/SoWinEndStrict.h>
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.
Stores runtime type information.
<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 setSeekMode(SbBool onOrOff)
Externally set the viewer into/out off seek mode (default OFF).
void setSpeedMultiplier(float speedInc)
virtual void setViewing(SbBool onOrOff)
Sets whether the viewer is turned on or off.
~SoWinFlyViewer()
Destructor.
virtual void resetToHomePosition()
Restores the camera values.
float getSpeedMultiplier()
virtual void setCamera(SoCamera *cam)
Sets the camera that will be controlled by the viewer.
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...
virtual void setCursorEnabled(SbBool onOrOff)
Sets whether the viewer is allowed to change the cursor over the renderArea window.
void setMinSpeed(float speed)
SoWinFlyViewer(SoWidget parent=NULL, const char *name=NULL, SbBool buildInsideParent=TRUE, SoWinFullViewer::BuildFlag flag=SoWinFullViewer::BUILD_ALL, SoWinViewer::Type type=SoWinViewer::BROWSER)
Constructor which specifies the viewer type.
BuildFlag
This specifies what should be build by default in the constructor.
@ BUILD_ALL
Build everything by default.
Type
An EDITOR viewer will create a camera under the user supplied scene graph (specified in setSceneGraph...
@ BROWSER
Camera views scene, but is not added to scene.