GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SODECOMPOSEMATRIX (3)

NAME

SoDecomposeMatrix — decomposes transformation matrices into values for translation, rotation, and scale

CONTENTS

Inherits From
Synopsis
Description
Inputs
Outputs
Methods
File Format/defaults
See Also

INHERITS FROM

SoBase > SoFieldContainer > SoEngine > SoDecomposeMatrix

SYNOPSIS

#include <Inventor/engines/SoCompose.h>

Inputs from class SoDecomposeMatrix:

    SoMFMatrix    
                    
SoMFMatrix           matrix    
SoMFVec3f    
                    
SoMFVec3f            center

Outputs from class SoDecomposeMatrix:

    (SoMFVec3f)    
                    
(SoMFVec3f)          translation    
(SoMFRotation)    
                    
(SoMFRotation)       rotation    
(SoMFVec3f)    
                    
(SoMFVec3f)          scaleFactor    
(SoMFRotation)    
                    
(SoMFRotation)       scaleOrientation

Methods from class SoDecomposeMatrix:

       
                    
                     SoDecomposeMatrix()

Methods from class SoEngine:

    static SoType    
                    
static SoType        getClassTypeId()    
virtual int    
                    
virtual int          getOutputs(SoEngineOutputList &list) const    
SoEngineOutput *    
                    
SoEngineOutput *     getOutput(const SbName &outputName) const    
SbBool    
                    
SbBool               getOutputName(const SoEngineOutput *output, SbName &outputName) const    
SoEngine *    
                    
SoEngine *           copy() const    
static SoEngine *    
                    
static SoEngine *    getByName(const SbName &name)    
static int    
                    
static int           getByName(const SbName &name, SoEngineList &list)

Methods from class SoFieldContainer:

    void    
                    
void                 setToDefaults()    
SbBool    
                    
SbBool               hasDefaultValues() const    
SbBool    
                    
SbBool               fieldsAreEqual(const SoFieldContainer *fc) const    
void    
                    
void                 copyFieldValues(const SoFieldContainer *fc, SbBool copyConnections = FALSE)    
SbBool    
                    
SbBool               set(const char *fieldDataString)    
void    
                    
void                 get(SbString &fieldDataString)    
virtual int    
                    
virtual int          getFields(SoFieldList &resultList) const    
virtual SoField *    
                    
virtual SoField *    getField(const SbName &fieldName) const    
SbBool    
                    
SbBool               getFieldName(const SoField *field, SbName &fieldName) const    
SbBool    
                    
SbBool               isNotifyEnabled() const    
SbBool    
                    
SbBool               enableNotify(SbBool flag)

Methods from class SoBase:

    void    
                    
void                 ref()    
void    
                    
void                 unref() const    
void    
                    
void                 unrefNoDelete() const    
void    
                    
void                 touch()    
virtual SoType    
                    
virtual SoType       getTypeId() const    
SbBool    
                    
SbBool               isOfType(SoType type) const    
virtual void    
                    
virtual void         setName(const SbName &name)    
virtual SbName    
                    
virtual SbName       getName() const

DESCRIPTION

This engine takes as input a transformation matrix and a center of transformation. As output the engine produces the translation, rotation and scale values derived from the matrix.

The input fields can have multiple values, allowing the engine to decompose several matrices in parallel. One of the inputs may have more values than the other. In that case, the last value of the shorter input will be repeated as necessary.

INPUTS

    SoMFMatrix    
                    
SoMFMatrix           matrix
The 4x4 transformation matrix.

    SoMFVec3f    
                    
SoMFVec3f            center
The center of transformations.

OUTPUTS

    (SoMFVec3f)    
                    
(SoMFVec3f)          translation
Derived translation in x, y, and z.

    (SoMFRotation)    
                    
(SoMFRotation)       rotation
Derived rotation.

    (SoMFVec3f)    
                    
(SoMFVec3f)          scaleFactor
Derived scale values in x, y, and z.

    (SoMFRotation)    
                    
(SoMFRotation)       scaleOrientation
Derived rotational space for scaling.

METHODS

       
                    
                     SoDecomposeMatrix()
Constructor

FILE FORMAT/DEFAULTS

DecomposeMatrix {



matrix  1 0 0 0
        0 1 0 0
        0 0 1 0
        0 0 0 1
center  0 0 0


}

SEE ALSO

SoComposeMatrix, SoEngineOutput

Search for    or go to Top of page |  Section 3 |  Main Index


SODECOMPOSEMATRIX(3IV) (-->)

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.