1SoSFMatrix(3IV)()                                            SoSFMatrix(3IV)()
2
3
4

NAME

6       SoSFMatrix — field containing a 4x4 matrix
7

INHERITS FROM

9       SoField > SoSField > SoSFMatrix
10

SYNOPSIS

12       #include <Inventor/fields/SoSFMatrix.h>
13
14          Methods from class SoSFMatrix:
15
16     void                setValue(float  a11, float a12, float a13, float a14,
17                              float a21, float  a22,  float  a23,  float  a24,
18                              float  a31,  float  a32,  float  a33, float a34,
19                              float a41, float a42, float a43, float a44)
20     static SoType       getClassTypeId()
21     virtual void        getTypeId() const
22     const SbMatrix &    getValue() const
23     const SbMatrix &    operator =(const SbMatrix & newValue)
24     void                setValue(const SbMatrix & newValue)
25     int                 operator ==(const SoSFMatrix &f) const
26     int                 operator !=(const SoSFMatrix &f) const
27
28          Methods from class SoField:
29
30     void                setIgnored(SbBool ignore)
31     SbBool              isIgnored() const
32     SbBool              isDefault() const
33     virtual SbBool      isOfType(SoType type) const
34     SbBool              set(const char *valueString)
35     void                get(SbString &valueString)
36     void                touch()
37     SbBool              connectFrom(SoField *fromField)
38     SbBool              connectFrom(SoEngineOutput *fromEngine)
39     void                disconnect()
40     SbBool              isConnected() const
41     SbBool              isConnectedFromField() const
42     SbBool              getConnectedField(SoField *&writingField) const
43     SbBool              isConnectedFromEngine() const
44     SbBool              getConnectedEngine(SoEngineOutput     *&engineOutput)
45                              const
46     void                enableConnection(SbBool flag)
47     SbBool              isConnectionEnabled() const
48     int                 getForwardConnections(SoFieldList &list) const
49     SoFieldContainer *  getContainer() const
50
51

DESCRIPTION

53       A field containing a transformation matrix (an SbMatrix).
54
55       SoSFMatrices are written to file as 16 floating point numbers separated
56       by whitespace. For example, an identity matrix is written as:
57
58          1 0 0 0  0 1 0 0  0 0 1 0  0 0 0 1
59
60
61

METHODS

63     void                setValue(float a11, float a12, float a13, float  a14,
64                              float  a21,  float  a22,  float  a23, float a24,
65                              float a31, float  a32,  float  a33,  float  a34,
66                              float a41, float a42, float a43, float a44)
67          Sets  this field to contain the matrix given by the 16 values. For a
68          translation matrix, the x, y and z translations  should  be  in  the
69          a41, a42, and a43 arguments.
70
71     static SoType       getClassTypeId()
72     virtual void        getTypeId() const
73          Returns  the  type  for  this  class  or a particular object of this
74          class.
75
76     const SbMatrix &    getValue() const
77          Returns this field's value.
78
79     const SbMatrix &    operator =(const SbMatrix & newValue)
80     void                setValue(const SbMatrix & newValue)
81          Sets this field to newValue.
82
83     int                 operator ==(const SoSFMatrix &f) const
84     int                 operator !=(const SoSFMatrix &f) const
85          Returns TRUE if f is of the same type and has the same value as this
86          field.
87
88

SEE ALSO

90       SoField, SoSField, SoMFMatrix, SbMatrix
91
92
93
94
95                                                             SoSFMatrix(3IV)()
Impressum