25#ifndef _SO_MARKER_SET_
26#define _SO_MARKER_SET_
38 class SoMarkerSetRenderer;
40class SoMarkerSizeCache;
439 const unsigned char *bytes,
440 const uint32_t *orderedRGBA,
458 const unsigned char *&bytes,
471 const unsigned char *&bytes,
472 const uint32_t *&orderedRGBA,
489 virtual void generatePrimitives(
SoAction *action);
504 static void initClass();
505 static void exitClass();
508 virtual void notify(SoNotList *list);
513 markerset::SoMarkerSetRenderer* m_MarkerSetShaderRenderer;
516 void updateRenderer(markerset::SoMarkerSetRenderer* renderer, SoNotList* list);
519 markerset::SoMarkerSetRenderer* chooseRenderer(
SoState* state);
523 SoMarkerSizeCache* m_markerSizeCache;
#define TRUE
Possible value of SbBool.
#define SO_NODE_HEADER(className)
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Portable mutex c...
Abstract base class for all actions.
Renders a scene graph using Open Inventor's Render Engine.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Counts number of...
Multiple-value field containing any number of floating point values.
Multiple-value field containing any number of int32_t integers.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Defines a custom...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Extension of Poi...
static void addMarker(int markerIndex, SoMarker *marker)
Add a new marker with index markerIndex using an existing marker definition.
SoSFFloat markerGlobalScale
Specifies a global scale factor applied to all markers.
static void addMarker(int markerIndex, const SbVec2s &size, const unsigned char *bytes, SbBool isLSBFirst=TRUE, SbBool isUpToDown=TRUE)
Add a new marker with index markerIndex .
static SbBool removeMarker(int markerIndex)
Remove the marker with index markerIndex .
static int getNumDefinedMarkers()
Return the number of defined markers.
static void addMarker(int markerIndex, const SbVec2s &size, const unsigned char *bytes, const uint32_t *orderedRGBA, SbBool isLSBFirst=TRUE, SbBool isUpToDown=TRUE)
Add a new colored marker with index markerIndex .
SoMarkerSet()
Constructor.
static SoMarker * getMarker(int markerIndex)
Retrieve the definition of the marker with index markerIndex .
static SbBool getMarker(int markerIndex, SbVec2s &size, const unsigned char *&bytes, SbBool &isLSBFirst)
Retrieve the description of the marker with index markerIndex .
static SbBool getMarker(int markerIndex, SbVec2s &size, const unsigned char *&bytes, const uint32_t *&orderedRGBA, SbBool &isLSBFirst)
Retrieve the description of the colored marker with index markerIndex .
SoMFInt32 markerIndex
Specifies the marker index (type of marker) for each marker.
@ SATELLITE_LINE_9_9
Satellite line 9x9.
@ CIRCLE_LINE_9_9
Circle line 9x9.
@ HOURGLASS_LINE_7_7
Hourglass line 7x7.
@ TRIANGLE_LINE_9_9
Triangle line 9x9.
@ SATELLITE_LINE_7_7
Satellite line 7x7.
@ HOURGLASS_LINE_9_9
Hourglass line 9x9.
@ CAUTION_LINE_7_7
Caution line 7x7.
@ CAUTION_FILLED_7_7
Caution filled 7x7.
@ HOURGLASS_FILLED_7_7
Hourglass filled 7x7.
@ SHIP_FILLED_7_7
Ship filled 7x7.
@ CAUTION_FILLED_5_5
Caution filled 5x5.
@ DIAMOND_LINE_7_7
Diamond line 7x7.
@ SHIP_FILLED_9_9
Ship filled 9x9.
@ SATELLITE_FILLED_9_9
Satellite filled 9x9.
@ SQUARE_LINE_5_5
Square line 5x5.
@ SHIP_FILLED_5_5
Ship filled 5x5.
@ BACKSLASH_7_7
Backslash 7x7.
@ CIRCLE_FILLED_7_7
Circle filled 7x7.
@ PINE_TREE_LINE_5_5
Pine line 5x5.
@ TRIANGLE_LINE_7_7
Triangle line 7x7.
@ HOURGLASS_LINE_5_5
Hourglass line 5x5.
@ PINE_TREE_FILLED_7_7
Pine filled 7x7.
@ LIGHTNING_5_5
Lightning 5x5.
@ DIAMOND_FILLED_9_9
Diamond filled 9x9.
@ PINE_TREE_LINE_9_9
Pine line 9x9.
@ SHIP_LINE_9_9
Ship line 9x9.
@ SQUARE_FILLED_9_9
Square filled 9x9.
@ CIRCLE_LINE_7_7
Circle line 7x7.
@ SQUARE_FILLED_7_7
Square filled 7x7.
@ HOURGLASS_FILLED_9_9
Hourglass filled 9x9.
@ SQUARE_LINE_9_9
Square line 9x9.
@ DIAMOND_FILLED_7_7
Diamond filled 7x7.
@ RHOMBUS_LINE_7_7
Rhombus line 7x7.
@ SHIP_LINE_7_7
Ship line 7x7.
@ DIAMOND_LINE_9_9
Diamond line 9x9.
@ DIAMOND_LINE_5_5
Diamond line 5x5.
@ DIAMOND_FILLED_5_5
Diamond filled 5x5.
@ SHIP_LINE_5_5
Ship line 5x5.
@ CAUTION_FILLED_9_9
Caution filled 9x9.
@ RHOMBUS_LINE_5_5
Rhombus line 5x5.
@ BACKSLASH_5_5
Backslash 5x5.
@ SATELLITE_FILLED_7_7
Satellite filled 7x7.
@ PINE_TREE_FILLED_9_9
Pine filled 9x9.
@ TRIANGLE_FILLED_9_9
Triangle filled 9x9.
@ CIRCLE_FILLED_9_9
Circle filled 9x9.
@ RHOMBUS_FILLED_5_5
Rhombus filled 5x5.
@ SATELLITE_FILLED_5_5
Satellite filled 5x5.
@ CIRCLE_FILLED_5_5
Circle filled 5x5.
@ LIGHTNING_9_9
Lightning 9x9.
@ TRIANGLE_FILLED_7_7
Triangle filled 7x7.
@ PINE_TREE_FILLED_5_5
Pine filled 5x5.
@ RHOMBUS_LINE_9_9
Rhombus line 9x9.
@ HOURGLASS_FILLED_5_5
Hourglass filled 5x5.
@ TRIANGLE_FILLED_5_5
Triangle filled 5x5.
@ RHOMBUS_FILLED_9_9
Rhombus filled 9x9.
@ RHOMBUS_FILLED_7_7
Rhombus filled 7x7.
@ SATELLITE_LINE_5_5
Satellite line 5x5.
@ CAUTION_LINE_9_9
Caution line 9x9.
@ LIGHTNING_7_7
Lightning 7x7.
@ SQUARE_FILLED_5_5
Square filled 5x5.
@ PINE_TREE_LINE_7_7
Pine line 7x7.
@ BACKSLASH_9_9
Backslash 9x9.
@ TRIANGLE_LINE_5_5
Triangle line 5x5.
@ CIRCLE_LINE_5_5
Circle line 5x5.
@ SQUARE_LINE_7_7
Square line 7x7.
@ CAUTION_LINE_5_5
Caution line 5x5.
SoMFFloat markerScale
Specifies the scale factor applied to each marker.
Intersects objects with a ray cast into scene.
Field containing a floating-point value.