NAME
SoConcatenate -
The SoConcatenate class is used to concatenate several inputs into one
output.
Takes all the values from the 10 input multivalue fields in turn and
concatenates them into the multivalue output.
SYNOPSIS
#include <Inventor/engines/SoConcatenate.h>
Inherits SoEngine.
Public Member Functions
SoConcatenate (SoType inputType)
Static Public Member Functions
static void initClass (void)
Public Attributes
SoMField * input [NUMINPUTS]
SoEngineOutput * output
Detailed Description
The SoConcatenate class is used to concatenate several inputs into one
output.
Takes all the values from the 10 input multivalue fields in turn and
concatenates them into the multivalue output.
Note that this engine’s output field deviates a little from the
’standard’ output mechanism of the majority of engine classes: the
SoConcatenate::output is not a permanent SoEngineOutput instance, but a
pointer to a SoEngineOutput instance. The reason for this is that it is
necessary to allocate the output field dynamically to make it match
what the SoConcatenate::input is connected to since the type of the
SoConcatenate::output always should be the same as the type of the
SoConcatenate::input.
The file format for this field is a bit special. Note the leading type
specification, which is not necessary for most other field types:
Concatenate {
type <multivaluefieldtype>
[...fields...]
}
.fi
Constructor & Destructor Documentation
SoConcatenate::SoConcatenate (SoType type) Constructor. The type of the
input/output is specified in type.
Member Function Documentation
void SoConcatenate::initClass (void) [static] Sets up initialization for
data common to all instances of this class, like submitting necessary
information to the Coin type system.
Reimplemented from SoEngine.
Member Data Documentation
SoMField * SoConcatenate::input[10] The multivalue input fields which we
will concatenate into the output.
SoEngineOutput * SoConcatenate::output (SoMField) This is the field output
containing the concatenated values of all the input fields.
The type of the field will of course match the type of the input field.
Author
Generated automatically by Doxygen for Coin from the source code.