SoShape Class Reference
[Shapes]

Abstract base class for all shape nodes. More...

#include <Inventor/nodes/SoShape.h>

Inheritance diagram for SoShape:
SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject SoAlgebraicShape SoAnnoText3 SoAsciiText SoBaseExtrusion SoBufferedShape SoCone SoCSGShape SoCube SoCylinder SoImage SoIndexedNurbsCurve SoIndexedNurbsSurface SoLdmShape SoNurbsCurve SoNurbsSurface SoParticleAnimation SoSphere SoText2 SoText3 SoTVizRender SoVertexShape SoVRMLGeometry

List of all members.

Classes

struct  MTstruct

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

Detailed Description

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

SEE ALSO

SoCone, SoCube, SoCylinder, SoFullSceneAntialiasing, SoIndexedNurbsCurve, SoIndexedNurbsSurface, SoNurbsCurve, SoNurbsSurface, SoShapeHints, SoShapeKit, SoSphere, SoText2, SoText3, SoVertexShape


Member Enumeration Documentation

Basic type for antialiased rendering for this shape (Do not consider the SoDrawStyle property currently in the state).

Default shape type is POLYGONS.

Enumerator:
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.


Member Function Documentation

virtual SbBool SoShape::affectsState (  )  const [virtual]

Overrides default method on SoNode.

Reimplemented from SoNode.

static SoType SoShape::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoNode.

Reimplemented in SoParticleAnimation, SoGeoElevationGrid, SoVRMLGeoElevationGrid, 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, SoVRMLArc2D, SoVRMLArcClose2D, SoVRMLBox, SoVRMLCircle2D, SoVRMLCone, SoVRMLCylinder, SoVRMLDisk2D, SoVRMLElevationGrid, SoVRMLExtrusion, SoVRMLGeometry, SoVRMLGridShape, SoVRMLIndexedFaceSet, SoVRMLIndexedLine, SoVRMLIndexedLineSet, SoVRMLIndexedShape, SoVRMLIndexedTriangleFanSet, SoVRMLIndexedTriangleSet, SoVRMLIndexedTriangleStripSet, SoVRMLPointSet, SoVRMLPolyline2D, SoVRMLPolypoint2D, SoVRMLRectangle2D, SoVRMLSphere, SoVRMLText, SoVRMLTriangle, SoVRMLTriangleFanSet, SoVRMLTriangleSet, SoVRMLTriangleSet2D, SoVRMLTriangleStripSet, SoVRMLVertexLine, SoVRMLVertexPoint, SoVRMLVertexShape, SoLdmShape, ObliqueSliceBorder, OrthoSliceBorder, PlaneBoxIntersection, SoTVizRender, 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 SoParticleAnimation, SoGeoElevationGrid, SoVRMLGeoElevationGrid, 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, SoVRMLArc2D, SoVRMLArcClose2D, SoVRMLBox, SoVRMLCircle2D, SoVRMLCone, SoVRMLCylinder, SoVRMLDisk2D, SoVRMLElevationGrid, SoVRMLExtrusion, SoVRMLGeometry, SoVRMLGridShape, SoVRMLIndexedFaceSet, SoVRMLIndexedLine, SoVRMLIndexedLineSet, SoVRMLIndexedShape, SoVRMLIndexedTriangleFanSet, SoVRMLIndexedTriangleSet, SoVRMLIndexedTriangleStripSet, SoVRMLPointSet, SoVRMLPolyline2D, SoVRMLPolypoint2D, SoVRMLRectangle2D, SoVRMLSphere, SoVRMLText, SoVRMLTriangle, SoVRMLTriangleFanSet, SoVRMLTriangleSet, SoVRMLTriangleSet2D, SoVRMLTriangleStripSet, SoVRMLVertexLine, SoVRMLVertexPoint, SoVRMLVertexShape, SoLdmShape, ObliqueSliceBorder, OrthoSliceBorder, PlaneBoxIntersection, SoTVizRender, SoFenceSlice, SoHeightFieldRender, SoObliqueSlice, SoOrthoSlice, SoSlice, SoVolumeBufferedShape, SoVolumeFaceSet, SoVolumeIndexedFaceSet, SoVolumeIndexedTriangleStripSet, SoVolumeRender, SoVolumeShape, SoVolumeSkin, and SoVolumeTriangleStripSet.

static SbBool SoShape::isPrimitiveRestartAvailable ( SoState state = NULL  )  [static]

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.


Member Data Documentation

Whether to ignore this node during bounding box traversal.

Default is FALSE.


The documentation for this class was generated from the following file:

Open Inventor by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/