|
http://www.coin3d.org/ http://www.kongsberg.com/kogt/ |
The SoRotationXYZ class is a node type for specifying rotation around a particular axis.Application programmers can use nodes of this type instead of SoRotation nodes for simplicity and clarity if the rotation will only happen around one particular axis. More...
#include <Inventor/nodes/SoRotationXYZ.h>
Public Types | |
| enum | Axis { X, Y, Z } |
Public Member Functions | |
| SoRotationXYZ (void) | |
| SbRotation | getRotation (void) const |
| virtual void | doAction (SoAction *action) |
| virtual void | GLRender (SoGLRenderAction *action) |
| virtual void | callback (SoCallbackAction *action) |
| virtual void | getBoundingBox (SoGetBoundingBoxAction *action) |
| virtual void | getMatrix (SoGetMatrixAction *action) |
| virtual void | pick (SoPickAction *action) |
| virtual void | getPrimitiveCount (SoGetPrimitiveCountAction *action) |
Static Public Member Functions | |
| static void | initClass (void) |
| Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. | |
Public Attributes | |
| SoSFEnum | axis |
| SoSFFloat | angle |
Protected Member Functions | |
| virtual | ~SoRotationXYZ () |
The SoRotationXYZ class is a node type for specifying rotation around a particular axis.
Application programmers can use nodes of this type instead of SoRotation nodes for simplicity and clarity if the rotation will only happen around one particular axis.
Using SoRotationXYZ nodes are also simpler and more efficient than using SoRotation nodes if you are connecting engines to rotation angles for animation purposes.
FILE FORMAT/DEFAULTS:
RotationXYZ {
angle 0
axis X
}
| enum SoRotationXYZ::Axis |
Enumerated values for the 3 axes.
| SoRotationXYZ::SoRotationXYZ | ( | void | ) |
Constructor.
| SoRotationXYZ::~SoRotationXYZ | ( | ) | [protected, virtual] |
Destructor.
| SbRotation SoRotationXYZ::getRotation | ( | void | ) | const |
Returns an SbRotation object with values set up to correspond with the specified rotation of the node.
Which axis to rotate around. Defaults to SoRotationXYZ::X.
The angle to rotate, specified in radians.
Copyright © by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Mon Nov 7 20:02:03 2011 for Coin by Doxygen 1.6.3.