#include <SDLUtil.h>

Public Member Functions | |
| void | draw () |
| bool | init (int w=0, int h=0, bool resizable=true) |
| bool | oneStep () |
| bool | processEvents () |
| SDLwindow (GLsceneBase *i_scene, LogManagerBase *i_lm, ThreadedObject *i_throbj=NULL) | |
| void | setSize (int w, int h) |
| void | setView (double T[16]) |
| void | swapBuffers () |
| ~SDLwindow () | |
Private Member Functions | |
| double | sliderRatio (double x) |
Private Attributes | |
| bool | buttonPressedInSliderArea |
| int | height |
| std::vector< std::string > | helpcommand |
| bool | initialized |
| std::vector< std::string > | instructions |
| bool | isControlPressed |
| bool | isShiftPressed |
| LogManagerBase * | log |
| double | pan |
| double | radius |
| GLsceneBase * | scene |
| bool | showingHelp |
| ThreadedObject * | throbj |
| double | tilt |
| int | width |
| double | xCenter |
| double | yCenter |
| double | zCenter |
| SDLwindow::SDLwindow | ( | GLsceneBase * | i_scene, |
| LogManagerBase * | i_lm, | ||
| ThreadedObject * | i_throbj = NULL |
||
| ) |
Definition at line 18 of file SDLUtil.cpp.
Definition at line 47 of file SDLUtil.cpp.
| void SDLwindow::draw | ( | ) |
Definition at line 308 of file SDLUtil.cpp.
| bool SDLwindow::init | ( | int | w = 0, |
| int | h = 0, |
||
| bool | resizable = true |
||
| ) |
Definition at line 54 of file SDLUtil.cpp.
| bool SDLwindow::oneStep | ( | ) | [virtual] |
Reimplemented from ThreadedObject.
Definition at line 342 of file SDLUtil.cpp.
| bool SDLwindow::processEvents | ( | ) |
Definition at line 97 of file SDLUtil.cpp.
| void SDLwindow::setSize | ( | int | w, |
| int | h | ||
| ) |
Definition at line 369 of file SDLUtil.cpp.
| void SDLwindow::setView | ( | double | T[16] | ) |
Definition at line 359 of file SDLUtil.cpp.
| double SDLwindow::sliderRatio | ( | double | x | ) | [private] |
Definition at line 89 of file SDLUtil.cpp.
Definition at line 337 of file SDLUtil.cpp.
bool SDLwindow::buttonPressedInSliderArea [private] |
int SDLwindow::height [private] |
std::vector<std::string> SDLwindow::helpcommand [private] |
bool SDLwindow::initialized [private] |
std::vector<std::string> SDLwindow::instructions [private] |
bool SDLwindow::isControlPressed [private] |
bool SDLwindow::isShiftPressed [private] |
LogManagerBase* SDLwindow::log [private] |
double SDLwindow::pan [private] |
double SDLwindow::radius [private] |
GLsceneBase* SDLwindow::scene [private] |
bool SDLwindow::showingHelp [private] |
ThreadedObject* SDLwindow::throbj [private] |
double SDLwindow::tilt [private] |
int SDLwindow::width [private] |
double SDLwindow::xCenter [private] |
double SDLwindow::yCenter [private] |
double SDLwindow::zCenter [private] |