H3D::GLUTWindow Class Reference
[Scene-graph nodes.]

H3DWindowNode implementet using GLUT. More...

#include <GLUTWindow.h>

Inheritance diagram for H3D::GLUTWindow:

Inheritance graph
List of all members.

Public Member Functions

 GLUTWindow (Inst< SFInt32 > _width=0, Inst< SFInt32 > _height=0, Inst< SFBool > _fullscreen=0, Inst< SFBool > _mirrored=0, Inst< RenderMode > _renderMode=0, Inst< SFViewpoint > _viewpoint=0, Inst< SFTime > _time=0)
 Constructor.
 ~GLUTWindow ()
 Destructor.
virtual void swapBuffers ()
 Calls glutSwapBuffers.
virtual void initWindow ()
 Creates and initializes a GLUT window/.
virtual void initWindowHandler ()
 Initializes GLUT.
virtual void setFullscreen (bool fullscreen)
 Sets fullscreen mode.
virtual void makeWindowActive ()
 Make this the current window.
int getGLUTWindowId ()
 Returns the GLUT window id for this window.

Static Public Member Functions

static GLUTWindowgetGLUTWindow (int glut_id)
 Given the identifier of a GLUT window the GLWindow instance that created that window is returned.
static void initGLUT ()
 Initialize GLUT.

Static Public Attributes

static H3DNodeDatabase database
 The H3DNodeDatabase for this node.

Protected Attributes

int window_id

Static Protected Attributes

static bool GLUT_init = false

Detailed Description

H3DWindowNode implementet using GLUT.


Generated on Thu Aug 24 12:39:13 2006 for H3D API by  doxygen 1.4.5