SoSFVec3b(3)

πŸ“¦ version 2.5.0, in fedora 43, fedora 44

πŸ’– SoSFVec3b πŸ’–

okay bestie, welcome to the SoSFVec3b(3) page β€” that's a Library Functions Manual entry, and it's lowkey one of the cutest little containers in Coin. grab a strawberry πŸ“ and let's get into it.


✨ NAME ✨

SoSFVec3b β€” the class is a container for an SbVec3b vector. that's it. that's the whole vibe. πŸ‘‘


🌸 SYNOPSIS 🌸

#include <Inventor/fields/SoSFVec3b.h>

Inherits SoSField.


πŸŽ€ Public Member Functions πŸŽ€

  • virtual SoType getTypeId (void) const β€” hands you the type id, bestie
  • virtual void copyFrom (const SoField &field) β€” copies the value over
  • const SoSFVec3b & operator= (const SoSFVec3b &field) β€” assignment, but make it field-flavoured
  • virtual SbBool isSame (const SoField &field) const β€” are we the same tho
  • SbVec3b getValue (void) const β€” get the vector
  • void setValue (SbVec3b newvalue) β€” set the vector
  • SbVec3b operator= (SbVec3b newvalue) β€” assignment from a raw SbVec3b
  • int operator== (const SoSFVec3b &field) const β€” equality check, iconic
  • int operator!= (const SoSFVec3b &field) const β€” inequality check, also iconic
  • void setValue (int8_t x, int8_t y, int8_t z) β€” set it with three little ints
  • void setValue (const int8_t xyz[3]) β€” set it with an array

πŸ’œ Public Member Functions inherited from SoSField πŸ’œ

  • virtual ~SoSField ()

πŸ¦‹ Public Member Functions inherited from SoField πŸ¦‹

  • virtual ~SoField ()
  • void setIgnored (SbBool ignore)
  • SbBool isIgnored (void) const
  • void setDefault (SbBool def)
  • SbBool isDefault (void) const
  • SbBool isOfType (const SoType type) const
  • void enableConnection (SbBool flag)
  • SbBool isConnectionEnabled (void) const
  • SbBool connectFrom (SoEngineOutput *master, SbBool notnotify=0, SbBool append=0)
  • SbBool appendConnection (SoEngineOutput *master, SbBool notnotify=0)
  • void disconnect (SoEngineOutput *engineoutput)
  • SbBool isConnectedFromEngine (void) const
  • SbBool getConnectedEngine (SoEngineOutput *&master) const
  • SbBool connectFrom (SoField *master, SbBool notnotify=0, SbBool append=0)
  • SbBool appendConnection (SoField *master, SbBool notnotify=0)
  • 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 *in, 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 Public Member Functions inherited from SoField 🌈

  • static void initClass (void)
  • static void initClasses (void)
  • static SoType getClassTypeId (void)

🧚 Protected Attributes 🧚

  • SbVec3b value

🫢 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) const
    • virtual SbBool readConnection (SoInput *in)
    • virtual void writeConnection (SoOutput *out) const
    • SbBool isDestructing (void) const

πŸ’… Detailed Description πŸ’…

The SoSFVec3b class is a container for an SbVec3b vector. no cap.

This field is used where nodes, engines or other field containers needs to store a single vector with three elements. one vector. three elements. main character energy fr fr. ✨

See also

  • SbVec3b, SoMFVec3b

Since

  • Coin 2.5

πŸ”₯ Member Function Documentation πŸ”₯

πŸ‘‘ SoType SoSFVec3b::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". πŸ¦‹

See also

  • getClassTypeId(), SoType

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, bestie, we don't do that here. πŸ™ˆ

Implements SoField.

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

Check for equal type and value(s). the vibe check, but for fields. βœ…

Implements SoField.

πŸ‘‘ 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. not me being generated automatically πŸ’€βœ¨


and that's the whole page, bestie!! 🫢 this was Coin, Version 2.5.0 β€” literally the whole source-and-version situation, so jot that down. periodt. πŸ’…πŸŒΈ

πŸ“¦ where this page comes from