1 #ifndef COIN_SOTABBOXDRAGGER_H
2 #define COIN_SOTABBOXDRAGGER_H
27 #include <Inventor/draggers/SoDragger.h>
28 #include <Inventor/fields/SoSFVec3f.h>
39 SO_KIT_CATALOG_ENTRY_HEADER(boxGeom);
40 SO_KIT_CATALOG_ENTRY_HEADER(surroundScale);
41 SO_KIT_CATALOG_ENTRY_HEADER(tabPlane1);
42 SO_KIT_CATALOG_ENTRY_HEADER(tabPlane1Sep);
43 SO_KIT_CATALOG_ENTRY_HEADER(tabPlane1Xf);
44 SO_KIT_CATALOG_ENTRY_HEADER(tabPlane2);
45 SO_KIT_CATALOG_ENTRY_HEADER(tabPlane2Sep);
46 SO_KIT_CATALOG_ENTRY_HEADER(tabPlane2Xf);
47 SO_KIT_CATALOG_ENTRY_HEADER(tabPlane3);
48 SO_KIT_CATALOG_ENTRY_HEADER(tabPlane3Sep);
49 SO_KIT_CATALOG_ENTRY_HEADER(tabPlane3Xf);
50 SO_KIT_CATALOG_ENTRY_HEADER(tabPlane4);
51 SO_KIT_CATALOG_ENTRY_HEADER(tabPlane4Sep);
52 SO_KIT_CATALOG_ENTRY_HEADER(tabPlane4Xf);
53 SO_KIT_CATALOG_ENTRY_HEADER(tabPlane5);
54 SO_KIT_CATALOG_ENTRY_HEADER(tabPlane5Sep);
55 SO_KIT_CATALOG_ENTRY_HEADER(tabPlane5Xf);
56 SO_KIT_CATALOG_ENTRY_HEADER(tabPlane6);
57 SO_KIT_CATALOG_ENTRY_HEADER(tabPlane6Sep);
58 SO_KIT_CATALOG_ENTRY_HEADER(tabPlane6Xf);
68 void adjustScaleTabSize(
void);
75 static void invalidateSurroundScaleCB(
void * f,
SoDragger * d);
77 static void valueChangedCB(
void * f,
SoDragger * d);
83 void initTransformNodes(
void);
86 #endif // !COIN_SOTABBOXDRAGGER_H
The SoSFVec3f class is a container for an SbVec3f vector.
Definition: SoSFVec3f.h:31
The SbRotation class represents a rotation in 3D space.
Definition: SbRotation.h:33
void adjustScaleTabSize(void)
Definition: SoTabBoxDragger.cpp:382
SoFieldSensor * scaleFieldSensor
Definition: SoTabBoxDragger.h:80
void workFieldsIntoTransform(SbMatrix &mtx)
Definition: SoDragger.cpp:1123
void registerChildDragger(SoDragger *child)
Definition: SoDragger.cpp:722
The SbMatrix class is a 4x4 dimensional representation of a matrix.
Definition: SbMatrix.h:37
virtual SoNode * getAnyPart(const SbName &partname, SbBool makeifneeded, SbBool leafcheck=0, SbBool publiccheck=0)
Definition: SoBaseKit.cpp:1722
The SoSensor class is the abstract base class for all sensors.
Definition: SoSensor.h:34
virtual void setDefaultOnNonWritingFields(void)
Definition: SoTabBoxDragger.cpp:284
SoField * getAttachedField(void) const
Definition: SoFieldSensor.cpp:107
The SoSurroundScale class is used to automatically scale geometry to surround other geometry.
Definition: SoSurroundScale.h:34
void removeFinishCallback(SoDraggerCB *func, void *data=NULL)
Definition: SoDragger.cpp:622
The SoDragger class is the base class for all draggers.
Definition: SoDragger.h:53
The SbString class is a string class with convenience functions for string operations.
Definition: SbString.h:42
static void readDefaultParts(const char *fileName, const char defaultBuffer[], int defBufSize)
Definition: SoInteractionKit.cpp:433
SoFieldSensor * translFieldSensor
Definition: SoTabBoxDragger.h:79
static void invalidateSurroundScaleCB(void *f, SoDragger *d)
Definition: SoTabBoxDragger.cpp:337
void addFinishCallback(SoDraggerCB *func, void *data=NULL)
Definition: SoDragger.cpp:611
void detach(void)
Definition: SoFieldSensor.cpp:92
The SoTabBoxDragger wraps a box around geometry you can then translate and scale.
Definition: SoTabBoxDragger.h:34
virtual SbBool setUpConnections(SbBool onoff, SbBool doitalways=0)
Definition: SoInteractionKit.cpp:648
void invalidate(void)
Definition: SoSurroundScale.cpp:270
void addValueChangedCallback(SoDraggerCB *func, void *data=NULL)
Definition: SoDragger.cpp:634
void setMotionMatrix(const SbMatrix &newmatrix)
Definition: SoDragger.cpp:905
void setDefault(SbBool def)
Definition: SoField.cpp:650
SoTabBoxDragger(void)
Definition: SoTabBoxDragger.cpp:164
void removeStartCallback(SoDraggerCB *func, void *data=NULL)
Definition: SoDragger.cpp:581
void getTransform(SbVec3f &t, SbRotation &r, SbVec3f &s, SbRotation &so) const
Definition: SbMatrix.cpp:997
static void fieldSensorCB(void *f, SoSensor *s)
Definition: SoTabBoxDragger.cpp:300
SoSFVec3f translation
Definition: SoTabBoxDragger.h:65
~SoTabBoxDragger()
Definition: SoTabBoxDragger.cpp:227
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:37
The SoTabPlaneDragger class is a dragger you can translate and scale within a plane.
Definition: SoTabPlaneDragger.h:36
virtual void setDefaultOnNonWritingFields(void)
Definition: SoDragger.cpp:1743
SbString & sprintf(const char *formatstr,...)
Definition: SbString.h:105
SbBool connectionsSetUp
Definition: SoBaseKit.h:142
SoSFVec3f scaleFactor
Definition: SoTabBoxDragger.h:66
void attach(SoField *field)
Definition: SoFieldSensor.cpp:77
const SbMatrix & getMotionMatrix(void)
Definition: SoDragger.cpp:688
The SoFieldSensor class detects changes to a field.
Definition: SoFieldSensor.h:29
The SoInteractionKit class is a base class for draggers.
Definition: SoInteractionKit.h:41
static void valueChangedCB(void *f, SoDragger *d)
Definition: SoTabBoxDragger.cpp:310
virtual SbBool setUpConnections(SbBool onoff, SbBool doitalways=0)
Definition: SoTabBoxDragger.cpp:235
The SoSeparator class is a state-preserving group node.
Definition: SoSeparator.h:34
void unregisterChildDragger(SoDragger *child)
Definition: SoDragger.cpp:735
void addStartCallback(SoDraggerCB *func, void *data=NULL)
Definition: SoDragger.cpp:570
static void fieldSensorCB(void *, SoSensor *)
Definition: SoInteractionKit.cpp:725
const char * getString(void) const
Definition: SbString.h:71
static void initClass(void)
Definition: SoDragger.cpp:388
virtual SbBool setPartAsDefault(const SbName &partname, SoNode *node, SbBool onlyifdefault=1)
Definition: SoInteractionKit.cpp:271
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Mon Jul 27 2020 for Coin by Doxygen. 1.8.18