50#ifndef _SO_WINDOW_ELEMENT
51#define _SO_WINDOW_ELEMENT
53#include <Inventor/elements/SoSubElement.h>
54#include <Inventor/helpers/SbGlContextHelper.h>
111#elif defined __APPLE__
123 static void get(
SoState *state,
void *&window,
void *&context,
126#elif defined __APPLE__
159 virtual void init(
SoState *state);
170 virtual SoElement* copyMatchInfo()
const;
174 static void initClass();
175 static void exitClass();
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.