Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
SoWindowElement Class Reference

Stores the current window attributes. More...

#include <Inventor/elements/SoWindowElement.h>

+ Inheritance diagram for SoWindowElement:

Public Member Functions

virtual void push (SoState *state)
 Push.
 
- Public Member Functions inherited from SoElement
virtual void pop (SoState *state, const SoElement *prevTopElement)
 Pops element.
 
virtual void print (FILE *fp) const
 Prints element (for debugging).
 
virtual SoType getTypeId () const
 Returns type identifier for element instance.
 
- Public Member Functions inherited from SoTypedObject
SbBool isOfType (const SoType &type) const
 Returns TRUE if this object is of the type specified in type or is derived from that type.
 
template<typename TypedObjectClass >
SbBool isOfType () const
 Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class.
 

Static Public Member Functions

static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static int getClassStackIndex ()
 Returns the stack id for this element.
 
static void reset (SoState *state)
 Reset the element to default values.
 
static void set (SoState *state, Window window, SbGlContextHelper::GLContext context, SbGlContextHelper::Display display, SoGLRenderAction *glAction)
 Sets the window, context, and glRenderAction info.
 
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 SoGLRenderActiongetAction (SoState *state)
 Returns the current glRenderAction.
 
- Static Public Member Functions inherited from SoElement
static SoType getClassTypeId ()
 Returns type identifier for SoElement class.
 
- Static Public Member Functions inherited from SoTypedObject
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 

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

Definition at line 77 of file SoWindowElement.h.

Member Function Documentation

◆ get() [1/2]

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.

◆ get() [2/2]

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

Returns the current window, context, and glRenderAction.

◆ getAction()

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

Returns the current glRenderAction.

◆ getClassStackIndex()

static int SoWindowElement::getClassStackIndex ( )
static

Returns the stack id for this element.


◆ getClassTypeId()

static SoType SoWindowElement::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ push()

virtual void SoWindowElement::push ( SoState state)
virtual

Push.

Reimplemented from SoElement.

◆ reset()

static void SoWindowElement::reset ( SoState state)
static

Reset the element to default values.

Since Open Inventor 9.1

◆ set() [1/2]

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.

◆ set() [2/2]

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: