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

SoSFVec4f — field containing a homogeneous three-dimensional vector

Description

       Field containing a homogeneous three-dimensional vector.

       SoSFVec4fs are written to file as four floating point values separated by whitespace.

Inherits From

       SoField > SoSField > SoSFVec4f

Methods

voidsetValue(floatx,floaty,floatz,floatw)voidsetValue(constfloatxyzw[4])
          Sets the field to the given value.

     staticSoTypegetClassTypeId()virtualvoidgetTypeId()const
          Returns the type for this class or a particular object of this class.

     constSbVec4f&getValue()const
          Returns this field's value.

     constSbVec4f&operator=(constSbVec4f&newValue)voidsetValue(constSbVec4f&newValue)
          Sets this field to newValue.

     intoperator==(constSoSFVec4f&f)constintoperator!=(constSoSFVec4f&f)const
          Returns TRUE if f is of the same type and has the same value as this field.

Name

       SoSFVec4f — field containing a homogeneous three-dimensional vector

See Also

SoField,SoSField,SoMFVec4fSoSFVec4f(3IV)()

Synopsis

#include<Inventor/fields/SoSFVec4f.h>

          Methods from class SoSFVec4f:

     voidsetValue(floatx,floaty,floatz,floatw)voidsetValue(constfloatxyzw[4])staticSoTypegetClassTypeId()virtualvoidgetTypeId()constconstSbVec4f&getValue()constconstSbVec4f&operator=(constSbVec4f&newValue)voidsetValue(constSbVec4f&newValue)intoperator==(constSoSFVec4f&f)constintoperator!=(constSoSFVec4f&f)const

          Methods from class SoField:

     voidsetIgnored(SbBoolignore)SbBoolisIgnored()constSbBoolisDefault()constvirtualSbBoolisOfType(SoTypetype)constSbBoolset(constchar*valueString)voidget(SbString&valueString)voidtouch()SbBoolconnectFrom(SoField*fromField)SbBoolconnectFrom(SoEngineOutput*fromEngine)voiddisconnect()SbBoolisConnected()constSbBoolisConnectedFromField()constSbBoolgetConnectedField(SoField*&writingField)constSbBoolisConnectedFromEngine()constSbBoolgetConnectedEngine(SoEngineOutput*&engineOutput)constvoidenableConnection(SbBoolflag)SbBoolisConnectionEnabled()constintgetForwardConnections(SoFieldList&list)constSoFieldContainer*getContainer()const

See Also