SoComposeVec2f(3IV)NAMESoComposeVec2f (SoCmpsV2f) - composes 2D vectors from floating-point
values
INHERITS FROM
SoBase > SoFieldContainer > SoEngine > SoComposeVec2fSYNOPSIS
#include <Inventor_c/engines/SoCompose.h>
typedef SoComposeVec2f SoCmpsV2f
Inputs from class SoComposeVec2f:
SoMFFloat x
SoMFFloat y
Outputs from class SoComposeVec2f:
(SoMFVec2f) vector
Functions from class SoComposeVec2f:
SoComposeVec2f * SoCmpsV2fCreate()
Functions from class SoEngine:
SoType SoCmpsV2fGetTypeId()
int SoCmpsV2fGetOuts(const SoCmpsV2f *this,
SoEngineOutputList *list)
SoEngineOutput * SoCmpsV2fGetOut(const SoCmpsV2f *this, const char
*outputName)
SbBool SoCmpsV2fGetOutName(const SoCmpsV2f *this, const
SoEngineOutput *output, SbName *outputName)
SoEngine * SoCmpsV2fCopy(const SoCmpsV2f *this)
SoEngine * SoCmpsV2fGetByName(const char *name)
int SoCmpsV2fGetByNameList(const char *name, SoEngineList
*list)
Functions from class SoFieldContainer:
SoType SoCmpsV2fGetClassTypeId()
void SoCmpsV2fSetToDflts(SoCmpsV2f *this)
SbBool SoCmpsV2fHasDfltVals(const SoCmpsV2f *this)
SbBool SoCmpsV2fFldsAreEq(const SoCmpsV2f *this, const
SoFieldContainer *fc)
void SoCmpsV2fCopyFieldVals(SoCmpsV2f *this, const
SoFieldContainer *fc, SbBool copyConnections =
FALSE)
SbBool SoCmpsV2fSet(SoCmpsV2f *this, const char
*fieldDataString)
Page 1SoComposeVec2f(3IV)
void SoCmpsV2fGet(SoCmpsV2f *this, SbString
*fieldDataString)
int SoCmpsV2fGetFields(const SoCmpsV2f *this, SoFieldList
*resultList)
SoField * SoCmpsV2fGetField(const SoCmpsV2f *this, const char
*fieldName)
SbBool SoCmpsV2fGetFieldName(const SoCmpsV2f *this, const
SoField *field, SbName *fieldName)
SbBool SoCmpsV2fIsNotifyEnabled(const SoCmpsV2f *this)
SbBool SoCmpsV2fEnableNotify(SoCmpsV2f *this, SbBool flag)
Functions from class SoBase:
void SoCmpsV2fRef(SoCmpsV2f *this)
void SoCmpsV2fUnref(const SoCmpsV2f *this)
void SoCmpsV2fUnrefNoDelete(const SoCmpsV2f *this)
void SoCmpsV2fTouch(SoCmpsV2f *this)
SbBool SoCmpsV2fIsOfType(const SoCmpsV2f *this, SoType type)
void SoCmpsV2fSetName(SoCmpsV2f *this, const char *name)
SbName SoCmpsV2fGetName(const SoCmpsV2f *this)
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
SoMFFloat x
The x component.
SoMFFloat y
The y component.
OUTPUTS
(SoMFVec2f) vector
Vector composed of x and y components.
FUNCTIONSSoComposeVec2f * SoCmpsV2fCreate()
Constructor
FILE FORMAT/DEFAULTS
ComposeVec2f {
x 0
Page 2SoComposeVec2f(3IV)
y 0
}
SEE ALSO
SoDecomposeVec2f, SoEngineOutput
Page 3