66#define SO_FACE_SET_USE_REST_OF_VERTICES (-1)
224 void setupNumTrisQuadsFaces();
227 int numTris, numQuads, numFaces, totalNumVertices;
231 bool nvNotifyEnabled;
268 static PMFS TriRenderFunc[32];
269 static PMFS QuadRenderFunc[32];
270 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.
Polygonal face shape node.
Binding
This enum is used to indicate the current material or normal binding.
virtual bool generateDefaultNormals(SoState *state, SoNormalBundle *nb)
Generates default normals using the given normal bundle.
SoSFBool sendAdjacency
flag that defines if the GL_TRIANGLES_ADJACENCY draw mode is used (MeVis Only) (this only applies to ...
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)
Computes bounding box of face set.
virtual SoDetail * createTriangleDetail(SoRayPickAction *action, const SoPrimitiveVertex *v1, const SoPrimitiveVertex *v2, const SoPrimitiveVertex *v3, SoPickedPoint *pp)
Overrides standard method to create an SoFaceDetail instance.
virtual void GLRender(SoGLRenderAction *action)
Implement actions.
SoMFInt32 numVertices
Number of vertices per face.
virtual void generatePrimitives(SoAction *action)
Generates triangles representing faces.
SoFaceSet()
Creates a face set node with default settings.
Renders a scene graph using OpenGL.
Multiple-value field containing any number of int32_t integers.
Abstract base class for all non-indexed vertex-based shapes.
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.
virtual void notify(SoNotList *list)
Redefines this to invalidate normal cache.