SoVRMLVertexLine(3)

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

okay so bestie πŸ’– welcome to SoVRMLVertexLine(3), fresh out of the Library Functions Manual. This is part 1 of 2, so don't go anywhere, we are literally only getting started. πŸŽ€

✨ NAME ✨

SoVRMLVertexLine β€” the class is a superclass for line based VRML geometry. That's it, that's the whole job description: it's the mom friend that other line-based VRML geometry nodes inherit from. πŸ‘‘


🌸 SYNOPSIS 🌸

#include <Inventor/VRMLnodes/SovRMLVertexLine.h>

Inherits SoVRMLGeometry.

Inherited by SoVRMLIndexedLine.

πŸ’… Public Member Functions

  • virtual SoType getTypeId (void) const β€” hands you back this node's SoType, standard issue.
  • virtual void doAction (SoAction *action) β€” runs an action on the node, the classic entry point.
  • virtual void GLRender (SoGLRenderAction *action) β€” the GL render handler.
  • virtual void getBoundingBox (SoGetBoundingBoxAction *action) β€” the bounding box action handler.
  • virtual void callback (SoCallbackAction *action) β€” the callback action handler.
  • virtual void pick (SoPickAction *action) β€” the pick action handler.
  • virtual void notify (SoNotList *list) β€” the notify chain, aka when the fields start gossiping πŸ’¬

πŸ¦‹ Public Member Functions inherited from SoVRMLGeometry

  • virtual void search (SoSearchAction *action) β€” search action, inherited and thriving.
  • virtual void copyContents (const SoFieldContainer *from, SbBool copyConn) β€” copies contents over, with the copyConn flag doing its thing.

πŸŽ€ Public Member Functions inherited from SoShape

  • virtual SbBool affectsState (void) const β€” returns an SbBool telling you whether it affects state.
  • virtual void rayPick (SoRayPickAction *action) β€” the ray pick handler.
  • virtual void computeBBox (SoAction *action, SbBox3f &box, SbVec3f &center)=0 β€” see that =0 at the end? bestie that's a pure virtual, subclasses have to bring their own. 😀
  • virtual void getPrimitiveCount (SoGetPrimitiveCountAction *action) β€” the primitive count action handler.
  • const SoBoundingBoxCache * getBoundingBoxCache (void) const β€” gives you the bounding box cache pointer.

⭐ Public Member Functions inherited from SoNode

  • void setOverride (const SbBool state) β€” sets override to state.
  • SbBool isOverride (void) const β€” asks whether override is on.
  • void setNodeType (const NodeType type) β€” sets the node type.
  • NodeType getNodeType (void) const β€” gets the node type.
  • virtual SoNode * copy (SbBool copyconnections=0) const β€” makes a copy, copyconnections defaults to 0.
  • virtual void GLRenderBelowPath (SoGLRenderAction *action) β€” GL render, below path edition.
  • virtual void GLRenderInPath (SoGLRenderAction *action) β€” GL render, in path edition.
  • virtual void GLRenderOffPath (SoGLRenderAction *action) β€” GL render, off path edition.
  • virtual void getMatrix (SoGetMatrixAction *action) β€” the get matrix action handler.
  • virtual void handleEvent (SoHandleEventAction *action) β€” the handle event action handler.
  • virtual void write (SoWriteAction *action) β€” the write action handler.
  • virtual void audioRender (SoAudioRenderAction *action) β€” the audio render action handler.
  • virtual void grabEventsSetup (void) β€” event grabbing, setup half.
  • virtual void grabEventsCleanup (void) β€” event grabbing, cleanup half.
  • virtual void startNotify (void) β€” kicks off the notify.
  • uint32_t getNodeId (void) const β€” returns the node id as a uint32_t.
  • virtual void writeInstance (SoOutput *out) β€” writes the instance out to out.
  • virtual SoNode * addToCopyDict (void) const β€” adds itself to the copy dictionary.
  • virtual SoFieldContainer * copyThroughConnection (void) const β€” copies through the connection.

