Open Inventor Reference
SoWindowElement Class Reference

Element that stores the current window attributes. More...

#include <Inventor/elements/SoWindowElement.h>

Inheritance diagram for SoWindowElement:
SoElement

List of all members.

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 SoElementcopyMatchInfo () 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
Displaydisplay
SoGLRenderActionglRenderAction

Detailed Description

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.


Constructor & Destructor Documentation

virtual SoWindowElement::~SoWindowElement ( ) [protected, virtual]

Member Function Documentation

virtual SoElement* SoWindowElement::copyMatchInfo ( ) const [virtual]

Implements SoElement.

static void SoWindowElement::get ( SoState state,
Window window,
GLXContext context,
Display *&  display,
SoGLRenderAction *&  glAction 
) [static]
virtual void SoWindowElement::init ( SoState state) [virtual]

Reimplemented from SoElement.

static void SoWindowElement::initClass ( ) [static]

Reimplemented from SoElement.

virtual SbBool SoWindowElement::matches ( const SoElement elt) const [virtual]

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


Member Data Documentation

Definition at line 126 of file SoWindowElement.h.

Definition at line 127 of file SoWindowElement.h.

Definition at line 128 of file SoWindowElement.h.

Definition at line 125 of file SoWindowElement.h.


The documentation for this class was generated from the following file: