55#ifndef _SO_INDEXED_FACE_SET_
56#define _SO_INDEXED_FACE_SET_
66#define SO_END_FACE_INDEX (-1)
176 OVERALL, PER_FACE, PER_FACE_INDEXED, PER_VERTEX,
212 void setupNumTrisQuadsFaces();
215 int numTris, numQuads, numFaces;
255 static PMFS TriRenderFunc[32];
256 static PMFS QuadRenderFunc[32];
257 static PMFS GenRenderFunc[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.
Indexed polygonal face shape node.
virtual bool generateDefaultNormals(SoState *state, SoNormalBundle *nb)
Generates default normals using the given normal bundle.
Binding
This enum is used to indicate the current material or normal binding.
virtual void GLRender(SoGLRenderAction *action)
Implements actions.
SoIndexedFaceSet()
Creates an indexed face set node with default settings.
virtual void generatePrimitives(SoAction *action)
Generates triangles representing faces.
virtual SoDetail * createTriangleDetail(SoRayPickAction *action, const SoPrimitiveVertex *v1, const SoPrimitiveVertex *v2, const SoPrimitiveVertex *v3, SoPickedPoint *pp)
Overrides standard method to create an SoFaceDetail instance.
Abstract base class for all indexed vertex-based shapes.
virtual void notify(SoNotList *list)
Keep indices up to date if things change.
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.
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...