SoSFInt32(3)
π NAME π
okay so bestie, meet SoSFInt32 β she's the class that's literally just a lil container holding one single 32-bit integer value. that's it. that's her whole job. and she ate. π
β¨ SYNOPSIS β¨
first things first, you gotta let her in the door:
#include <Inventor/fields/SoSFInt32.h>
and yeah, she Inherits SoSField β the family tree is real π«Ά
πΈ Public Member Functions πΈ
the main character's own moves:
virtual SoType getTypeId (void) constβ tells you what type she is at runtime, bestievirtual void copyFrom (const SoField &field)β copies the value(s) over from another fieldconst SoSFInt32 & operator= (const SoSFInt32 &field)β assign a whole otherSoSFInt32into this onevirtual SbBool isSame (const SoField &field) constβ are y'all the same type and the same value? vibe check πint32_t getValue (void) constβ hand over the goods, gimme that int32void setValue (int32_t newvalue)β set the number, periodtint32_t operator= (int32_t newvalue)β assign a rawint32_tstraight in, no dramaint operator== (const SoSFInt32 &field) constβ equal or not, fr frint operator!= (const SoSFInt32 &field) constβ not equal or not, also fr fr
π¦ Public Member Functions inherited from SoSField
virtual ~SoSField ()β the destructor, she says bye π
π¦ Public Member Functions inherited from SoField
the whole inherited girl squad, no cap, every single one:
virtual ~SoField ()void setIgnored (SbBool ignore)SbBool isIgnored (void) constvoid setDefault (SbBool defaultVal)SbBool isDefault (void) constSbBool isOfType (const SoType type) constvoid enableConnection (SbBool flag)SbBool isConnectionEnabled (void) constSbBool connectFrom (SoEngineOutput *master, SbBool notnotify=FALSE, SbBool append=FALSE)SbBool appendConnection (SoEngineOutput *master, SbBool notnotify=FALSE)void disconnect (SoEngineOutput *engineoutput)SbBool isConnectedFromEngine (void) constSbBool getConnectedEngine (SoEngineOutput *&master) constSbBool connectFrom (SoField *master, SbBool notnotify=FALSE, SbBool append=FALSE)SbBool appendConnection (SoField *master, SbBool notnotify=FALSE)void disconnect (SoField *field)SbBool isConnectedFromField (void) constSbBool getConnectedField (SoField *&master) constint getNumConnections (void) constint getForwardConnections (SoFieldList &slavelist) constint getConnections (SoFieldList &masterlist) constvoid disconnect (void)SbBool isConnected (void) constvoid setContainer (SoFieldContainer *cont)SoFieldContainer * getContainer (void) constSbBool set (const char *valuestring)void get (SbString &valuestring)SbBool shouldWrite (void) constvirtual void touch (void)virtual void startNotify (void)virtual void notify (SoNotList *nlist)SbBool enableNotify (SbBool on)SbBool isNotifyEnabled (void) constvoid addAuditor (void *f, SoNotRec::Type type)void removeAuditor (void *f, SoNotRec::Type type)int operator== (const SoField &f) constint operator!= (const SoField &f) constvirtual void connectionStatusChanged (int numconnections)SbBool isReadOnly (void) constvirtual void fixCopy (SbBool copyconnections)virtual SbBool referencesCopy (void) constvoid copyConnection (const SoField *fromfield)virtual SbBool read (SoInput *input, const SbName &name)virtual void write (SoOutput *out, const SbName &name) constvirtual void countWriteRefs (SoOutput *out) constvoid setFieldType (int type)int getFieldType (void) constSbBool getDirty (void) constvoid setDirty (SbBool dirty)void evaluate (void) const
β Static Public Member Functions β
the ones you call on the class herself, not on an object:
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 π
int32_t valueβ yeah, it's literally just the number sitting there, protected, living her life
π 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) constvirtual SbBool readConnection (SoInput *in)virtual void writeConnection (SoOutput *out) constSbBool isDestructing (void) constvirtual SoNotRec createNotRec (SoBase *cont)
πΈ Detailed Description πΈ
okay so, the SoSFInt32 class is a container for a 32-bit integer value. that's the whole vibe. π
this field is used where nodes, engines or other field containers need to store a single 32-bit integer value. one number. one field. iconic.
See also π
SoMFInt32
π Member Function Documentation π
void * SoSFInt32::createInstance (void ) [static]
this API member is considered internal to the library, as it is not likely to be of interest to the application programmer. so likeβ¦ you can look but don't touch, bestie π
creates a new instance of the class type corresponding to the SoType object.
SoType SoSFInt32::getClassTypeId (void ) [static]
this static method returns the SoType object associated with objects of this class. it's giving "who am i, really" π₯
SoType SoSFInt32::getTypeId (void ) const [virtual]
returns the type identification of an object derived from a class inheriting SoField. this is used for runtime type checking and "downward" casting. she knows exactly who she is, no identity crisis.
Implements SoField.
void SoSFInt32::copyFrom (const SoField & f) [virtual]
copy value(s) from f into this field. f must be of the same type as this field. like, don't try to copy a random field in here, that's not gonna slay, it's gonna crash.
Implements SoField.
SbBool SoSFInt32::isSame (const SoField & f) const [virtual]
check for equal type and value(s). twin check. π―
Implements SoField.
void SoSFInt32::initClass (void ) [static]
internal method called upon initialization of the library (from SoDB::init()) to set up the type system. she's setting up the whole group chat, basically.
π Author π
generated automatically by Doxygen for Coin from the source code. shoutout to the robots doing the paperwork π«Ά
and that's a wrap, bestie π this page is from Coin version 4.0.10, dated Thu Jun 25 2026 00:00:00 β yes the timestamp is sending me too π, and it's filed under manual section SoSFInt32(3). go forth and store exactly one 32-bit integer. slay. β¨ππ¦
π¦ where this page comes from
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms