Open Inventor Reference
|
Element that stores the current viewport region in GL. More...
#include <Inventor/elements/SoGLViewportRegionElement.h>
Public Member Functions | |
virtual void | init (SoState *state) |
Initializes element. | |
virtual void | push (SoState *state) |
Override push() and pop() methods to keep GL up to date. | |
virtual void | pop (SoState *state, const SoElement *prevTopElement) |
Static Public Member Functions | |
static void | initClass () |
Initializes the SoGLViewportRegionElement class. | |
Protected Member Functions | |
virtual void | setElt (const SbViewportRegion &vpReg) |
Sets the region in an instance. Has GL side effects. | |
virtual | ~SoGLViewportRegionElement () |
Overrides the virtual methods on SoViewportRegionElement to send the region to GL when necessary.
Note that this class relies on SoViewportRegionElement to store the region in the instance.
Definition at line 74 of file SoGLViewportRegionElement.h.
virtual SoGLViewportRegionElement::~SoGLViewportRegionElement | ( | ) | [protected, virtual] |
virtual void SoGLViewportRegionElement::init | ( | SoState * | state | ) | [virtual] |
Reimplemented from SoViewportRegionElement.
static void SoGLViewportRegionElement::initClass | ( | ) | [static] |
Reimplemented from SoViewportRegionElement.
virtual void SoGLViewportRegionElement::pop | ( | SoState * | state, |
const SoElement * | prevTopElement | ||
) | [virtual] |
Reimplemented from SoElement.
virtual void SoGLViewportRegionElement::push | ( | SoState * | state | ) | [virtual] |
Reimplemented from SoElement.
virtual void SoGLViewportRegionElement::setElt | ( | const SbViewportRegion & | vpReg | ) | [protected, virtual] |
Reimplemented from SoViewportRegionElement.