Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

SoConcatenate Class Reference

The SoConcatenate class is used to concatenate several inputs into one output. More...

#include <Inventor/engines/SoConcatenate.h>

Inheritance diagram for SoConcatenate::

SoEngine SoFieldContainer SoBase List of all members.

Public Methods

 SoConcatenate (SoType inputType)

Static Public Methods

void initClass (void)

Public Attributes

SoMFieldinput [NUMINPUTS]
SoEngineOutputoutput

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.


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.


The documentation for this class was generated from the following files:
Generated at Tue Mar 5 03:31:22 2002 for Coin by doxygen1.2.9 written by Dimitri van Heesch, © 1997-2001