55#ifndef _SO_INDEXED_TRIANGLE_SET_
56#define _SO_INDEXED_TRIANGLE_SET_
120 OVERALL, PER_FACE, PER_FACE_INDEXED, PER_VERTEX,
156 void setupNumTrisQuadsFaces();
180 static PMFS TriRenderFunc[32];
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_NODE_HEADER(className)
Non-abstract classes have everything abstract classes have, plus a way to create an instance.
Abstract base class for all actions.
Element that stores the current coordinates.
Base class for describing detail information about a shape node.
Renders a scene graph using OpenGL.
Abstract base class for all indexed vertex-based shapes.
virtual void notify(SoNotList *list)
Keep indices up to date if things change.
Indexed set of triangles.
virtual bool generateDefaultNormals(SoState *state, SoNormalBundle *nb)
Generates default normals using the given normal bundle.
virtual void GLRender(SoGLRenderAction *action)
Implements actions.
virtual void generatePrimitives(SoAction *action)
Generates triangles representing faces.
SoIndexedTriangleSet()
Constructor.
SoSFBool sendAdjacency
flag that defines if the GL_TRIANGLES_ADJACENCY draw mode is used
Binding
This enum is used to indicate the current material or normal binding.
virtual SoDetail * createTriangleDetail(SoRayPickAction *action, const SoPrimitiveVertex *v1, const SoPrimitiveVertex *v2, const SoPrimitiveVertex *v3, SoPickedPoint *pp)
Overrides standard method to create an SoFaceDetail instance.
Bundle that allows shapes to deal with normals and normal bindings more easily.
Holds a list of SoNotRec notification records.
Represents point on surface of picked object.
Represents a vertex of a generated primitive.
Intersects objects with a ray cast into scene.
Field containing a single boolean value.
This elements stores some information shapes need to quickly determine whether or not they should ren...
An SoState collects and holds state while traversing a scene graph.
SoVertexArrayIndexer is a class that manages rendering of indexed primitives using Vertex Array rende...