25#ifndef _SO_QT_PLANE_VIEWER_
26#define _SO_QT_PLANE_VIEWER_
142 const char* name = NULL,
181 QWidget* buildWidget( QWidget* parent );
184 virtual SbString getDefaultWidgetName()
const;
185 virtual SbString getDefaultTitle()
const;
186 virtual SbString getDefaultIconTitle()
const;
189 virtual void processEvent( QEvent* anyevent );
190 virtual void actualRedraw();
193 virtual void bottomWheelMotion(
float newVal );
194 virtual void leftWheelMotion(
float newVal );
195 virtual void rightWheelMotion(
float newVal );
196 virtual void mouseWheelMotion(
float newVal );
199 virtual void createPrefSheet();
202 virtual void createViewerButtons( QWidget* parent );
205 virtual void openViewerHelpCard();
208 virtual void computeSeekFinalOrientation();
216 virtual void pushButtonCB(
int id );
218 virtual void updateCursor();
225 QPointer<SoQtButton> buttonList[10];
231 void updateViewerMode(
unsigned int state );
232 void switchMode(
int newMode );
235 void constructorCommon(
SbBool buildNow );
238 void processPopupItem(
int item );
245 void slotCamPushButton();
#define TRUE
Possible value of SbBool.
Class for smart character strings.
Abstract base class for camera nodes.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Base viewer clas...
@ BUILD_ALL
Build everything by default.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Viewer component...
virtual void setSeekMode(SbBool onOrOff)
Set the viewer into/out of seek mode (default OFF).
virtual void setCamera(SoCamera *cam)
Sets the edited camera.
SoQtPlaneViewer(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 setCursorEnabled(SbBool onOrOff)
Sets whether the viewer is allowed to change the cursor over the renderArea window.
~SoQtPlaneViewer()
Destructor.
virtual void setViewing(SbBool onOrOff)
Sets whether the viewer is turned on or off.
void setPlane(const SbVec3f &newNormal, const SbVec3f &newRight)
Moves the camera to be aligned with the given plane.
@ BROWSER
Camera views scene, but is not added to scene.