Class SoShape

All Implemented Interfaces:
SafeDisposable
Direct Known Subclasses:
SoAlgebraicShape, SoAnnoText3, SoAsciiText, SoBaseExtrusion, SoBufferedShape, SoCone, SoCSGShape, SoCube, SoCylinder, SoImage, SoLdmShape, SoNurbsCurve, SoNurbsSurface, SoSphere, SoText2, SoText3, SoVertexShape

public abstract class SoShape extends SoNode
Abstract base class for all shape nodes. This node is the abstract base class for all shape (geometry) nodes. All classes derived from SoShape draw geometry during render traversal.

File format/default:

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

See Also:
  • Field Details

    • boundingBoxIgnoring

      public final SoSFBool boundingBoxIgnoring
      Whether to ignore this node during bounding box traversal. Default is false.
  • Method Details

    • isPrimitiveRestartAvailable

      public static boolean isPrimitiveRestartAvailable()
      Calls isPrimitiveRestartAvailable((com.openinventor.inventor.misc.SoState)null).
    • getShapeType

      public SoShape.ShapeTypes getShapeType()
      Gets the current shape Full Scene Antialiasing type.
    • isPrimitiveRestartAvailable

      public static boolean isPrimitiveRestartAvailable(SoState state)
      Returns true if the primitive restart feature is available. It is better to call this function with an SoGLContext created on the device used for rendering or with a valid state.

      Primitive restart (if available) can be used with SoBufferedShape.