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 SoLdmShape SoNurbsCurve SoNurbsSurface SoSphere SoText2 SoText3 SoVertexShape

List of all members.

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.

Reimplemented in SoOrthoSlice.

static SoType SoShape::getClassTypeId (  )  [static]
ShapeType SoShape::getShapeType (  ) 

Gets the current shape Full Scene Antialiasing type.

virtual SoType SoShape::getTypeId (  )  const [virtual]
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 Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/