Open Inventor Reference
SoGLViewportRegionElement Class Reference

Element that stores the current viewport region in GL. More...

#include <Inventor/elements/SoGLViewportRegionElement.h>

Inheritance diagram for SoGLViewportRegionElement:
SoViewportRegionElement SoElement

List of all members.

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 ()

Detailed Description

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.


Constructor & Destructor Documentation

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

Member Function Documentation

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.


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