class OSGGLUT_EXPORT osgGLUT::Window

A basic GLUTWindow base class which provides a just a basic window.

Inheritance:


Public Methods

[more] Window()
[more]virtual ~Window()
[more]void setWindowOrigin(int x, int y)
[more]void setWindowSize(int width, int height)
[more]void setWindowTitle(const std::string& title)
[more]void setDisplayMode(unsigned int displayMode)
[more]virtual bool open()
[more]virtual bool run()
[more]virtual void display()

Protected Fields

[more]static Window* s_theWindow
[more]std::string _title
[more]int _wx
[more]int _wy
[more]int _ww
[more]int _wh
[more]unsigned int _displayMode
[more]int _is_open
[more]int _mx
[more]int _my
[more]int _mbutton
[more]bool _fullscreen
[more]int _saved_wx
[more]int _saved_wy
[more]int _saved_ww
[more]int _saved_wh
[more]bool _exit

Protected Methods

[more]virtual void clear()
[more]static void displayCB()
[more]static void reshapeCB(int w, int h)
[more]static void visibilityCB(int state)
[more]static void mouseMotionCB(int x, int y)
[more]static void mousePassiveMotionCB(int x, int y)
[more]static void mouseCB(int button, int state, int x, int y)
[more]static void keyboardCB(unsigned char key, int x, int y )
[more]static void specialCB(int key, int x, int y)
[more]static void spaceballMotionCB(int x, int y, int z)
[more]static void spaceballRotateCB(int x, int y, int z)
[more]static void spaceballButtonCB(int button, int state)
[more]virtual void reshape(GLint w, GLint h)
[more]virtual void visibility(int state)
[more]virtual void mouseMotion(int x, int y)
[more]virtual void mousePassiveMotion(int x, int y)
[more]virtual void mouse(int button, int state, int x, int y)
[more]virtual void keyboard(unsigned char key, int x, int y)
[more]virtual void special(int key, int x, int y)
[more]virtual void spaceballMotion(int x, int y, int z)
[more]virtual void spaceballRotate(int x, int y, int z)
[more]virtual void spaceballButton(int button, int state)
[more]void check_if_exit()


Documentation

A basic GLUTWindow base class which provides a just a basic window.
o Window()

ovirtual ~Window()

ovoid setWindowOrigin(int x, int y)

ovoid setWindowSize(int width, int height)

ovoid setWindowTitle(const std::string& title)

ovoid setDisplayMode(unsigned int displayMode)

ovirtual bool open()

ovirtual bool run()

ovirtual void display()

ovirtual void clear()

ostatic void displayCB()

ostatic void reshapeCB(int w, int h)

ostatic void visibilityCB(int state)

ostatic void mouseMotionCB(int x, int y)

ostatic void mousePassiveMotionCB(int x, int y)

ostatic void mouseCB(int button, int state, int x, int y)

ostatic void keyboardCB(unsigned char key, int x, int y )

ostatic void specialCB(int key, int x, int y)

ostatic void spaceballMotionCB(int x, int y, int z)

ostatic void spaceballRotateCB(int x, int y, int z)

ostatic void spaceballButtonCB(int button, int state)

ovirtual void reshape(GLint w, GLint h)

ovirtual void visibility(int state)

ovirtual void mouseMotion(int x, int y)

ovirtual void mousePassiveMotion(int x, int y)

ovirtual void mouse(int button, int state, int x, int y)

ovirtual void keyboard(unsigned char key, int x, int y)

ovirtual void special(int key, int x, int y)

ovirtual void spaceballMotion(int x, int y, int z)

ovirtual void spaceballRotate(int x, int y, int z)

ovirtual void spaceballButton(int button, int state)

ostatic Window* s_theWindow

ostd::string _title

oint _wx

oint _wy

oint _ww

oint _wh

ounsigned int _displayMode

oint _is_open

oint _mx

oint _my

oint _mbutton

obool _fullscreen

oint _saved_wx

oint _saved_wy

oint _saved_ww

oint _saved_wh

obool _exit

ovoid check_if_exit()


Direct child classes:
Viewer

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.