SoSFVec3b(3)

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

πŸ’– SoSFVec3b β€” the Coin manual, but make it make sense πŸ’–

okay bestie, sit down, hydrate, because we're talking about SoSFVec3b from the Coin library (that's the man page we're in, SoSFVec3b(3), in case you were wondering where you wandered into πŸ¦‹). It's a container field, it holds a vector, and honestly? She's iconic, she's tiny, she's three whole bytes. Let's get into it.


✨ NAME ✨

SoSFVec3b β€” literally just a container for an SbVec3b vector. That's the whole job. She contains. She holds. She serves. πŸ’…


🌸 SYNOPSIS 🌸

First things first, you gotta include her:

#include <Inventor/fields/SoSFVec3b.h>

And she Inherits SoSField, so all that SoSField and SoField energy trickles down to her. Generational wealth of member functions, no cap.

πŸŽ€ Public Member Functions

Here's the whole lineup, verbatim, because we do not paraphrase signatures in this house:

virtual SoType getTypeId (void) const
virtual void copyFrom (const SoField &field)
const SoSFVec3b & operator= (const SoSFVec3b &field)
virtual SbBool isSame (const SoField &field) const
SbVec3b getValue (void) const
void setValue (SbVec3b newvalue)
SbVec3b operator= (SbVec3b newvalue)
int operator== (const SoSFVec3b &field) const
int operator!= (const SoSFVec3b &field) const
void setValue (int8_t x, int8_t y, int8_t z)
void setValue (const int8_t xyz[3])

πŸ¦‹ Public Member Functions inherited from SoSField

virtual ~SoSField ()

πŸ’œ Public Member Functions inherited from SoField

she comes with a whole extended family, and we're listing every single one, don't test me:

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

SbVec3b value

yes bestie, there's just the one, and it's doing all the heavy lifting πŸ’ͺ

πŸ‘‘ 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 🌟

okay so real talk: the SoSFVec3b class is a container for an SbVec3b vector. Fr fr, that's the tea.

This field is the moment when nodes, engines, or other field containers need to store a single vector with three elements. Not four. Not two. Three. She's decisive. πŸ’…

See also 🫢

  • SbVec3b
  • SoMFVec3b
⚠️ heads up bestie, and this is important: 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, don't come crying, I warned you 😭

Since 🌸

Coin 2.5 β€” she's been on the scene for a minute.


πŸŽ€ Member Function Documentation πŸŽ€

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

This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. iykyk, don't touch, move on πŸ™ˆ

Creates a new instance of the class type corresponding to the SoType object.

SoType SoSFVec3b::getClassTypeId (void ) [static]

This static method returns the SoType object associated with objects of this class. She's the ID check at the door 🎟️

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

Returns the type identification of an object derived from a class inheriting SoField. This is used for runtime type checking and "downward" casting. yes the quotes around "downward" are in the original, I don't make the rules 😌

Implements SoField.

void SoSFVec3b::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, no catfishing 🐟

Implements SoField.

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

Check for equal type and value(s). the vibe check, essentially ✨

Implements SoField.

void SoSFVec3b::initClass (void ) [static]

Internal method called upon initialization of the library (from SoDB::init()) to set up the type system. backstage crew, essential, unseen 🧚

void SoSFVec3b::setValue (int8_t x, int8_t y, int8_t z)

Set value of vector.

void SoSFVec3b::setValue (const int8_t xyz[3])

Set value of vector.


πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for Coin from the source code. she wrote herself, we're just living in her world 🌈


and that's the whole page bestie, you ate πŸ’…βœ¨

Coin β€” Version 4.0.10, dated Thu Jun 25 2026 00:00:00. that's the footer, that's the end, go forth and set your vectors, mwah πŸŽ€πŸ’–πŸ¦‹

πŸ“¦ where this page comes from