1SoCenterballManip(3IV)() SoCenterballManip(3IV)()
2
3
4
6 SoCenterballManip — transform node with 3D interface for editing rota‐
7 tion and center
8
10 SoBase > SoFieldContainer > SoNode > SoTransformation > SoTransform >
11 SoTransformManip > SoCenterballManip
12
14 #include <Inventor/manips/SoCenterballManip.h>
15
16 Fields from class SoTransform:
17
18 SoSFVec3f translation
19 SoSFRotation rotation
20 SoSFVec3f scaleFactor
21 SoSFRotation scaleOrientation
22 SoSFVec3f center
23
24 Methods from class SoCenterballManip:
25
26 SoCenterballManip()
27 static SoType getClassTypeId()
28
29 Methods from class SoTransformManip:
30
31 SoDragger * getDragger()
32 SbBool replaceNode(SoPath *p )
33 SbBool replaceManip(SoPath *p, SoTransform *newOne ) const
34
35 Methods from class SoTransform:
36
37 void pointAt(const SbVec3f &fromPoint, const SbVec3f
38 &toPoint)
39 void getScaleSpaceMatrix(SbMatrix &mat, SbMatrix &inv)
40 const
41 void getRotationSpaceMatrix(SbMatrix &mat, SbMatrix &inv)
42 const
43 void getTranslationSpaceMatrix(SbMatrix &mat, SbMatrix
44 &inv) const
45 void multLeft(const SbMatrix &mat)
46 void multRight(const SbMatrix &mat)
47 void combineLeft(SoTransformation *nodeOnRight)
48 void combineRight(SoTransformation *nodeOnLeft)
49 void setMatrix(const SbMatrix &mat)
50 void recenter(const SbVec3f &newCenter)
51
52 Methods from class SoNode:
53
54 void setOverride(SbBool state)
55 SbBool isOverride() const
56 SoNode * copy(SbBool copyConnections = FALSE) const
57 virtual SbBool affectsState() const
58 static SoNode * getByName(const SbName &name)
59 static int getByName(const SbName &name, SoNodeList &list)
60
61 Methods from class SoFieldContainer:
62
63 void setToDefaults()
64 SbBool hasDefaultValues() const
65 SbBool fieldsAreEqual(const SoFieldContainer *fc) const
66 void copyFieldValues(const SoFieldContainer *fc, SbBool
67 copyConnections = FALSE)
68 SbBool set(const char *fieldDataString)
69 void get(SbString &fieldDataString)
70 virtual int getFields(SoFieldList &resultList) const
71 virtual SoField * getField(const SbName &fieldName) const
72 SbBool getFieldName(const SoField *field, SbName &fieldName)
73 const
74 SbBool isNotifyEnabled() const
75 SbBool enableNotify(SbBool flag)
76
77 Methods from class SoBase:
78
79 void ref()
80 void unref() const
81 void unrefNoDelete() const
82 void touch()
83 virtual SoType getTypeId() const
84 SbBool isOfType(SoType type) const
85 virtual void setName(const SbName &name)
86 virtual SbName getName() const
87
88
90 SoCenterballManip is derived from SoTransform (by way of SoTransformMa‐
91 nip). When its fields change, nodes following it in the scene graph
92 rotate, scale, and/or translate.
93
94 As a subclass of SoTransformManip, this manipulator also has a 3D
95 interface to edit some of its fields. In this case, the interface edits
96 the rotation and center fields.
97
98 A manipulator differs from a dragger. When you move a dragger, no other
99 nodes are affected. When you move an SoTransformManip, other nodes move
100 along with it. (See the reference page for SoTransformManip.)
101
102 The interface for an SoCenterballManip is exactly the same as that of
103 the SoCenterballDragger. To find out more about the interface, see the
104 reference page for SoCenterballDragger. To find out how the manipulator
105 uses a dragger to provide its interface, see the reference page for
106 SoTransformManip.
107
108 On screen, this manipulator will surround the objects influenced by its
109 motion. This is because it turns on the surroundScale part of the drag‐
110 ger. (See the reference page for SoSurroundScale.)
111
113 SoCenterballManip()
114 Constructor.
115
116 static SoType getClassTypeId()
117 Returns type identifier for this class.
118
119
121 CenterballManip {
122 translation 0 0 0
123 rotation 0 0 1 0
124 scaleFactor 1 1 1
125 scaleOrientation 0 0 1 0
126 center 0 0 0
127 }
128
130 SoCenterballDragger, SoHandleBoxManip, SoJackManip, SoTabBoxManip,
131 SoTrackballManip, SoTransformBoxManip, SoTransformerManip, SoTransform,
132 SoTransformManip
133
134
135
136
137 SoCenterballManip(3IV)()