![]() |
http://www.sim.no http://www.coin3d.org |
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. More...
#include <Inventor/engines/SoConcatenate.h>
Public Member Functions | |
SoConcatenate (SoType inputType) | |
Static Public Member Functions | |
static void | initClass (void) |
Public Attributes | |
SoMField * | input [NUMINPUTS] |
SoEngineOutput * | output |
Friends | |
class | dummy |
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...] }
SoConcatenate::SoConcatenate | ( | SoType | type | ) |
Constructor. The type of the input/output is specified in type.
References SoType::badType(), SoType::getName(), SbName::getString(), input, output, SoDebugError::post(), and SoConcatenate().
Referenced by SoConcatenate().
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.
SoMField * SoConcatenate::input[10] |
The multivalue input fields which we will concatenate into the output.
Referenced by SoConcatenate().
(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.
Referenced by SoConcatenate().
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Mon Feb 28 2011 10:12:07 for Coin by Doxygen. 1.7.3