logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SoComposeVec2f — composes 2D vectors from floating-point values

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.

File Format/Defaults

ComposeVec2f{x0y0}

Inherits From

       SoBase > SoFieldContainer > SoEngine > SoComposeVec2f

Inputs

SoMFFloatx
          The x component.

     SoMFFloaty
          The y component.

Methods

SoComposeVec2f()
          Constructor

Name

       SoComposeVec2f — composes 2D vectors from floating-point values

Outputs

(SoMFVec2f)vector
          Vector composed of x and y components.

See Also

SoDecomposeVec2f,SoEngineOutputSoComposeVec2f(3IV)()

Synopsis

#include<Inventor/engines/SoCompose.h>

          Inputs from class SoComposeVec2f:

     SoMFFloatxSoMFFloaty

          Outputs from class SoComposeVec2f:

     (SoMFVec2f)vector

          Methods from class SoComposeVec2f:

                         SoComposeVec2f()

          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