SoComposeRotation(3IV)

SoComposeRotation (SoCmpsRot) - composes a rotation from axis and angle values

As shipped in IRIX 6.5.22. Added in IRIX 6.5.22.

NAME
     SoComposeRotation (SoCmpsRot) - composes a rotation from axis and angle
     values

INHERITS FROM
     SoBase > SoFieldContainer > SoEngine > SoComposeRotation

SYNOPSIS
     #include <Inventor_c/engines/SoCompose.h>

     typedef SoComposeRotation  SoCmpsRot

          Inputs from class SoComposeRotation:

     SoMFVec3f           axis
     SoMFFloat           angle

          Outputs from class SoComposeRotation:

     (SoMFRotation)      rotation

          Functions from class SoComposeRotation:

     SoComposeRotation *  SoCmpsRotCreate()

          Functions from class SoEngine:

     SoType              SoCmpsRotGetTypeId()
     int                 SoCmpsRotGetOuts(const SoCmpsRot *this,
                              SoEngineOutputList *list)
     SoEngineOutput *    SoCmpsRotGetOut(const SoCmpsRot *this, const char
                              *outputName)
     SbBool              SoCmpsRotGetOutName(const SoCmpsRot *this, const
                              SoEngineOutput *output, SbName *outputName)
     SoEngine *          SoCmpsRotCopy(const SoCmpsRot *this)
     SoEngine *          SoCmpsRotGetByName(const char *name)
     int                 SoCmpsRotGetByNameList(const char *name, SoEngineList
                              *list)

          Functions from class SoFieldContainer:

     SoType              SoCmpsRotGetClassTypeId()
     void                SoCmpsRotSetToDflts(SoCmpsRot *this)
     SbBool              SoCmpsRotHasDfltVals(const SoCmpsRot *this)
     SbBool              SoCmpsRotFldsAreEq(const SoCmpsRot *this, const
                              SoFieldContainer *fc)
     void                SoCmpsRotCopyFieldVals(SoCmpsRot *this, const
                              SoFieldContainer *fc, SbBool copyConnections =
                              FALSE)
     SbBool              SoCmpsRotSet(SoCmpsRot *this, const char
                              *fieldDataString)
     void                SoCmpsRotGet(SoCmpsRot *this, SbString
                              *fieldDataString)
     int                 SoCmpsRotGetFields(const SoCmpsRot *this, SoFieldList
                              *resultList)
     SoField *           SoCmpsRotGetField(const SoCmpsRot *this, const char
                              *fieldName)
     SbBool              SoCmpsRotGetFieldName(const SoCmpsRot *this, const
                              SoField *field, SbName *fieldName)
     SbBool              SoCmpsRotIsNotifyEnabled(const SoCmpsRot *this)
     SbBool              SoCmpsRotEnableNotify(SoCmpsRot *this, SbBool flag)

          Functions from class SoBase:

     void                SoCmpsRotRef(SoCmpsRot *this)
     void                SoCmpsRotUnref(const SoCmpsRot *this)
     void                SoCmpsRotUnrefNoDelete(const SoCmpsRot *this)
     void                SoCmpsRotTouch(SoCmpsRot *this)
     SbBool              SoCmpsRotIsOfType(const SoCmpsRot *this, SoType type)
     void                SoCmpsRotSetName(SoCmpsRot *this, const char *name)
     SbName              SoCmpsRotGetName(const SoCmpsRot *this)


DESCRIPTION
     This engine has two inputs, representing an axis of rotation and a
     rotation angle in radians. As output, the engine composes the inputs into
     a rotation field.

     The input fields can have multiple values, allowing the engine to compose
     several rotations in parallel. Some inputs may have more values than
     others. In such cases, the last value of the shorter inputs will be
     repeated as necessary.

INPUTS
     SoMFVec3f           axis
          Axis of rotation.

     SoMFFloat           angle
          Angle of rotation.


OUTPUTS
     (SoMFRotation)      rotation
          Rotation field, defined by the inputs.


FUNCTIONS
     SoComposeRotation *  SoCmpsRotCreate()
          Constructor

FILE FORMAT/DEFAULTS
     ComposeRotation {
          axis   0 0 1
          angle  0
     }

SEE ALSO
     SoComposeRotationFromTo, SoDecomposeRotation, SoEngineOutput