#include <canvas.hh>
List of all members.
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 | InitTextures () |
void | InvertView (uint32_t invertflags) |
bool | IsTopView () |
void | LeaveScreenCS () |
void | Load (Worldfile *wf, int section) |
void | PopColor () |
void | PushColor (Color col) |
void | PushColor (double r, double g, double b, double a) |
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 |
|
) |
| |
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::InitTextures |
( |
| ) |
|
void Stg::Canvas::InvertView |
( |
uint32_t |
invertflags | ) |
|
bool Stg::Canvas::IsTopView |
( |
| ) |
[inline] |
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 |
( |
Color |
col | ) |
[inline] |
void Stg::Canvas::PushColor |
( |
double |
r, |
|
|
double |
g, |
|
|
double |
b, |
|
|
double |
a |
|
) |
| [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
The documentation for this class was generated from the following files: