Class SoNonIndexedShape

  • All Implemented Interfaces:
    SafeDisposable
    Direct Known Subclasses:
    SoFaceSet, SoLineSet, SoPointSet, SoQuadMesh, SoTriangleSet, SoTriangleStripSet

    public abstract class SoNonIndexedShape
    extends SoVertexShape
    Abstract base class for all non-indexed vertex-based shapes. This node is the abstract base class for all vertex-based shapes that are not constructed from indices, such as SoFaceSet, SoLineSet, and SoQuadMesh.

    All subclasses of SoNonIndexedShape construct objects by using the coordinates specified in the vertexProperty field (from SoVertexShape), or the current inherited coordinates.

    The subclass decides what to do with this and any subsequent coordinates. The shape is drawn with the current lighting model and drawing style and is transformed by the current transformation matrix.

    Material, normal, tangent, and texture coordinate bindings for shapes derived from this class ignore any index specifications. That is, a binding value of PER_FACE_INDEXED is treated the same way as PER_FACE, and so on.

    If there aren't sufficient values in the current coordinates, material, or texture coordinates, errors will occur.

    File format/default:

    This is an abstract class. See the reference page of a derived class for the format and default values.

    See Also:
    SoFaceSet, SoIndexedShape, SoLineSet, SoPointSet, SoQuadMesh, SoTriangleStripSet, SoVertexProperty
    • Field Detail

      • startIndex

        public final SoSFInt32 startIndex
        Index of first coordinate of shape.