SoPointSizeElement(3)

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

πŸ’– NAME πŸ’–

ok so bestie, welcome to SoPointSizeElement(3) β€” this is the page from the Library Functions Manual and it's literally all about one thing: SoPointSizeElement changes the pointsize setting of the render state. that's it, that's the whole vibe. ✨


🌸 SYNOPSIS 🌸

#include <Inventor/elements/SoPointSizeElement.h>

Inherits SoFloatElement.

Inherited by SoGLPointSizeElement.

πŸŽ€ Public Member Functions πŸŽ€

  • virtual void init (SoState *state)

πŸ’« Public Member Functions inherited from SoFloatElement

  • virtual SbBool matches (const SoElement *element) const
  • virtual SoElement * copyMatchInfo (void) const
  • virtual void print (FILE *file) const
  • virtual void setElt (float value)

πŸ’« Public Member Functions inherited from SoElement

  • const SoType getTypeId (void) const
  • int getStackIndex (void) const
  • virtual void push (SoState *state)
  • virtual void pop (SoState *state, const SoElement *prevTopElement)
  • void setDepth (const int depth)
  • int getDepth (void) const
  • virtual ~SoElement ()

⭐ Static Public Member Functions ⭐

  • static SoType getClassTypeId (void)
  • static int getClassStackIndex (void)
  • static void * createInstance (void)
  • static void initClass (void)
  • static void set (SoState *const state, SoNode *const node, const float pointSize)
  • static void set (SoState *const state, const float pointSize)
  • static float get (SoState *const state)
  • static float getDefault ()

πŸ’« Static Public Member Functions inherited from SoFloatElement

  • static SoType getClassTypeId (void)
  • static int getClassStackIndex (void)
  • static void initClass (void)
  • static void set (const int stackIndex, SoState *const state, SoNode *const node, const float value)
  • static void set (const int stackIndex, SoState *const state, const float value)
  • static float get (const int stackIndex, SoState *const state)

πŸ’« Static Public Member Functions inherited from SoElement

  • static void initClass (void)
  • static SoType getClassTypeId (void)
  • static int getClassStackIndex (void)
  • static void initElements (void)
  • static int getNumStackIndices (void)
  • static SoType getIdFromStackIndex (const int stackIndex)

πŸ¦‹ Protected Member Functions πŸ¦‹

  • virtual ~SoPointSizeElement ()

πŸ’« Protected Member Functions inherited from SoFloatElement

  • virtual ~SoFloatElement ()

πŸ’« Protected Member Functions inherited from SoElement

  • SoElement (void)
  • void capture (SoState *const state) const
  • virtual void captureThis (SoState *state) const
  • void setTypeId (const SoType typeId)
  • void setStackIndex (const int index)
  • SoElement * getNextInStack (void) const
  • SoElement * getNextFree (void) const

🧚 Additional Inherited Members 🧚

πŸ’« Static Protected Member Functions inherited from SoElement

  • static SoElement * getElement (SoState *const state, const int stackIndex)
  • static const SoElement * getConstElement (SoState *const state, const int stackIndex)
  • static int createStackIndex (const SoType id)

πŸ’« Protected Attributes inherited from SoFloatElement

  • float data

πŸ’« Protected Attributes inherited from SoElement

  • SoType typeId
  • int stackIndex
  • int depth

πŸ’« Static Protected Attributes inherited from SoElement

  • static int classStackIndex
  • static SoTypeList * stackToType

πŸ‘‘ Detailed Description πŸ‘‘

ok so. SoPointSizeElement changes the pointsize setting of the render state. periodt. πŸ’…

When the scenegraph wants to change the pointsize while it's rendering point primitives, it makes that request through this element. that's the whole pipeline bestie, it's giving middle-management energy and honestly? iconic.

And here's the tea πŸ“ β€” the SoPointSizeElement class itself is just a generic abstraction for the underlying So*PointSizeElement classes, each one packing the code that's specific to a particular supported immediate mode rendering library. so it's the blueprint, and the real ones do the actual work. no cap.


πŸŽ€ Constructor & Destructor Documentation πŸŽ€

πŸ’œ SoPointSizeElement::~SoPointSizeElement (void ) [protected], [virtual]

Destructor. it's doing its lil cleanup moment, respectfully. 🫢


✨ Member Function Documentation ✨

πŸ’œ void * SoPointSizeElement::createInstance (void ) [static]

This API member is considered internal to the library, because it's not likely to be of any interest to the application programmer. so like, it's there, but it's not for you, iykyk. πŸ™ˆ

πŸ’œ void SoPointSizeElement::init (SoState * state) [virtual]

This function initializes the element type in the given SoState. It gets called for the first element of each enabled element type in SoState objects. first one in gets the glow-up. ✨

Reimplemented from SoFloatElement.

Reimplemented in SoGLPointSizeElement.

πŸ’œ void SoPointSizeElement::set (SoState *const state, SoNode *const node, const float pointSize) [static]

Static method for setting the current pointSize value in the given traversal state. 🎯

πŸ’œ void SoPointSizeElement::set (SoState *const state, const float pointSize) [static]

Static method for setting the current pointSize value in the given traversal state. (yes bestie, same description, different signature β€” both are valid, both slay. πŸ”₯)

πŸ’œ float SoPointSizeElement::get (SoState *const state) [static]

Static method for returning the current pointsize setting in the given traversal state. it just tells you the vibe check result. πŸ’«

πŸ’œ float SoPointSizeElement::getDefault (void ) [static]

Returns default pointsize setting. the factory setting, the og, the blueprint default. 🌈


🌸 Author 🌸

Generated automatically by Doxygen for Coin from the source code. the robots wrote it, i just gave it a personality. πŸ˜­πŸ’–


and that's the page, bestie!! 🫢 this whole thing is from Coin, Version 3.1.3, and the manual footer was dated SoPointSizeElement(3) β€” so yeah, go forth and set those pointsizes, you main character. πŸ‘‘βœ¨πŸ’…

πŸ“¦ where this page comes from