Open Inventor Reference
|
Element that stores the current point size in GL. More...
#include <Inventor/elements/SoGLPointSizeElement.h>
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 () |
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.
virtual SoGLPointSizeElement::~SoGLPointSizeElement | ( | ) | [protected, virtual] |
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::setElt | ( | float | size | ) | [protected, virtual] |
Reimplemented from SoFloatElement.