Open Inventor Reference
|
Node representing a 3D rotation about the x-, y-, or z-axis. More...
#include <Inventor/nodes/SoRotationXYZ.h>
Public Types | |
enum | Axis { X, Y, Z } |
Rotation axis. More... | |
Public Member Functions | |
SoRotationXYZ () | |
Creates a rotation node with default settings. | |
SbRotation | getRotation () const |
Returns an SbRotation equivalent to the specified rotation. | |
virtual void | doAction (SoAction *action) |
This method performs the "typical" operation of a node for any action. | |
virtual void | callback (SoCallbackAction *action) |
virtual void | GLRender (SoGLRenderAction *action) |
These virtual functions implement all of the actions for nodes, Most of the default implementations do nothing. | |
virtual void | getBoundingBox (SoGetBoundingBoxAction *action) |
virtual void | getMatrix (SoGetMatrixAction *action) |
virtual void | pick (SoPickAction *action) |
Static Public Member Functions | |
static void | initClass () |
Initializes base node class. | |
Public Attributes | |
Fields | |
SoSFEnum | axis |
Rotation axis. | |
SoSFFloat | angle |
Rotation angle (in radians), using the right-hand rule. | |
Protected Member Functions | |
virtual | ~SoRotationXYZ () |
This node defines a 3D rotation about one of the three principal axes. The rotation is accumulated into the current transformation, which is applied to subsequent shapes.
Definition at line 95 of file SoRotationXYZ.h.
enum SoRotationXYZ::Axis |
Definition at line 101 of file SoRotationXYZ.h.
SoRotationXYZ::SoRotationXYZ | ( | ) |
virtual SoRotationXYZ::~SoRotationXYZ | ( | ) | [protected, virtual] |
virtual void SoRotationXYZ::callback | ( | SoCallbackAction * | action | ) | [virtual] |
Reimplemented from SoNode.
virtual void SoRotationXYZ::doAction | ( | SoAction * | action | ) | [virtual] |
The default implementation does nothing.
Reimplemented from SoNode.
virtual void SoRotationXYZ::getBoundingBox | ( | SoGetBoundingBoxAction * | action | ) | [virtual] |
Reimplemented from SoNode.
virtual void SoRotationXYZ::getMatrix | ( | SoGetMatrixAction * | action | ) | [virtual] |
Reimplemented from SoNode.
SbRotation SoRotationXYZ::getRotation | ( | ) | const |
virtual void SoRotationXYZ::GLRender | ( | SoGLRenderAction * | action | ) | [virtual] |
Reimplemented from SoNode.
static void SoRotationXYZ::initClass | ( | ) | [static] |
Reimplemented from SoTransformation.
virtual void SoRotationXYZ::pick | ( | SoPickAction * | action | ) | [virtual] |
Reimplemented from SoNode.
Definition at line 114 of file SoRotationXYZ.h.
Definition at line 111 of file SoRotationXYZ.h.