man SoComposeVec2f () - composes 2D vectors from floating-point values

NAME

SoComposeVec2f - composes 2D vectors from floating-point values

INHERITS FROM

SoBase > SoFieldContainer > SoEngine > SoComposeVec2f

SYNOPSIS

#include <Inventor/engines/SoCompose.h> Inputs from class SoComposeVec2f: c } c } x

c } c } y Outputs from class SoComposeVec2f: c } c } vector Methods from class SoComposeVec2f: c } c } SoComposeVec2f() Methods from class SoEngine: c } c } getClassTypeId()

c } c } getOutputs(SoEngineOutputList &list) const

c } c } getOutput(const SbName &outputName) const

c } c } getOutputName(const SoEngineOutput *output, SbName &outputName) const

c } c } copy() const

c } c } getByName(const SbName &name)

c } c } getByName(const SbName &name, SoEngineList &list) Methods from class SoFieldContainer: c } c } setToDefaults()

c } c } hasDefaultValues() const

c } c } fieldsAreEqual(const SoFieldContainer *fc) const

c } c } copyFieldValues(const SoFieldContainer *fc, SbBool copyConnections = FALSE)

c } c } set(const char *fieldDataString)

c } c } get(SbString &fieldDataString)

c } c } getFields(SoFieldList &resultList) const

c } c } getField(const SbName &fieldName) const

c } c } getFieldName(const SoField *field, SbName &fieldName) const

c } c } isNotifyEnabled() const

c } c } enableNotify(SbBool flag) Methods from class SoBase: c } c } ref()

c } c } unref() const

c } c } unrefNoDelete() const

c } c } touch()

c } c } getTypeId() const

c } c } isOfType(SoType type) const

c } c } setName(const SbName &name)

c } c } getName() const

DESCRIPTION

This engine takes two floating-point inputs and composes a 2D floating-point vector. The input fields can have multiple values, allowing the engine to compose several vectors in parallel. One of the inputs may have more values than others. In such cases, the last value of the shorter input will be repeated as necessary.

INPUTS

c } c } x

The x component. c } c } y

The y component.

OUTPUTS

c } c } vector

Vector composed of x and y components.

METHODS

c } c } SoComposeVec2f()

Constructor

FILE FORMAT/DEFAULTS

ComposeVec2f {
x	0
y	0
}

SEE ALSO

SoDecomposeVec2f, SoEngineOutput