21#ifndef SO_UPDATE_AREA_ELEMENT
22#define SO_UPDATE_AREA_ELEMENT
24#include <Inventor/SbLinear.h>
25#include <Inventor/elements/SoSubElement.h>
86 virtual void print( FILE* fp )
const;
89 static void initClass();
90 static void exitClass();
95 virtual void init(
SoState* state );
105 virtual SoElement* copyMatchInfo()
const;
Abstract base class for all state elements.
Stores the rectangular area within the current viewport region that needs to be updated when renderin...
static SbVec2f getDefaultSize()
Returns the default update area size.
virtual void push(SoState *state)
Overrides push() method to copy values from next instance in the stack.
static void set(SoState *state, const SbVec2f &origin, const SbVec2f &size)
Sets the current update area in the state.
static SbVec2f getDefaultOrigin()
Returns the default update area origin.
static bool get(SoState *state, SbVec2f &origin, SbVec2f &size)
Returns current update area from the state.
virtual void print(FILE *fp) const
Prints element (for debugging).