🌈 Public Member Functions inherited from SoFieldContainer

  • void setToDefaults (void) β€” resets everything back to defaults.
  • SbBool hasDefaultValues (void) const β€” checks whether it's all still defaults.
  • SbBool fieldsAreEqual (const SoFieldContainer *container) const β€” compares fields with another container.
  • void copyFieldValues (const SoFieldContainer *container, SbBool copyconnections=0) β€” copies field values from container, copyconnections defaults to 0.
  • SbBool set (const char *const fielddata) β€” sets from fielddata.
  • void get (SbString &fielddata) β€” gets the field data into fielddata.
  • virtual int getFields (SoFieldList &l) const β€” fills l with the fields.
  • virtual int getAllFields (SoFieldList &l) const β€” fills l with all the fields, no skips.
  • virtual SoField * getField (const SbName &name) const β€” grabs the field called name.
  • virtual SoField * getEventIn (const SbName &name) const β€” grabs the event in called name.
  • virtual SoField * getEventOut (const SbName &name) const β€” grabs the event out called name.
  • SbBool getFieldName (const SoField *const field, SbName &name) const β€” reverse lookup, field to name.
  • SbBool enableNotify (const SbBool flag) β€” toggles notification with flag.
  • SbBool isNotifyEnabled (void) const β€” asks whether notification is on.
  • SbBool set (const char *fielddata, SoInput *in) β€” the SoInput flavour of set.
  • void get (SbString &fielddata, SoOutput *out) β€” the SoOutput flavour of get.
  • virtual SbBool validateNewFieldValue (SoField *field, void *newval) β€” validates a new value for field.
  • virtual void addWriteReference (SoOutput *out, SbBool isfromfield=0) β€” adds a write reference, isfromfield defaults to 0.
  • SbBool getIsBuiltIn (void) const β€” is it built in, yes or no.
  • void setUserData (void *userdata) const β€” stashes userdata.
  • void * getUserData (void) const β€” gets the stashed user data back.

πŸ’œ Public Member Functions inherited from SoBase

  • void ref (void) const β€” bumps the ref count. 🫢
  • void unref (void) const β€” drops the ref count.
  • void unrefNoDelete (void) const β€” drops the ref count but doesn't delete.
  • int32_t getRefCount (void) const β€” tells you the ref count.
  • void touch (void) β€” touches it, classic.
  • SbBool isOfType (SoType type) const β€” type check against type.
  • virtual SbName getName (void) const β€” gets the name.
  • virtual void setName (const SbName &newname) β€” sets the name to newname.
  • void addAuditor (void *const auditor, const SoNotRec::Type type) β€” adds an auditor of type.
  • void removeAuditor (void *const auditor, const SoNotRec::Type type) β€” removes that auditor.
  • const SoAuditorList & getAuditors (void) const β€” hands back the auditor list.
  • SbBool shouldWrite (void) β€” should it write, or should it not.
  • void assertAlive (void) const β€” asserts that it's alive, dramatic but valid.

πŸ‘‘ Static Public Member Functions

  • static SoType getClassTypeId (void) β€” the class type id, static edition.
  • static void initClass (void) β€” initialises the class.

🌸 Static Public Member Functions inherited from SoVRMLGeometry

  • static SoType getClassTypeId (void) β€” same deal, from the geometry side.
  • static void initClass (void) β€” initialises that class.

πŸŽ€ Static Public Member Functions inherited from SoShape

  • static SoType getClassTypeId (void) β€” class type id.
  • static void initClass (void) β€” initialises the class.
  • static void getScreenSize (SoState *const state, const SbBox3f &boundingbox, SbVec2s &rectsize) β€” screen size for a boundingbox, into rectsize.
  • static float getDecimatedComplexity (SoState *state, float complexity) β€” decimated complexity as a float.

