Stores the current window attributes. More...
#include <Inventor/elements/SoWindowElement.h>
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 SoGLRenderAction * | getAction (SoState *state) |
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.
SoWinRenderArea, SoXtRenderArea, SoQtRenderArea
| 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.