SoGLShapeHintsElement Class Reference
[Elements]

Stores current shape hints and sends commands to GL based on them. More...

#include <Inventor/elements/SoGLShapeHintsElement.h>

Inheritance diagram for SoGLShapeHintsElement:
SoShapeHintsElement SoElement SoTypedObject

List of all members.

Public Member Functions

virtual void push (SoState *state)
virtual void pop (SoState *state, const SoElement *prevTopElement)

Static Public Member Functions

static SoType getClassTypeId ()
static int getClassStackIndex ()

Detailed Description

Stores current shape hints and sends commands to GL based on them.

This element stores current shape hints and sends commands to GL based on them. All three hints must be set at the same time; to leave any hint as is, use the "AS_IS" enum value.

NOTE: This class does not exist in Open Inventor 10.0 and later.

SEE ALSO

SoShapeHintsElement

Deprecated:

Deprecated since Open Inventor 9620
SoGLShapeHintsElement is no longer supported, use equivalent SoShapeHintsElement.

Member Function Documentation

static int SoGLShapeHintsElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoShapeHintsElement.

static SoType SoGLShapeHintsElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoShapeHintsElement.

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

Overrides pop() method so side effects can occur in GL.

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

Overrides push() method to remember previous element's state so we can sometimes generate more efficient GL calls.

Reimplemented from SoShapeHintsElement.


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

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/