1 #ifndef COIN_SODRAGPOINTDRAGGER_H 2 #define COIN_SODRAGPOINTDRAGGER_H 37 #include <Inventor/tools/SbLazyPimplPtr.h> 38 #include <Inventor/fields/SoSFVec3f.h> 42 class SoDragPointDraggerP;
48 SO_KIT_CATALOG_ENTRY_HEADER(noRotSep);
49 SO_KIT_CATALOG_ENTRY_HEADER(planeFeedbackSep);
50 SO_KIT_CATALOG_ENTRY_HEADER(planeFeedbackSwitch);
51 SO_KIT_CATALOG_ENTRY_HEADER(planeFeedbackTranslation);
52 SO_KIT_CATALOG_ENTRY_HEADER(rotX);
53 SO_KIT_CATALOG_ENTRY_HEADER(rotXSep);
54 SO_KIT_CATALOG_ENTRY_HEADER(rotY);
55 SO_KIT_CATALOG_ENTRY_HEADER(rotYSep);
56 SO_KIT_CATALOG_ENTRY_HEADER(rotZ);
57 SO_KIT_CATALOG_ENTRY_HEADER(rotZSep);
58 SO_KIT_CATALOG_ENTRY_HEADER(xFeedback);
59 SO_KIT_CATALOG_ENTRY_HEADER(xFeedbackSep);
60 SO_KIT_CATALOG_ENTRY_HEADER(xFeedbackSwitch);
61 SO_KIT_CATALOG_ENTRY_HEADER(xFeedbackTranslation);
62 SO_KIT_CATALOG_ENTRY_HEADER(xTranslator);
63 SO_KIT_CATALOG_ENTRY_HEADER(xTranslatorSwitch);
64 SO_KIT_CATALOG_ENTRY_HEADER(xyFeedback);
65 SO_KIT_CATALOG_ENTRY_HEADER(xyTranslator);
66 SO_KIT_CATALOG_ENTRY_HEADER(xyTranslatorSwitch);
67 SO_KIT_CATALOG_ENTRY_HEADER(xzFeedback);
68 SO_KIT_CATALOG_ENTRY_HEADER(xzTranslator);
69 SO_KIT_CATALOG_ENTRY_HEADER(xzTranslatorSwitch);
70 SO_KIT_CATALOG_ENTRY_HEADER(yFeedback);
71 SO_KIT_CATALOG_ENTRY_HEADER(yFeedbackSep);
72 SO_KIT_CATALOG_ENTRY_HEADER(yFeedbackSwitch);
73 SO_KIT_CATALOG_ENTRY_HEADER(yFeedbackTranslation);
74 SO_KIT_CATALOG_ENTRY_HEADER(yTranslator);
75 SO_KIT_CATALOG_ENTRY_HEADER(yTranslatorSwitch);
76 SO_KIT_CATALOG_ENTRY_HEADER(yzFeedback);
77 SO_KIT_CATALOG_ENTRY_HEADER(yzTranslator);
78 SO_KIT_CATALOG_ENTRY_HEADER(yzTranslatorSwitch);
79 SO_KIT_CATALOG_ENTRY_HEADER(zFeedback);
80 SO_KIT_CATALOG_ENTRY_HEADER(zFeedbackSep);
81 SO_KIT_CATALOG_ENTRY_HEADER(zFeedbackSwitch);
82 SO_KIT_CATALOG_ENTRY_HEADER(zFeedbackTranslation);
83 SO_KIT_CATALOG_ENTRY_HEADER(zTranslator);
84 SO_KIT_CATALOG_ENTRY_HEADER(zTranslatorSwitch);
92 void setJumpLimit(
const float limit);
93 float getJumpLimit(
void)
const;
94 void showNextDraggerSet(
void);
101 void dragStart(
void);
103 void dragFinish(
void);
105 static void startCB(
void * f,
SoDragger * d);
106 static void motionCB(
void * f,
SoDragger * d);
107 static void finishCB(
void * f,
SoDragger * d);
108 static void metaKeyChangeCB(
void * f,
SoDragger * d);
110 static void valueChangedCB(
void * f,
SoDragger * d);
115 void registerDragger(
SoDragger *dragger);
116 void unregisterDragger(
const char *name);
117 void updateSwitchNodes();
122 SbLazyPimplPtr<SoDragPointDraggerP> pimpl;
129 #endif // !COIN_SODRAGPOINTDRAGGER_H static void fieldSensorCB(void *, SoSensor *)
Definition: SoInteractionKit.cpp:751
SoFieldSensor * fieldSensor
Definition: SoDragPointDragger.h:112
SoSFVec3f translation
Definition: SoDragPointDragger.h:90
The SoInteractionKit class is a base class for draggers.This nodekit class makes it possible to set s...
Definition: SoInteractionKit.h:50
The SoDragger class is the base class for all draggers.Draggers is a mechanism used for letting the e...
Definition: SoDragger.h:64
The SoSensor class is the abstract base class for all sensors.Sensors is a mechanism in Coin for sche...
Definition: SoSensor.h:43
static void initClass(void)
Definition: SoDragger.cpp:407
The SoFieldSensor class detects changes to a field.Attach a field to a sensor of this type to put it ...
Definition: SoFieldSensor.h:38
The SoSFVec3f class is a container for an SbVec3f vector.This field is used where nodes...
Definition: SoSFVec3f.h:40
virtual SbBool setUpConnections(SbBool onoff, SbBool doitalways=FALSE)
Definition: SoInteractionKit.cpp:674
The SoDragPointDragger class provides mechanisms for moving a point in 3D.Here's how the dragger look...
Definition: SoDragPointDragger.h:44
virtual void setDefaultOnNonWritingFields(void)
Definition: SoDragger.cpp:1807