SoRotation(3IV)

SoRotation (SoRot) - node representing a 3D rotation about an arbitrary axis

As shipped in IRIX 6.5.30. Added in IRIX 6.5.22.

NAME
     SoRotation (SoRot) - node representing a 3D rotation about an arbitrary
     axis

INHERITS FROM
     SoBase > SoFieldContainer > SoNode > SoTransformation > SoRotation

SYNOPSIS
     #include <Inventor_c/nodes/SoRotation.h>

     typedef SoRotation  SoRot

          Fields from class SoRotation:

     SoSFRotation        rotation

          Functions from class SoRotation:

     SoRotation *        SoRotCreate()
     SoType              SoRotGetClassTypeId()

          Functions from class SoNode:

     void                SoRotSetOverride(SoRot *this, SbBool state)
     SbBool              SoRotIsOverride(const SoRot *this)
     SoNode *            SoRotCopy(const SoRot *this, SbBool copyConnections =
                              FALSE)
     SbBool              SoRotAffectsState(const SoRot *this)
     SoNode *            SoRotGetByName(const char *name)
     int                 SoRotGetByNameList(const char *name, SoNodeList
                              *list)

          Functions from class SoFieldContainer:

     void                SoRotSetToDflts(SoRot *this)
     SbBool              SoRotHasDfltVals(const SoRot *this)
     SbBool              SoRotFldsAreEq(const SoRot *this, const
                              SoFieldContainer *fc)
     void                SoRotCopyFieldVals(SoRot *this, const
                              SoFieldContainer *fc, SbBool copyConnections =
                              FALSE)
     SbBool              SoRotSet(SoRot *this, const char *fieldDataString)
     void                SoRotGet(SoRot *this, SbString *fieldDataString)
     int                 SoRotGetFields(const SoRot *this, SoFieldList
                              *resultList)
     SoField *           SoRotGetField(const SoRot *this, const char
                              *fieldName)
     SbBool              SoRotGetFieldName(const SoRot *this, const SoField
                              *field, SbName *fieldName)
     SbBool              SoRotIsNotifyEnabled(const SoRot *this)
     SbBool              SoRotEnableNotify(SoRot *this, SbBool flag)
          Functions from class SoBase:

     void                SoRotRef(SoRot *this)
     void                SoRotUnref(const SoRot *this)
     void                SoRotUnrefNoDelete(const SoRot *this)
     void                SoRotTouch(SoRot *this)
     SoType              SoRotGetTypeId(const SoRot *this)
     SbBool              SoRotIsOfType(const SoRot *this, SoType type)
     void                SoRotSetName(SoRot *this, const char *name)
     SbName              SoRotGetName(const SoRot *this)


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.

FIELDS
     SoSFRotation        rotation
          Rotation specification.


FUNCTIONS
     SoRotation *        SoRotCreate()
          Creates a rotation node with default settings.

     SoType              SoRotGetClassTypeId()
          Returns type identifier for this class.


ACTION BEHAVIOR
     SoGLRenderAction, SoCallbackAction, SoGetBoundingBoxAction,
     SoRayPickAction
          Accumulates rotation transformation into the current transformation.

     SoGetMatrixAction
          Returns the matrix corresponding to the rotation.


FILE FORMAT/DEFAULTS
     Rotation {
          rotation  0 0 1  0
     }

SEE ALSO
     SoRotationXYZ, SoTransform