Open Inventor Reference
SoGLNormalElement Class Reference

Element that stores the current surface normals. More...

#include <Inventor/elements/SoGLNormalElement.h>

Inheritance diagram for SoGLNormalElement:
SoNormalElement SoReplacedElement SoElement

List of all members.

Public Member Functions

virtual void init (SoState *state)
 Initializes element.
void send (int index) const
 Sends indexed normal to GL.

Static Public Member Functions

static void initClass ()
 Initializes the SoGLNormalElement class.

Protected Member Functions

virtual ~SoGLNormalElement ()

Detailed Description

Adds methods to send the surface normal to GL on demand.

Note that this class relies on SoNormalElement to store the normals in the instance.

Definition at line 73 of file SoGLNormalElement.h.


Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from SoNormalElement.

static void SoGLNormalElement::initClass ( ) [static]

Reimplemented from SoNormalElement.

void SoGLNormalElement::send ( int  index) const

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