SoIndexedMarkerSet(3)

๐Ÿ“ฆ version 3.1.3, in fedora 43, fedora 44

โœจ SoIndexedMarkerSet โœจ

okay bestie, come sit with me ๐Ÿ’– this is SoIndexedMarkerSet(3) from the Library Functions Manual โ€” yes, section 3, the iconic one, and she's long, so buckle up ๐ŸŽ€


๐ŸŒธ NAME ๐ŸŒธ

SoIndexedMarkerSet โ€” the class whose whole job is displaying a set of bitmap markers at 3D positions ๐Ÿฆ‹ like little sparkles pinned to points in space, obsessed.


๐ŸŽ€ SYNOPSIS ๐ŸŽ€

#include <Inventor/nodes/SoIndexedMarkerSet.h>

and the family tea: she Inherits SoIndexedPointSet ๐Ÿ‘‘ generational wealth fr fr.


๐Ÿ’– Public Member Functions ๐Ÿ’–

the ones that are actually hers, living in her own house:

  • virtual SoType getTypeId (void) const โ€” hands you her runtime type id, the little name tag at the party ๐Ÿท๏ธ
  • SoIndexedMarkerSet (void) โ€” the constructor, she's being born, slay โœจ
  • virtual void GLRender (SoGLRenderAction *action) โ€” the render moment, main character energy only ๐Ÿ”ฅ
  • virtual void notify (SoNotList *list) โ€” the "hey something changed" scream into the group chat ๐Ÿ“ฃ

๐Ÿ’œ inherited from SoIndexedPointSet

  • SoIndexedPointSet (void) โ€” her parent's constructor, the origin story ๐ŸŒฑ
  • virtual void getBoundingBox (SoGetBoundingBoxAction *action) โ€” asks the parent for the bounding box ๐Ÿ“ฆ
  • virtual void getPrimitiveCount (SoGetPrimitiveCountAction *action) โ€” counts the primitives, she's doing inventory ๐Ÿงฎ

๐Ÿ’œ inherited from SoVertexShape

  • virtual void write (SoWriteAction *action) โ€” writes herself out to file, journaling era ๐Ÿ“

๐Ÿ’œ inherited from SoShape

  • virtual SbBool affectsState (void) const โ€” does she mess with the state? returns the answer ๐Ÿซถ
  • virtual void rayPick (SoRayPickAction *action) โ€” ray picking, very targeted ๐Ÿ’…
  • virtual void callback (SoCallbackAction *action) โ€” the callback hookup ๐Ÿ”—
  • const SoBoundingBoxCache * getBoundingBoxCache (void) const โ€” grabs the cached bounding box, efficiency queen ๐Ÿ’…

๐Ÿ’œ inherited from SoNode

  • void setOverride (const SbBool state) โ€” flips the override bit ๐ŸŽš๏ธ
  • SbBool isOverride (void) const โ€” are we overriding? asking for a friend ๐Ÿ™ˆ
  • void setNodeType (const NodeType type) โ€” sets the node type ๐ŸŒˆ
  • NodeType getNodeType (void) const โ€” gets the node type back โญ
  • virtual SoNode * copy (SbBool copyconnections=FALSE) const โ€” clone her, copyconnections defaults to FALSE ๐Ÿงฌ
  • virtual void doAction (SoAction *action) โ€” do the action, just do it ๐Ÿ’ช
  • virtual void GLRenderBelowPath (SoGLRenderAction *action) โ€” render below the path ๐Ÿ›ฃ๏ธ
  • virtual void GLRenderInPath (SoGLRenderAction *action) โ€” render in the path ๐Ÿ›ค๏ธ
  • virtual void GLRenderOffPath (SoGLRenderAction *action) โ€” render off the path, she's off the rails a lil ๐Ÿš€
  • virtual void getMatrix (SoGetMatrixAction *action) โ€” matrix reveal ๐Ÿ”ฎ
  • virtual void handleEvent (SoHandleEventAction *action) โ€” handles the event, so responsible ๐Ÿซก
  • virtual void pick (SoPickAction *action) โ€” pick it ๐ŸŽฏ
  • virtual void search (SoSearchAction *action) โ€” search party ๐Ÿ”
  • virtual void audioRender (SoAudioRenderAction *action) โ€” audio render, she's got a soundtrack ๐ŸŽง
  • virtual void grabEventsSetup (void) โ€” setting up the event grab ๐Ÿซณ
  • virtual void grabEventsCleanup (void) โ€” cleaning up the event grab, tidy ๐Ÿงน
  • virtual void startNotify (void) โ€” kicks off the notify chain ๐Ÿ“ข
  • uint32_t getNodeId (void) const โ€” returns the node id as a uint32_t ๐Ÿ†”
  • virtual SoChildList * getChildren (void) const โ€” where my kids at ๐Ÿ˜ญ
  • virtual void writeInstance (SoOutput *out) โ€” writes this instance out โœ๏ธ
  • virtual SoNode * addToCopyDict (void) const โ€” adds herself to the copy dictionary ๐Ÿ“š
  • virtual void copyContents (const SoFieldContainer *from, SbBool copyconnections) โ€” copies the contents over ๐Ÿซ™
  • virtual SoFieldContainer * copyThroughConnection (void) const โ€” copies through the connection ๐Ÿ”Œ

