SoSFFloat(3)

πŸ“¦ version 3.1.3, in fedora 43, fedora 44

πŸ’– 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