SoSFBox3d(3)
β¨ NAME β¨
SoSFBox3d β bestie, it's a container for an SbBox3d vector. that's the whole job. that's the assignment. π
(this is the SoSFBox3d(3) page from the Library Functions Manual, fyi π«Ά)
π SYNOPSIS π
#include <Inventor/fields/SoSFBox3d.h>
Inherits SoSField. π
π Public Member Functions π
virtual SoType getTypeId (void) constβ grab the type id, the lil name tag that says which class this isvirtual void copyFrom (const SoField &field)β copy the value(s) over from another fieldconst SoSFBox3d & operator= (const SoSFBox3d &field)β assignment, but with SoSFBox3d energyvirtual SbBool isSame (const SoField &field) constβ are these two the same type AND same value(s)? asking for a friendconst SbBox3d & getValue (void) constβ hand me the boxvoid setValue (const SbBox3d &newvalue)β here's the box, take itconst SbBox3d & operator= (const SbBox3d &newvalue)β box assignment, slayint operator== (const SoSFBox3d &field) constβ equal? yes/noint operator!= (const SoSFBox3d &field) constβ not equal? yes/novoid setValue (double xmin, double ymin, double zmin, double xmax, double ymax, double zmax)β set the box from six raw numbers, iconicvoid setValue (const SbVec3d &minvec, const SbVec3d &maxvec)β set the box from a min vec and a max vecvoid getValue (SbBox3d &box) constβ write the value out intobox
π Public Member Functions inherited from SoSField π
virtual ~SoSField ()β destructor, bye bestie
π Public Member Functions inherited from SoField π
virtual ~SoField ()β destructorvoid setIgnored (SbBool ignore)β set the ignored flagSbBool isIgnored (void) constβ is it ignored thovoid setDefault (SbBool def)β mark it as defaultSbBool isDefault (void) constβ is it default thoSbBool isOfType (const SoType type) constβ type checkvoid enableConnection (SbBool flag)β turn connections on/offSbBool isConnectionEnabled (void) constβ are connections enabledSbBool connectFrom (SoEngineOutput *master, SbBool notnotify=0, SbBool append=0)β connect from an engine outputSbBool appendConnection (SoEngineOutput *master, SbBool notnotify=0)β append an engine-output connectionvoid disconnect (SoEngineOutput *engineoutput)β un-connect that engine outputSbBool isConnectedFromEngine (void) constβ connected from an engine?SbBool getConnectedEngine (SoEngineOutput *&master) constβ who's the engine masterSbBool connectFrom (SoField *master, SbBool notnotify=0, SbBool append=0)β connect from another fieldSbBool appendConnection (SoField *master, SbBool notnotify=0)β append a field connectionvoid disconnect (SoField *field)β un-connect that fieldSbBool isConnectedFromField (void) constβ connected from a field?SbBool getConnectedField (SoField *&master) constβ who's the field masterint getNumConnections (void) constβ how many connectionsint getForwardConnections (SoFieldList &slavelist) constβ forward connections go intoslavelistint getConnections (SoFieldList &masterlist) constβ connections go intomasterlistvoid disconnect (void)β nuke all the connectionsSbBool isConnected (void) constβ connected at all?void setContainer (SoFieldContainer *cont)β set the containerSoFieldContainer * getContainer (void) constβ get the containerSbBool set (const char *valuestring)β set from a stringvoid get (SbString &valuestring)β get as a stringSbBool shouldWrite (void) constβ should this be written out?virtual void touch (void)β touch it, make it go brrrvirtual void startNotify (void)β start notifyingvirtual void notify (SoNotList *nlist)β notify, with a listSbBool enableNotify (SbBool on)β notifications on/offSbBool isNotifyEnabled (void) constβ notifications enabled?void addAuditor (void *f, SoNotRec::Type type)β add an auditorvoid removeAuditor (void *f, SoNotRec::Type type)β remove an auditorint operator== (const SoField &f) constβ equal?int operator!= (const SoField &f) constβ not equal?virtual void connectionStatusChanged (int numconnections)β connection status changed, heads upSbBool isReadOnly (void) constβ read-only?virtual void fixCopy (SbBool copyconnections)β fix up the copyvirtual SbBool referencesCopy (void) constβ does it reference the copyvoid copyConnection (const SoField *fromfield)β copy the connection from another fieldvirtual SbBool read (SoInput *in, const SbName &name)β read it invirtual void write (SoOutput *out, const SbName &name) constβ write it outvirtual void countWriteRefs (SoOutput *out) constβ count the write refsvoid setFieldType (int type)β set the field typeint getFieldType (void) constβ get the field typeSbBool getDirty (void) constβ is it dirtyvoid setDirty (SbBool dirty)β set the dirty flagvoid evaluate (void) constβ evaluate it
π Static Public Member Functions π
static void * createInstance (void)β make an instancestatic SoType getClassTypeId (void)β get the class type idstatic void initClass (void)β init the class
π Static Public Member Functions inherited from SoSField π
static void initClass (void)β init the classstatic SoType getClassTypeId (void)β get the class type id
π Static Public Member Functions inherited from SoField π
static void initClass (void)β init the classstatic void initClasses (void)β init ALL the classes (plural, periodt)static SoType getClassTypeId (void)β get the class type id
π Protected Attributes π
SbBox3d valueβ the actual box value, living its best protected 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)β constructor
π Protected Member Functions inherited from SoField π
SoField (void)β constructorvoid valueChanged (SbBool resetdefault=1)β the value changed, alert the group chatvirtual void evaluateConnection (void) constβ evaluate the connectionvirtual SbBool readConnection (SoInput *in)β read the connectionvirtual void writeConnection (SoOutput *out) constβ write the connectionSbBool isDestructing (void) constβ mid-destruction? asking
πΈ Detailed Description πΈ
okay so. the SoSFBox3d class is a container for an SbBox3d vector. no cap. π«Ά
This field is used where nodes, engines or other field containers needs to store a box. like, that's its whole purpose in life and honestly? iconic. π
β οΈ 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 kicking it old-school with the SGI original, this one is Not For You. π
Since β Coin 2.5 β¨
π¦ Member Function Documentation π¦
SoType SoSFBox3d::getTypeId (void ) const [virtual]
Returns the type identification instance which uniquely identifies the Coin field class the object belongs to. it's like a lil name tag but for classes, and it never lies. π
See also β getClassTypeId(), SoType
Implements SoField.
void SoSFBox3d::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 the rule, i don't make 'em. π
Implements SoField.
SbBool SoSFBox3d::isSame (const SoField & f) const [virtual]
Check for equal type and value(s). both of 'em. the whole package. π
Implements SoField.
void SoSFBox3d::setValue (double xmin, double ymin, double zmin, double xmax, double ymax, double zmax)
Set value of vector. six numbers, one box, go off. π₯
void SoSFBox3d::setValue (const SbVec3d & minvec, const SbVec3d & maxvec)
Set value of vector. min vec, max vec, that's it that's the whole thing. β¨
void SoSFBox3d::getValue (SbBox3d & box) const
Set value of vector. (yes bestie, the original really does say "set" here β i'm just the messenger, don't shoot me π)
π Author π
Generated automatically by Doxygen for Coin from the source code. so technically the author is a robot. a very productive robot. π€π
and that's a wrap, bestie!! π«Ά this was Coin, Version 2.5.0, serving you the SoSFBox3d(3) page. go forth and store your boxes. slay π β¨π
π¦ where this page comes from
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms