SoWindowElement Class Reference
[Elements]

Stores the current window attributes. More...

#include <Inventor/elements/SoWindowElement.h>

Inheritance diagram for SoWindowElement:
SoElement SoTypedObject

List of all members.

Public Member Functions

virtual void push (SoState *state)

Static Public Member Functions

static SoType getClassTypeId ()
static int getClassStackIndex ()
static void reset (SoState *state)
static void set (SoState *state, Window window, SbGlContextHelper::GLContext context, SbGlContextHelper::Display display, SoGLRenderAction *glAction)
static void get (SoState *state, Window &window, SbGlContextHelper::GLContext &context, SbGlContextHelper::Display &display, SoGLRenderAction *&glAction)
static void set (SoState *state, SbGlContextHelper::Drawable window, SbGlContextHelper::GLContext context, SbGlContextHelper::Display display, const SoGLRenderAction *glAction)
static void get (SoState *state, SbGlContextHelper::Drawable &window, SbGlContextHelper::GLContext &context, SbGlContextHelper::Display &display, const SoGLRenderAction *&glAction)
static SoGLRenderActiongetAction (SoState *state)

Detailed Description

Stores the current window attributes.

This element stores the current window attributes. The current window is defined as the OpenGL window underneath the cursor - or NULL if the cursor is not over an OpenGL window.

SEE ALSO

SoWinRenderArea, SoXtRenderArea, SoQtRenderArea


Member Function Documentation

static void SoWindowElement::get ( SoState state,
SbGlContextHelper::Drawable window,
SbGlContextHelper::GLContext context,
SbGlContextHelper::Display display,
const SoGLRenderAction *&  glAction 
) [static]

Returns the current window, context, and glRenderAction.

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

Returns the current window, context, and glRenderAction.

static SoGLRenderAction* SoWindowElement::getAction ( SoState state  )  [static]

Returns the current glRenderAction.

static int SoWindowElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoElement.

static SoType SoWindowElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoElement.

virtual void SoWindowElement::push ( SoState state  )  [virtual]

Push.

Reimplemented from SoElement.

static void SoWindowElement::reset ( SoState state  )  [static]

Reset the element to default values. Since Open Inventor 9.1

static void SoWindowElement::set ( SoState state,
SbGlContextHelper::Drawable  window,
SbGlContextHelper::GLContext  context,
SbGlContextHelper::Display  display,
const SoGLRenderAction glAction 
) [static]

Sets the window, context, and glRenderAction info.

static void SoWindowElement::set ( SoState state,
Window  window,
SbGlContextHelper::GLContext  context,
SbGlContextHelper::Display  display,
SoGLRenderAction glAction 
) [static]

Sets the window, context, and glRenderAction info.


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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/