| 1 |
NAME SoCenterballManip SoCballManip "" { transform node with 3D interface for editing rotation and center } |
| 2 |
|
| 3 |
INCLUDE manips/SoCenterballManip.h |
| 4 |
|
| 5 |
DESC { |
| 6 |
\cSoCenterballManip\. |
| 7 |
is derived from \cSoTransform\. (by way of \cSoTransformManip\.). |
| 8 |
When its fields |
| 9 |
change, nodes following it in the scene graph rotate, scale, and/or translate. |
| 10 |
\p |
| 11 |
As a subclass of \cSoTransformManip\., this manipulator |
| 12 |
also has a 3D interface to edit some of its fields. |
| 13 |
In this case, the interface edits the \vrotation\. and \vcenter\. fields. |
| 14 |
\p |
| 15 |
A manipulator differs from a dragger. When you move a dragger, |
| 16 |
no other nodes are affected. When you move an \cSoTransformManip\., |
| 17 |
other nodes move along with it. |
| 18 |
(See the reference page for \cSoTransformManip\..) |
| 19 |
\p |
| 20 |
The interface for an \cSoCenterballManip\. is exactly the same as that |
| 21 |
of the \cSoCenterballDragger\.. |
| 22 |
To find out more about the interface, see the reference page |
| 23 |
for \cSoCenterballDragger\.. To find out how the manipulator uses a |
| 24 |
dragger to provide its interface, see the reference page for \cSoTransformManip\.. |
| 25 |
\p |
| 26 |
On screen, this manipulator will surround the objects influenced by its motion. |
| 27 |
This is because it turns on the \esurroundScale\. part of the dragger. |
| 28 |
(See the reference page for \cSoSurroundScale\..) |
| 29 |
} |
| 30 |
|
| 31 |
METHOD "" SoCenterballManip() { |
| 32 |
Constructor. |
| 33 |
} |
| 34 |
|
| 35 |
METHOD "" static SoType getClassTypeId() { |
| 36 |
Returns type identifier for this class. |
| 37 |
} |
| 38 |
|
| 39 |
ALSO { |
| 40 |
SoCenterballDragger, |
| 41 |
SoHandleBoxManip, |
| 42 |
SoJackManip, |
| 43 |
SoTabBoxManip, |
| 44 |
SoTrackballManip, |
| 45 |
SoTransformBoxManip, |
| 46 |
SoTransformerManip, |
| 47 |
SoTransform, |
| 48 |
SoTransformManip |
| 49 |
} |