1SoTransformVec3f(3IV)()                                SoTransformVec3f(3IV)()
2
3
4

NAME

6       SoTransformVec3f — transforms a 3D vector by a 4x4 matrix
7

INHERITS FROM

9       SoBase > SoFieldContainer > SoEngine > SoTransformVec3f
10

SYNOPSIS

12       #include <Inventor/engines/SoTransformVec3f.h>
13
14          Inputs from class SoTransformVec3f:
15
16     SoMFVec3f           vector
17     SoMFMatrix          matrix
18
19          Outputs from class SoTransformVec3f:
20
21     (SoMFVec3f)         point
22     (SoMFVec3f)         direction
23     (SoMFVec3f)         normalDirection
24
25          Methods from class SoTransformVec3f:
26
27                         SoTransformVec3f()
28
29          Methods from class SoEngine:
30
31     static SoType       getClassTypeId()
32     virtual int         getOutputs(SoEngineOutputList &list) const
33     SoEngineOutput *    getOutput(const SbName &outputName) const
34     SbBool              getOutputName(const  SoEngineOutput  *output,  SbName
35                              &outputName) const
36     SoEngine *          copy() const
37     static SoEngine *   getByName(const SbName &name)
38     static int          getByName(const SbName &name, SoEngineList &list)
39
40          Methods from class SoFieldContainer:
41
42     void                setToDefaults()
43     SbBool              hasDefaultValues() const
44     SbBool              fieldsAreEqual(const SoFieldContainer *fc) const
45     void                copyFieldValues(const  SoFieldContainer  *fc,  SbBool
46                              copyConnections = FALSE)
47     SbBool              set(const char *fieldDataString)
48     void                get(SbString &fieldDataString)
49     virtual int         getFields(SoFieldList &resultList) const
50     virtual SoField *   getField(const SbName &fieldName) const
51     SbBool              getFieldName(const SoField *field, SbName &fieldName)
52                              const
53     SbBool              isNotifyEnabled() const
54     SbBool              enableNotify(SbBool flag)
55
56          Methods from class SoBase:
57
58     void                ref()
59     void                unref() const
60     void                unrefNoDelete() const
61     void                touch()
62     virtual SoType      getTypeId() const
63     SbBool              isOfType(SoType type) const
64     virtual void        setName(const SbName &name)
65     virtual SbName      getName() const
66
67

DESCRIPTION

69       This engine takes as input a three  dimensional  floating-point  vector
70       and a transformation matrix. The vector is assumed to be a row vector.
71
72       The  engine  multiplies the vector by the matrix and returns the result
73       in the output point. The output direction contains the result when  the
74       matrix  multiplication assumes the vector is a direction, and therefore
75       ignores the translation part of the matrix. The output  normalDirection
76       contains the normalized direction
77

INPUTS

79     SoMFVec3f           vector
80          Input row vector.
81
82     SoMFMatrix          matrix
83          Input transformation matrix.
84
85

OUTPUTS

87     (SoMFVec3f)         point
88          Vector transformed by matrix.
89
90     (SoMFVec3f)         direction
91          Vector transformed by matrix, ignoring translation.
92
93     (SoMFVec3f)         normalDirection
94          Normalized direction.
95
96

METHODS

98                         SoTransformVec3f()
99          Constructor
100
101

FILE FORMAT/DEFAULTS

103       TransformVec3f {
104          vector  0 0 0
105          matrix  1 0 0 0
106                  0 1 0 0
107                  0 0 1 0
108                  0 0 0 1
109     }
110

SEE ALSO

112       SoEngineOutput
113
114
115
116
117                                                       SoTransformVec3f(3IV)()
Impressum