#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 () |
|
◆ Canvas()
Canvas::Canvas |
( |
WorldGui * | world, |
|
|
int | x, |
|
|
int | y, |
|
|
int | width, |
|
|
int | height ) |
◆ ~Canvas()
◆ CanvasToWorld()
void Canvas::CanvasToWorld |
( |
int | px, |
|
|
int | py, |
|
|
double * | wx, |
|
|
double * | wy, |
|
|
double * | wz ) |
◆ createMenuItems()
void Canvas::createMenuItems |
( |
Fl_Menu_Bar * | menu, |
|
|
std::string | path ) |
◆ dirtyBuffer()
bool Stg::Canvas::dirtyBuffer |
( |
void | | ) |
const |
|
inline |
◆ draw()
◆ DrawBlocks()
void Canvas::DrawBlocks |
( |
| ) |
|
◆ DrawBoundingBoxes()
void Canvas::DrawBoundingBoxes |
( |
| ) |
|
◆ DrawFloor()
void Canvas::DrawFloor |
( |
| ) |
|
◆ EnterScreenCS()
void Canvas::EnterScreenCS |
( |
| ) |
|
◆ FixViewport()
void Canvas::FixViewport |
( |
int | W, |
|
|
int | H ) |
◆ getModel()
Model * Canvas::getModel |
( |
int | x, |
|
|
int | y ) |
◆ handle()
int Canvas::handle |
( |
int | event | ) |
|
|
virtual |
◆ InitGl()
◆ InitTextures()
void Canvas::InitTextures |
( |
| ) |
|
◆ InvertView()
void Stg::Canvas::InvertView |
( |
uint32_t | invertflags | ) |
|
◆ IsTopView()
bool Stg::Canvas::IsTopView |
( |
| ) |
|
|
inline |
◆ LeaveScreenCS()
void Canvas::LeaveScreenCS |
( |
| ) |
|
◆ Load()
void Canvas::Load |
( |
Worldfile * | wf, |
|
|
int | section ) |
◆ perspectiveCb()
void Canvas::perspectiveCb |
( |
Fl_Widget * | w, |
|
|
void * | p ) |
|
static |
◆ PopColor()
void Stg::Canvas::PopColor |
( |
| ) |
|
|
inline |
◆ PushColor() [1/2]
void Stg::Canvas::PushColor |
( |
Color | col | ) |
|
|
inline |
◆ PushColor() [2/2]
void Stg::Canvas::PushColor |
( |
double | r, |
|
|
double | g, |
|
|
double | b, |
|
|
double | a ) |
|
inline |
◆ renderFrame()
void Canvas::renderFrame |
( |
| ) |
|
|
virtual |
◆ resetCamera()
void Canvas::resetCamera |
( |
| ) |
|
◆ resize()
void Canvas::resize |
( |
int | X, |
|
|
int | Y, |
|
|
int | W, |
|
|
int | H ) |
◆ Save()
void Canvas::Save |
( |
Worldfile * | wf, |
|
|
int | section ) |
◆ Screenshot()
void Canvas::Screenshot |
( |
| ) |
|
◆ select()
void Canvas::select |
( |
Model * | mod | ) |
|
◆ selected()
bool Canvas::selected |
( |
Model * | mod | ) |
|
◆ setDirtyBuffer()
void Stg::Canvas::setDirtyBuffer |
( |
void | | ) |
|
|
inline |
◆ TimerCallback()
void Canvas::TimerCallback |
( |
Canvas * | canvas | ) |
|
|
static |
◆ unSelect()
void Canvas::unSelect |
( |
Model * | mod | ) |
|
◆ unSelectAll()
void Canvas::unSelectAll |
( |
| ) |
|
◆ VisualizeAll()
bool Stg::Canvas::VisualizeAll |
( |
| ) |
|
|
inline |
◆ _custom_options
std::map<std::string, Option *> Stg::Canvas::_custom_options |
◆ frames_rendered_count
unsigned long Stg::Canvas::frames_rendered_count |
◆ graphics
bool Stg::Canvas::graphics |
◆ screenshot_frame_skip
int Stg::Canvas::screenshot_frame_skip |
◆ world
The documentation for this class was generated from the following files: