36 #include <Inventor/nodes/SoSubNode.h>
38 #include <Inventor/SbMatrix.h>
39 #include <Inventor/SbVec2s.h>
40 #include <Inventor/SbBox3f.h>
58 static void initClass(
void);
61 TRIANGLE_STRIP, TRIANGLE_FAN, TRIANGLES, POLYGON,
63 QUADS, QUAD_STRIP, POINTS, LINES, LINE_STRIP
77 static void getScreenSize(
SoState *
const state,
const SbBox3f & boundingbox,
79 static float getDecimatedComplexity(
SoState * state,
float complexity);
86 float getComplexityValue(
SoAction * action);
87 virtual void generatePrimitives(
SoAction * action) = 0;
111 void invokeTriangleCallbacks(
SoAction *
const action,
115 void invokeLineSegmentCallbacks(
SoAction *
const action,
118 void invokePointCallbacks(
SoAction *
const action,
120 void beginShape(
SoAction *
const action,
const TriangleShape shapetype,
127 const SbBool useTexFunc,
128 const SoMultiTextureCoordinateElement *
const tce,
134 const SbBool useTexFunc,
135 const SoMultiTextureCoordinateElement *
const tce,
143 const SbVec3f * pervertexnormals,
144 const SbBool texpervertex,
145 const SbBool colorpervertex);
149 const SbBool normpervertex,
150 const SbBool texpervertex,
151 const SbBool colorpervertex);
153 class SoShapeP * pimpl;
157 friend class soshape_primdata;
158 friend class so_generate_prim_private;
161 #endif // !COIN_SOSHAPE_H