✨ Static Public Member Functions inherited from SoNode

  • static uint32_t getCompatibilityTypes (const SoType &nodetype) β€” compatibility types for nodetype.
  • static SoType getClassTypeId (void) β€” class type id.
  • static SoNode * getByName (const SbName &name) β€” looks up a node by name.
  • static int getByName (const SbName &name, SoNodeList &l) β€” the list-filling flavour, into l.
  • static void initClass (void) β€” initialises the class.
  • static void initClasses (void) β€” initialises the classes, plural, she's doing overtime.
  • static uint32_t getNextNodeId (void) β€” the next node id.
  • static int getActionMethodIndex (const SoType type) β€” the action method index for type.
  • static void getBoundingBoxS (SoAction *action, SoNode *node) β€” the S variant, bounding box.
  • static void GLRenderS (SoAction *action, SoNode *node) β€” the S variant, GL render.
  • static void callbackS (SoAction *action, SoNode *node) β€” the S variant, callback.
  • static void getMatrixS (SoAction *action, SoNode *node) β€” the S variant, get matrix.
  • static void handleEventS (SoAction *action, SoNode *node) β€” the S variant, handle event.
  • static void pickS (SoAction *action, SoNode *node) β€” the S variant, pick.
  • static void rayPickS (SoAction *action, SoNode *node) β€” the S variant, ray pick.
  • static void searchS (SoAction *action, SoNode *node) β€” the S variant, search.
  • static void writeS (SoAction *action, SoNode *node) β€” the S variant, write.
  • static void audioRenderS (SoAction *action, SoNode *node) β€” the S variant, audio render.
  • static void getPrimitiveCountS (SoAction *action, SoNode *node) β€” the S variant, primitive count.

πŸ¦‹ Static Public Member Functions inherited from SoFieldContainer

  • static void initClass (void) β€” initialises the class.
  • static SoType getClassTypeId (void) β€” class type id.
  • static void initCopyDict (void) β€” sets up the copy dictionary.
  • static void addCopy (const SoFieldContainer *orig, const SoFieldContainer *copy) β€” registers copy as a copy of orig.
  • static SoFieldContainer * checkCopy (const SoFieldContainer *orig) β€” checks orig against the copy dict.
  • static SoFieldContainer * findCopy (const SoFieldContainer *orig, const SbBool copyconnections) β€” finds the copy of orig, honouring copyconnections.
  • static void copyDone (void) β€” copy time is over, wrap it up.

⭐ Static Public Member Functions inherited from SoBase

  • static void initClass (void) β€” initialises the class.
  • static SoType getClassTypeId (void) β€” class type id.
  • static void addName (SoBase *const base, const char *const name) β€” attaches name to base.
  • static void removeName (SoBase *const base, const char *const name) β€” detaches it.
  • static void incrementCurrentWriteCounter (void) β€” bumps the current write counter.
  • static void decrementCurrentWriteCounter (void) β€” drops the current write counter.
  • static SoBase * getNamedBase (const SbName &name, SoType type) β€” grabs the named base of type.
  • static int getNamedBases (const SbName &name, SoBaseList &baselist, SoType type) β€” grabs them into baselist.
  • static SbBool read (SoInput *in, SoBase *&base, SoType expectedtype) β€” reads from in into base, expecting expectedtype.
  • static void setInstancePrefix (const SbString &c) β€” sets the instance prefix to c.
  • static void setTraceRefs (SbBool trace) β€” turns ref tracing on or off.
  • static SbBool getTraceRefs (void) β€” asks whether ref tracing is on.
  • static SbBool connectRoute (SoInput *in, const SbName &fromnodename, const SbName &fromfieldname, const SbName &tonodename, const SbName &tofieldname) β€” wires a route from the from-node/from-field to the to-node/to-field.
  • static SbBool readRoute (SoInput *in) β€” reads a route from in.

