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,
134 const SbBool useTexFunc,
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 The SbVec2f class is a 2 dimensional vector with floating point coordinates.
Definition: SbVec2f.h:49
The SoBase class is the top-level superclass for a number of class-hierarchies.
Definition: SoBase.h:45
The SoRayPickAction class does ray intersection with scene graphs.
Definition: SoRayPickAction.h:50
virtual void notify(SoNotList *l)
Definition: SoNode.cpp:461
virtual void getPrimitiveCount(SoGetPrimitiveCountAction *action)
Definition: SoNode.cpp:894
The SoPrimitiveVertex class represents a single vertex of a generated primitive.
Definition: SoPrimitiveVertex.h:43
The SoMaterialBundle class simplifies material handling.
Definition: SoMaterialBundle.h:42
The SbBox3f class is an abstraction for an axis aligned 3 dimensional box.
Definition: SbBox3f.h:46
The SoMultiTextureCoordinateElement class is yet to be documented.
Definition: SoMultiTextureCoordinateElement.h:48
virtual SbBool affectsState(void) const
Definition: SoNode.cpp:831
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:56
The SoState class manages the Coin scenegraph traversal state data.
Definition: SoState.h:44
The SoFaceDetail class is for storing detailed polygon information.
Definition: SoFaceDetail.h:38
virtual void rayPick(SoRayPickAction *action)
Definition: SoNode.cpp:1139
The SoBoundingBoxCache class is used to cache bounding boxes.
Definition: SoBoundingBoxCache.h:41
The SoCoordinateElement class is yet to be documented.
Definition: SoCoordinateElement.h:40
The SoAction class is the base class for all traversal actions.
Definition: SoAction.h:77
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:51
TriangleShape
Definition: SoShape.h:60
The SbMatrix class is a 4x4 dimensional representation of a matrix.
Definition: SbMatrix.h:47
The SoGetPrimitiveCountAction class counts the primitives in a scene.
Definition: SoGetPrimitiveCountAction.h:44
The SoGetBoundingBoxAction class calculates bounding boxes for nodes and subgraphs.
Definition: SoGetBoundingBoxAction.h:45
The SoPickedPoint class is used for specifying picked points.
Definition: SoPickedPoint.h:48
The SoCallbackAction class invokes callbacks at specific nodes.
Definition: SoCallbackAction.h:80
virtual void getBoundingBox(SoGetBoundingBoxAction *action)
Definition: SoNode.cpp:865
The SoShape class is the superclass for geometry shapes.
Definition: SoShape.h:52
virtual void GLRender(SoGLRenderAction *action)
Definition: SoNode.cpp:954
The SoNotList class is a list of SoNotRec notification records.
Definition: SoNotification.h:43
The SbVec2s class is a 2 dimensional vector with short integer coordinates.
Definition: SbVec2s.h:51
virtual void callback(SoCallbackAction *action)
Definition: SoNode.cpp:1026
#define SO_NODE_ABSTRACT_HEADER(classname)
The SoGLRenderAction class renders the scene graph with OpenGL calls.
Definition: SoGLRenderAction.h:50
The SoDetail class is the superclass for all classes storing detailed information about particular sh...
Definition: SoDetail.h:39