SoSFBox3d(3)

πŸ“¦
version 4.0.10 Β· 4 versions
, in fedora 43, fedora 44

πŸ’– SoSFBox3d πŸ’–

okay bestie, we're deep in the Coin manual right now β€” this is the page for SoSFBox3d(3), and ngl it's a cute little single-value field that just wants to hold a box for you. Let's get into it. πŸŽ€


✨ NAME ✨

SoSFBox3d β€” it's a container for an SbBox3d vector. that's it. that's the whole job. iconic. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <Inventor/fields/SoSFBox3d.h>

Inherits SoSField. (so it's got all the field DNA, but for exactly one box. main character energy, no sharing.)

🌸 Public Member Functions 🌸

virtual SoType getTypeId (void) const
virtual void copyFrom (const SoField &field)
const SoSFBox3d & operator= (const SoSFBox3d &field)
virtual SbBool isSame (const SoField &field) const
const SbBox3d & getValue (void) const
void setValue (const SbBox3d &newvalue)
const SbBox3d & operator= (const SbBox3d &newvalue)
int operator== (const SoSFBox3d &field) const
int operator!= (const SoSFBox3d &field) const
void setValue (double xmin, double ymin, double zmin, double xmax,
    double ymax, double zmax)
void setValue (const SbVec3d &minvec, const SbVec3d &maxvec)
void getValue (SbBox3d &box) const

🧚 Public Member Functions inherited from SoSField 🧚

virtual ~SoSField ()

πŸ’œ Public Member Functions inherited from SoField πŸ’œ

okay this list is LONG, but we do not skip, we do not summarise, we list every single one because that's the vibe:

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 πŸ“

SbBox3d value

(yes queen, that's the actual box, just sitting there protected like the little secret it is πŸ”₯)

πŸŽ€ 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 πŸ‘‘

So SoSFBox3d is a container for an SbBox3d vector. πŸ’«

It's the field you reach for when a node, an engine, or literally any other field container needs to store a box. One box. That's the whole assignment and it ate.

heads up bestie: 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 porting old-school code, don't come crying, it was never there. πŸ’€

Since

Coin 2.5 β€” been serving looks since 2.5, periodt. 🫢


πŸ”₯ MEMBER FUNCTION DOCUMENTATION πŸ”₯

void * SoSFBox3d::createInstance (void ) [static]

okay so this one is considered internal to the library β€” it's not likely to be of interest to the application programmer. so like, if you're just building scenes, this is not your moment.

What it does: creates a new instance of the class type corresponding to the SoType object. ✨

SoType SoSFBox3d::getClassTypeId (void ) [static]

This static method returns the SoType object associated with objects of this class. cute, standard, we love a type ID. πŸ’…

SoType SoSFBox3d::getTypeId (void ) const [virtual]

Returns the type identification of an object derived from a class inheriting SoField. This is what powers runtime type checking and "downward" casting. iykyk. πŸ¦‹

Implements SoField.

void SoSFBox3d::copyFrom (const SoField & f) [virtual]

Copy value(s) from f into this field. and listen: f must be of the same type as this field. no mismatched vibes allowed, it's giving strict. 😭

Implements SoField.

SbBool SoSFBox3d::isSame (const SoField & f) const [virtual]

Check for equal type and value(s). literally just a vibe check, but for fields. 🌸

Implements SoField.

void SoSFBox3d::initClass (void ) [static]

Internal method called upon initialization of the library (from SoDB::init()) to set up the type system. lowkey important, highkey invisible. ⭐

void SoSFBox3d::setValue (double xmin, double ymin, double zmin, double xmax, double ymax, double zmax)

Set value of vector. 🎯

void SoSFBox3d::setValue (const SbVec3d & minvec, const SbVec3d & maxvec)

Set value of vector. 🎯

void SoSFBox3d::getValue (SbBox3d & box) const

Set value of vector. β€” no bestie, that's not my typo, the docs literally say set on the getter. the documentation said what it said and we respect it. πŸ’€βœ¨


🌷 AUTHOR 🌷

Generated automatically by Doxygen for Coin from the source code. so no human author to thank, just the robots doing their little robot thing. πŸ€–πŸ’–


and that's the whole page! πŸ’œ this was Version 4.0.10, stamped Thu Jun 25 2026 00:00:00 β€” so yeah, you're reading the freshest possible Coin tea. go forth and store exactly one box, bestie. slay. πŸ‘‘πŸ¦‹πŸ’…

πŸ“¦ where this page comes from