๐Ÿ’œ inherited from SoFieldContainer

  • void setToDefaults (void) โ€” reset to factory settings, fresh start โœจ
  • SbBool hasDefaultValues (void) const โ€” are all the values default? ๐Ÿ‘€
  • SbBool fieldsAreEqual (const SoFieldContainer *container) const โ€” comparing fields with another container, is it a match? ๐Ÿ’ž
  • void copyFieldValues (const SoFieldContainer *container, SbBool copyconnections=FALSE) โ€” copies the field values, copyconnections defaults to FALSE ๐Ÿ“‹
  • SbBool set (const char *const fielddata) โ€” set from a field data string ๐ŸŽ€
  • void get (SbString &fielddata) โ€” get it back into a string ๐Ÿ“ฅ
  • virtual int getFields (SoFieldList &l) const โ€” dumps the fields into a list ๐Ÿ—‚๏ธ
  • virtual int getAllFields (SoFieldList &l) const โ€” all of them, no crumbs left ๐Ÿ’ฏ
  • virtual SoField * getField (const SbName &name) const โ€” fetch a field by name ๐Ÿ”Ž
  • virtual SoField * getEventIn (const SbName &name) const โ€” grab an event-in by name ๐Ÿ“จ
  • virtual SoField * getEventOut (const SbName &name) const โ€” grab an event-out by name ๐Ÿ“ค
  • SbBool getFieldName (const SoField *const field, SbName &name) const โ€” name that field ๐Ÿท๏ธ
  • SbBool enableNotify (const SbBool flag) โ€” turn notifications on or off ๐ŸŽš๏ธ
  • SbBool isNotifyEnabled (void) const โ€” are notifications on? asking ๐Ÿซถ
  • SbBool set (const char *fielddata, SoInput *input) โ€” set with field data and a SoInput ๐Ÿ“ฅ
  • void get (SbString &fielddata, SoOutput *out) โ€” get with a SoOutput ๐Ÿ“ค
  • virtual SbBool validateNewFieldValue (SoField *field, void *newval) โ€” is this new value even valid, bestie? โœ…
  • virtual void addWriteReference (SoOutput *out, SbBool isfromfield=FALSE) โ€” adds a write reference, isfromfield defaults to FALSE ๐Ÿงพ
  • SbBool getIsBuiltIn (void) const โ€” is she built in? ๐Ÿ‘‘
  • virtual void getFieldsMemorySize (size_t &managed, size_t &unmanaged) const โ€” memory accounting, split into managed and unmanaged ๐Ÿง 
  • void setUserData (void *userdata) const โ€” attach your own user data ๐ŸŽ’
  • void * getUserData (void) const โ€” get that user data back ๐ŸŽ’

