56#ifndef _SO_XT_FLY_VIEWER_
57#define _SO_XT_FLY_VIEWER_
177 const char* name = NULL,
179 SoXtFullViewer::BuildFlag flag = SoXtFullViewer::BUILD_ALL,
180 SoXtViewer::Type type = SoXtViewer::BROWSER );
217 SoXtFullViewer::BuildFlag flag,
218 SoXtViewer::Type type,
224 virtual SbString getDefaultWidgetName()
const;
225 virtual SbString getDefaultTitle()
const;
226 virtual SbString getDefaultIconTitle()
const;
229 virtual void processEvent(
XAnyEvent* anyevent );
230 virtual void actualRedraw();
231 virtual void rightWheelMotion(
float newVal );
234 virtual void createPrefSheet();
237 virtual void openViewerHelpCard();
241 Cursor viewerCursor, seekCursor, upCursor;
249 void defineCursors();
250 void switchMode(
int newMode );
251 void changeMaxStraightSpeed(
SbBool increase );
254 void constructorCommon(
SbBool buildNow );
#define TRUE
Possible value of SbBool.
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.
Base viewer class which adds camera constraints given a world up direction.
Viewer component for flying through space, with a constant world up.
SoXtFlyViewer(SoWidget parent=NULL, const char *name=NULL, SbBool buildInsideParent=TRUE, SoXtFullViewer::BuildFlag flag=SoXtFullViewer::BUILD_ALL, SoXtViewer::Type type=SoXtViewer::BROWSER)
Constructor which specifies the viewer type.
virtual void setViewing(SbBool onOrOff)
Sets whether the viewer is turned on or off.
virtual void resetToHomePosition()
Restores the camera values.
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 setSpeedMultiplier(float speedInc)
virtual void setCursorEnabled(SbBool onOrOff)
Sets whether the viewer is allowed to change the cursor over the renderArea window.
virtual void setSeekMode(SbBool onOrOff)
Externally set the viewer into/out off seek mode (default OFF).
virtual void setCamera(SoCamera *cam)
Sets the edited camera.
float getSpeedMultiplier()
void setMinSpeed(float speed)
~SoXtFlyViewer()
Destructor.