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>
41namespace inventor{
namespace helper{
class SoOrthoSliceBorderHelper;}}
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();
280 bool pushDataSetModelMatrix(
SoAction* action);
287 bool m_useDataSetMatrix;
294 static bool s_enableAxisSwitch;
298 bool m_isOrthoSliceInSamePlaneThanViewer;
302 static void sliceChangedSensorCB(
void *,
SoSensor * );
303 static void sliceDeletedSensorCB(
void *,
SoSensor * );
306 static bool m_isNotifying;
308 inventor::helper::SoOrthoSliceBorderHelper *m_orthoSliceBorderHelper;
309 void drawHighLight(
const bool enable);
310 bool m_drawHightLight;
314 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.
Base class for nodekits that move in response to click-drag-release mouse events.
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.
<a href="IconLegend.html"><img src="extVR.gif" alt="VolumeViz" border="0"></a> Object that moves an ...
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.
Object you can translate along a line by dragging with the mouse.