1SoConcatenate(3IV)() SoConcatenate(3IV)()
2
3
4
6 SoConcatenate — joins separate fields into a single multiple-value
7 field
8
10 SoBase > SoFieldContainer > SoEngine > SoConcatenate
11
13 #include <Inventor/engines/SoConcatenate.h>
14
15 Inputs from class SoConcatenate:
16
17 <inputType> input[10]
18
19 Outputs from class SoConcatenate:
20
21 (<outputType>) output
22
23 Methods from class SoConcatenate:
24
25 SoConcatenate(SoType inputType)
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 joins up to 10 separate fields of a type into a single mul‐
68 tiple-valued field of the same type. The type of the input fields can
69 be any subclass of SoMField The type is specified when an instance of
70 the class is created. For example, SoConcatenate(SoMFFloat::get‐
71 ClassTypeId()) creates an engine that concatenates floating-point val‐
72 ues.
73
74 The input field is a 10-element array, where each element can be con‐
75 nected to single- or multiple-valued fields. All the values in the
76 input are concatenated together to form one multiple-value field. For
77 example, if input[0] contains 10 values and input[1] contains 3 values,
78 the output will contain 13 values.
79
80 Note that, unlike the output of most engines, output is a pointer. Note
81 also that by default input does not contain any values, and no value is
82 output from the engine.
83
85 <inputType> input[10]
86
87
89 (<outputType>) output
90
91
93 SoConcatenate(SoType inputType)
94 Constructor. The argument specifies the type of values to concate‐
95 nate.
96
97
99 Concatenate {
100 type <inputType>
101 input0 []
102 input1 []
103 input2 []
104 input3 []
105 input4 []
106 input5 []
107 input6 []
108 input7 []
109 input8 []
110 input9 []
111 }
112
114 SoEngineOutput, SoGate, SoSelectOne
115
116
117
118
119 SoConcatenate(3IV)()