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

SoDecomposeVec2f — decomposes 2D vectors into floating-point values

Description

       This engine takes as input a 2D vector, and decomposes it into two single floating-point values.

       The input can have multiple values, allowing the engine to decompose several vectors in parallel.

File Format/Defaults

DecomposeVec2f{vector00}

Inherits From

       SoBase > SoFieldContainer > SoEngine > SoDecomposeVec2f

Inputs

SoMFVec2fvector
          Vector to be decomposed.

Methods

SoDecomposeVec2f()
          Constructor

Name

       SoDecomposeVec2f — decomposes 2D vectors into floating-point values

Outputs

(SoMFFloat)x
          First component of the vector.

     (SoMFFloat)y
          Second component of the vector.

See Also

SoComposeVec2f,SoEngineOutputSoDecomposeVec2f(3IV)()

Synopsis

#include<Inventor/engines/SoCompose.h>

          Inputs from class SoDecomposeVec2f:

     SoMFVec2fvector

          Outputs from class SoDecomposeVec2f:

     (SoMFFloat)x(SoMFFloat)y

          Methods from class SoDecomposeVec2f:

                         SoDecomposeVec2f()

          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