Open Inventor Reference
SoRotation Class Reference

Node representing a 3D rotation about an arbitrary axis. More...

#include <Inventor/nodes/SoRotation.h>

Inheritance diagram for SoRotation:
SoTransformation SoNode SoFieldContainer SoBase SoPendulum SoRotor

List of all members.

Public Member Functions

 SoRotation ()
 Creates a rotation node with default settings.
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
SoSFRotation rotation
 Rotation specification.

Protected Member Functions

virtual ~SoRotation ()

Detailed Description

This node defines a 3D rotation about an arbitrary axis through the origin. The rotation is accumulated into the current transformation, which is applied to subsequent shapes. The rotation field provides a variety of methods for specifying the rotation.

File Format/Default
Rotation {
  rotation 0 0 1 0
}
Action Behavior
SoGLRenderAction, SoCallbackAction, SoGetBoundingBoxAction, SoRayPickAction
Accumulates rotation transformation into the current transformation.
SoGetMatrixAction
Returns the matrix corresponding to the rotation.
See Also
SoRotationXYZ, SoTransform

Definition at line 94 of file SoRotation.h.


Constructor & Destructor Documentation

SoRotation::SoRotation ( )
virtual SoRotation::~SoRotation ( ) [protected, virtual]

Member Function Documentation

virtual void SoRotation::callback ( SoCallbackAction action) [virtual]

Reimplemented from SoNode.

virtual void SoRotation::doAction ( SoAction action) [virtual]

The default implementation does nothing.

Reimplemented from SoNode.

virtual void SoRotation::getBoundingBox ( SoGetBoundingBoxAction action) [virtual]

Reimplemented from SoNode.

virtual void SoRotation::getMatrix ( SoGetMatrixAction action) [virtual]

Reimplemented from SoNode.

virtual void SoRotation::GLRender ( SoGLRenderAction action) [virtual]

Reimplemented from SoNode.

static void SoRotation::initClass ( ) [static]

Reimplemented from SoTransformation.

Reimplemented in SoPendulum, and SoRotor.

virtual void SoRotation::pick ( SoPickAction action) [virtual]

Reimplemented from SoNode.


Member Data Documentation

Definition at line 103 of file SoRotation.h.


The documentation for this class was generated from the following file: