Stg::Canvas Class Reference
#include <canvas.hh>
Classes | |
class | GlColorStack |
Public Member Functions | |
Canvas (WorldGui *world, int x, int y, int width, int height) | |
void | CanvasToWorld (int px, int py, double *wx, double *wy, double *wz) |
void | createMenuItems (Fl_Menu_Bar *menu, std::string path) |
bool | dirtyBuffer (void) const |
virtual void | draw () |
void | DrawBlocks () |
void | DrawBoundingBoxes () |
void | DrawFloor () |
void | EnterScreenCS () |
void | FixViewport (int W, int H) |
Model * | getModel (int x, int y) |
virtual int | handle (int event) |
void | InitGl () |
void | InvertView (uint32_t invertflags) |
void | LeaveScreenCS () |
void | Load (Worldfile *wf, int section) |
void | PopColor () |
void | PushColor (double r, double g, double b, double a) |
void | PushColor (Color col) |
virtual void | renderFrame () |
void | resetCamera () |
void | resize (int X, int Y, int W, int H) |
void | Save (Worldfile *wf, int section) |
void | Screenshot () |
void | select (Model *mod) |
bool | selected (Model *mod) |
void | setDirtyBuffer (void) |
void | unSelect (Model *mod) |
void | unSelectAll () |
bool | VisualizeAll () |
~Canvas () | |
Static Public Member Functions | |
static void | perspectiveCb (Fl_Widget *w, void *p) |
static void | TimerCallback (Canvas *canvas) |
Public Attributes | |
std::map< std::string, Option * > | _custom_options |
unsigned long | frames_rendered_count |
bool | graphics |
int | screenshot_frame_skip |
WorldGui * | world |
Constructor & Destructor Documentation
Canvas::Canvas | ( | WorldGui * | world, | |
int | x, | |||
int | y, | |||
int | width, | |||
int | height | |||
) |
Canvas::~Canvas | ( | ) |
Member Function Documentation
void Canvas::CanvasToWorld | ( | int | px, | |
int | py, | |||
double * | wx, | |||
double * | wy, | |||
double * | wz | |||
) |
void Canvas::createMenuItems | ( | Fl_Menu_Bar * | menu, | |
std::string | path | |||
) |
bool Stg::Canvas::dirtyBuffer | ( | void | ) | const [inline] |
void Canvas::draw | ( | ) | [virtual] |
void Canvas::DrawBlocks | ( | ) |
void Canvas::DrawBoundingBoxes | ( | ) |
void Canvas::DrawFloor | ( | ) |
void Canvas::EnterScreenCS | ( | ) |
void Canvas::FixViewport | ( | int | W, | |
int | H | |||
) |
Model * Canvas::getModel | ( | int | x, | |
int | y | |||
) |
int Canvas::handle | ( | int | event | ) | [virtual] |
void Canvas::InitGl | ( | ) |
void Stg::Canvas::InvertView | ( | uint32_t | invertflags | ) |
void Canvas::LeaveScreenCS | ( | ) |
void Canvas::Load | ( | Worldfile * | wf, | |
int | section | |||
) |
void Canvas::perspectiveCb | ( | Fl_Widget * | w, | |
void * | p | |||
) | [static] |
void Stg::Canvas::PopColor | ( | ) | [inline] |
void Stg::Canvas::PushColor | ( | double | r, | |
double | g, | |||
double | b, | |||
double | a | |||
) | [inline] |
void Stg::Canvas::PushColor | ( | Color | col | ) | [inline] |
void Canvas::renderFrame | ( | ) | [virtual] |
void Canvas::resetCamera | ( | ) |
void Canvas::resize | ( | int | X, | |
int | Y, | |||
int | W, | |||
int | H | |||
) |
void Canvas::Save | ( | Worldfile * | wf, | |
int | section | |||
) |
void Canvas::Screenshot | ( | ) |
void Canvas::select | ( | Model * | mod | ) |
bool Canvas::selected | ( | Model * | mod | ) |
void Stg::Canvas::setDirtyBuffer | ( | void | ) | [inline] |
void Canvas::TimerCallback | ( | Canvas * | canvas | ) | [static] |
void Canvas::unSelect | ( | Model * | mod | ) |
void Canvas::unSelectAll | ( | ) |
bool Stg::Canvas::VisualizeAll | ( | ) | [inline] |
Member Data Documentation
std::map< std::string, Option* > Stg::Canvas::_custom_options |
unsigned long Stg::Canvas::frames_rendered_count |
The documentation for this class was generated from the following files:
Generated on Wed Jul 22 11:51:05 2009 for Stage by
