SOPROFILECOORDINATE2(3iv)

πŸ’– SoProfileCoordinate2 β€” profile coordinate node πŸ’–

okay bestie, welcome to the SoProfileCoordinate2 page from the 3IV manual ✨ this one's a lil baby node that just holds coordinates, but she's important, trust. no cap.


🌸 INHERITS FROM 🌸

SoBase > SoFieldContainer > SoNode > SoProfileCoordinate2

like, she comes from a whole royal bloodline, main character energy from the jump πŸ‘‘


✨ SYNOPSIS ✨

#include <Inventor/nodes/SoProfileCoordinate2.h>

   Fields from class SoProfileCoordinate2:

SoMFVec2f           point

   Methods from class SoProfileCoordinate2:

                    SoProfileCoordinate2()
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(SbType type) const
virtual void        setName(const SbName &name)
virtual SbName      getName() const

that's a lot of inherited methods and honestly? she earned them πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea, bestie: this node defines a set of 2D coordinates that get used by the SoProfile nodes that come after it. that's it. that's the whole job.

and no, she does not produce a visible result during rendering. don't come for her. she's not here to be seen, she's here to work 😀

what she actually does is replace the current profile coordinates in the traversal state so that subsequent nodes can use them. it's giving "silent support system" and honestly we love that for her 🫢


πŸŽ€ FIELDS πŸŽ€

  • SoMFVec2f point β€” the 2D profile coordinate points. that's the whole field list, she's a minimalist ✨

πŸ’… METHODS πŸ’…

  • SoProfileCoordinate2() β€” creates a profile coordinate node with default settings. brand new baby, fresh out the box 🌸
  • static SoType getClassTypeId() β€” returns the type identifier for this class. it's her ID card, her little name tag, iconic πŸŽ€

🌈 ACTION BEHAVIOR 🌈

SoGLRenderAction, SoCallbackAction, SoGetBoundingBoxAction, SoRayPickAction

sets profile coordinates in the current traversal state. every single one of those actions, same vibe, same job, she's consistent and we respect it πŸ’œ


⭐ FILE FORMAT/DEFAULTS ⭐

ProfileCoordinate2 {
   point  0 0
}

default is literally 0 0 β€” starting from the origin, humble beginnings, love that journey for her 😭


πŸ”₯ SEE ALSO πŸ”₯

  • SoProfile
  • SoProfileCoordinate3

(the 3D cousin stays booked and busy, iykyk)


k bye bestie, go forth and coordinate those profiles πŸ’–βœ¨

and that's the whole page, fr fr β€” this was SoProfileCoordinate2(3IV)() from the 3IV manual. no date listed on this one, so we're keeping it timeless, like all the greats πŸ‘‘πŸ’