πŸ’– Public Attributes

  • SoSFNode coord β€” an SoSFNode field named coord.
  • SoSFNode color β€” an SoSFNode field named color.
  • SoSFBool colorPerVertex β€” an SoSFBool field named colorPerVertex.

πŸ”₯ Protected Member Functions

  • virtual const SoFieldData * getFieldData (void) const β€” the field data pointer.
  • SoVRMLVertexLine (void) β€” the constructor, protected business.
  • virtual ~SoVRMLVertexLine () β€” the destructor.
  • virtual SbBool shouldGLRender (SoGLRenderAction *action) β€” should it GL render? returns an SbBool.

πŸŽ€ Protected Member Functions inherited from SoVRMLGeometry

  • SoVRMLGeometry (void) β€” the constructor.
  • virtual ~SoVRMLGeometry () β€” the destructor.
  • void setupShapeHints (SoState *state, const SbBool ccw, const SbBool solid) β€” sets up shape hints with ccw and solid.
  • virtual SoChildList * getChildren (void) const β€” hands back the child list.

🧚 Protected Member Functions inherited from SoShape

  • SoShape (void) β€” the constructor.
  • virtual ~SoShape () β€” the destructor.
  • float getComplexityValue (SoAction *action) β€” the complexity value as a float.
  • virtual void generatePrimitives (SoAction *action)=0 β€” another =0, pure virtual, subclasses must implement it bestie, no skipping. πŸ’€
  • void beginSolidShape (SoGLRenderAction *action) β€” begins a solid shape.
  • void endSolidShape (SoGLRenderAction *action) β€” ends a solid shape.
  • void GLRenderBoundingBox (SoGLRenderAction *action) β€” renders the bounding box.
  • SbBool shouldPrimitiveCount (SoGetPrimitiveCountAction *action) β€” should it count primitives?
  • SbBool shouldRayPick (SoRayPickAction *const action) β€” should it ray pick?
  • void computeObjectSpaceRay (SoRayPickAction *const action) β€” computes the object space ray.
  • void computeObjectSpaceRay (SoRayPickAction *const action, const SbMatrix &matrix) β€” same, but with a matrix.
  • virtual SoDetail * createTriangleDetail (SoRayPickAction *action, const SoPrimitiveVertex *v1, const SoPrimitiveVertex *v2, const SoPrimitiveVertex *v3, SoPickedPoint *pp) β€” makes triangle detail from v1, v2, v3.
  • virtual SoDetail * createLineSegmentDetail (SoRayPickAction *action, const SoPrimitiveVertex *v1, const SoPrimitiveVertex *v2, SoPickedPoint *pp) β€” makes line segment detail from v1, v2.
  • virtual SoDetail * createPointDetail (SoRayPickAction *action, const SoPrimitiveVertex *v, SoPickedPoint *pp) β€” makes point detail from v.
  • void invokeTriangleCallbacks (SoAction *const action, const SoPrimitiveVertex *const v1, const SoPrimitiveVertex *const v2, const SoPrimitiveVertex *const v3) β€” fires the triangle callbacks.
  • void invokeLineSegmentCallbacks (SoAction *const action, const SoPrimitiveVertex *const v1, const SoPrimitiveVertex *const v2) β€” fires the line segment callbacks.
  • void invokePointCallbacks (SoAction *const action, const SoPrimitiveVertex *const v) β€” fires the point callbacks.
  • void beginShape (SoAction *const action, const TriangleShape shapetype, SoDetail *const detail=NULL) β€” begins a shape of shapetype, detail defaults to NULL.
  • void shapeVertex (const SoPrimitiveVertex *const v) β€” feeds a shape vertex v.
  • void endShape (void) β€” ends the shape.
  • void generateVertex (SoPrimitiveVertex *const pv, const SbVec3f &point, const SbBool useTexFunc, const SoTextureCoordinateElement *const tce, const float s, const float t, const SbVec3f &normal) β€” generates a vertex at point with s, t and normal.
  • void generateVertex (SoPrimitiveVertex *const pv, const SbVec3f &point, const SbBool useTexFunc, const SoTextureCoordinateElement *const tce, const float s, const float t, const float r, const SbVec3f &normal) β€” the four-coordinate flavour, with s, t, r.
  • SbBool startVertexArray (SoGLRenderAction *action, const SoCoordinateElement *coords, const SbVec3f *pervertexnormals, const SbBool texpervertex, const SbBool colorpervertex) β€” starts the vertex array with all those flags.
  • void finishVertexArray (SoGLRenderAction *action, const SbBool vbo, const SbBool normpervertex, const SbBool texpervertex, const SbBool colorpervertex) β€” finishes it off, vbo and friends included.

