1 #ifndef COIN_SOTABPLANEDRAGGER_H 2 #define COIN_SOTABPLANEDRAGGER_H 37 #include <Inventor/tools/SbLazyPimplPtr.h> 38 #include <Inventor/fields/SoSFVec3f.h> 44 class SoTabPlaneDraggerP;
50 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleCoords);
51 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleTab0);
52 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleTab1);
53 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleTab2);
54 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleTab3);
55 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleCoords);
56 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleTab0);
57 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleTab1);
58 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleTab2);
59 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleTab3);
60 SO_KIT_CATALOG_ENTRY_HEADER(planeSwitch);
61 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabHints);
62 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabMaterial);
63 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabMaterialBinding);
64 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabNormal);
65 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabNormalBinding);
66 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabs);
67 SO_KIT_CATALOG_ENTRY_HEADER(translator);
76 void adjustScaleTabSize(
void);
88 void getXYScreenLengths(
SbVec2f & lengths,
const SbMatrix & localtoscreen,
93 void dragFinish(
void);
103 static void startCB(
void * f,
SoDragger * d);
104 static void motionCB(
void * f,
SoDragger * d);
105 static void finishCB(
void * f,
SoDragger * d);
106 static void metaKeyChangeCB(
void * f,
SoDragger * d);
108 static void valueChangedCB(
void * f,
SoDragger * d);
110 void createPrivateParts(
void);
111 SoNode *getNodeFieldNode(
const char *fieldname);
133 #endif // !COIN_SOTABPLANEDRAGGER_H The SbVec2f class is a 2 dimensional vector with floating point coordinates.
Definition: SbVec2f.h:49
static void fieldSensorCB(void *, SoSensor *)
Definition: SoInteractionKit.cpp:752
SoSFVec3f translation
Definition: SoTabPlaneDragger.h:73
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:56
The SoInteractionKit class is a base class for draggers.
Definition: SoInteractionKit.h:50
The SoTabPlaneDragger class is a dragger you can translate and scale within a plane.
Definition: SoTabPlaneDragger.h:46
The SoDragger class is the base class for all draggers.
Definition: SoDragger.h:64
The SoSensor class is the abstract base class for all sensors.
Definition: SoSensor.h:43
static void initClass(void)
Definition: SoDragger.cpp:409
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:51
SoSFVec3f scaleFactor
Definition: SoTabPlaneDragger.h:74
The SoFieldSensor class detects changes to a field.
Definition: SoFieldSensor.h:38
virtual void GLRender(SoGLRenderAction *action)
Definition: SoDragger.cpp:521
The SbMatrix class is a 4x4 dimensional representation of a matrix.
Definition: SbMatrix.h:47
The SbPlaneProjector class projects 2D points to 3D points in a plane.
Definition: SbPlaneProjector.h:40
The SoSFVec3f class is a container for an SbVec3f vector.
Definition: SoSFVec3f.h:40
The SbLineProjector class projects 2D points to 3D points along a line.
Definition: SbLineProjector.h:41
The SbVec2s class is a 2 dimensional vector with short integer coordinates.
Definition: SbVec2s.h:51
virtual SbBool setUpConnections(SbBool onoff, SbBool doitalways=FALSE)
Definition: SoInteractionKit.cpp:675
The SoGLRenderAction class renders the scene graph with OpenGL calls.
Definition: SoGLRenderAction.h:50
virtual void setDefaultOnNonWritingFields(void)
Definition: SoDragger.cpp:1829