| 1 |
NAME SoTrackballManip SoTballManip "" { transform node with 3D interface for changing rotation and scaling } |
| 2 |
|
| 3 |
INCLUDE manips/SoTrackballManip.h |
| 4 |
|
| 5 |
DESC { |
| 6 |
\cSoTrackballManip\. |
| 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 \vscaleFactor\. 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 \cSoTrackballManip\. is exactly the same as that |
| 21 |
of the \cSoTrackballDragger\.. |
| 22 |
To find out more about the interface, see the reference page |
| 23 |
for \cSoTrackballDragger\.. To find out how the manipulator uses a |
| 24 |
dragger to provide its interface, see the reference page for |
| 25 |
\cSoTransformManip\.. |
| 26 |
\p |
| 27 |
On screen, this manipulator will surround the objects influenced by its |
| 28 |
motion. This is because it turns on the \esurroundScale\. part of the |
| 29 |
dragger (See the reference page for \cSoSurroundScale\.) |
| 30 |
} |
| 31 |
|
| 32 |
METHOD "" SoTrackballManip() { |
| 33 |
Constructor. |
| 34 |
} |
| 35 |
|
| 36 |
METHOD "" static SoType getClassTypeId() { |
| 37 |
Returns type identifier for this class. |
| 38 |
} |
| 39 |
|
| 40 |
ALSO { |
| 41 |
SoCenterballManip, |
| 42 |
SoHandleBoxManip, |
| 43 |
SoJackManip, |
| 44 |
SoTabBoxManip, |
| 45 |
SoTrackballDragger, |
| 46 |
SoTransformBoxManip, |
| 47 |
SoTransformerManip, |
| 48 |
SoTransform, |
| 49 |
SoTransformManip |
| 50 |
} |