๐Ÿ’œ inherited from SoBase

  • void ref (void) const โ€” ref count up โฌ†๏ธ
  • void unref (void) const โ€” ref count down โฌ‡๏ธ
  • void unrefNoDelete (void) const โ€” unref but do not delete ๐Ÿšซ
  • int32_t getRefCount (void) const โ€” how many refs we got? ๐Ÿ”ข
  • void touch (void) โ€” touch her, she notices ๐Ÿ‘†
  • SbBool isOfType (SoType type) const โ€” are you that type? ๐Ÿง
  • virtual SbName getName (void) const โ€” what's her name? ๐ŸŒธ
  • virtual void setName (const SbName &newname) โ€” rename her ๐Ÿ’ซ
  • void addAuditor (void *const auditor, const SoNotRec::Type type) โ€” add an auditor to the watch list ๐Ÿ‘๏ธ
  • void removeAuditor (void *const auditor, const SoNotRec::Type type) โ€” remove that auditor ๐Ÿšช
  • const SoAuditorList & getAuditors (void) const โ€” the whole auditor list, everyone watching ๐Ÿ‘€
  • SbBool shouldWrite (void) โ€” should she write? ๐Ÿค”
  • void assertAlive (void) const โ€” confirming she's alive, dramatic but fair ๐Ÿ˜ญ

๐Ÿ’œ Static Public Member Functions ๐Ÿ’œ

  • static SoType getClassTypeId (void) โ€” the class type id, static edition ๐Ÿท๏ธ
  • static void initClass (void) โ€” boot her up โšก

๐Ÿ’– inherited from SoIndexedPointSet

  • static SoType getClassTypeId (void) โ€” class type id ๐Ÿท๏ธ
  • static void initClass (void) โ€” init the class โšก

๐Ÿ’– inherited from SoIndexedShape

  • static SoType getClassTypeId (void) โ€” class type id ๐Ÿท๏ธ
  • static void initClass (void) โ€” init the class โšก

๐Ÿ’– inherited from SoVertexShape

  • static SoType getClassTypeId (void) โ€” class type id ๐Ÿท๏ธ
  • static void initClass (void) โ€” init the class โšก

๐Ÿ’– inherited from SoShape

  • static SoType getClassTypeId (void) โ€” class type id ๐Ÿท๏ธ
  • static void initClass (void) โ€” init the class โšก
  • static void getScreenSize (SoState *const state, const SbBox3f &boundingbox, SbVec2s &rectsize) โ€” screen size from a state and bounding box into a SbVec2s ๐Ÿ–ฅ๏ธ
  • static float getDecimatedComplexity (SoState *state, float complexity) โ€” decimated complexity as a float ๐Ÿ“‰

๐Ÿ’– inherited from SoNode

  • static uint32_t getCompatibilityTypes (const SoType &nodetype) โ€” compat types as a uint32_t ๐Ÿค
  • static SoType getClassTypeId (void) โ€” class type id ๐Ÿท๏ธ
  • static SoNode * getByName (const SbName &name) โ€” find a node by name ๐Ÿ”
  • static int getByName (const SbName &name, SoNodeList &l) โ€” find by name, dump into a SoNodeList, return an int ๐Ÿ—‚๏ธ
  • static void initClass (void) โ€” init the class โšก
  • static void initClasses (void) โ€” init all the classes, plural, we're doing this ๐ŸŒˆ
  • static uint32_t getNextNodeId (void) โ€” the next node id, as a uint32_t ๐Ÿ†”
  • static int getActionMethodIndex (const SoType type) โ€” action method index ๐ŸŽฏ
  • static void getBoundingBoxS (SoAction *action, SoNode *node) โ€” static bounding box ๐ŸŽ
  • static void GLRenderS (SoAction *action, SoNode *node) โ€” static GL render ๐ŸŽจ
  • static void callbackS (SoAction *action, SoNode *node) โ€” static callback ๐Ÿ“ž
  • static void getMatrixS (SoAction *action, SoNode *node) โ€” static matrix ๐Ÿ”ฎ
  • static void handleEventS (SoAction *action, SoNode *node) โ€” static event handling ๐Ÿซก
  • static void pickS (SoAction *action, SoNode *node) โ€” static pick ๐ŸŽฏ
  • static void rayPickS (SoAction *action, SoNode *node) โ€” static ray pick ๐Ÿ’ฅ
  • static void searchS (SoAction *action, SoNode *node) โ€” static search ๐Ÿ”
  • static void writeS (SoAction *action, SoNode *node) โ€” static write โœ๏ธ
  • static void audioRenderS (SoAction *action, SoNode *node) โ€” static audio render ๐ŸŽง
  • static void getPrimitiveCountS (SoAction *action, SoNode *node) โ€” static primitive count ๐Ÿงฎ

