50#ifndef _SO_WINDOW_ELEMENT
51#define _SO_WINDOW_ELEMENT
111#elif defined __APPLE__
123 static void get(
SoState *state,
void *&window,
void *&context,
126#elif defined __APPLE__
170 virtual SoElement* copyMatchInfo()
const;
174 static void initClass();
175 static void exitClass();
#define SoEXTENDER_Documented
#define SO_ELEMENT_HEADER(className)
Abstract base class for all state elements.
Renders a scene graph using Open Inventor's Render Engine.
Stores the current window attributes.
virtual void push(SoState *state)
Push.
static SoGLRenderAction * getAction(SoState *state)
Returns the current glRenderAction.
static void get(SoState *state, Window &window, SbGlContextHelper::GLContext &context, SbGlContextHelper::Display &display, SoGLRenderAction *&glAction)
Returns the current window, context, and glRenderAction.
static void set(SoState *state, SbGlContextHelper::Drawable window, SbGlContextHelper::GLContext context, SbGlContextHelper::Display display, const SoGLRenderAction *glAction)
Sets the window, context, and glRenderAction info.
static void get(SoState *state, SbGlContextHelper::Drawable &window, SbGlContextHelper::GLContext &context, SbGlContextHelper::Display &display, const SoGLRenderAction *&glAction)
Returns the current window, context, and glRenderAction.
static void set(SoState *state, Window window, SbGlContextHelper::GLContext context, SbGlContextHelper::Display display, SoGLRenderAction *glAction)
Sets the window, context, and glRenderAction info.
static void reset(SoState *state)
Reset the element to default values.