SoConcatenate Class Reference

Joins separate fields into a single multiple-value field. More...

#include <Inventor/engines/SoConcatenate.h>

Inheritance diagram for SoConcatenate:
SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoConcatenate (SoType mfInputType)

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoMFieldinput [10]

Detailed Description

Joins separate fields into a single multiple-value field.

This engine joins up to 10 separate fields of a type into a single multiple-valued field of the same type. The type of the input fields can be any subclass of SoMField The type is specified when an instance of the class is created. For example, SoConcatenate( SoMFFloat::getClassTypeId() ) creates an engine that concatenates floating-point values.

The input field is a 10-element array, where each element can be connected to single- or multiple-valued fields. All the values in the input are concatenated together to form one multiple-value field. For example, if input[0] contains 10 values and input[1] contains 3 values, the output will contain 13 values.

Note that by default input does not contain any values, and no value is output from the engine.

Note also that, unlike the output of most engines, output is a pointer.



SoEngineOutput, SoGate, SoSelectOne

Constructor & Destructor Documentation

SoConcatenate::SoConcatenate ( SoType  mfInputType  ) 


The argument specifies the type of values to concatenate.

Member Function Documentation

static SoType SoConcatenate::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoEngine.

virtual SoType SoConcatenate::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Implements SoTypedObject.

Member Data Documentation

Array of Input.

Connect them like this: concatenate->input[0]->connectFrom(...) The names of these inputs is input0 ... input9. The default value for these fields is no values.


Is of the same type as the inputs (note that it is a pointer, unlike most engine outputs).

The documentation for this class was generated from the following file:

Open Inventor by FEI reference manual, generated on 12 Jun 2019
Copyright © FEI S.A.S. All rights reserved.