SoDecomposeRotation(3IV)

SoDecomposeRotation (SoDecmpsRot) - decomposes rotation values

Showing IRIX 6.5.30 (default release). Added in IRIX 6.5.22.

NAME
     SoDecomposeRotation (SoDecmpsRot) - decomposes rotation values

INHERITS FROM
     SoBase > SoFieldContainer > SoEngine > SoDecomposeRotation

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

     typedef SoDecomposeRotation  SoDecmpsRot

          Inputs from class SoDecomposeRotation:

     SoMFRotation        rotation

          Outputs from class SoDecomposeRotation:

     (SoMFVec3f)         axis
     (SoMFFloat)         angle

          Functions from class SoDecomposeRotation:

     SoDecomposeRotation *  SoDecmpsRotCreate()

          Functions from class SoEngine:

     SoType              SoDecmpsRotGetTypeId()
     int                 SoDecmpsRotGetOuts(const SoDecmpsRot *this,
                              SoEngineOutputList *list)
     SoEngineOutput *    SoDecmpsRotGetOut(const SoDecmpsRot *this, const char
                              *outputName)
     SbBool              SoDecmpsRotGetOutName(const SoDecmpsRot *this, const
                              SoEngineOutput *output, SbName *outputName)
     SoEngine *          SoDecmpsRotCopy(const SoDecmpsRot *this)
     SoEngine *          SoDecmpsRotGetByName(const char *name)
     int                 SoDecmpsRotGetByNameList(const char *name,
                              SoEngineList *list)

          Functions from class SoFieldContainer:

     SoType              SoDecmpsRotGetClassTypeId()
     void                SoDecmpsRotSetToDflts(SoDecmpsRot *this)
     SbBool              SoDecmpsRotHasDfltVals(const SoDecmpsRot *this)
     SbBool              SoDecmpsRotFldsAreEq(const SoDecmpsRot *this, const
                              SoFieldContainer *fc)
     void                SoDecmpsRotCopyFieldVals(SoDecmpsRot *this, const
                              SoFieldContainer *fc, SbBool copyConnections =
                              FALSE)
     SbBool              SoDecmpsRotSet(SoDecmpsRot *this, const char
                              *fieldDataString)
     void                SoDecmpsRotGet(SoDecmpsRot *this, SbString
                              *fieldDataString)
     int                 SoDecmpsRotGetFields(const SoDecmpsRot *this,
                              SoFieldList *resultList)
     SoField *           SoDecmpsRotGetField(const SoDecmpsRot *this, const
                              char *fieldName)
     SbBool              SoDecmpsRotGetFieldName(const SoDecmpsRot *this,
                              const SoField *field, SbName *fieldName)
     SbBool              SoDecmpsRotIsNotifyEnabled(const SoDecmpsRot *this)
     SbBool              SoDecmpsRotEnableNotify(SoDecmpsRot *this, SbBool
                              flag)

          Functions from class SoBase:

     void                SoDecmpsRotRef(SoDecmpsRot *this)
     void                SoDecmpsRotUnref(const SoDecmpsRot *this)
     void                SoDecmpsRotUnrefNoDelete(const SoDecmpsRot *this)
     void                SoDecmpsRotTouch(SoDecmpsRot *this)
     SbBool              SoDecmpsRotIsOfType(const SoDecmpsRot *this, SoType
                              type)
     void                SoDecmpsRotSetName(SoDecmpsRot *this, const char
                              *name)
     SbName              SoDecmpsRotGetName(const SoDecmpsRot *this)


DESCRIPTION
     This engine takes as input a rotation, and decomposes it into an axis
     value and a rotation angle (in radians).

     The input can have multiple values, allowing the engine to decompose
     several rotations in parallel.

INPUTS
     SoMFRotation        rotation
          Rotation to be decomposed.


OUTPUTS
     (SoMFVec3f)         axis
          Axis of rotation derived from the input.

     (SoMFFloat)         angle
          Angle (in radians) derived from the input.


FUNCTIONS
     SoDecomposeRotation *  SoDecmpsRotCreate()
          Constructor


FILE FORMAT/DEFAULTS
     DecomposeRotation {
          rotation  0 0 1  0
     }
SEE ALSO
     SoDecomposeRotationFromTo, SoComposeRotation, SoEngineOutput