1SoDecomposeVec2f(3IV)() SoDecomposeVec2f(3IV)()
2
3
4
6 SoDecomposeVec2f — decomposes 2D vectors into floating-point values
7
9 SoBase > SoFieldContainer > SoEngine > SoDecomposeVec2f
10
12 #include <Inventor/engines/SoCompose.h>
13
14 Inputs from class SoDecomposeVec2f:
15
16 SoMFVec2f vector
17
18 Outputs from class SoDecomposeVec2f:
19
20 (SoMFFloat) x
21 (SoMFFloat) y
22
23 Methods from class SoDecomposeVec2f:
24
25 SoDecomposeVec2f()
26
27 Methods from class SoEngine:
28
29 static SoType getClassTypeId()
30 virtual int getOutputs(SoEngineOutputList &list) const
31 SoEngineOutput * getOutput(const SbName &outputName) const
32 SbBool getOutputName(const SoEngineOutput *output, SbName
33 &outputName) const
34 SoEngine * copy() const
35 static SoEngine * getByName(const SbName &name)
36 static int getByName(const SbName &name, SoEngineList &list)
37
38 Methods from class SoFieldContainer:
39
40 void setToDefaults()
41 SbBool hasDefaultValues() const
42 SbBool fieldsAreEqual(const SoFieldContainer *fc) const
43 void copyFieldValues(const SoFieldContainer *fc, SbBool
44 copyConnections = FALSE)
45 SbBool set(const char *fieldDataString)
46 void get(SbString &fieldDataString)
47 virtual int getFields(SoFieldList &resultList) const
48 virtual SoField * getField(const SbName &fieldName) const
49 SbBool getFieldName(const SoField *field, SbName &fieldName)
50 const
51 SbBool isNotifyEnabled() const
52 SbBool enableNotify(SbBool flag)
53
54 Methods from class SoBase:
55
56 void ref()
57 void unref() const
58 void unrefNoDelete() const
59 void touch()
60 virtual SoType getTypeId() const
61 SbBool isOfType(SoType type) const
62 virtual void setName(const SbName &name)
63 virtual SbName getName() const
64
65
67 This engine takes as input a 2D vector, and decomposes it into two sin‐
68 gle floating-point values.
69
70 The input can have multiple values, allowing the engine to decompose
71 several vectors in parallel.
72
74 SoMFVec2f vector
75 Vector to be decomposed.
76
77
79 (SoMFFloat) x
80 First component of the vector.
81
82 (SoMFFloat) y
83 Second component of the vector.
84
85
87 SoDecomposeVec2f()
88 Constructor
89
90
92 DecomposeVec2f {
93 vector 0 0
94 }
95
97 SoComposeVec2f, SoEngineOutput
98
99
100
101
102 SoDecomposeVec2f(3IV)()