1 #ifndef COIN_SOMARKERSET_H 2 #define COIN_SOMARKERSET_H 36 #include <Inventor/nodes/SoSubNode.h> 37 #include <Inventor/nodes/SoPointSet.h> 38 #include <Inventor/fields/SoMFInt32.h> 46 static void initClass(
void);
51 CROSS_5_5, PLUS_5_5, MINUS_5_5, SLASH_5_5, BACKSLASH_5_5, BAR_5_5,
52 STAR_5_5, Y_5_5, LIGHTNING_5_5, WELL_5_5,
54 CIRCLE_LINE_5_5, SQUARE_LINE_5_5, DIAMOND_LINE_5_5, TRIANGLE_LINE_5_5,
55 RHOMBUS_LINE_5_5, HOURGLASS_LINE_5_5, SATELLITE_LINE_5_5,
56 PINE_TREE_LINE_5_5, CAUTION_LINE_5_5, SHIP_LINE_5_5,
58 CIRCLE_FILLED_5_5, SQUARE_FILLED_5_5, DIAMOND_FILLED_5_5,
59 TRIANGLE_FILLED_5_5, RHOMBUS_FILLED_5_5, HOURGLASS_FILLED_5_5,
60 SATELLITE_FILLED_5_5, PINE_TREE_FILLED_5_5, CAUTION_FILLED_5_5,
63 CROSS_7_7, PLUS_7_7, MINUS_7_7, SLASH_7_7, BACKSLASH_7_7, BAR_7_7,
64 STAR_7_7, Y_7_7, LIGHTNING_7_7, WELL_7_7,
66 CIRCLE_LINE_7_7, SQUARE_LINE_7_7, DIAMOND_LINE_7_7, TRIANGLE_LINE_7_7,
67 RHOMBUS_LINE_7_7, HOURGLASS_LINE_7_7, SATELLITE_LINE_7_7,
68 PINE_TREE_LINE_7_7, CAUTION_LINE_7_7, SHIP_LINE_7_7,
70 CIRCLE_FILLED_7_7, SQUARE_FILLED_7_7, DIAMOND_FILLED_7_7,
71 TRIANGLE_FILLED_7_7, RHOMBUS_FILLED_7_7, HOURGLASS_FILLED_7_7,
72 SATELLITE_FILLED_7_7, PINE_TREE_FILLED_7_7, CAUTION_FILLED_7_7,
75 CROSS_9_9, PLUS_9_9, MINUS_9_9, SLASH_9_9, BACKSLASH_9_9, BAR_9_9,
76 STAR_9_9, Y_9_9, LIGHTNING_9_9, WELL_9_9,
78 CIRCLE_LINE_9_9, SQUARE_LINE_9_9, DIAMOND_LINE_9_9, TRIANGLE_LINE_9_9,
79 RHOMBUS_LINE_9_9, HOURGLASS_LINE_9_9, SATELLITE_LINE_9_9,
80 PINE_TREE_LINE_9_9, CAUTION_LINE_9_9, SHIP_LINE_9_9,
82 CIRCLE_FILLED_9_9, SQUARE_FILLED_9_9, DIAMOND_FILLED_9_9,
83 TRIANGLE_FILLED_9_9, RHOMBUS_FILLED_9_9, HOURGLASS_FILLED_9_9,
84 SATELLITE_FILLED_9_9, PINE_TREE_FILLED_9_9, CAUTION_FILLED_9_9,
94 static int getNumDefinedMarkers(
void);
95 static void addMarker(
int idx,
const SbVec2s & size,
96 const unsigned char * bytes, SbBool isLSBFirst = TRUE,
97 SbBool isUpToDown = TRUE);
98 static SbBool getMarker(
int idx,
SbVec2s & size,
99 const unsigned char *& bytes, SbBool & isLSBFirst);
100 static SbBool removeMarker(
int idx);
101 static SbBool isMarkerBitSet(
int idx,
int bitNumber);
111 Binding findMaterialBinding(
SoState *
const state)
const;
114 #endif // !COIN_SOMARKERSET_H The SoBase class is the top-level superclass for a number of class-hierarchies.
Definition: SoBase.h:45
MarkerType
Definition: SoMarkerSet.h:49
#define SO_NODE_HEADER(classname)
virtual void GLRender(SoGLRenderAction *action)
Definition: SoPointSet.cpp:198
The SoMFInt32 class is a container for 32-bit integer values.
Definition: SoMFInt32.h:39
virtual void getPrimitiveCount(SoGetPrimitiveCountAction *action)
Definition: SoPointSet.cpp:328
The SoState class manages the Coin scenegraph traversal state data.
Definition: SoState.h:44
The SoGetPrimitiveCountAction class counts the primitives in a scene.
Definition: SoGetPrimitiveCountAction.h:44
The SoMarkerSet class displays a set of 2D bitmap markers in 3D.
Definition: SoMarkerSet.h:40
The SoPointSet class is used to display a set of 3D points.
Definition: SoPointSet.h:40
The SbVec2s class is a 2 dimensional vector with short integer coordinates.
Definition: SbVec2s.h:51
SoMFInt32 markerIndex
Definition: SoMarkerSet.h:89
The SoGLRenderAction class renders the scene graph with OpenGL calls.
Definition: SoGLRenderAction.h:50