#include <canvas.hh>
|
| 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 () |
|
Definition at line 10 of file canvas.hh.
Canvas::Canvas |
( |
WorldGui * |
world, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
void Canvas::AddModel |
( |
Model * |
mod | ) |
|
|
private |
void Canvas::CanvasToWorld |
( |
int |
px, |
|
|
int |
py, |
|
|
double * |
wx, |
|
|
double * |
wy, |
|
|
double * |
wz |
|
) |
| |
void Stg::Canvas::ClearRays |
( |
| ) |
|
|
private |
void Canvas::createMenuItems |
( |
Fl_Menu_Bar * |
menu, |
|
|
std::string |
path |
|
) |
| |
bool Stg::Canvas::dirtyBuffer |
( |
void |
| ) |
const |
|
inline |
void Canvas::DrawBlocks |
( |
| ) |
|
void Canvas::DrawBoundingBoxes |
( |
| ) |
|
void Canvas::DrawFloor |
( |
| ) |
|
void Canvas::DrawGlobalGrid |
( |
| ) |
|
|
private |
void Stg::Canvas::DrawRays |
( |
| ) |
|
|
private |
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 Stg::Canvas::RecordRay |
( |
double |
x1, |
|
|
double |
y1, |
|
|
double |
x2, |
|
|
double |
y2 |
|
) |
| |
|
private |
void Canvas::RemoveModel |
( |
Model * |
mod | ) |
|
|
private |
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 |
std::map< std::string, Option* > Stg::Canvas::_custom_options |
bool Stg::Canvas::clicked_empty_space |
|
private |
Camera* Stg::Canvas::current_camera |
|
private |
bool Stg::Canvas::dirty_buffer |
|
private |
int Stg::Canvas::empty_space_startx |
|
private |
int Stg::Canvas::empty_space_starty |
|
private |
unsigned long Stg::Canvas::frames_rendered_count |
bool Stg::Canvas::graphics |
(even if it is now unselected).
Definition at line 70 of file canvas.hh.
Model* Stg::Canvas::last_selection |
|
private |
the most recently selected model
Definition at line 67 of file canvas.hh.
std::list<Model*> Stg::Canvas::models_sorted |
|
private |
int Stg::Canvas::screenshot_frame_skip |
std::list<Model*> Stg::Canvas::selected_models |
|
private |
bool Stg::Canvas::selectedModel |
|
private |
Option Stg::Canvas::showBBoxes |
|
private |
Option Stg::Canvas::showBlocks |
|
private |
Option Stg::Canvas::showFollow |
|
private |
Option Stg::Canvas::showFootprints |
|
private |
Option Stg::Canvas::showOccupancy |
|
private |
Option Stg::Canvas::showScreenshots |
|
private |
Option Stg::Canvas::showStatus |
|
private |
Option Stg::Canvas::showTrailArrows |
|
private |
Option Stg::Canvas::showTrailRise |
|
private |
Option Stg::Canvas::showTrails |
|
private |
Option Stg::Canvas::showVoxels |
|
private |
Option Stg::Canvas::visualizeAll |
|
private |
The documentation for this class was generated from the following files: