SoSFBox2s(3)
π SoSFBox2s(3) π
okay so bestie, this is the SoSFBox2s(3) page from the Coin fam, and it's giving "small field, big responsibilities" β¨ stay with me, it's literally not that deep, we're just holding a box.
β¨ NAME β¨
SoSFBox2s β the class that is a container for an SbBox2s vector. that's it, that's the whole job, and it does it flawlessly π
π SYNOPSIS π
#include <Inventor/fields/SoSFBox2s.h>
Inherits SoSField. yes she's a nepo baby, the whole inheritance tree is iconic π«Ά
πΈ Public Member Functions πΈ
virtual SoType getTypeId (void) constvirtual void copyFrom (const SoField &field)const SoSFBox2s & operator= (const SoSFBox2s &field)virtual SbBool isSame (const SoField &field) constconst SbBox2s & getValue (void) constvoid setValue (const SbBox2s &newvalue)const SbBox2s & operator= (const SbBox2s &newvalue)int operator== (const SoSFBox2s &field) constint operator!= (const SoSFBox2s &field) constvoid setValue (short xmin, short ymin, short xmax, short ymax)void setValue (SbVec2s minvec, SbVec2s maxvec)void getValue (SbBox2s &box) const
π Public Member Functions inherited from SoSField π
virtual ~SoSField ()
π¦ Public Member Functions inherited from SoField π¦
she inherited the WHOLE closet, 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 π
SbBox2s value
π 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
virtual SoNotRec createNotRec (SoBase *cont)
π Detailed Description π
The SoSFBox2s class is a container for an SbBox2s vector. lowkey the most self-explanatory class in the whole library and honestly? respect.
This field is used where nodes, engines or other field containers need to store a box. like, if something needs to remember a box, this is the girl she calls. π¦
heads up bestie!! be aware that this class is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API. so if you're trying to run this on the old-school SGI setup, it's not gonna be there and you WILL be confused. you've been warned π
Since: Coin 2.5 β she's been around, she's a veteran, she's mother π
π Member Function Documentation π
πΈ void * SoSFBox2s::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 at her but she's not for you, respectfully π
Creates a new instance of the class type corresponding to the SoType object.
πΈ SoType SoSFBox2s::getClassTypeId (void ) [static] πΈ
This static method returns the SoType object associated with objects of this class.
πΈ SoType SoSFBox2s::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's the ID checker at the door fr fr πͺͺ
Implements SoField.
πΈ void SoSFBox2s::copyFrom (const SoField & f) [virtual] πΈ
Copy value(s) from f into this field. f must be of the same type as this field. no mixing types, that's not the vibe β
Implements SoField.
πΈ SbBool SoSFBox2s::isSame (const SoField & f) const [virtual] πΈ
Check for equal type and value(s). basically the "are we the same person" test πͺ
Implements SoField.
πΈ void SoSFBox2s::initClass (void ) [static] πΈ
Internal method called upon initialization of the library (from SoDB::init()) to set up the type system. she wakes up when the library wakes up, that's the arrangement β¨
πΈ void SoSFBox2s::setValue (short xmin, short ymin, short xmax, short ymax) πΈ
Set value of vector.
πΈ void SoSFBox2s::setValue (SbVec2s minvec, SbVec2s maxvec) πΈ
Set value of vector.
πΈ void SoSFBox2s::getValue (SbBox2s & box) const πΈ
Set value of vector.
not me noticing the docs literally say "Set value of vector" on the getValue function too π i'm not changing it, i'm just reporting what the page says. the original said it, so we're saying it. periodt π
π«Ά Author π«Ά
Generated automatically by Doxygen for Coin from the source code. not a human, just a robot doing her little thing and honestly she ate π€β¨
and that's the whole page bestie!! π this was Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and it's the SoSFBox2s(3) manual. go store a box, you absolute icon ππ¦β
π¦ 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