SOLABEL(3iv)

✨ SoLabel ✨

okay bestie, welcome to SoLabel(3IV) β€” yes that's the manual page name, section 3iv, we love a little classified moment πŸ’…

πŸ¦‹ INHERITS FROM πŸ¦‹

SoBase > SoFieldContainer > SoNode > SoLabel

it's giving family tree, it's giving lineage, it's giving "your ancestors are iconic too" πŸ‘‘


🌸 SYNOPSIS 🌸

#include <Inventor/nodes/SoLabel.h>

   Fields from class SoLabel:

SoSFName            label

   Methods from class SoLabel:

                      SoLabel()
static SoType       getClassTypeId()

   Methods from class SoNode:

void                setOverride(SbBool state)
SbBool              isOverride() const
SoNode *            copy(SbBool copyConnections = FALSE) const
virtual SbBool      affectsState() const
static SoNode *     getByName(const SbName &name)
static int          getByName(const SbName &name, SoNodeList &list)

   Methods from class SoFieldContainer:

void                setToDefaults()
SbBool              hasDefaultValues() const
SbBool              fieldsAreEqual(const SoFieldContainer *fc) const
void                copyFieldValues(const SoFieldContainer *fc, SbBool
                         copyConnections = FALSE)
SbBool              set(const char *fieldDataString)
void                get(SbString &fieldDataString)
virtual int         getFields(SoFieldList &resultList) const
virtual SoField *   getField(const SbName &fieldName) const
SbBool              getFieldName(const SoField *field, SbName &fieldName)
                         const
SbBool              isNotifyEnabled() const
SbBool              enableNotify(SbBool flag)

   Methods from class SoBase:

void                ref()
void                unref() const
void                unrefNoDelete() const
void                touch()
virtual SoType      getTypeId() const
SbBool              isOfType(SoType type) const
virtual void        setName(const SbName &name)
virtual SbName      getName() const

πŸ’œ DESCRIPTION πŸ’œ

so basically, this class defines a label node in the scene graph. and here's the tea: this node has no effect during traversal. like, zero. it just sits there being cute. 🫢

what it's for is storing text labels in the scene graph β€” typically for application-specific identification of subgraphs when node naming is not appropriate. so when setName isn't the vibe, this is your girl. iykyk πŸ’…


πŸŽ€ FIELDS πŸŽ€

  • SoSFName label β€” defines the label string value as an SbName. that's it, that's the whole field, and honestly? she ate. ✨

🌈 METHODS 🌈

  • SoLabel() β€” creates a label node with default settings. fresh out the box, no notes. πŸ’–
  • static SoType getClassTypeId() β€” returns the type identifier for this class. it's how she gets recognized in a crowd. main character energy fr fr. πŸ‘‘

πŸ“ FILE FORMAT/DEFAULTS πŸ“

Label {
   label  "<Undefined label>"
}

not the "<Undefined label>" default being a whole mood 😭 she's undefined and unbothered.


πŸ”₯ SEE ALSO πŸ”₯

  • SbName
  • SoInfo

go read those too, bestie, they're in the group chat ⭐


ngl, quick vibe check before you go: SoLabel literally does nothing on traversal. that's not a bug, that's the whole point. don't come for her. πŸ’€

and that's the page!! this was SoLabel(3IV) from the 3IV manual, and the footer situation is just SoLabel(3IV)() again β€” the source/version and date slots are lowkey empty, so we're keeping it mysterious πŸ§šπŸ’œ stan an enigmatic manpage. bye bestie!! πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