1 #ifndef COIN_SODRAGPOINTDRAGGER_H
2 #define COIN_SODRAGPOINTDRAGGER_H
28 #include <Inventor/tools/SbLazyPimplPtr.h>
29 #include <Inventor/fields/SoSFVec3f.h>
33 class SoDragPointDraggerP;
39 SO_KIT_CATALOG_ENTRY_HEADER(noRotSep);
40 SO_KIT_CATALOG_ENTRY_HEADER(planeFeedbackSep);
41 SO_KIT_CATALOG_ENTRY_HEADER(planeFeedbackSwitch);
42 SO_KIT_CATALOG_ENTRY_HEADER(planeFeedbackTranslation);
43 SO_KIT_CATALOG_ENTRY_HEADER(rotX);
44 SO_KIT_CATALOG_ENTRY_HEADER(rotXSep);
45 SO_KIT_CATALOG_ENTRY_HEADER(rotY);
46 SO_KIT_CATALOG_ENTRY_HEADER(rotYSep);
47 SO_KIT_CATALOG_ENTRY_HEADER(rotZ);
48 SO_KIT_CATALOG_ENTRY_HEADER(rotZSep);
49 SO_KIT_CATALOG_ENTRY_HEADER(xFeedback);
50 SO_KIT_CATALOG_ENTRY_HEADER(xFeedbackSep);
51 SO_KIT_CATALOG_ENTRY_HEADER(xFeedbackSwitch);
52 SO_KIT_CATALOG_ENTRY_HEADER(xFeedbackTranslation);
53 SO_KIT_CATALOG_ENTRY_HEADER(xTranslator);
54 SO_KIT_CATALOG_ENTRY_HEADER(xTranslatorSwitch);
55 SO_KIT_CATALOG_ENTRY_HEADER(xyFeedback);
56 SO_KIT_CATALOG_ENTRY_HEADER(xyTranslator);
57 SO_KIT_CATALOG_ENTRY_HEADER(xyTranslatorSwitch);
58 SO_KIT_CATALOG_ENTRY_HEADER(xzFeedback);
59 SO_KIT_CATALOG_ENTRY_HEADER(xzTranslator);
60 SO_KIT_CATALOG_ENTRY_HEADER(xzTranslatorSwitch);
61 SO_KIT_CATALOG_ENTRY_HEADER(yFeedback);
62 SO_KIT_CATALOG_ENTRY_HEADER(yFeedbackSep);
63 SO_KIT_CATALOG_ENTRY_HEADER(yFeedbackSwitch);
64 SO_KIT_CATALOG_ENTRY_HEADER(yFeedbackTranslation);
65 SO_KIT_CATALOG_ENTRY_HEADER(yTranslator);
66 SO_KIT_CATALOG_ENTRY_HEADER(yTranslatorSwitch);
67 SO_KIT_CATALOG_ENTRY_HEADER(yzFeedback);
68 SO_KIT_CATALOG_ENTRY_HEADER(yzTranslator);
69 SO_KIT_CATALOG_ENTRY_HEADER(yzTranslatorSwitch);
70 SO_KIT_CATALOG_ENTRY_HEADER(zFeedback);
71 SO_KIT_CATALOG_ENTRY_HEADER(zFeedbackSep);
72 SO_KIT_CATALOG_ENTRY_HEADER(zFeedbackSwitch);
73 SO_KIT_CATALOG_ENTRY_HEADER(zFeedbackTranslation);
74 SO_KIT_CATALOG_ENTRY_HEADER(zTranslator);
75 SO_KIT_CATALOG_ENTRY_HEADER(zTranslatorSwitch);
83 void setJumpLimit(
const float limit);
84 float getJumpLimit(
void)
const;
85 void showNextDraggerSet(
void);
94 void dragFinish(
void);
96 static void startCB(
void * f,
SoDragger * d);
97 static void motionCB(
void * f,
SoDragger * d);
98 static void finishCB(
void * f,
SoDragger * d);
99 static void metaKeyChangeCB(
void * f,
SoDragger * d);
101 static void valueChangedCB(
void * f,
SoDragger * d);
106 void registerDragger(
SoDragger *dragger);
107 void unregisterDragger(
const char *name);
108 void updateSwitchNodes();
113 SbLazyPimplPtr<SoDragPointDraggerP> pimpl;
120 #endif // !COIN_SODRAGPOINTDRAGGER_H
static void fieldSensorCB(void *, SoSensor *)
Definition: SoInteractionKit.cpp:742
SoFieldSensor * fieldSensor
Definition: SoDragPointDragger.h:103
SoSFVec3f translation
Definition: SoDragPointDragger.h:81
The SoDragger class is the base class for all draggers.Draggers is a mechanism used for letting the e...
Definition: SoDragger.h:55
The SoSensor class is the abstract base class for all sensors.Sensors is a mechanism in Coin for sche...
Definition: SoSensor.h:34
static void initClass(void)
Definition: SoDragger.cpp:399
The SoFieldSensor class detects changes to a field.Attach a field to a sensor of this type to put it ...
Definition: SoFieldSensor.h:29
The SoSFVec3f class is a container for an SbVec3f vector.This field is used where nodes...
Definition: SoSFVec3f.h:31
virtual SbBool setUpConnections(SbBool onoff, SbBool doitalways=FALSE)
Definition: SoInteractionKit.cpp:665
The SoDragPointDragger class provides mechanisms for moving a point in 3D.Here's how the dragger look...
Definition: SoDragPointDragger.h:35
virtual void setDefaultOnNonWritingFields(void)
Definition: SoDragger.cpp:1791