Open Inventor Reference
|
Element that stores the current window attributes. More...
#include <Inventor/elements/SoWindowElement.h>
Public Member Functions | |
virtual void | init (SoState *state) |
Initializes element. | |
virtual SbBool | matches (const SoElement *elt) const |
Always returns TRUE, since this element should never be a criterion for cache invalidation. | |
virtual SoElement * | copyMatchInfo () const |
Create and return a copy of this element. | |
virtual void | push (SoState *state) |
Pushes/pops element. | |
Static Public Member Functions | |
static void | set (SoState *state, void *window, void *context, void *display, SoGLRenderAction *glAction) |
Sets the window, context and glRenderAction info. | |
static void | get (SoState *state, Window &window, GLXContext &context, Display *&display, SoGLRenderAction *&glAction) |
Returns the current window, context and glRenderAction. | |
static void | initClass () |
Initializes the SoWindowElement class. | |
Protected Member Functions | |
virtual | ~SoWindowElement () |
Protected Attributes | |
Window | window |
GLXContext | context |
Display * | display |
SoGLRenderAction * | glRenderAction |
The current window is defined as the OpenGL window underneath the cursor - or NULL if the cursor is not over an OpenGL window.
Definition at line 81 of file SoWindowElement.h.
virtual SoWindowElement::~SoWindowElement | ( | ) | [protected, virtual] |
static void SoWindowElement::get | ( | SoState * | state, |
Window & | window, | ||
GLXContext & | context, | ||
Display *& | display, | ||
SoGLRenderAction *& | glAction | ||
) | [static] |
static void SoWindowElement::initClass | ( | ) | [static] |
Reimplemented from SoElement.
Implements SoElement.
virtual void SoWindowElement::push | ( | SoState * | state | ) | [virtual] |
Allows for side effects to occur. Default methods do nothing.
Reimplemented from SoElement.
static void SoWindowElement::set | ( | SoState * | state, |
void * | window, | ||
void * | context, | ||
void * | display, | ||
SoGLRenderAction * | glAction | ||
) | [static] |
(HWND)window (HGLRC)context (HDC)display
GLXContext SoWindowElement::context [protected] |
Definition at line 126 of file SoWindowElement.h.
Display* SoWindowElement::display [protected] |
Definition at line 127 of file SoWindowElement.h.
SoGLRenderAction* SoWindowElement::glRenderAction [protected] |
Definition at line 128 of file SoWindowElement.h.
Window SoWindowElement::window [protected] |
Definition at line 125 of file SoWindowElement.h.