๐Ÿ’– inherited from SoFieldContainer

  • static void initClass (void) โ€” init the class โšก
  • static SoType getClassTypeId (void) โ€” class type id ๐Ÿท๏ธ
  • static void cleanupClass (void) โ€” cleanup time, tidy up ๐Ÿงน
  • static void initCopyDict (void) โ€” init the copy dictionary ๐Ÿ“š
  • static void addCopy (const SoFieldContainer *orig, const SoFieldContainer *copy) โ€” add an origโ†’copy pair ๐Ÿงฌ
  • static SoFieldContainer * checkCopy (const SoFieldContainer *orig) โ€” check the copy ๐Ÿ”Ž
  • static SoFieldContainer * findCopy (const SoFieldContainer *orig, const SbBool copyconnections) โ€” find the copy, with copyconnections ๐Ÿ—บ๏ธ
  • static void copyDone (void) โ€” copy's done, wrap it up โœ…

๐Ÿ’– inherited from SoBase

  • static void initClass (void) โ€” init the class โšก
  • static SoType getClassTypeId (void) โ€” class type id ๐Ÿท๏ธ
  • static void addName (SoBase *const base, const char *const name) โ€” add a name ๐Ÿท๏ธ
  • static void removeName (SoBase *const base, const char *const name) โ€” remove a name ๐Ÿšซ
  • static void incrementCurrentWriteCounter (void) โ€” write counter up โฌ†๏ธ
  • static void decrementCurrentWriteCounter (void) โ€” write counter down โฌ‡๏ธ
  • static SoBase * getNamedBase (const SbName &name, SoType type) โ€” get a named base by name and type ๐Ÿ”
  • static int getNamedBases (const SbName &name, SoBaseList &baselist, SoType type) โ€” get named bases into a SoBaseList ๐Ÿ—‚๏ธ
  • static SbBool read (SoInput *input, SoBase *&base, SoType expectedtype) โ€” read it in, with an expected type ๐Ÿ“–
  • static void setInstancePrefix (const SbString &c) โ€” set the instance prefix ๐Ÿ”ค
  • static void setTraceRefs (SbBool trace) โ€” set trace refs ๐Ÿพ
  • static SbBool getTraceRefs (void) โ€” get trace refs ๐Ÿพ
  • static SbBool connectRoute (SoInput *input, const SbName &fromnodename, const SbName &fromfieldname, const SbName &tonodename, const SbName &tofieldname) โ€” wire up a route from one node/field to another ๐Ÿ”Œ
  • static SbBool readRoute (SoInput *input) โ€” read a route ๐Ÿ“–

๐Ÿฆ‹ Public Attributes ๐Ÿฆ‹

  • SoMFInt32 markerIndex โ€” the marker index field, an SoMFInt32, and she's right there for the public ๐Ÿ’…

๐ŸŒธ inherited from SoIndexedShape

  • SoMFInt32 coordIndex โ€” coordinate index ๐Ÿงญ
  • SoMFInt32 materialIndex โ€” material index ๐ŸŽจ
  • SoMFInt32 normalIndex โ€” normal index ๐Ÿ“
  • SoMFInt32 textureCoordIndex โ€” texture coordinate index ๐Ÿงต

๐ŸŒธ inherited from SoVertexShape

  • SoSFNode vertexProperty โ€” the vertex property node ๐ŸŽ€

๐ŸŒˆ Protected Member Functions ๐ŸŒˆ

