Open Inventor Reference
SoGLPolygonOffsetElement Class Reference

#include <Inventor/elements/SoGLPolygonOffsetElement.h>

Inheritance diagram for SoGLPolygonOffsetElement:
SoPolygonOffsetElement SoReplacedElement SoElement

List of all members.

Public Member Functions

virtual void init (SoState *state)
 Initializes element.
virtual void push (SoState *state)
 Override push() method to copy state pointer and value of previous element, to avoid sending GL commands if the elements are the same.
virtual void pop (SoState *state, const SoElement *childElt)
 Override pop() method so side effects can occur in GL.

Static Public Member Functions

static void initClass ()
 Initializes the SoGLPolygonOffsetElement class.

Protected Member Functions

virtual void setElt (float factor, float units, Style styles, SbBool on)
virtual ~SoGLPolygonOffsetElement ()
 Destructor.

Friends

int operator== (const SoGLPolygonOffsetElement &e1, const SoGLPolygonOffsetElement &e2)
int operator!= (const SoGLPolygonOffsetElement &e1, const SoGLPolygonOffsetElement &e2)

Detailed Description

Definition at line 51 of file SoGLPolygonOffsetElement.h.


Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from SoPolygonOffsetElement.

static void SoGLPolygonOffsetElement::initClass ( ) [static]

Reimplemented from SoPolygonOffsetElement.

virtual void SoGLPolygonOffsetElement::pop ( SoState state,
const SoElement childElt 
) [virtual]

Reimplemented from SoElement.

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

Reimplemented from SoElement.

virtual void SoGLPolygonOffsetElement::setElt ( float  factor,
float  units,
Style  styles,
SbBool  on 
) [protected, virtual]

Reimplemented from SoPolygonOffsetElement.


Friends And Related Function Documentation

int operator!= ( const SoGLPolygonOffsetElement e1,
const SoGLPolygonOffsetElement e2 
) [friend]

Definition at line 71 of file SoGLPolygonOffsetElement.h.

int operator== ( const SoGLPolygonOffsetElement e1,
const SoGLPolygonOffsetElement e2 
) [friend]

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