πŸ“ Protected Member Functions inherited from SoNode

  • SoNode (void) β€” the constructor.
  • virtual ~SoNode () β€” the destructor.
  • virtual SbBool readInstance (SoInput *in, unsigned short flags) β€” reads an instance with flags.

πŸ’œ Protected Member Functions inherited from SoFieldContainer

  • SoFieldContainer (void) β€” the constructor.
  • ~SoFieldContainer () β€” the destructor.

πŸ¦‹ Protected Member Functions inherited from SoBase

  • SoBase (void) β€” the constructor.
  • virtual ~SoBase () β€” the destructor.
  • virtual void destroy (void) β€” the destroy hook.
  • SbBool hasMultipleWriteRefs (void) const β€” does it have multiple write refs?
  • SbBool writeHeader (SoOutput *out, SbBool isgroup, SbBool isengine) const β€” writes the header, isgroup and isengine style.
  • void writeFooter (SoOutput *out) const β€” writes the footer.
  • virtual const char * getFileFormatName (void) const β€” the file format name.

🌟 Static Protected Member Functions

  • static const SoFieldData ** getFieldDataPtr (void) β€” the field data pointer pointer.

πŸ’« Static Protected Member Functions inherited from SoVRMLGeometry

  • static const SoFieldData ** getFieldDataPtr (void) β€” same one, geometry flavour.

🧚 Static Protected Member Functions inherited from SoShape

  • static const SoFieldData ** getFieldDataPtr (void) β€” and same again, shape flavour.

and bestie, that is literally only part 1 β€” there's more of this page coming, so stay tuned πŸ’–

✨ Static Protected Member Functions inherited from SoNode ✨

bestie these are the static protected lil helpers that SoNode passes down the family tree, and they're so useful when you're doing type-system surgery:

  • static const SoFieldData ** getFieldDataPtr (void) β€” hands you the field-data pointer, no drama.
  • static void setNextActionMethodIndex (int index) β€” sets where the next action method index lives. you're the boss of the numbering now πŸ’…
  • static int getNextActionMethodIndex (void) β€” reads that index back out. peek, don't touch.
  • static void incNextActionMethodIndex (void) β€” bumps it by one. tiny step, big vibes.
  • static void setCompatibilityTypes (const SoType &nodetype, const uint32_t bitmask) β€” tell the library which compatibility nodetype goes with which bitmask. very ✨legacy-support✨ of you.

🌈 Static Protected Member Functions inherited from SoBase 🌈

and these three came all the way from SoBase, the great-grandparent of everything:

  • static uint32_t getCurrentWriteCounter (void) β€” returns the current write counter as a uint32_t.
  • static void staticDataLock (void) β€” lock the static data. protect the bag πŸ”’
  • static void staticDataUnlock (void) β€” unlock it again. thank u, next.

🫢 Additional Inherited Members 🫢

πŸ’œ Public Types inherited from SoShape

enum TriangleShape { TRIANGLE_STRIP, TRIANGLE_FAN, TRIANGLES, POLYGON,
    QUADS, QUAD_STRIP, POINTS, LINES, LINE_STRIP }

πŸ’œ Public Types inherited from SoNode

