56#ifndef _SO_XT_WALK_VIEWER_
57#define _SO_XT_WALK_VIEWER_
177 const char* name = NULL,
179 SoXtFullViewer::BuildFlag flag = SoXtFullViewer::BUILD_ALL,
180 SoXtViewer::Type type = SoXtViewer::BROWSER );
218 SoXtFullViewer::BuildFlag flag,
219 SoXtViewer::Type type,
225 virtual SbString getDefaultWidgetName()
const;
226 virtual SbString getDefaultTitle()
const;
227 virtual SbString getDefaultIconTitle()
const;
230 virtual void processEvent(
XAnyEvent* anyevent );
231 virtual void actualRedraw();
232 virtual void rightWheelMotion(
float );
238 virtual void createPrefSheet();
241 virtual void openViewerHelpCard();
243 virtual void updateCursor();
249 Cursor walkCursor, panCursor, tiltCursor, seekCursor, upCursor;
257 void updateViewerMode(
unsigned int state );
258 void switchMode(
int newMode );
259 void defineCursors();
262 void constructorCommon(
SbBool buildNow );
#define TRUE
Possible value of SbBool.
Class for smart character strings.
Class for representation of a time.
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 which moves the camera in a plane.
SoXtWalkViewer(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.
~SoXtWalkViewer()
Destructor.
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.
virtual void setViewing(SbBool onOrOff)
Sets whether the viewer is turned on or off.
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 setViewerSpeed(float speed)
Set viewer speed multiplier (default is 1)
float getViewerSpeed() const
Get viewer speed multiplier.
virtual void setCursorEnabled(SbBool onOrOff)
Sets whether the viewer is allowed to change the cursor over the renderArea window.