Public Member Functions | Private Member Functions | Private Attributes
SDLwindow Class Reference

#include <SDLUtil.h>

Inheritance diagram for SDLwindow:
Inheritance graph
[legend]

List of all members.

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
LogManagerBaselog
double pan
double radius
GLsceneBasescene
bool showingHelp
ThreadedObjectthrobj
double tilt
int width
double xCenter
double yCenter
double zCenter

Detailed Description

Definition at line 7 of file SDLUtil.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

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.


Member Data Documentation

Definition at line 29 of file SDLUtil.h.

Definition at line 25 of file SDLUtil.h.

std::vector<std::string> SDLwindow::helpcommand [private]

Definition at line 30 of file SDLUtil.h.

bool SDLwindow::initialized [private]

Definition at line 31 of file SDLUtil.h.

std::vector<std::string> SDLwindow::instructions [private]

Definition at line 30 of file SDLUtil.h.

Definition at line 27 of file SDLUtil.h.

bool SDLwindow::isShiftPressed [private]

Definition at line 27 of file SDLUtil.h.

Definition at line 23 of file SDLUtil.h.

double SDLwindow::pan [private]

Definition at line 26 of file SDLUtil.h.

double SDLwindow::radius [private]

Definition at line 26 of file SDLUtil.h.

Definition at line 22 of file SDLUtil.h.

bool SDLwindow::showingHelp [private]

Definition at line 29 of file SDLUtil.h.

Definition at line 24 of file SDLUtil.h.

double SDLwindow::tilt [private]

Definition at line 26 of file SDLUtil.h.

int SDLwindow::width [private]

Definition at line 25 of file SDLUtil.h.

double SDLwindow::xCenter [private]

Definition at line 28 of file SDLUtil.h.

double SDLwindow::yCenter [private]

Definition at line 28 of file SDLUtil.h.

double SDLwindow::zCenter [private]

Definition at line 28 of file SDLUtil.h.


The documentation for this class was generated from the following files:


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Wed May 15 2019 05:02:20