51# include <Inventor/Qt/viewers/SoQtPlaneViewer.h>
53# include <Inventor/Win/viewers/SoWinPlaneViewer.h>
56#ifndef _SO_XT_PLANE_VIEWER_
57#define _SO_XT_PLANE_VIEWER_
59#include <Inventor/Xt/viewers/SoXtFullViewer.h>
60#include <Inventor/SbLinear.h>
62#include <Inventor/Gui/viewers/SoGuiPlaneViewer.h>
64class SoXtBitmapButton;
176 const char* name = NULL,
177 SbBool buildInsideParent = TRUE,
178 SoXtFullViewer::BuildFlag flag = SoXtFullViewer::BUILD_ALL,
179 SoXtViewer::Type type = SoXtViewer::BROWSER );
206 SoXtFullViewer::BuildFlag flag,
207 SoXtViewer::Type type,
212 SoWidget buildWidget( SoWidget parent );
215 virtual SbString getDefaultWidgetName()
const;
216 virtual SbString getDefaultTitle()
const;
217 virtual SbString getDefaultIconTitle()
const;
220 virtual void processEvent( XAnyEvent* anyevent );
221 virtual void actualRedraw();
224 virtual void bottomWheelMotion(
float newVal );
225 virtual void leftWheelMotion(
float newVal );
226 virtual void rightWheelMotion(
float newVal );
229 virtual void createPrefSheet();
232 virtual void createViewerButtons( SoWidget parent );
235 virtual void openViewerHelpCard();
238 virtual void computeSeekFinalOrientation();
240 virtual void updateCursor();
244 Cursor transCursor, dollyCursor, seekCursor;
247 SoXtBitmapButton* buttonList[10];
248 static void pushButtonCB( SoWidget w,
int id,
void* data );
250 void updateViewerMode(
unsigned int state );
251 void switchMode(
int newMode );
252 void defineCursors();
255 void constructorCommon(
SbBool buildNow );
Class for smart character strings.
Abstract base class for camera nodes.
Base viewer class which adds a decoration around the rendering area.
Viewer component which moves the camera in a plane.
void setPlane(const SbVec3f &newNormal, const SbVec3f &newRight)
Moves the camera to be aligned with the given plane.
virtual void setViewing(SbBool onOrOff)
Sets whether the viewer is turned on or off.
SoXtPlaneViewer(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.
~SoXtPlaneViewer()
Destructor.
virtual void setCamera(SoCamera *cam)
Sets the edited camera.
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).