1 #ifndef COIN_SOTABPLANEDRAGGER_H 2 #define COIN_SOTABPLANEDRAGGER_H 28 #include <Inventor/tools/SbLazyPimplPtr.h> 29 #include <Inventor/fields/SoSFVec3f.h> 35 class SoTabPlaneDraggerP;
41 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleCoords);
42 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleTab0);
43 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleTab1);
44 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleTab2);
45 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleTab3);
46 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleCoords);
47 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleTab0);
48 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleTab1);
49 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleTab2);
50 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleTab3);
51 SO_KIT_CATALOG_ENTRY_HEADER(planeSwitch);
52 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabHints);
53 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabMaterial);
54 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabMaterialBinding);
55 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabNormal);
56 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabNormalBinding);
57 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabs);
58 SO_KIT_CATALOG_ENTRY_HEADER(translator);
67 void adjustScaleTabSize(
void);
79 void getXYScreenLengths(
SbVec2f & lengths,
const SbMatrix & localtoscreen,
84 void dragFinish(
void);
94 static void startCB(
void * f,
SoDragger * d);
95 static void motionCB(
void * f,
SoDragger * d);
96 static void finishCB(
void * f,
SoDragger * d);
97 static void metaKeyChangeCB(
void * f,
SoDragger * d);
99 static void valueChangedCB(
void * f,
SoDragger * d);
101 void createPrivateParts(
void);
102 SoNode *getNodeFieldNode(
const char *fieldname);
117 SbLazyPimplPtr<SoTabPlaneDraggerP> pimpl;
124 #endif // !COIN_SOTABPLANEDRAGGER_H The SbVec2f class is a 2 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec2f.h:39
static void fieldSensorCB(void *, SoSensor *)
Definition: SoInteractionKit.cpp:742
SoSFVec3f translation
Definition: SoTabPlaneDragger.h:64
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:47
The SoInteractionKit class is a base class for draggers.This nodekit class makes it possible to set s...
Definition: SoInteractionKit.h:41
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:37
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 SbVec3f class is a 3 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec3f.h:40
SoSFVec3f scaleFactor
Definition: SoTabPlaneDragger.h:65
The SoFieldSensor class detects changes to a field.Attach a field to a sensor of this type to put it ...
Definition: SoFieldSensor.h:29
virtual void GLRender(SoGLRenderAction *action)
Definition: SoDragger.cpp:516
The SbMatrix class is a 4x4 dimensional representation of a matrix.SbMatrix is used by many other cla...
Definition: SbMatrix.h:37
The SbPlaneProjector class projects 2D points to 3D points in a plane.The 3D projection of the 2D coo...
Definition: SbPlaneProjector.h:31
The SoSFVec3f class is a container for an SbVec3f vector.This field is used where nodes...
Definition: SoSFVec3f.h:31
The SbLineProjector class projects 2D points to 3D points along a line.The 3D projection of the 2D co...
Definition: SbLineProjector.h:32
The SbVec2s class is a 2 dimensional vector with short integer coordinates.This vector class is used ...
Definition: SbVec2s.h:41
virtual SbBool setUpConnections(SbBool onoff, SbBool doitalways=FALSE)
Definition: SoInteractionKit.cpp:665
The SoGLRenderAction class renders the scene graph with OpenGL calls.Applying this method at a root n...
Definition: SoGLRenderAction.h:41
virtual void setDefaultOnNonWritingFields(void)
Definition: SoDragger.cpp:1791