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);
126 SbLazyPimplPtr<SoTabPlaneDraggerP> pimpl;
133 #endif // !COIN_SOTABPLANEDRAGGER_H The SbVec2f class is a 2 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec2f.h:49
static void fieldSensorCB(void *, SoSensor *)
Definition: SoInteractionKit.cpp:751
SoSFVec3f translation
Definition: SoTabPlaneDragger.h:73
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:56
The SoInteractionKit class is a base class for draggers.This nodekit class makes it possible to set s...
Definition: SoInteractionKit.h:50
The SoTabPlaneDragger class is a dragger you can translate and scale within a plane.Here's how the dragger looks with its default geometry in the inactive state:
Definition: SoTabPlaneDragger.h:46
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 SbVec3f class is a 3 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec3f.h:51
SoSFVec3f scaleFactor
Definition: SoTabPlaneDragger.h:74
The SoFieldSensor class detects changes to a field.Attach a field to a sensor of this type to put it ...
Definition: SoFieldSensor.h:38
virtual void GLRender(SoGLRenderAction *action)
Definition: SoDragger.cpp:519
The SbMatrix class is a 4x4 dimensional representation of a matrix.SbMatrix is used by many other cla...
Definition: SbMatrix.h:46
The SbPlaneProjector class projects 2D points to 3D points in a plane.The 3D projection of the 2D coo...
Definition: SbPlaneProjector.h:40
The SoSFVec3f class is a container for an SbVec3f vector.This field is used where nodes...
Definition: SoSFVec3f.h:40
The SbLineProjector class projects 2D points to 3D points along a line.The 3D projection of the 2D co...
Definition: SbLineProjector.h:41
The SbVec2s class is a 2 dimensional vector with short integer coordinates.This vector class is used ...
Definition: SbVec2s.h:51
virtual SbBool setUpConnections(SbBool onoff, SbBool doitalways=FALSE)
Definition: SoInteractionKit.cpp:674
The SoGLRenderAction class renders the scene graph with OpenGL calls.Applying this method at a root n...
Definition: SoGLRenderAction.h:50
virtual void setDefaultOnNonWritingFields(void)
Definition: SoDragger.cpp:1807