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

SoSFFloat — field containing a floating-point value

Description

       A field that contains one single-precision floating point number.

       SoSFFloats are written to file in standard scientific notation.

Inherits From

       SoField > SoSField > SoSFFloat

Methods

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

     floatgetValue()const
          Returns this field's value.

     floatoperator=(floatnewValue)voidsetValue(floatnewValue)
          Sets this field to newValue.

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

Name

       SoSFFloat — field containing a floating-point value

See Also

SoField,SoSField,SoMFFloatSoSFFloat(3IV)()

Synopsis

#include<Inventor/fields/SoSFFloat.h>

          Methods from class SoSFFloat:

     staticSoTypegetClassTypeId()virtualvoidgetTypeId()constfloatgetValue()constfloatoperator=(floatnewValue)voidsetValue(floatnewValue)intoperator==(constSoSFFloat&f)constintoperator!=(constSoSFFloat&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