Open Inventor Reference
SoGLShapeHintsElement Class Reference

Element that stores current shape hints and sends commands to GL based on them. More...

#include <Inventor/elements/SoGLShapeHintsElement.h>

Inheritance diagram for SoGLShapeHintsElement:
SoShapeHintsElement SoElement

List of all members.

Public Member Functions

virtual void init (SoState *state)
 Initializes element.
virtual void push (SoState *state)
 Override push() method to remember previous element's state so we can sometimes generate more efficient GL calls.
virtual void pop (SoState *state, const SoElement *prevTopElement)
 Override pop() method so side effects can occur in GL.

Static Public Member Functions

static void initClass ()
 Initializes the SoGLShapeHintsElement class.

Protected Member Functions

virtual void setElt (VertexOrdering vertexOrdering, ShapeType shapeType, FaceType faceType)
 Override virtual sets to have GL side effects.
virtual ~SoGLShapeHintsElement ()

Detailed Description

All three hints must be set at the same time; to leave any hint as is, use the "AS_IS" enum value.

Definition at line 71 of file SoGLShapeHintsElement.h.


Constructor & Destructor Documentation

virtual SoGLShapeHintsElement::~SoGLShapeHintsElement ( ) [protected, virtual]

Member Function Documentation

virtual void SoGLShapeHintsElement::init ( SoState state) [virtual]

Reimplemented from SoShapeHintsElement.

static void SoGLShapeHintsElement::initClass ( ) [static]

Reimplemented from SoShapeHintsElement.

virtual void SoGLShapeHintsElement::pop ( SoState state,
const SoElement prevTopElement 
) [virtual]

Reimplemented from SoElement.

virtual void SoGLShapeHintsElement::push ( SoState state) [virtual]

Reimplemented from SoShapeHintsElement.

virtual void SoGLShapeHintsElement::setElt ( VertexOrdering  vertexOrdering,
ShapeType  shapeType,
FaceType  faceType 
) [protected, virtual]

Reimplemented from SoShapeHintsElement.


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