Stores the current viewport region in GL. More...
#include <Inventor/elements/SoGLViewportRegionElement.h>
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 () |
Stores the current viewport region in GL.
This element stores the current viewport region in GL. Overrides the virtual methods on SoViewportRegionElement to send the region to GL when necessary.
NOTE: This class does not exist in Open Inventor 10.0 and later.Note that this class relies on SoViewportRegionElement to store the region in the instance.
static int SoGLViewportRegionElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoViewportRegionElement.
static SoType SoGLViewportRegionElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoViewportRegionElement.
virtual void SoGLViewportRegionElement::pop | ( | SoState * | state, | |
const SoElement * | prevTopElement | |||
) | [virtual] |
Override pop() method to keep GL up to date.
virtual void SoGLViewportRegionElement::push | ( | SoState * | state | ) | [virtual] |