51#ifndef _SO_TAB_BOX_DRAGGER_
52#define _SO_TAB_BOX_DRAGGER_
387 static void initClass();
388 static void exitClass();
390 int getCurrentState();
400 static void resizeHandlesSensorCB(
void *,
SoSensor * );
401 static void fieldSensorCB(
void *,
SoSensor * );
402 static void valueChangedCB(
void *,
SoDragger * );
403 static void tabPixelSizeSensorCB(
void *,
SoSensor * );
404 static void privateStyleCB(
void *,
SoSensor *);
407 static void invalidateSurroundScaleCB(
void *,
SoDragger * );
408 static void adjustScaleTabSizeCB(
void *,
SoDragger * );
423 virtual void setDefaultOnNonWritingFields();
429 void applyHighlightingColor();
430 void clearHighlight();
432 SoSwitch* m_lastHighlightedTabSwitch;
435 static const float s_highlightLineWidth;
438 static const char geomBuffer[];
#define FALSE
Possible value of SbBool.
#define SO_KIT_CATALOG_ENTRY_HEADER(partName)
#define SO_KIT_HEADER(className)
Base class for nodekits that move in response to click-drag-release mouse events.
Node that defines the style to use when rendering.
Sensor class that can be attached to Open Inventor fields.
Allows nodes in a graph to receive input events.
Surface material definition node.
Smart pointer for any class inheriting SoRefCounter.
Field containing a single Boolean value.
Field containing an RGB color.
Field containing a int32_t integer.
Field containing a three-dimensional vector.
Abstract base class for Open Inventor sensors.
Group node that traverses one chosen child.
Cubic object you can translate and scale by dragging with the mouse.
SoSFVec3f translation
Position of the dragger.
SoSFBool privateStyle
Controls whether this instance of SoTabBoxDragger shares or does not share parts, e....
SoSFColor highlightColor
Specifies the highlight color.
SoSFVec3f scaleFactor
Scale of the dragger.
void adjustScaleTabSize()
Causes the scale tab sizes to be re-adjusted on all 6 SoTabPlaneDraggers so that they remain a near c...
SoSFBool resizeHandles
If set to TRUE, handles will be resized at each camera motion.
SoTabBoxDragger()
Constructor.
SoSFBool enableHighlight
Enables highlighting for tabs and faces.
SoSFInt32 tabPixelSize
Specifies the size of the green tabs in pixels.