205 static int getBindIndex(
Binding binding,
int vert,
220 int totalNumVertices;
246 static PMQM renderFunc[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.
Base class for describing detail information about a shape node.
Renders a scene graph using OpenGL.
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.
Quadrilateral mesh shape node.
virtual void GLRender(SoGLRenderAction *action)
Implement actions.
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 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 generatePrimitives(SoAction *action)
Generates triangles representing rows.
SoSFInt32 verticesPerColumn
Number of vertices per column.
SoSFInt32 verticesPerRow
Number of vertices per row.
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)
Computes bounding box of mesh.
SoQuadMesh()
Creates a quadrilateral mesh node with default settings.
Intersects objects with a ray cast into scene.
Field containing a int32_t integer.
An SoState collects and holds state while traversing a scene graph.
virtual void notify(SoNotList *list)
Redefines this to invalidate normal cache.