table of contents
other sections
SoHandleBoxDragger(3IV)() | SoHandleBoxDragger(3IV)() |
NAME¶
SoHandleBoxDragger — box you can scale, stretch and translate by dragging with the mouseINHERITS FROM¶
SoBase > SoFieldContainer > SoNode > SoBaseKit > SoInteractionKit > SoDragger > SoHandleBoxDraggerSYNOPSIS¶
#include <Inventor/draggers/SoHandleBoxDragger.h>Fields from class SoHandleBoxDragger:
SoSFVec3f scaleFactor
SoSFVec3f translation
Fields from class SoDragger:
SoSFBool isActive
Fields from class SoInteractionKit:
SoSFEnum renderCaching
SoSFEnum boundingBoxCaching
SoSFEnum renderCulling
SoSFEnum pickCulling
Parts from class SoBaseKit:
(SoNodeKitListPart) callbackList
Methods from class SoHandleBoxDragger:
SoHandleBoxDragger()
static const SoNodekitCatalog * getClassNodekitCatalog () const
static SoType getClassTypeId()
Methods from class SoDragger:
void addStartCallback(SoDraggerCB *f, void *userData = NULL)
void removeStartCallback(SoDraggerCB *f, void *userData = NULL)
void addMotionCallback(SoDraggerCB *f, void *userData = NULL)
void removeMotionCallback(SoDraggerCB *f, void *userData = NULL)
void addFinishCallback(SoDraggerCB *f, void *userData = NULL)
void removeFinishCallback(SoDraggerCB *f, void *userData = NULL)
void addValueChangedCallback(SoDraggerCB *f, void *userData = NULL)
void removeValueChangedCallback(SoDraggerCB *f, void *userData = NULL)
SbBool enableValueChangedCallbacks()
void setMinGesture(int pixels)
int getMinGesture() const
static void setMinScale(float newMinScale)
static float getMinScale()
Methods from class SoInteractionKit:
virtual SbBool setPartAsPath(const SbName &partName, SoPath *surrogatePath )
Methods from class SoBaseKit:
virtual const SoNodekitCatalog * getNodekitCatalog() const
virtual SoNode * getPart(const SbName &partName, SbBool makeIfNeeded)
SbString getPartString(const SoBase *part)
virtual SoNodeKitPath * createPathToPart(const SbName &partName, SbBool makeIfNeeded, const SoPath *pathToExtend = NULL)
virtual SbBool setPart(const SbName &partName, SoNode *newPart)
SbBool set(char *partName, char *parameters)
SbBool set(char *nameValuePairs)
static SbBool isSearchingChildren()
static void setSearchingChildren(SbBool newVal)
Methods from class SoNode:
void setOverride(SbBool state)
SbBool isOverride() const
SoNode * copy(SbBool copyConnections = FALSE) const
virtual SbBool affectsState() const
static SoNode * getByName(const SbName &name)
static int getByName(const SbName &name, SoNodeList &list)
Methods from class SoFieldContainer:
void setToDefaults()
SbBool hasDefaultValues() const
SbBool fieldsAreEqual(const SoFieldContainer *fc) const
void copyFieldValues(const SoFieldContainer *fc, SbBool copyConnections = FALSE)
void get(SbString &fieldDataString)
virtual int getFields(SoFieldList &resultList) const
virtual SoField * getField(const SbName &fieldName) const
SbBool getFieldName(const SoField *field, SbName &fieldName) const
SbBool isNotifyEnabled() const
SbBool enableNotify(SbBool flag)
Methods from class SoBase:
void ref()
void unref() const
void unrefNoDelete() const
void touch()
virtual SoType getTypeId() const
SbBool isOfType(SoType type) const
virtual void setName(const SbName &name)
virtual SbName getName() const
Macros from class SoBaseKit:
DESCRIPTION¶
SoHandleBoxDragger is a dragger shaped like a wireframe box with small corner cubes mounted on each corner. Click and drag any of these cubes to scale the box uniformly. Six other center cubes are centered on the sides of the box; white lines connect them to the center of the dragger. Drag one of the center cubes along its line to stretch the box in that direction. Dragging a face of the box translates the dragger within that plane.FIELDS¶
SoSFVec3f scaleFactor
Scale of the dragger.
SoSFVec3f translation
Position of the dragger.
METHODS¶
SoHandleBoxDragger()
Constructor.
static const SoNodekitCatalog * getClassNodekitCatalog () const
Returns an SoNodekitCatalog for this class
static SoType getClassTypeId()
Returns type identifier for this class.
CATALOG PARTS¶
All parts | |||
NULL by | |||
Part Name | Part Type | Default Type | Default |
callbackList | NodeKitListPart | -- | yes |
surroundScale | SurroundScale | -- | yes |
translator1 | Separator | -- | yes |
translator1Active | Separator | -- | yes |
translator2 | Separator | -- | yes |
translator2Active | Separator | -- | yes |
translator3 | Separator | -- | yes |
translator3Active | Separator | -- | yes |
translator4 | Separator | -- | yes |
translator4Active | Separator | -- | yes |
translator5 | Separator | -- | yes |
translator5Active | Separator | -- | yes |
translator6 | Separator | -- | yes |
translator6Active | Separator | -- | yes |
extruder1 | Separator | -- | yes |
extruder1Active | Separator | -- | yes |
extruder2 | Separator | -- | yes |
extruder2Active | Separator | -- | yes |
extruder3 | Separator | -- | yes |
extruder3Active | Separator | -- | yes |
extruder4 | Separator | -- | yes |
extruder4Active | Separator | -- | yes |
extruder5 | Separator | -- | yes |
extruder5Active | Separator | -- | yes |
extruder6 | Separator | -- | yes |
extruder6Active | Separator | -- | yes |
uniform1 | Separator | -- | yes |
uniform1Active | Separator | -- | yes |
uniform2 | Separator | -- | yes |
uniform2Active | Separator | -- | yes |
uniform3 | Separator | -- | yes |
uniform3Active | Separator | -- | yes |
uniform4 | Separator | -- | yes |
uniform4Active | Separator | -- | yes |
uniform5 | Separator | -- | yes |
uniform5Active | Separator | -- | yes |
uniform6 | Separator | -- | yes |
uniform6Active | Separator | -- | yes |
uniform7 | Separator | -- | yes |
uniform7Active | Separator | -- | yes |
uniform8 | Separator | -- | yes |
uniform8Active | Separator | -- | yes |
arrow1 | Separator | -- | yes |
arrow2 | Separator | -- | yes |
arrow3 | Separator | -- | yes |
arrow4 | Separator | -- | yes |
arrow5 | Separator | -- | yes |
arrow6 | Separator | -- | yes |
Extra information for list parts from above table | ||
Part Name | Container Type | Permissible Types |
callbackList | Separator | Callback, EventCallback |
DRAGGER RESOURCES¶
.in 0n+.5i Resource: handleBoxTranslator1Appearance: White Line-Style Square
Description: Top face of handleBox. Picking this initiates scaling in x-z plane.
Appearance: White Line-Style Square
Description: Bottom face of handleBox. Picking this initiates scaling in x-z plane.
Appearance: White Line-Style Square
Description: Left face of handleBox. Picking this initiates scaling in y-z plane.
Appearance: White Line-Style Square
Description: Right face of handleBox. Picking this initiates scaling in y-z plane.
Appearance: White Line-Style Square
Description: Front face of handleBox. Picking this initiates scaling in x-y plane.
Appearance: White Line-Style Square
Description: Back face of handleBox. Picking this initiates scaling in x-y plane.
Appearance: Yellow version of handleBoxTranslator1
Description: Replaces handleBoxTranslator1 during dragging.
Appearance: Yellow version of handleBoxTranslator2
Description: Replaces handleBoxTranslator2 during dragging.
Appearance: Yellow version of handleBoxTranslator3
Description: Replaces handleBoxTranslator3 during dragging.
Appearance: Yellow version of handleBoxTranslator4
Description: Replaces handleBoxTranslator4 during dragging.
Appearance: Yellow version of handleBoxTranslator5
Description: Replaces handleBoxTranslator5 during dragging.
Appearance: Yellow version of handleBoxTranslator6
Description: Replaces handleBoxTranslator6 during dragging.
Appearance: Small white cube at (0,1.25,0) with line to origin
Description: Selecting this part initiates 1-D scaling along Y axis.
Appearance: Small white cube at (0,-1.25,0) with line to origin
Description: Selecting this part initiates 1-D scaling along Y axis.
Appearance: Small white cube at (-1.25,0,0) with line to origin
Description: Selecting this part initiates 1-D scaling along X axis.
Appearance: Small white cube at (1.25,0,0) with line to origin
Description: Selecting this part initiates 1-D scaling along X axis.
Appearance: Small white cube at (0,0,1.25) with line to origin
Description: Selecting this part initiates 1-D scaling along Z axis.
Appearance: Small white cube at (0,0,-1.25) with line to origin
Description: Selecting this part initiates 1-D scaling along Z axis.
Appearance: Yellow version of handleBoxExtruder1
Description: Replaces handleBoxExtruder1 during dragging.
Appearance: Yellow version of handleBoxExtruder1
Description: Replaces handleBoxExtruder1 during dragging.
Appearance: Yellow version of handleBoxExtruder3
Description: Replaces handleBoxExtruder3 during dragging.
Appearance: Yellow version of handleBoxExtruder4
Description: Replaces handleBoxExtruder4 during dragging.
Appearance: Yellow version of handleBoxExtruder5
Description: Replaces handleBoxExtruder5 during dragging.
Appearance: Yellow version of handleBoxExtruder6
Description: Replaces handleBoxExtruder6 during dragging.
Appearance: Small white cube in (+x+y+z) corner of handleBox
Description: Picking this initiates uniform scaling.
Appearance: Small white cube in (+x+y-z) corner of handleBox
Description: Picking this initiates uniform scaling.
Appearance: Small white cube in (+x-y+z) corner of handleBox
Description: Picking this initiates uniform scaling.
Appearance: Small white cube in (+x-y-z) corner of handleBox
Description: Picking this initiates uniform scaling.
Appearance: Small white cube in (-x+y+z) corner of handleBox
Description: Picking this initiates uniform scaling.
Appearance: Small white cube in (-x+y-z) corner of handleBox
Description: Picking this initiates uniform scaling.
Appearance: Small white cube in (-x-y+z) corner of handleBox
Description: Picking this initiates uniform scaling.
Appearance: Small white cube in (-x-y-z) corner of handleBox
Description: Picking this initiates uniform scaling.
Appearance: Yellow version of handleBoxUniform1Active
Description: Replaces handleBoxUniform1Active during dragging.
Appearance: Yellow version of handleBoxUniform1Active
Description: Replaces handleBoxUniform1Active during dragging.
Appearance: Yellow version of handleBoxUniform1Active
Description: Replaces handleBoxUniform1Active during dragging.
Appearance: Yellow version of handleBoxUniform1Active
Description: Replaces handleBoxUniform1Active during dragging.
Appearance: Yellow version of handleBoxUniform1Active
Description: Replaces handleBoxUniform1Active during dragging.
Appearance: Yellow version of handleBoxUniform1Active
Description: Replaces handleBoxUniform1Active during dragging.
Appearance: Yellow version of handleBoxUniform1Active
Description: Replaces handleBoxUniform1Active during dragging.
Appearance: Yellow version of handleBoxUniform1Active
Description: Replaces handleBoxUniform1Active during dragging.
Appearance: Purple Arrow, pointing up
Description: Displayed when translating if Y direction is permitted.
Appearance: Purple Arrow, pointing down
Description: Displayed when translating if Y direction is permitted.
Appearance: Purple Arrow, pointing left
Description: Displayed when translating if X direction is permitted.
Appearance: Purple Arrow, pointing right
Description: Displayed when translating if X direction is permitted.
Appearance: Purple Arrow, pointing forward
Description: Displayed when translating if Z direction is permitted.
Appearance: Purple Arrow, pointing backward
Description: Displayed when translating if Z direction is permitted.
FILE FORMAT/DEFAULTS¶
HandleBoxDragger {
renderCaching AUTO boundingBoxCaching AUTO renderCulling AUTO pickCulling AUTO isActive FALSE translation 0 0 0 scaleFactor 1 1 1 callbackList NULL surroundScale NULL translator1 <handleBoxTranslator1 resource> translator1Active <handleBoxTranslator1Active resource> translator2 <handleBoxTranslator2 resource> translator2Active <handleBoxTranslator2Active resource> translator3 <handleBoxTranslator3 resource> translator3Active <handleBoxTranslator3Active resource> translator4 <handleBoxTranslator4 resource> translator4Active <handleBoxTranslator4Active resource> translator5 <handleBoxTranslator5 resource> translator5Active <handleBoxTranslator5Active resource> translator6 <handleBoxTranslator6 resource> translator6Active <handleBoxTranslator6Active resource> extruder1 <handleBoxExtruder1 resource> extruder1Active <handleBoxExtruder1Active resource> extruder2 <handleBoxExtruder2 resource> extruder2Active <handleBoxExtruder2Active resource> extruder3 <handleBoxExtruder3 resource> extruder3Active <handleBoxExtruder3Active resource> extruder4 <handleBoxExtruder4 resource> extruder4Active <handleBoxExtruder4Active resource> extruder5 <handleBoxExtruder5 resource> extruder5Active <handleBoxExtruder5Active resource> extruder6 <handleBoxExtruder6 resource> extruder6Active <handleBoxExtruder6Active resource> uniform1 <handleBoxUniform1 resource> uniform1Active <handleBoxUniform1Active resource> uniform2 <handleBoxUniform2 resource> uniform2Active <handleBoxUniform2Active resource> uniform3 <handleBoxUniform3 resource> uniform3Active <handleBoxUniform3Active resource> uniform4 <handleBoxUniform4 resource> uniform4Active <handleBoxUniform4Active resource> uniform5 <handleBoxUniform5 resource> uniform5Active <handleBoxUniform5Active resource> uniform6 <handleBoxUniform6 resource> uniform6Active <handleBoxUniform6Active resource> uniform7 <handleBoxUniform7 resource> uniform7Active <handleBoxUniform7Active resource> uniform8 <handleBoxUniform8 resource> uniform8Active <handleBoxUniform8Active resource> arrow1 <handleBoxArrow1 resource> arrow2 <handleBoxArrow2 resource> arrow3 <handleBoxArrow3 resource> arrow4 <handleBoxArrow4 resource> arrow5 <handleBoxArrow5 resource> arrow6 <handleBoxArrow6 resource>
}