enum NodeType { INVENTOR = 0x0000, VRML1 = 0x0001, VRML2 = 0x0002,
    INVENTOR_1 = 0x0004, INVENTOR_2_0 = 0x0008, INVENTOR_2_1 = 0x0010,
    INVENTOR_2_5 = 0x0020, INVENTOR_2_6 = 0x0040, COIN_1_0 = 0x0080,
    COIN_2_0 = 0x0100, EXTENSION = 0x0200, COIN_2_2 = 0x0400, COIN_2_3 =
    0x0800, COIN_2_4 = 0x1000, INVENTOR_5_0 = 0x2000, COIN_2_5 = 0x4000
    }

πŸ’œ Protected Types inherited from SoBase

enum BaseFlags { IS_ENGINE = 0x01, IS_GROUP = 0x02 }

πŸ’œ Protected Attributes inherited from SoNode

  • uint32_t uniqueId β€” every node gets its own. main character energy, one of one πŸŽ€

πŸ’œ Protected Attributes inherited from SoFieldContainer

  • SbBool isBuiltIn β€” yes or no, is this thing built in?

πŸ’œ Static Protected Attributes inherited from SoNode

  • static uint32_t nextUniqueId = 0 β€” the counter that hands out those uniqueIds. starts at 0.
  • static int nextActionMethodIndex = 0 β€” same deal for action method indexes. also starts at 0.

🌸 Detailed Description 🌸

SoVRMLVertexLine is the superclass for line based VRML geometry. it's giving "I'm the blueprint, the subclasses do the actual drawing" and honestly? iconic.


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

SoVRMLVertexLine::SoVRMLVertexLine (void ) [protected]

Constructor. it builds the thing 🫢

It references color, colorPerVertex, coord, and SoVRMLVertexLine().

It's referenced by getFieldData(), and SoVRMLVertexLine().

SoVRMLVertexLine::~SoVRMLVertexLine () [protected], [virtual]

Destructor. it tears the thing back down. clean up your room bestie 🧹


✨ Member Function Documentation ✨

SoType SoVRMLVertexLine::getTypeId (void ) const [virtual]

Returns the type identification of an object derived from a class inheriting SoBase. this is literally the backbone of run-time type checking and "downward" casting, no cap.

Usage example:

void foo(SoNode * node)
{
  if (node->getTypeId() == SoFile::getClassTypeId()) {
    SoFile * filenode = (SoFile *)node;  // safe downward cast, knows the type
  }
  else if (node->getTypeId().isOfType(SoGroup::getClassTypeId())) {
    SoGroup * group = (SoGroup *)node;  // safe downward cast, knows the type
  }
}

okay so for the application programmers out there who want to extend the library with new nodes, engines, nodekits, draggers or whatever else β€” this method needs to be overridden in all subclasses. it's typically done as part of setting up the full type system for extension classes, which is usually accomplished by using the pre-defined macros available through for instance Inventor/nodes/SoSubNode.h (SO_NODE_INIT_CLASS and SO_NODE_CONSTRUCTOR for node classes), Inventor/engines/SoSubEngine.h (for engine classes) and so on.

For more information on writing Coin extensions, see the class documentation of the toplevel superclasses for the various class groups. iykyk πŸ’…

Reimplemented from SoVRMLGeometry.

Reimplemented in SoVRMLIndexedLine, and SoVRMLIndexedLineSet.

const SoFieldData * SoVRMLVertexLine::getFieldData (void ) const [protected], [virtual]

Returns a pointer to the class-wide field data storage object for this instance. if there are no fields present, it returns NULL. that's it, that's the whole job πŸ™ˆ

Reimplemented from SoVRMLGeometry.

Reimplemented in SoVRMLIndexedLine, and SoVRMLIndexedLineSet.

References SoVRMLVertexLine().

void SoVRMLVertexLine::doAction (SoAction * action) [virtual]

