24#ifndef _SO_LOGICAL_VIEW_PORT_ELEMENT
25#define _SO_LOGICAL_VIEW_PORT_ELEMENT
27#include <Inventor/SbViewportRegion.h>
28#include <Inventor/elements/SoSubElement.h>
86 virtual void print(FILE *fp)
const;
91 virtual void init(
SoState *state);
101 virtual SoElement* copyMatchInfo()
const;
105 static void initClass();
106 static void exitClass();
Class for representing a viewport.
Abstract base class for all state elements.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Stores the logic...
static const SbViewportRegion & get(SoState *state)
Returns the current viewport region from the state.
static SbViewportRegion getDefaultViewport()
Returns the default viewport region.
static void set(SoState *state, const SbViewportRegion &vp)
Sets the viewport region.
virtual void print(FILE *fp) const
Prints element (for debugging).
static SoLogicalViewportElement * getInstance(const SoState *state, SbBool &elemIsSet)
Return the top (current) instance of the element in the state.