the ones behind the velvet rope, members-only:

  • virtual const SoFieldData * getFieldData (void) const โ€” hands back the field data ๐Ÿ—ƒ๏ธ
  • virtual ~SoIndexedMarkerSet () โ€” the destructor, protected, she's shy ๐Ÿ™ˆ

๐ŸŽ€ inherited from SoIndexedPointSet

  • virtual ~SoIndexedPointSet () โ€” destructor, protected ๐Ÿซง
  • virtual void generatePrimitives (SoAction *action) โ€” generates the primitives โœจ
  • virtual SbBool generateDefaultNormals (SoState *, SoNormalCache *nc) โ€” generates default normals into an SoNormalCache ๐Ÿ“
  • virtual SbBool generateDefaultNormals (SoState *state, SoNormalBundle *bundle) โ€” same job but with an SoNormalBundle ๐Ÿ“
  • Binding findNormalBinding (SoState *const state) const โ€” finds the normal binding ๐Ÿ”—
  • Binding findMaterialBinding (SoState *const state) const โ€” finds the material binding ๐Ÿ”—
  • Binding findTextureBinding (SoState *const state) const โ€” finds the texture binding ๐Ÿ”—

๐ŸŽ€ inherited from SoIndexedShape

  • SoIndexedShape (void) โ€” constructor, protected ๐Ÿ”’
  • virtual ~SoIndexedShape () โ€” destructor ๐Ÿซง
  • virtual void computeBBox (SoAction *action, SbBox3f &box, SbVec3f &center) โ€” computes the bounding box and center ๐Ÿ“ฆ
  • int getNumVerts (const int startCoord) โ€” number of verts from a starting coord ๐Ÿ”ข
  • void setupIndices (const int numParts, const int numFaces, const SbBool needNormals, const SbBool needTexCoords) โ€” sets up the indices with part count, face count, and whether normals and tex coords are needed ๐Ÿงฎ
  • const int32_t * getNormalIndices (void) โ€” pointer to the normal indices ๐Ÿ“
  • const int32_t * getColorIndices (void) โ€” pointer to the color indices ๐ŸŽจ
  • const int32_t * getTexCoordIndices (void) โ€” pointer to the tex coord indices ๐Ÿงต
  • SbBool getVertexData (SoState *state, const SoCoordinateElement *&coords, const SbVec3f *&normals, const int32_t *&cindices, const int32_t *&nindices, const int32_t *&tindices, const int32_t *&mindices, int &numcindices, const SbBool needNormals, SbBool &normalCacheUsed) โ€” the whole vertex data bundle: coords, normals, color/normal/texcoord/material indices, the coord index count, whether normals are needed, and whether the normal cache got used ๐ŸŽ

๐ŸŽ€ inherited from SoVertexShape

  • SoVertexShape (void) โ€” constructor, protected ๐Ÿ”’
  • virtual ~SoVertexShape () โ€” destructor ๐Ÿซง
  • virtual SbBool shouldGLRender (SoGLRenderAction *action) โ€” should this even GL render? asking first ๐Ÿ™‹
  • void setNormalCache (SoState *const state, const int num, const SbVec3f *normals) โ€” stashes num normals into the normal cache ๐Ÿ“ฆ
  • SoNormalCache * getNormalCache (void) const โ€” grabs the normal cache ๐Ÿ“ฆ
  • SoNormalCache * generateAndReadLockNormalCache (SoState *const state) โ€” generates and read-locks the normal cache ๐Ÿ”
  • void getVertexData (SoState *state, const SoCoordinateElement *&coords, const SbVec3f *&normals, const SbBool neednormals) โ€” vertex data, this time with a neednormals flag ๐ŸŽ
  • void readLockNormalCache (void) โ€” read-lock the normal cache ๐Ÿ”
  • void readUnlockNormalCache (void) โ€” read-*un*lock the normal cache, release her ๐Ÿ”“

and bestie we are not done yet, there's more coming, don't you dare close the tab ๐Ÿ’–

