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

SoComposeVec4f — composes 4D vectors from floating-point values

Description

       This engine takes four floating-point inputs and composes a 4D 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

ComposeVec4f{x0y0z0w0}

Inherits From

       SoBase > SoFieldContainer > SoEngine > SoComposeVec4f

Inputs

SoMFFloatx
          The x component.

     SoMFFloaty
          The y component.

     SoMFFloatz
          The z component.

     SoMFFloatw
          The w component.

Methods

SoComposeVec4f()
          Constructor

Name

       SoComposeVec4f — composes 4D vectors from floating-point values

Outputs

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

See Also

SoDecomposeVec4f,SoEngineOutputSoComposeVec4f(3IV)()

Synopsis

#include<Inventor/engines/SoCompose.h>

          Inputs from class SoComposeVec4f:

     SoMFFloatxSoMFFloatySoMFFloatzSoMFFloatw

          Outputs from class SoComposeVec4f:

     (SoMFVec4f)vector

          Methods from class SoComposeVec4f:

                         SoComposeVec4f()

          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