Abstract base class for all shape nodes. More...
#include <Inventor/nodes/SoShape.h>
Public Types | |
enum | ShapeType { POINTS, LINES, POLYGONS, TEXT } |
Public Member Functions | |
virtual SoType | getTypeId () const |
virtual SbBool | affectsState () const |
ShapeType | getShapeType () |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static SbBool | isPrimitiveRestartAvailable (SoState *state=NULL) |
Public Attributes | |
SoSFBool | boundingBoxIgnoring |
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.
SoCone, SoCube, SoCylinder, SoFullSceneAntialiasing, SoIndexedNurbsCurve, SoIndexedNurbsSurface, SoNurbsCurve, SoNurbsSurface, SoShapeHints, SoShapeKit, SoSphere, SoText2, SoText3, SoVertexShape
enum SoShape::ShapeType |
Basic type for antialiased rendering for this shape (Do not consider the SoDrawStyle property currently in the state).
Default shape type is POLYGONS.
POINTS |
The shape is render based on points (Ex: SoPointSet). |
LINES |
The shape is render based on lines (Ex: SoLineSet). |
POLYGONS |
The shape is render based on polygons (Ex: SoFaceSet). |
TEXT |
The shape is a text and follows the special filter for texts. |
virtual SbBool SoShape::affectsState | ( | ) | const [virtual] |
static SoType SoShape::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoNode.
Reimplemented in SoGeoElevationGrid, SoAlgebraicCone, SoAlgebraicCylinder, SoAlgebraicShape, SoAlgebraicSphere, SoAnnoText3, SoAsciiText, SoBaseExtrusion, SoBufferedShape, SoCircularExtrusion, SoCone, SoCSGShape, SoCube, SoCylinder, SoExtrusion, SoFaceSet, SoImage, SoIndexedFaceSet, SoIndexedLineSet, SoIndexedMarkerSet, SoIndexedNurbsCurve, SoIndexedNurbsSurface, SoIndexedPointSet, SoIndexedQuadMesh, SoIndexedShape, SoIndexedTriangleFanSet, SoIndexedTriangleSet, SoIndexedTriangleStripSet, SoLineSet, SoMarkerSet, SoNonIndexedShape, SoNurbsCurve, SoNurbsSurface, SoPointSet, SoQuadMesh, SoSphere, SoText2, SoText3, SoTriangleSet, SoTriangleStripSet, SoVertexShape, SoLdmShape, ObliqueSliceBorder, OrthoSliceBorder, PlaneBoxIntersection, SoFenceSlice, SoHeightFieldRender, SoObliqueSlice, SoOrthoSlice, SoSlice, SoVolumeBufferedShape, SoVolumeFaceSet, SoVolumeIndexedFaceSet, SoVolumeIndexedTriangleStripSet, SoVolumeRender, SoVolumeShape, SoVolumeSkin, and SoVolumeTriangleStripSet.
ShapeType SoShape::getShapeType | ( | ) |
Gets the current shape Full Scene Antialiasing type.
virtual SoType SoShape::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoNode.
Reimplemented in SoGeoElevationGrid, SoAlgebraicCone, SoAlgebraicCylinder, SoAlgebraicShape, SoAlgebraicSphere, SoAnnoText3, SoAsciiText, SoBaseExtrusion, SoBufferedShape, SoCircularExtrusion, SoCone, SoCSGShape, SoCube, SoCylinder, SoExtrusion, SoFaceSet, SoImage, SoIndexedFaceSet, SoIndexedLineSet, SoIndexedMarkerSet, SoIndexedNurbsCurve, SoIndexedNurbsSurface, SoIndexedPointSet, SoIndexedQuadMesh, SoIndexedShape, SoIndexedTriangleFanSet, SoIndexedTriangleSet, SoIndexedTriangleStripSet, SoLineSet, SoMarkerSet, SoNonIndexedShape, SoNurbsCurve, SoNurbsSurface, SoPointSet, SoQuadMesh, SoSphere, SoText2, SoText3, SoTriangleSet, SoTriangleStripSet, SoVertexShape, SoLdmShape, ObliqueSliceBorder, OrthoSliceBorder, PlaneBoxIntersection, SoFenceSlice, SoHeightFieldRender, SoObliqueSlice, SoOrthoSlice, SoSlice, SoVolumeBufferedShape, SoVolumeFaceSet, SoVolumeIndexedFaceSet, SoVolumeIndexedTriangleStripSet, SoVolumeRender, SoVolumeShape, SoVolumeSkin, and SoVolumeTriangleStripSet.
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.
Whether to ignore this node during bounding box traversal.
Default is FALSE.