SoSFFloat(3)
π SoSFFloat(3) β Library Functions Manual β¨
okay bestie, sit down, hydrate, because today we're learning about SoSFFloat, and honestly? it's giving "tiny container, big main character energy." π«Ά
This one lives in the Coin library's manual page for SoSFFloat(3) β yes, section 3, library functions, we're fancy like that π
π NAME π
SoSFFloat β the SoSFFloat class is a container for a floating point value. that's it. that's the whole job. and she does it flawlessly. β¨
πΈ SYNOPSIS πΈ
#include <Inventor/fields/SoSFFloat.h>
Inherits SoSField.
β¨ Public Member Functions β¨
virtual SoType getTypeId (void) const
virtual void copyFrom (const SoField &field)
const SoSFFloat & operator= (const SoSFFloat &field)
virtual SbBool isSame (const SoField &field) const
float getValue (void) const
void setValue (float newvalue)
float operator= (float newvalue)
int operator== (const SoSFFloat &field) const
int operator!= (const SoSFFloat &field) const
π Public Member Functions inherited from SoSField π
virtual ~SoSField ()
π¦ Public Member Functions inherited from SoField π¦
bestie these are a LOT but we do not skip a single one, no cap π«‘
virtual ~SoField ()
void setIgnored (SbBool ignore)
SbBool isIgnored (void) const
void setDefault (SbBool defaultVal)
SbBool isDefault (void) const
SbBool isOfType (const SoType type) const
void enableConnection (SbBool flag)
SbBool isConnectionEnabled (void) const
SbBool connectFrom (SoEngineOutput *master, SbBool notnotify=FALSE,
SbBool append=FALSE)
SbBool appendConnection (SoEngineOutput *master, SbBool notnotify=FALSE)
void disconnect (SoEngineOutput *engineoutput)
SbBool isConnectedFromEngine (void) const
SbBool getConnectedEngine (SoEngineOutput *&master) const
SbBool connectFrom (SoField *master, SbBool notnotify=FALSE, SbBool
append=FALSE)
SbBool appendConnection (SoField *master, SbBool notnotify=FALSE)
void disconnect (SoField *field)
SbBool isConnectedFromField (void) const
SbBool getConnectedField (SoField *&master) const
int getNumConnections (void) const
int getForwardConnections (SoFieldList &slavelist) const
int getConnections (SoFieldList &masterlist) const
void disconnect (void)
SbBool isConnected (void) const
void setContainer (SoFieldContainer *cont)
SoFieldContainer * getContainer (void) const
SbBool set (const char *valuestring)
void get (SbString &valuestring)
SbBool shouldWrite (void) const
virtual void touch (void)
virtual void startNotify (void)
virtual void notify (SoNotList *nlist)
SbBool enableNotify (SbBool on)
SbBool isNotifyEnabled (void) const
void addAuditor (void *f, SoNotRec::Type type)
void removeAuditor (void *f, SoNotRec::Type type)
int operator== (const SoField &f) const
int operator!= (const SoField &f) const
virtual void connectionStatusChanged (int numconnections)
SbBool isReadOnly (void) const
virtual void fixCopy (SbBool copyconnections)
virtual SbBool referencesCopy (void) const
void copyConnection (const SoField *fromfield)
virtual SbBool read (SoInput *input, const SbName &name)
virtual void write (SoOutput *out, const SbName &name) const
virtual void countWriteRefs (SoOutput *out) const
void setFieldType (int type)
int getFieldType (void) const
SbBool getDirty (void) const
void setDirty (SbBool dirty)
void evaluate (void) const
β Static Public Member Functions β
static void * createInstance (void)
static SoType getClassTypeId (void)
static void initClass (void)
π Static Public Member Functions inherited from SoSField π
static void initClass (void)
static SoType getClassTypeId (void)
static void atexit_cleanup (void)
π« Static Public Member Functions inherited from SoField π«
static void initClass (void)
static void initClasses (void)
static void cleanupClass (void)
static SoType getClassTypeId (void)
π Protected Attributes π
float value
like, that's the whole vibe right there. one float. iconic.
π§ Additional Inherited Members π§
Public Types inherited from SoField
enum FieldType { NORMAL_FIELD = 0, EVENTIN_FIELD, EVENTOUT_FIELD,
EXPOSED_FIELD }
Protected Member Functions inherited from SoSField
SoSField (void)
Protected Member Functions inherited from SoField
SoField (void)
void valueChanged (SbBool resetdefault=TRUE)
virtual void evaluateConnection (void) const
virtual SbBool readConnection (SoInput *in)
virtual void writeConnection (SoOutput *out) const
SbBool isDestructing (void) const
π Detailed Description π
The SoSFFloat class is a container for a floating point value. periodt. π
This field is used where nodes, engines or other field containers needs to store a single floating point value.
See also
SoMFFloatβ the multi-value sibling, if you need a whole squad of floats instead of just one π
π«Ά Member Function Documentation π«Ά
π SoType SoSFFloat::getTypeId (void ) const [virtual] π
Returns the type identification instance which uniquely identifies the Coin field class the object belongs to. like a little name tag but for types, obsessed. β¨
See also
getClassTypeId(),SoType
Implements SoField.
π void SoSFFloat::copyFrom (const SoField & f) [virtual] π
Copy value(s) from f into this field. f must be of the same type as this field.
bestie, read that again: f must be of the same type as this field. don't try to be cute and pass it a different type, it will not go well π
Implements SoField.
π SbBool SoSFFloat::isSame (const SoField & f) const [virtual] π
Check for equal type and value(s).
Implements SoField.
πΈ Author πΈ
Generated automatically by Doxygen for Coin from the source code. (not a human, just a lil robot doing its best π₯Ί)
and that's the page, bestie! π this manual page came to you from Coin, Version 3.1.3 β SoSFFloat(3), out here serving container realness since forever. mwah, go forth and store exactly one float πππ
π¦ where this page comes from
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms