SoSFVec2i32(3)
π SoSFVec2i32 π
okay bestie, gather round, because today we're talking about SoSFVec2i32 β the class that is literally just a lil container for an SbVec2i32 vector. that's it. that's the girl. she holds ONE (1) vector with two int32 elements and she does it beautifully. β¨
(this page lives in section 3 of the library functions manual, iykyk)
πΈ NAME πΈ
SoSFVec2i32 β the class that is a container for an SbVec2i32 vector. no cap, that's the whole job description.
π SYNOPSIS π
#include <Inventor/fields/SoSFVec2i32.h>
Inherits SoSField. so she's part of the family tree, she's got ancestors, she's got lore. π¦
β¨ Public Member Functions β¨
virtual SoType getTypeId (void) constvirtual void copyFrom (const SoField &field)const SoSFVec2i32 & operator= (const SoSFVec2i32 &field)virtual SbBool isSame (const SoField &field) constconst SbVec2i32 & getValue (void) constvoid setValue (const SbVec2i32 &newvalue)const SbVec2i32 & operator= (const SbVec2i32 &newvalue)int operator== (const SoSFVec2i32 &field) constint operator!= (const SoSFVec2i32 &field) constvoid setValue (int32_t x, int32_t y)void setValue (const int32_t xy[2])
π«Ά Public Member Functions inherited from SoSField π«Ά
virtual ~SoSField ()
π Public Member Functions inherited from SoField π
virtual ~SoField ()void setIgnored (SbBool ignore)SbBool isIgnored (void) constvoid setDefault (SbBool defaultVal)SbBool isDefault (void) constSbBool isOfType (const SoType type) constvoid enableConnection (SbBool flag)SbBool isConnectionEnabled (void) constSbBool connectFrom (SoEngineOutput *master, SbBool notnotify=FALSE, SbBool append=FALSE)SbBool appendConnection (SoEngineOutput *master, SbBool notnotify=FALSE)void disconnect (SoEngineOutput *engineoutput)SbBool isConnectedFromEngine (void) constSbBool getConnectedEngine (SoEngineOutput *&master) constSbBool connectFrom (SoField *master, SbBool notnotify=FALSE, SbBool append=FALSE)SbBool appendConnection (SoField *master, SbBool notnotify=FALSE)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 *input, 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 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 π§
SbVec2i32 valueβ yes she's protected, she's shy, respect her privacy bestie π
π 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) constvirtual SbBool readConnection (SoInput *in)virtual void writeConnection (SoOutput *out) constSbBool isDestructing (void) const
π Detailed Description π
The SoSFVec2i32 class is a container for an SbVec2i32 vector.
This field is used where nodes, engines or other field containers needs to store a single vector with two elements.
π See also π
SbVec2i32, SoMFVec2i32 β Be aware that this class is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
not to be dramatic but this is a Coin-only exclusive, she does NOT exist in the original SGI Open Inventor v2.1 API. know that. π
π Since π
Coin 2.5
π₯ Member Function Documentation π₯
β¨ SoType SoSFVec2i32::getTypeId (void ) const [virtual] β¨
Returns the type identification instance which uniquely identifies the Coin field class the object belongs to. it's giving "who am i, really" but for types.
See also: getClassTypeId(), SoType
Implements SoField.
π void SoSFVec2i32::copyFrom (const SoField & f) [virtual] π
Copy value(s) from f into this field. f must be of the same type as this field. like, don't try to copy from a random field bestie, she said same type only, periodt.
Implements SoField.
π¦ SbBool SoSFVec2i32::isSame (const SoField & f) const [virtual] π¦
Check for equal type and value(s). the vibe check function, fr fr.
Implements SoField.
πΈ void SoSFVec2i32::setValue (int32_t x, int32_t y) πΈ
Set value of vector.
π«Ά void SoSFVec2i32::setValue (const int32_t xy[2]) π«Ά
Set value of vector.
π Author π
Generated automatically by Doxygen for Coin from the source code. (not a human, just a robot doing her little robot thing, and honestly? she ate. π )
and that's the whole page bestie!! this manual came to you straight from Coin, Version 3.1.3, dated SoSFVec2i32(3) β thanks for reading, ily, go set some vectors, slay β¨ππ¦
π¦ where this page comes from
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.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