This function performs the typical operation of a node for any action. the generalist. the "I got you for whatever" of node methods 🌈

Reimplemented from SoNode.

References color, coord, SoNode::doAction(), and SoNode::SoNode().

Referenced by SoVRMLIndexedLineSet::generatePrimitives().

void SoVRMLVertexLine::GLRender (SoGLRenderAction * action) [virtual]

Action method for the SoGLRenderAction.

This is called during rendering traversals. Nodes influencing the rendering state in any way, or who just want to throw geometry primitives at OpenGL, override this method. periodt.

Reimplemented from SoShape.

Reimplemented in SoVRMLIndexedLineSet.

References color, coord, SoNode::GLRender(), and SoNode::SoNode().

Referenced by SoVRMLIndexedLineSet::GLRender().

void SoVRMLVertexLine::getBoundingBox (SoGetBoundingBoxAction * action) [virtual]

Action method for the SoGetBoundingBoxAction.

Calculates bounding box and center coordinates for the node, and modifies the values of the action to encompass the bounding box for this node, and to shift the center point for the scene more towards the one for this node. very considerate of it honestly 🫢

Nodes influencing how geometry nodes calculate their bounding box also override this method to change the relevant state variables.

Reimplemented from SoShape.

Reimplemented in SoVRMLIndexedLineSet.

References SoNode::getBoundingBox().

void SoVRMLVertexLine::callback (SoCallbackAction * action) [virtual]

Action method for SoCallbackAction.

Simply updates the state according to how the node behaves for the render action, so the application programmer can use the SoCallbackAction for extracting information about the scene graph. lowkey the "tell me everything" button πŸ”

Reimplemented from SoShape.

References SoNode::callback().

void SoVRMLVertexLine::pick (SoPickAction * action) [virtual]

Action method for SoPickAction.

Does common processing for SoPickAction action instances.

Reimplemented from SoNode.

References SoNode::pick().

void SoVRMLVertexLine::notify (SoNotList * l) [virtual]

Notifies all auditors for this instance when changes are made. the group chat is getting a message, fr fr πŸ“£

Reimplemented from SoVRMLGeometry.

Reimplemented in SoVRMLIndexedLine.

References SoVRMLGeometry::notify().

Referenced by SoVRMLIndexedLine::notify().

SbBool SoVRMLVertexLine::shouldGLRender (SoGLRenderAction * action) [protected], [virtual]

This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. (translation: bestie, this is not for you, it's for the library's own business πŸ™ˆ)

Reimplemented from SoVRMLGeometry.

References coord, and SoVRMLGeometry::shouldGLRender().

Referenced by SoVRMLIndexedLineSet::GLRender().


πŸ¦‹ Member Data Documentation πŸ¦‹

SoSFNode SoVRMLVertexLine::coord

Should contain an SoVRMLCoordinate node. yes, that one. the coordinates go here πŸ’«

Referenced by SoVRMLIndexedLine::computeBBox(), doAction(), GLRender(), shouldGLRender(), and SoVRMLVertexLine().

SoSFNode SoVRMLVertexLine::color

Can contain an SoVRMLColor node if multiple colors are wanted. one color per line is for cowards, this is the multi-color option 🌈

Referenced by doAction(), SoVRMLIndexedLineSet::GLRender(), GLRender(), and SoVRMLVertexLine().

SoSFBool SoVRMLVertexLine::colorPerVertex

When TRUE, colors will be bound per vertex, otherwise per line. Default value is TRUE.

yes, the default is TRUE, so per-vertex is the vibe unless you say otherwise ✨

Referenced by SoVRMLVertexLine().


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Coin from the source code. (it wasn't a human, it was the machine, and honestly it ate πŸ’…)


and that's the whole page bestie! this was Coin, Version 2.5.0, page SoVRMLVertexLine(3) β€” go forth and render some lines, you absolute legend πŸŒΈπŸ’–πŸ¦‹

πŸ“¦ where this page comes from