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 |
Private Member Functions |
void | AddModel (Model *mod) |
void | ClearRays () |
void | DrawGlobalGrid () |
void | DrawRays () |
void | RecordRay (double x1, double y1, double x2, double y2) |
void | RemoveModel (Model *mod) |
Private Attributes |
OrthoCamera | camera |
bool | clicked_empty_space |
class Stg::Canvas::GlColorStack | colorstack |
Camera * | current_camera |
bool | dirty_buffer |
int | empty_space_startx |
int | empty_space_starty |
msec_t | interval |
| (even if it is now unselected).
|
Model * | last_selection |
std::list< Model * > | models_sorted |
Option | pCamOn |
PerspectiveCamera | perspective_camera |
std::list< Model * > | selected_models |
bool | selectedModel |
Option | showBBoxes |
Option | showBlocks |
Option | showBlur |
Option | showClock |
Option | showData |
Option | showFlags |
Option | showFollow |
Option | showFootprints |
Option | showGrid |
Option | showOccupancy |
Option | showScreenshots |
Option | showStatus |
Option | showTrailArrows |
Option | showTrailRise |
Option | showTrails |
Option | showVoxels |
int | startx |
int | starty |
Option | visualizeAll |
Worldfile * | wf |
Friends |
class | Model |
class | WorldGui |
Definition at line 10 of file canvas.hh.