#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 () | |
Public Member Functions inherited from ThreadedObject | |
bool | isPausing () |
bool | isRunning () |
void | notifyFinish () |
void | pause () |
void | resume () |
void | start () |
void | stop () |
ThreadedObject () | |
void | wait () |
~ThreadedObject () | |
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.
SDLwindow::~SDLwindow | ( | ) |
Definition at line 47 of file SDLUtil.cpp.
void SDLwindow::draw | ( | ) |
Definition at line 308 of file SDLUtil.cpp.
Definition at line 54 of file SDLUtil.cpp.
|
virtual |
Reimplemented from ThreadedObject.
Definition at line 342 of file SDLUtil.cpp.
bool SDLwindow::processEvents | ( | ) |
Definition at line 97 of file SDLUtil.cpp.
Definition at line 369 of file SDLUtil.cpp.
void SDLwindow::setView | ( | double | T[16] | ) |
Definition at line 359 of file SDLUtil.cpp.
|
private |
Definition at line 89 of file SDLUtil.cpp.
void SDLwindow::swapBuffers | ( | ) |
Definition at line 337 of file SDLUtil.cpp.
|
private |
|
private |
|
private |