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

SoSFVec3f — field containing a three-dimensional vector

Description

       Field containing a three-dimensional vector.

       SoSFVec3fs are written to file as three floating point values separated by whitespace.

Inherits From

       SoField > SoSField > SoSFVec3f

Methods

voidsetValue(floatx,floaty,floatz)voidsetValue(constfloatxyz[3])
          Sets the field to the given value.

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

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

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

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

Name

       SoSFVec3f — field containing a three-dimensional vector

See Also

SoField,SoSField,SoMFVec3fSoSFVec3f(3IV)()

Synopsis

#include<Inventor/fields/SoSFVec3f.h>

          Methods from class SoSFVec3f:

     voidsetValue(floatx,floaty,floatz)voidsetValue(constfloatxyz[3])staticSoTypegetClassTypeId()virtualvoidgetTypeId()constconstSbVec3f&getValue()constconstSbVec3f&operator=(constSbVec3f&newValue)voidsetValue(constSbVec3f&newValue)intoperator==(constSoSFVec3f&f)constintoperator!=(constSoSFVec3f&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