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

NAME

SoSFMatrix — field containing a 4x4 matrix

CONTENTS

Inherits From
Synopsis
Description
Methods
See Also

INHERITS FROM

SoField > SoSField > SoSFMatrix

SYNOPSIS

#include <Inventor/fields/SoSFMatrix.h>

Methods from class SoSFMatrix:

    void    
                    
void                 setValue(float a11, float a12, float a13, float a14, float a21, float a22, float a23, float a24, float a31, float a32, float a33, float a34, float a41, float a42, float a43, float a44)    
static SoType    
                    
static SoType        getClassTypeId()    
virtual void    
                    
virtual void         getTypeId() const    
const SbMatrix &    
                    
const SbMatrix &     getValue() const    
const SbMatrix &    
                    
const SbMatrix &     operator =(const SbMatrix & newValue)    
void    
                    
void                 setValue(const SbMatrix & newValue)    
int    
                    
int                  operator ==(const SoSFMatrix &f) const    
int    
                    
int                  operator !=(const SoSFMatrix &f) const

Methods from class SoField:

    void    
                    
void                 setIgnored(SbBool ignore)    
SbBool    
                    
SbBool               isIgnored() const    
SbBool    
                    
SbBool               isDefault() const    
virtual SbBool    
                    
virtual SbBool       isOfType(SoType type) const    
SbBool    
                    
SbBool               set(const char *valueString)    
void    
                    
void                 get(SbString &valueString)    
void    
                    
void                 touch()    
SbBool    
                    
SbBool               connectFrom(SoField *fromField)    
SbBool    
                    
SbBool               connectFrom(SoEngineOutput *fromEngine)    
void    
                    
void                 disconnect()    
SbBool    
                    
SbBool               isConnected() const    
SbBool    
                    
SbBool               isConnectedFromField() const    
SbBool    
                    
SbBool               getConnectedField(SoField *&writingField) const    
SbBool    
                    
SbBool               isConnectedFromEngine() const    
SbBool    
                    
SbBool               getConnectedEngine(SoEngineOutput *&engineOutput) const    
void    
                    
void                 enableConnection(SbBool flag)    
SbBool    
                    
SbBool               isConnectionEnabled() const    
int    
                    
int                  getForwardConnections(SoFieldList &list) const    
SoFieldContainer *    
                    
SoFieldContainer *   getContainer() const

DESCRIPTION

A field containing a transformation matrix (an SbMatrix).

SoSFMatrices are written to file as 16 floating point numbers separated by whitespace. For example, an identity matrix is written as:



1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1

METHODS

    void    
                    
void                 setValue(float a11, float a12, float a13, float a14, float a21, float a22, float a23, float a24, float a31, float a32, float a33, float a34, float a41, float a42, float a43, float a44)
Sets this field to contain the matrix given by the 16 values. For a translation matrix, the x, y and z translations should be in the a41, a42, and a43 arguments.

    static SoType    
                    
static SoType        getClassTypeId()    
virtual void    
                    
virtual void         getTypeId() const
Returns the type for this class or a particular object of this class.

    const SbMatrix &    
                    
const SbMatrix &     getValue() const
Returns this field’s value.

    const SbMatrix &    
                    
const SbMatrix &     operator =(const SbMatrix & newValue)    
void    
                    
void                 setValue(const SbMatrix & newValue)
Sets this field to newValue.

    int    
                    
int                  operator ==(const SoSFMatrix &f) const    
int    
                    
int                  operator !=(const SoSFMatrix &f) const
Returns TRUE if f is of the same type and has the same value as this field.

SEE ALSO

SoField, SoSField, SoMFMatrix, SbMatrix

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


SOSFMATRIX(3IV) (-->)

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