SOSFFLOAT(3iv)
π SoSFFloat β like, the manual page, but make it make sense π
okay bestie, welcome to SoSFFloat(3IV) β the Open Inventor manual page for a field that holds exactly one floating-point number. yes, ONE. singular. it's giving minimalism, it's giving "one job and she does it". let's go π¦
πΈ NAME πΈ
SoSFFloat β a field containing a floating-point value. that's it. that's the whole personality. π
𧬠INHERITS FROM π§¬
SoField > SoSField > SoSFFloat
the family tree goes hard, ngl β she's a grandbaby of SoField and she inherited the whole field-girlie legacy. periodt. π
β¨ SYNOPSIS β¨
first things first, you gotta pull her in:
#include <Inventor/fields/SoSFFloat.h>
π Methods from class SoSFFloat π
these are the ones she owns, the main character methods fr fr:
static SoType getClassTypeId()
virtual void getTypeId() const
float getValue() const
float operator =(float newValue)
void setValue(float newValue)
int operator ==(const SoSFFloat &f) const
int operator !=(const SoSFFloat &f) const
π Methods from class SoField π
and these are the heirlooms she got from her ancestor SoField β the whole squad, no skips:
void setIgnored(SbBool ignore)
SbBool isIgnored() const
SbBool isDefault() const
virtual SbBool isOfType(SoType type) const
SbBool set(const char *valueString)
void get(SbString &valueString)
void touch()
SbBool connectFrom(SoField *fromField)
SbBool connectFrom(SoEngineOutput *fromEngine)
void disconnect()
SbBool isConnected() const
SbBool isConnectedFromField() const
SbBool getConnectedField(SoField *&writingField) const
SbBool isConnectedFromEngine() const
SbBool getConnectedEngine(SoEngineOutput *&engineOutput)
const
void enableConnection(SbBool flag)
SbBool isConnectionEnabled() const
int getForwardConnections(SoFieldList &list) const
SoFieldContainer * getContainer() const
π DESCRIPTION π
so basically β a field that contains one single-precision floating point number. one. single. precision. no cap, that's the entire vibe. π
and here's a lil detail that matters: SoSFFloats are written to file in standard scientific notation. so when she gets saved to disk she's out here looking like 1.000000e+00, iconic honestly, very STEM girlie of her. π₯
π METHODS π
β static SoType getClassTypeId()
β virtual void getTypeId() const
returns the type for this class, or for one particular object of this class. y'know, the "who am I" of it all. main character identity check. π«
β float getValue() const
returns this field's value. the number. the actual number. she said "here, take it". π«Ά
β float operator =(float newValue)
β void setValue(float newValue)
sets this field to newValue. both roads lead to the same slay. β¨
β int operator ==(const SoSFFloat &f) const
β int operator !=(const SoSFFloat &f) const
returns TRUE if f is of the same type and has the same value as this field. like, same energy AND same number, or it's a no from her. π
π SEE ALSO π
SoField, SoSField, SoMFFloat
(the friends, the parent, and the multi-value cousin who cannot pick just one. we love her anyway. π)
lowkey reminder bestie: this is the SoSFFloat(3IV) page, Open Inventor era, and the footer is just her little name tag β no extra date stamp, no version drama. so that's the whole page. you read it. you understood it. you ATE. ππ¦β¨π
that's the manual, bestie β go forth and float, singularly. π
π¦ where this page comes from
- debian bookworm: inventor-doc 2.1.5-10+dfsg-2 Β· LGPL-2.0-or-later
- debian trixie: inventor-doc 2.1.6+ds-2 Β· LGPL-2.0-or-later
- ubuntu jammy: inventor-doc 2.1.5-10-24
- ubuntu noble: inventor-doc 2.1.5-10+dfsg-2.1build2 Β· LGPL-2.0-or-later
- ubuntu questing: inventor-doc 2.1.6+ds-2
- ubuntu resolute: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- ubuntu stonking: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms