134#ifndef _SO_TRANSFORMER_DRAGGER_
135#define _SO_TRANSFORMER_DRAGGER_
484 {
return interactiveCenterInBoxSpace; }
499 LFT_TRANSLATE, BOT_TRANSLATE, BAK_TRANSLATE };
527 int rotateAssemblyWhich,
528 int translateAssemblyWhich );
551 bool yAllowed,
bool zAllowed );
554 SbVec2f axisEnds[3][2],
int indexA,
int indexB );
578 SbVec3f interactiveCenterInBoxSpace;
583 SbVec2f startNormalizedLocaterPosition;
585 bool altDown, ctlDown, shftDown;
590 void setHighlights();
592 void setFeedbackForTranslate();
593 void setFeedbackForScale();
594 void setFeedbackForRotate();
596 State getStateFromPick();
597 bool translateInit();
601 bool translateDrag();
605 bool rotateConstrainedDrag();
606 bool rotateConstrainedDiscDrag();
607 bool rotateConstrainedCylindricalDrag();
609 void initSphereProjector();
610 void initDiscProjector();
611 void initCylinderProjector();
613 bool getShouldRotateAsDisc();
614 int getConstrainedRotationAxis();
617 static const unsigned char geomBuffer[];
619 void setAllDefaultParts();
621 bool locateHighlightOn;
623 static int colinearThreshold;
629 void makeTranslaterCatalogParts();
630 void makeRotaterCatalogParts();
631 void makeScalerCatalogParts();
632 void makeAxisFeedbackCatalogParts();
633 void makeBoxFeedbackCatalogParts();
634 void makeWallFeedbackCatalogParts();
635 void makeRadialFeedbackCatalogParts();
636 void makeCircleFeedbackCatalogParts();
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_KIT_CATALOG_ENTRY_HEADER(partName)
This defines an SoSFNode field for the catalog part given.
#define SO_KIT_HEADER(className)
Cylinder-plane projector.
This is a dictionary mapping (size_t) integer keys to (void *) data pointers.
Sphere-section projector.
Base class for nodekits that move in response to click-drag-release mouse events.
Sensor class that can be attached to Inventor fields.
Maintains a list of pointers to nodes.
Field containing a floating-point value.
Field containing a rotation.
Field containing a three-dimensional vector.
Abstract base class for Inventor sensors.