Coin Logo http://www.coin3d.org/
http://www.kongsberg.com/kogt/

SoRotationXYZ Class Reference
[Node Classes]

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>

Inheritance diagram for SoRotationXYZ:
SoTransformation SoNode SoFieldContainer SoBase

List of all members.

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 ()

Detailed Description

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
    }

Member Enumeration Documentation

Enumerated values for the 3 axes.


Constructor & Destructor Documentation

SoRotationXYZ::SoRotationXYZ ( void   ) 

Constructor.

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

Destructor.


Member Function Documentation

SbRotation SoRotationXYZ::getRotation ( void   )  const

Returns an SbRotation object with values set up to correspond with the specified rotation of the node.


Member Data Documentation

Which axis to rotate around. Defaults to SoRotationXYZ::X.

The angle to rotate, specified in radians.


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

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.