SOSFUINT32(3iv)
π NAME π
SoSFUInt32 β a field containing an unsigned int32_t integer π«Ά (ngl the original says "unsinged" and we're keeping that energy, it's giving iconic typo π)
π¦ INHERITS FROM π¦
SoField > SoSField > SoSFUInt32 β bestie it's a whole family tree and our girl is the baby of the lineage π
β¨ SYNOPSIS β¨
#include <Inventor/fields/SoSFUInt32.h>
Methods from class SoSFUInt32:
static SoType getClassTypeId()
virtual void getTypeId() const
int32_t uint32_t getValue() const
int32_t uint32_t operator =(int32_t uint32_t newValue)
void setValue(int32_t uint32_t newValue)
int operator ==(const SoSFUInt32 &f) const
int operator !=(const SoSFUInt32 &f) const
Methods from class SoField:
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 a single-value field containg an unsigned 32-bit integer (yes the manpage says "containg", we love her for it π), and it represents a number from 0 to 4,294,967,295. That's the whole range, no negatives allowed, she said positivity only πβ¨
And when it gets written to file? SoSFUInt32s are written as a single uint32_t (32-bit) integer in decimal, hexadecimal or octal format. Slay, versatile queen π
π METHODS π
static SoType getClassTypeId()andvirtual void getTypeId() constβ returns the type for this class, or for a particular object of this class. iykyk π§int32_t uint32_t getValue() constβ returns this field's value. That's it. That's the whole thing bestie πint32_t uint32_t operator =(int32_t uint32_t newValue)andvoid setValue(int32_t uint32_t newValue)β sets this field tonewValue. Obsessed with a clean setter fr fr π₯int operator ==(const SoSFUInt32 &f) constandint operator !=(const SoSFUInt32 &f) constβ returnsTRUEiffis of the same type and has the same value as this field. Both conditions, no shortcuts, periodt π
π SEE ALSO π
SoField, SoSField, SoMFUInt32 β go read these too, they're the extended universe πβ
And that's the whole page, bestie!! π This was SoSFUInt32(3IV)() β that's the version/source-and-date situation right there at the bottom, mwah ππβ¨
π¦ 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