26#ifndef _SO_ORTHOSLICE_DRAGGER_H_
27#define _SO_ORTHOSLICE_DRAGGER_H_
29#include <Inventor/draggers/SoTranslate1Dragger.h>
30#include <Inventor/fields/SoSFPath.h>
31#include <Inventor/fields/SoSFVec3i32.h>
32#include <Inventor/fields/SoSFBox3f.h>
33#include <Inventor/fields/SoSFColor.h>
214 static void initClass();
218 static void exitClass();
220 virtual void internalRemoveChild(
int);
221 virtual void internalRemoveChild(
SoNode*);
222 virtual void internalRemoveAllChildren();
223 virtual void internalAddChild(
SoNode*);
224 virtual void internalInsertChild(
SoNode*,
int);
225 virtual void internalReplaceChild(
int,
SoNode*);
232 virtual void grabEventsSetup();
248 virtual void notify(SoNotList *list);
253 virtual SbBool readInstance(
SoInput* in,
unsigned short flags);
259 static void valueChangedCB(
void *data, SoDragger *dragger);
266 void initialize(
const SoPath *pathToSlice);
276 void setDraggerDirection();
282 bool pushDataSetModelMatrix(
SoAction* action);
289 bool m_useDataSetMatrix;
296 static bool s_enableAxisSwitch;
300 bool m_isOrthoSliceInSamePlaneThanViewer;
304 static void sliceChangedSensorCB(
void *,
SoSensor * );
305 static void sliceDeletedSensorCB(
void *,
SoSensor * );
308 static bool m_isNotifying;
310 inventor::helper::SoOrthoSliceBorderHelper *m_orthoSliceBorderHelper;
311 void drawHighLight(
const bool enable);
312 bool m_drawHightLight;
316 void setupAutoValues(
SoState* state);
Abstract base class for all actions.
Performs a generic traversal of a scene graph or path.
Provides custom behavior during actions.
Sensor class that can be attached to Open Inventor fields.
Renders a scene graph using Open Inventor's Render Engine.
Computes bounding box of a scene.
Computes transformation matrix for a subgraph.
Allows nodes in a graph to receive input events.
Abstract base class for all database nodes.
Sensor class that can be attached to Open Inventor nodes.
SoDEPRECATED SoSFBox3f volumeExtent
Extent of the volume.
SoSFBool enableHighlight
Enables highlighting.
SoDEPRECATED SoSFVec3i32 volumeDimension
Dimension of the volume.
SoSFColor highlightColor
Specifies the highlight color.
SoSFPath orthoSlicePath
Path to the SoOrthoSlice node to drag.
SoOrthoSliceDragger()
Constructor.
<a href="IconLegend.html"><img src="extVR.gif" alt="VolumeViz" border="0"></a> Ortho slice shape nod...
Path that points to a list of hierarchical nodes.
Intersects objects with a ray cast into scene.
Field containing a single Boolean value.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Field containing...
Field containing an RGB color.
Field containing an SoPath.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Field containing...
Abstract base class for Open Inventor sensors.
SoTranslate1Dragger()
Constructor.