Open Inventor Reference
SoGLPointSizeElement Class Reference

Element that stores the current point size in GL. More...

#include <Inventor/elements/SoGLPointSizeElement.h>

Inheritance diagram for SoGLPointSizeElement:
SoPointSizeElement SoFloatElement 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 *prevTopElement)
 Override pop() method so side effects can occur in GL.

Static Public Member Functions

static void initClass ()
 Initializes the SoGLPointSizeElement class.

Protected Member Functions

virtual void setElt (float size)
 Sets the point size in an instance. Has GL side effects.
virtual ~SoGLPointSizeElement ()

Detailed Description

Overrides the virtual methods on SoPointSizeElement to send the point size to GL when necessary.

Note that this class relies on SoPointSizeElement to store the size in the instance.

Definition at line 74 of file SoGLPointSizeElement.h.


Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from SoPointSizeElement.

static void SoGLPointSizeElement::initClass ( ) [static]

Reimplemented from SoPointSizeElement.

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

Reimplemented from SoElement.

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

Reimplemented from SoElement.

virtual void SoGLPointSizeElement::setElt ( float  size) [protected, virtual]

Reimplemented from SoFloatElement.


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