Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SoComposeVec3f — composes 3D vectors from floating-point values

Description

       This engine takes three floating-point inputs and composes a 3D vector.

       The  input  fields  can have multiple values, allowing the engine to compose several vectors in parallel.
       Some inputs may have more values than others. In such cases, the last value of the shorter inputs will be
       repeated as necessary.

File Format/Defaults

ComposeVec3f{x0y0z0}

Inherits From

       SoBase > SoFieldContainer > SoEngine > SoComposeVec3f

Inputs

SoMFFloatx
          The x component

     SoMFFloaty
          The y component

     SoMFFloatz
          The z component.

Methods

SoComposeVec3f()
          Constructor

Name

       SoComposeVec3f — composes 3D vectors from floating-point values

Outputs

(SoMFVec3f)vector
          Vector composed of x, y, and z.

See Also

SoDecomposeVec3f,SoEngineOutputSoComposeVec3f(3IV)()

Synopsis

#include<Inventor/engines/SoCompose.h>

          Inputs from class SoComposeVec3f:

     SoMFFloatxSoMFFloatySoMFFloatz

          Outputs from class SoComposeVec3f:

     (SoMFVec3f)vector

          Methods from class SoComposeVec3f:

                         SoComposeVec3f()

          Methods from class SoEngine:

     staticSoTypegetClassTypeId()virtualintgetOutputs(SoEngineOutputList&list)constSoEngineOutput*getOutput(constSbName&outputName)constSbBoolgetOutputName(constSoEngineOutput*output,SbName&outputName)constSoEngine*copy()conststaticSoEngine*getByName(constSbName&name)staticintgetByName(constSbName&name,SoEngineList&list)

          Methods from class SoFieldContainer:

     voidsetToDefaults()SbBoolhasDefaultValues()constSbBoolfieldsAreEqual(constSoFieldContainer*fc)constvoidcopyFieldValues(constSoFieldContainer*fc,SbBoolcopyConnections=FALSE)SbBoolset(constchar*fieldDataString)voidget(SbString&fieldDataString)virtualintgetFields(SoFieldList&resultList)constvirtualSoField*getField(constSbName&fieldName)constSbBoolgetFieldName(constSoField*field,SbName&fieldName)constSbBoolisNotifyEnabled()constSbBoolenableNotify(SbBoolflag)

          Methods from class SoBase:

     voidref()voidunref()constvoidunrefNoDelete()constvoidtouch()virtualSoTypegetTypeId()constSbBoolisOfType(SoTypetype)constvirtualvoidsetName(constSbName&name)virtualSbNamegetName()const

See Also