25#ifndef SO_MODIFY_LOGICAL_VIEWPORT_ELEMENT_H
26#define SO_MODIFY_LOGICAL_VIEWPORT_ELEMENT_H
28#include <Inventor/SbViewportRegion.h>
29#include <Inventor/elements/SoSubElement.h>
60 {
return SbVec4f( 0.0f, 0.0f, 1.0f, 1.0f ); }
72 virtual void print(FILE *fp)
const;
77 virtual void init(
SoState *state);
91 static void initClass();
92 static void exitClass();
Abstract base class for all state elements.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Stores a logical...
static const SbVec4f & get(SoState *state)
Returns the current portion from the state.
static void set(SoState *state, const SbVec4f &portion)
Sets the portion of the viewport.
static SbVec4f getDefault()
Returns the default viewport region.
static SoModifyLogicalViewportElement * getInstance(const SoState *state, SbBool &elemIsSet)
Returns the top (current) instance of the element in the state.
virtual void print(FILE *fp) const
Prints element (for debugging).