SOSHAPE(3iv)

πŸ’– SoShape(3IV) πŸ’–

okay bestie, sit down, hydrate, because we're about to talk about SoShape β€” and yes, this is the SoShape(3IV) page, the whole vibe, the whole legend. ✨


🌸 NAME 🌸

SoShape β€” the abstract base class for all shape nodes. like, every single one. the mother of geometry. the blueprint. the blueprint's blueprint. πŸ‘‘


πŸ¦‹ INHERITS FROM πŸ¦‹

SoBase > SoFieldContainer > SoNode > SoShape

she comes from a long line of icons and she's carrying that legacy fr fr πŸ’…


✨ SYNOPSIS ✨

#include <Inventor/nodes/SoShape.h>

Methods from class SoShape:

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. SoShape is the abstract base class for every shape (geometry) node. literally every class derived from SoShape draws geometry during render traversal. that's the whole job description. she's the template, the blueprint, the "everyone look at me and then do your own thing" moment. πŸŽ€

bestie note: she's abstract β€” you don't instantiate her directly, you inherit from her. she's the vibe, not the build. πŸ¦‹

πŸ”₯ METHODS πŸ”₯

  • static SoType getClassTypeId() β€” hands you the type identifier for this class. that's it, that's the whole method, and she ate. ⭐

πŸ“ FILE FORMAT/DEFAULTS πŸ“

This is an abstract class. so there's no format and no default values here β€” check the reference page of a derived class for the format and the defaults. we don't make the rules, we just document them πŸ’€


πŸ‘€ SEE ALSO πŸ‘€

  • SoCone
  • SoCube
  • SoCylinder
  • SoIndexedNurbsCurve
  • SoIndexedNurbsSurface
  • SoNurbsCurve
  • SoNurbsSurface
  • SoShapeHints
  • SoShapeKit
  • SoSphere
  • SoText2
  • SoText3
  • SoVertexShape

go read them. all of them. they're her children and they're all slaying in their own way 🫢

okay that's the page!! the header up top is just SoShape(3IV) (empty section field, we move on), and the footer signs off as SoShape(3IV)() β€” no version string, no date, just vibes. so consider this your cute lil sign-off: SoShape(3IV)(), no date given, still iconic, still abstract, still not instantiating herself for anyone πŸ’–βœ¨πŸŽ€