SOSFINT32(3iv)
π SoSFInt32 π
okay bestie, sit DOWN, because we're doing the SoSFInt32(3IV) page and it's genuinely iconic π (yes, the manual name has that whole (3IV) situation going on, we love her for it).
πΈ NAME πΈ
SoSFInt32 β a field containing a int32_t integer β¨
π¦ INHERITS FROM π¦
SoField > SoSField > SoSFInt32
it's giving... single-field lineage. main character energy, fr fr. π
β¨ SYNOPSIS β¨
#include <Inventor/fields/SoSFInt32.h>
Methods from class SoSFInt32:
static SoType getClassTypeId()
virtual void getTypeId() const
int32_t getValue() const
int32_t operator =(int32_t newValue)
void setValue(int32_t newValue)
int operator ==(const SoSFInt32 &f) const
int operator !=(const SoSFInt32 &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
like, that's the whole squad. the SoSFInt32 girlies up top, and all the inherited SoField behavior down below. iykyk π«Ά
π DESCRIPTION π
A field containing a single long (32-bit) integer. that's it, that's the vibe. π
so here's the tea: SoSFInt32s get written to file as an integer, and they can show up in decimal, hexadecimal (which starts with '0x'), or octal (which starts with '0') format. no cap, all three are valid and she will read them. β¨
π METHODS π
static SoType getClassTypeId()virtual void getTypeId() constβ Returns the type for this class or a particular object of this class. π¦int32_t getValue() constβ Returns this field's value. literally just hands you the number. πint32_t operator =(int32_t newValue)void setValue(int32_t newValue)β Sets this field to newValue. two ways to do the same slay. π₯int operator ==(const SoSFInt32 &f) constint operator !=(const SoSFInt32 &f) constβ ReturnsTRUEif f is of the same type and has the same value as this field. both things gotta match, bestie, no shortcuts. π
π SEE ALSO π
SoField, SoSField, SoMFInt32, SoSFUInt32
(the multi-value cousin SoMFInt32 and the unsigned sibling SoSFUInt32 said hi π)
ngl this page is short but she ate. go forth and store your 32-bit integers, bestie. πΈ
that's the whole thing!! π this was SoSFInt32(3IV) β the manual page for section 3IV, footer and all β mwah, love u, bye ππ§β
π¦ 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