70#define SO_LINE_SET_USE_REST_OF_VERTICES (-1)
212 bool wouldGenerateNormals(
SoState *state);
222 int totalNumVertices;
248 static PMLS 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.
Computes bounding box of a scene.
virtual void generatePrimitives(SoAction *action)
Generates line segments representing line set.
Binding
This enum is used to indicate the current material or normal binding.
SoLineSet()
Creates a line set node with default settings.
SoMFInt32 numVertices
Number of vertices per polyline.
virtual SoDetail * createLineSegmentDetail(SoRayPickAction *action, const SoPrimitiveVertex *v1, const SoPrimitiveVertex *v2, SoPickedPoint *pp)
Overrides standard method to create an SoLineDetail instance.
SoSFBool independentLines
If enabled, GL_LINES are drawn for all vertice pairs, independent of the numVertices field (MeVis Onl...
virtual void GLRender(SoGLRenderAction *action)
Implements actions.
SoSFBool sendAdjacency
flag that defines if the GL_LINE_STRIP_ADJACENCY draw mode is used (MeVis Only)
virtual void getBoundingBox(SoGetBoundingBoxAction *action)
Redefine this to tell open caches that they contain lines.
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)
Computes bounding box of line set.
Multiple-value field containing any number of int32_t integers.
Abstract base class for all non-indexed vertex-based shapes.
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.