๐ŸŒธ Protected Member Functions inherited from SoShape ๐ŸŒธ

  • SoShape (void)
  • virtual ~SoShape ()
  • float getComplexityValue (SoAction *action)
  • void beginSolidShape (SoGLRenderAction *action)
  • void endSolidShape (SoGLRenderAction *action)
  • void GLRenderBoundingBox (SoGLRenderAction *action)
  • SbBool shouldPrimitiveCount (SoGetPrimitiveCountAction *action)
  • SbBool shouldRayPick (SoRayPickAction *const action)
  • void computeObjectSpaceRay (SoRayPickAction *const action)
  • void computeObjectSpaceRay (SoRayPickAction *const action, const SbMatrix &matrix)
  • virtual SoDetail * createTriangleDetail (SoRayPickAction *action, const SoPrimitiveVertex *v1, const SoPrimitiveVertex *v2, const SoPrimitiveVertex *v3, SoPickedPoint *pp)
  • virtual SoDetail * createLineSegmentDetail (SoRayPickAction *action, const SoPrimitiveVertex *v1, const SoPrimitiveVertex *v2, SoPickedPoint *pp)
  • virtual SoDetail * createPointDetail (SoRayPickAction *action, const SoPrimitiveVertex *v, SoPickedPoint *pp)
  • void invokeTriangleCallbacks (SoAction *const action, const SoPrimitiveVertex *const v1, const SoPrimitiveVertex *const v2, const SoPrimitiveVertex *const v3)
  • void invokeLineSegmentCallbacks (SoAction *const action, const SoPrimitiveVertex *const v1, const SoPrimitiveVertex *const v2)
  • void invokePointCallbacks (SoAction *const action, const SoPrimitiveVertex *const v)
  • void beginShape (SoAction *const action, const TriangleShape shapetype, SoDetail *const detail=NULL)
  • void shapeVertex (const SoPrimitiveVertex *const v)
  • void endShape (void)
  • void generateVertex (SoPrimitiveVertex *const pv, const SbVec3f &point, const SbBool useTexFunc, const SoTextureCoordinateElement *const tce, const float s, const float t, const SbVec3f &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)
  • SbBool startVertexArray (SoGLRenderAction *action, const SoCoordinateElement *coords, const SbVec3f *pervertexnormals, const SbBool texpervertex, const SbBool colorpervertex)
  • void finishVertexArray (SoGLRenderAction *action, const SbBool vbo, const SbBool normpervertex, const SbBool texpervertex, const SbBool colorpervertex)

๐Ÿฆ‹ Protected Member Functions inherited from SoNode ๐Ÿฆ‹

  • SoNode (void)
  • virtual ~SoNode ()
  • virtual SbBool readInstance (SoInput *in, unsigned short flags)

๐ŸŽ€ Protected Member Functions inherited from SoFieldContainer ๐ŸŽ€

  • SoFieldContainer (void)
  • virtual ~SoFieldContainer ()

๐Ÿ’œ Protected Member Functions inherited from SoBase ๐Ÿ’œ

  • SoBase (void)
  • virtual ~SoBase ()
  • virtual void destroy (void)
  • SbBool hasMultipleWriteRefs (void) const
  • SbBool writeHeader (SoOutput *out, SbBool isgroup, SbBool isengine) const
  • void writeFooter (SoOutput *out) const
  • virtual const char * getFileFormatName (void) const

โœจ Static Protected Member Functions โœจ

  • static const SoFieldData ** getFieldDataPtr (void)

โœจ Static Protected Member Functions inherited from SoIndexedPointSet โœจ

  • static const SoFieldData ** getFieldDataPtr (void)

โœจ Static Protected Member Functions inherited from SoIndexedShape โœจ

  • static const SoFieldData ** getFieldDataPtr (void)
  • static SbBool areTexCoordsIndexed (SoAction *action)

โœจ Static Protected Member Functions inherited from SoVertexShape โœจ

  • static const SoFieldData ** getFieldDataPtr (void)

โœจ Static Protected Member Functions inherited from SoShape โœจ

  • static const SoFieldData ** getFieldDataPtr (void)

