SoComputeBoundingBox(3)
okay bestie sit DOWN, we're reading SoComputeBoundingBox(3) from the Coin manual and honestly it's giving "tiny class, gigantic inheritance tree" π this page comes in 2 parts, so hydrate and stay with me π
β¨ NAME β¨
SoComputeBoundingBox β the class that is used to calculate a bounding box. that's the whole assignment. no cap π
πΈ SYNOPSIS πΈ
#include <Inventor/engines/SoComputeBoundingBox.h>
It inherits SoEngine π§ (iykyk, engines are the little scene-graph helpers that compute stuff for you).
π Public Member Functions π
virtual SoType getTypeId (void) constvirtual const SoFieldData * getFieldData (void) constvirtual const SoEngineOutputData * getOutputData (void) constSoComputeBoundingBox (void)void setViewportRegion (const SbViewportRegion &vpr)const SbViewportRegion & getViewportRegion (void) const
π¦ Public Member Functions inherited from SoEngine π¦
void evaluateWrapper (void)virtual int getOutputs (SoEngineOutputList &l) constSoEngineOutput * getOutput (const SbName &outputname) constSbBool getOutputName (const SoEngineOutput *output, SbName &outputname) constSbBool isNotifying (void) constvirtual void notify (SoNotList *nl)SoEngine * copy (void) constvirtual SoFieldContainer * copyThroughConnection (void) constSbBool shouldCopy (void) constvirtual void writeInstance (SoOutput *out)
π«Ά Public Member Functions inherited from SoFieldContainer π«Ά
void setToDefaults (void)SbBool hasDefaultValues (void) constSbBool fieldsAreEqual (const SoFieldContainer *container) constvoid copyFieldValues (const SoFieldContainer *container, SbBool copyconnections=FALSE)SbBool set (const char *const fielddata)void get (SbString &fielddata)virtual int getFields (SoFieldList &l) constvirtual int getAllFields (SoFieldList &l) constvirtual SoField * getField (const SbName &name) constvirtual SoField * getEventIn (const SbName &name) constvirtual SoField * getEventOut (const SbName &name) constSbBool getFieldName (const SoField *const field, SbName &name) constSbBool enableNotify (const SbBool flag)SbBool isNotifyEnabled (void) constSbBool set (const char *fielddata, SoInput *input)void get (SbString &fielddata, SoOutput *out)virtual SbBool validateNewFieldValue (SoField *field, void *newval)virtual void addWriteReference (SoOutput *out, SbBool isfromfield=FALSE)SbBool getIsBuiltIn (void) constvirtual void copyContents (const SoFieldContainer *from, SbBool copyconnections)virtual void getFieldsMemorySize (size_t &managed, size_t &unmanaged) constvoid setUserData (void *userdata) constvoid * getUserData (void) const
π Public Member Functions inherited from SoBase π
void ref (void) constvoid unref (void) constvoid unrefNoDelete (void) constint32_t getRefCount (void) constvoid touch (void)SbBool isOfType (SoType type) constβ returnsTRUEif the type of this object is either of the same type or inherited from type.virtual SbName getName (void) constvirtual void setName (const SbName &newname)virtual void startNotify (void)void addAuditor (void *const auditor, const SoNotRec::Type type)void removeAuditor (void *const auditor, const SoNotRec::Type type)const SoAuditorList & getAuditors (void) constSbBool shouldWrite (void)void assertAlive (void) const
π Static Public Member Functions π
static SoType getClassTypeId (void)static void * createInstance (void)static void initClass (void)β sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. β¨
π Static Public Member Functions inherited from SoEngine π
static void initClass (void)β sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. β¨static void initClasses (void)static SoType getClassTypeId (void)β this static method returns theSoTypeobject associated with objects of this class.static SoEngine * getByName (const SbName &name)static int getByName (const SbName &name, SoEngineList &el)
π Static Public Member Functions inherited from SoFieldContainer π
static void initClass (void)β sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. β¨static SoType getClassTypeId (void)β this static method returns theSoTypeobject associated with objects of this class.static void cleanupClass (void)static void initCopyDict (void)static void addCopy (const SoFieldContainer *orig, const SoFieldContainer *copy)static SoFieldContainer * checkCopy (const SoFieldContainer *orig)static SoFieldContainer * findCopy (const SoFieldContainer *orig, const SbBool copyconnections)static void copyDone (void)
π§ Static Public Member Functions inherited from SoBase π§
static void initClass (void)β sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. β¨static SoType getClassTypeId (void)β this static method returns theSoTypeobject associated with objects of this class.static void addName (SoBase *const base, const char *const name)static void removeName (SoBase *const base, const char *const name)static void incrementCurrentWriteCounter (void)static void decrementCurrentWriteCounter (void)static SoBase * getNamedBase (const SbName &name, SoType type)static int getNamedBases (const SbName &name, SoBaseList &baselist, SoType type)static SbBool read (SoInput *input, SoBase *&base, SoType expectedtype)static void setInstancePrefix (const SbString &c)static void setTraceRefs (SbBool trace)static SbBool getTraceRefs (void)static SbBool connectRoute (SoInput *input, const SbName &fromnodename, const SbName &fromfieldname, const SbName &tonodename, const SbName &tofieldname)static SbBool readRoute (SoInput *input)
π Public Attributes π
SoSFNode nodeSoSFPath pathSoEngineOutput minSoEngineOutput maxSoEngineOutput boxCenterSoEngineOutput objectCenter
π Protected Member Functions π
virtual ~SoComputeBoundingBox (void)
π« Protected Member Functions inherited from SoEngine π«
SoEngine (void)virtual ~SoEngine (void)virtual SbBool readInstance (SoInput *in, unsigned short flags)virtual void inputChanged (SoField *which)void writeOutputTypes (SoOutput *out)
π« Protected Member Functions inherited from SoFieldContainer π«
SoFieldContainer (void)virtual ~SoFieldContainer ()
π« Protected Member Functions inherited from SoBase π«
SoBase (void)virtual ~SoBase ()SbBool hasMultipleWriteRefs (void) constSbBool writeHeader (SoOutput *out, SbBool isgroup, SbBool isengine) constvoid writeFooter (SoOutput *out) constvirtual const char * getFileFormatName (void) constvirtual SoNotRec createNotRec (void)
β Static Protected Member Functions β
static const SoFieldData ** getInputDataPtr (void)static const SoEngineOutputData ** getOutputDataPtr (void)
β Static Protected Member Functions inherited from SoEngine β
static const SoFieldData ** getInputDataPtr (void)static const SoEngineOutputData ** getOutputDataPtr (void)
β Static Protected Member Functions inherited from SoBase β
static uint32_t getCurrentWriteCounter (void)static void staticDataLock (void)static void staticDataUnlock (void)
π¦ Additional Inherited Members π¦
- Protected Types inherited from
SoBaseenum BaseFlags { IS_ENGINE = 0x01, IS_GROUP = 0x02 }
- Protected Attributes inherited from
SoFieldContainerSbBool isBuiltIn
π Detailed Description π
so, the SoComputeBoundingBox class is used to calculate a bounding box. that's the headline, bestie π¦
and here's the tea: this engine is literally just a wrapper around the SoGetBoundingBoxAction π«Ά β it exists so you have a convenient way of having some data in the scene graph automatically update itself based on the bounding box of some other part of the scene. automatic. iconic. main character energy π₯
π· Constructor & Destructor Documentation π·
SoComputeBoundingBox::SoComputeBoundingBox (void )
Default constructor π it sets up the internal SoGetBoundingBoxAction instance for you. (not me being handed a whole action object on day one π)
SoComputeBoundingBox::~SoComputeBoundingBox (void ) β [protected], [virtual]
Destructor π it deallocates the SoGetBoundingBoxAction instance. clean up after yourself, periodt.
β¨ Member Function Documentation β¨
SoType SoComputeBoundingBox::getClassTypeId (void ) β [static]
This static method returns the SoType object associated with objects of this class. β
SoType SoComputeBoundingBox::getTypeId (void ) const β [virtual]
Returns the type identification of an object derived from a class inheriting SoBase π this is what's used for runtime type checking and "downward" casting, so the code can figure out what it's actually holding.
Implements SoBase.
const SoFieldData ** SoComputeBoundingBox::getInputDataPtr (void ) β [static], [protected]
Returns the SoFieldData class which holds information about inputs in this engine π«Ά
const SoEngineOutputData ** SoComputeBoundingBox::getOutputDataPtr (void ) β [static], [protected]
Returns the SoEngineOutputData class which holds information about the outputs in this engine β¨
const SoFieldData * SoComputeBoundingBox::getFieldData (void ) const β [virtual]
Returns the SoFieldData class which holds information about inputs in this engine π₯
Reimplemented from SoFieldContainer.
const SoEngineOutputData * SoComputeBoundingBox::getOutputData (void ) const β [virtual]
Returns the SoEngineOutputData class which holds information about the outputs in this engine π€
Implements SoEngine.
void * SoComputeBoundingBox::createInstance (void ) β [static]
Creates a new instance of the class type corresponding to the SoType object π£ fresh out the box.
void SoComputeBoundingBox::setViewportRegion (const SbViewportRegion & vpr)
Set the viewport region for the SoGetBoundingBoxAction instance we're using for calculating bounding boxes π₯οΈ
default setting alert: it uses an SbViewportRegion with only default values unless you tell it otherwise π
const SbViewportRegion & SoComputeBoundingBox::getViewportRegion (void ) const
Returns the viewport region used by the internal SoGetBoundingBoxAction instance π
π Member Data Documentation π
SoSFNode SoComputeBoundingBox::node
If this input field is set and SoComputeBoundingBox::path is NULL, the resultant bounding box will be the box encompassing the scene graph rooted at this node pointer π³
SoSFPath SoComputeBoundingBox::path
If this input field is not NULL, the bounding box values of the given path will be set on the outputs π€οΈ
SoEngineOutput SoComputeBoundingBox::min
(SoSFVec3f) corner coordinates of the bounding box π
SoEngineOutput SoComputeBoundingBox::max
(SoSFVec3f) corner coordinates of the bounding box π
SoEngineOutput SoComputeBoundingBox::boxCenter
(SoSFVec3f) geometric center point of the bounding box π―
SoEngineOutput SoComputeBoundingBox::objectCenter
(SoSFVec3f) object center point for the bounding box πΈ see SoGetBoundingBoxAction::getCenter() for an explanation of how this can differ from the geometric center point of the bounding box β yes, they're different, and yes, that's on purpose π«Ά
β¨ AUTHOR β¨
So likeβ¦ nobody wrote this page, bestie π it literally spawned itself.
Generated automatically by Doxygen for Coin from the source code.
That's it. That's the whole author section. No mysterious genius, no 3am coffee-fueled hero β just Doxygen, the little doc-generator fairy π§ that read the Coin source code and went "okay I gotchu" and made this page for you. Which is honestly iconic of it π
And that's a wrap on SoComputeBoundingBox(3), fr fr π You made it to the very end, which means you read all of it β the constructors, the destructors, the member functions, the data members, every last one. main character energy ππ
Version 4.0.10 β¨ and dated Thu Jun 25 2026 00:00:00 β so if you're reading this from the future, hi, hope your bounding box is thriving π¦
Go forth and compute some boxes, bestie. You got this ππΈ
π¦ 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