SoSFBox2f(3)
π NAME π
SoSFBox2f β the class that is literally a container for an SbBox2f vector. That's it. That's the whole job bestie π
β¨ SYNOPSIS β¨
Welcome to the Library Functions Manual corner of the world, where all the Coin header goodness lives π«Ά
#include <Inventor/fields/SoSFBox2f.h>
Inherits SoSField.
πΈ Public Member Functions πΈ
virtual SoType getTypeId (void) constvirtual void copyFrom (const SoField &field)const SoSFBox2f & operator= (const SoSFBox2f &field)virtual SbBool isSame (const SoField &field) constconst SbBox2f & getValue (void) constvoid setValue (const SbBox2f &newvalue)const SbBox2f & operator= (const SbBox2f &newvalue)int operator== (const SoSFBox2f &field) constint operator!= (const SoSFBox2f &field) constvoid setValue (float xmin, float ymin, float xmax, float ymax)void setValue (const SbVec2f &minvec, const SbVec2f &maxvec)void getValue (SbBox2f &box) const
π¦ Public Member Functions inherited from SoSField π¦
virtual ~SoSField ()
π Public Member Functions inherited from SoField π
okay so this is a lot of inherited power, and yes, you get all of it, no cap β¨
virtual ~SoField ()void setIgnored (SbBool ignore)SbBool isIgnored (void) constvoid setDefault (SbBool def)SbBool isDefault (void) constSbBool isOfType (const SoType type) constvoid enableConnection (SbBool flag)SbBool isConnectionEnabled (void) constSbBool connectFrom (SoEngineOutput *master, SbBool notnotify=0, SbBool append=0)SbBool appendConnection (SoEngineOutput *master, SbBool notnotify=0)void disconnect (SoEngineOutput *engineoutput)SbBool isConnectedFromEngine (void) constSbBool getConnectedEngine (SoEngineOutput *&master) constSbBool connectFrom (SoField *master, SbBool notnotify=0, SbBool append=0)SbBool appendConnection (SoField *master, SbBool notnotify=0)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 *in, 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 β
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 Public Member Functions inherited from SoField π§
static void initClass (void)static void initClasses (void)static SoType getClassTypeId (void)
π Protected Attributes π
SbBox2f valueβ yeah the actual box lives right here, iconic
πΈ 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=1)virtual void evaluateConnection (void) constvirtual SbBool readConnection (SoInput *in)virtual void writeConnection (SoOutput *out) constSbBool isDestructing (void) const
π₯ Detailed Description π₯
The SoSFBox2f class is a container for an SbBox2f vector. bestie it holds a box. that's the vibe π
This field is used where nodes, engines or other field containers needs to store a box.
β οΈ ok so important heads up: 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 porting back to SGI-land, this one is not coming with you, sorry babe π
Since: Coin 2.5 π
π Member Function Documentation π
SoType SoSFBox2f::getTypeId (void ) const [virtual]
Returns the type identification instance which uniquely identifies the Coin field class the object belongs to.
See also: getClassTypeId(), SoType
Implements SoField.
void SoSFBox2f::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 and matching, fr fr π
Implements SoField.
SbBool SoSFBox2f::isSame (const SoField & f) const [virtual]
Check for equal type and value(s).
Implements SoField.
void SoSFBox2f::setValue (float xmin, float ymin, float xmax, float ymax)
Set value of vector. four floats, one box, slay β¨
void SoSFBox2f::setValue (const SbVec2f & minvec, const SbVec2f & maxvec)
Set value of vector. min corner, max corner, done π
void SoSFBox2f::getValue (SbBox2f & box) const
Set value of vector. (yes the doc really says "Set" here, we're just the messengers bestie, keeping it exactly as written π)
π Author π
Generated automatically by Doxygen for Coin from the source code. not a human, just a very thorough robot π«Ά
and that's the whole page, mwah π β this was Coin, Version 2.5.0, page SoSFBox2f(3), from the Library Functions Manual. go forth and store your boxes, you absolute icon πβ¨
π¦ 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