โœจ Static Protected Member Functions inherited from SoNode โœจ

  • static const SoFieldData ** getFieldDataPtr (void)
  • static void setNextActionMethodIndex (int index)
  • static int getNextActionMethodIndex (void)
  • static void incNextActionMethodIndex (void)
  • static void setCompatibilityTypes (const SoType &nodetype, const uint32_t bitmask)

โœจ Static Protected Member Functions inherited from SoBase โœจ

  • static uint32_t getCurrentWriteCounter (void)
  • static void staticDataLock (void)
  • static void staticDataUnlock (void)

๐ŸŒˆ 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, COIN_3_0 = 0x8000, INVENTOR_6_0 = 0x10000 }

Protected Types inherited from SoIndexedPointSet

enum Binding { OVERALL, PER_VERTEX, PER_VERTEX_INDEXED }

Protected Types inherited from SoBase

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

Protected Attributes inherited from SoIndexedPointSet

  • SoVertexArrayIndexer * vaindexer

Protected Attributes inherited from SoNode

  • uint32_t uniqueId

Protected Attributes inherited from SoFieldContainer

  • SbBool isBuiltIn

Static Protected Attributes inherited from SoNode

  • static uint32_t nextUniqueId = 1
  • static int nextActionMethodIndex = 0

โœจ Detailed Description โœจ

The SoIndexedMarkerSet class is used to display a set of bitmap markers at 3D positions. ๐Ÿ’–

This node either uses the coordinates currently on the state (typically set up by a leading SoCoordinate3 node in the scenegraph) or from a SoVertexProperty node attached to this node to render a set of 3D points.

To add new markers, use the static functions in SoMarkerSet.

Here's a simple usage example of SoIndexedMarkerSet in a scenegraph:

#Inventor V2.1 ascii

Separator {
   Material {
      diffuseColor [
       1 0 0, 0 1 0, 0 0 1, 1 1 0, 1 0 1, 1 1 1, 1 0.8 0.6, 0.6 0.8 1
      ]
   }
   MaterialBinding { value PER_VERTEX_INDEXED }

   Coordinate3 {
      point [
       -1 1 0, -1 -1 0, 1 -1 0, 1 1 0, 0 2 -1, -2 0 -1, 0 -2 -1, 2 0 -1
      ]
   }

   IndexedMarkerSet {
      coordIndex [0, 1, 2, 3, 4, 5, 6, 7]
      markerIndex [0, 1, 0, 1, 0, 1, 0, 1]
   }
}

FILE FORMAT/DEFAULTS:

IndexedMarkerSet {
  vertexProperty        NULL
  coordIndex    0
  materialIndex         -1
  normalIndex   -1
  textureCoordIndex     -1
  markerIndex   -1
}
Since: TGS Inventor 6.0, Coin 3.1 ๐ŸŒŸ

๐ŸŽ€ Constructor & Destructor Documentation ๐ŸŽ€

SoIndexedMarkerSet::SoIndexedMarkerSet (void )

Constructor. ๐Ÿ—๏ธ

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

Destructor. ๐Ÿ’€

๐Ÿ”ฅ Member Function Documentation ๐Ÿ”ฅ

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

Returns the type identification of an object derived from a class inheriting SoBase. This is used for run-time type checking and "downward" casting.

Usage example:

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

For application programmers wanting to extend the library with new nodes, engines, nodekits, draggers or others: this method needs to be overridden in all subclasses. This is 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.

Reimplemented from SoIndexedPointSet.

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

Returns a pointer to the class-wide field data storage object for this instance. If no fields are present, returns NULL.

Reimplemented from SoIndexedPointSet.

void SoIndexedMarkerSet::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 wants to throw geometry primitives at OpenGL overrides this method.

Reimplemented from SoIndexedPointSet.

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

Notifies all auditors for this instance when changes are made.

Reimplemented from SoIndexedPointSet.

๐Ÿ‘‘ Author ๐Ÿ‘‘

Generated automatically by Doxygen for Coin from the source code.


That's the whole vibe, bestie! This page is from Coin, Version 3.1.3, and it's the SoIndexedMarkerSet(3) manpage. Stay iconic! ๐Ÿ’…โœจ

๐Ÿ“ฆ where this page comes from