50#ifndef _SO_VIEWPORT_REGION_ELEMENT
51#define _SO_VIEWPORT_REGION_ELEMENT
53#include <Inventor/SbBasic.h>
54#include <Inventor/SbViewportRegion.h>
55#include <Inventor/elements/SoSubElement.h>
94 virtual void print(FILE *fp)
const;
99 virtual void init(
SoState *state);
109 virtual SoElement* copyMatchInfo()
const;
113 static void initClass();
114 static void exitClass();
Class for representing a viewport.
Abstract base class for all state elements.
Stores the current viewport region.
static const SbViewportRegion & get(SoState *state)
Returns current viewport region from the state.
static void set(SoState *state, const SbViewportRegion &vpReg, SbBool sendToGL=TRUE)
Sets the viewport region.
virtual void print(FILE *fp) const
Prints element (for debugging).