Debian Codegraph @

doc/man/man3/ivm/engines/SoConcatenate.ivm

raw
1 NAME SoConcatenate SoConcat "" {
2 joins separate fields into a single multiple-value field
3 }
4
5 DESC {
6 This engine joins up to 10 separate fields of a type into
7 a single multiple-valued field of the same type.
8 The type of the input fields can be any subclass of
9 \cSoMField\. The type is specified when an instance of
10 the class is created.
11 For example,
12 \+\cSoConcatenate(SoMFFloat::getClassTypeId())\.\.
13 \-\cSoConcatCreate(SoMFloatGetClassTypeId())\.\.
14 creates an engine that concatenates floating-point values.
15 \p
16 The \vinput\. field is a 10-element array, where each element can
17 be connected to single- or multiple-valued fields.
18 All the values in the input are concatenated
19 together to form one multiple-value field. For example, if
20 \vinput[0]\. contains 10 values and \vinput[1]\. contains 3 values,
21 the output will contain 13 values.
22 \p
23 Note that, unlike the output of most engines, \voutput\. is a pointer.
24 Note also that by default \vinput\. does not contain any values,
25 and no value is output from the engine.
26 }
27
28 INCLUDE engines/SoConcatenate.h
29
30 INPUT input[10] { }
31
32 OUTPUT output { }
33
34 METHOD SoConcatCreate SoConcatenate(SoType inputType)
35 { Constructor. The argument specifies the type of values to concatenate. }
36
37 ALSO { SoEngineOutput, SoGate, SoSelectOne }