#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 9 of file canvas.hh.
◆ Canvas()
Canvas::Canvas |
( |
WorldGui * |
world, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
◆ ~Canvas()
◆ AddModel()
void Canvas::AddModel |
( |
Model * |
mod | ) |
|
|
private |
◆ CanvasToWorld()
void Canvas::CanvasToWorld |
( |
int |
px, |
|
|
int |
py, |
|
|
double * |
wx, |
|
|
double * |
wy, |
|
|
double * |
wz |
|
) |
| |
◆ ClearRays()
void Stg::Canvas::ClearRays |
( |
| ) |
|
|
private |
◆ 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 |
( |
| ) |
|
◆ DrawGlobalGrid()
void Canvas::DrawGlobalGrid |
( |
| ) |
|
|
private |
◆ DrawRays()
void Stg::Canvas::DrawRays |
( |
| ) |
|
|
private |
◆ 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 |
◆ RecordRay()
void Stg::Canvas::RecordRay |
( |
double |
x1, |
|
|
double |
y1, |
|
|
double |
x2, |
|
|
double |
y2 |
|
) |
| |
|
private |
◆ RemoveModel()
void Canvas::RemoveModel |
( |
Model * |
mod | ) |
|
|
private |
◆ 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 |
◆ Model
◆ WorldGui
◆ _custom_options
std::map<std::string, Option *> Stg::Canvas::_custom_options |
◆ camera
◆ clicked_empty_space
bool Stg::Canvas::clicked_empty_space |
|
private |
◆ colorstack
◆ current_camera
Camera* Stg::Canvas::current_camera |
|
private |
◆ dirty_buffer
bool Stg::Canvas::dirty_buffer |
|
private |
◆ empty_space_startx
int Stg::Canvas::empty_space_startx |
|
private |
◆ empty_space_starty
int Stg::Canvas::empty_space_starty |
|
private |
◆ frames_rendered_count
unsigned long Stg::Canvas::frames_rendered_count |
◆ graphics
bool Stg::Canvas::graphics |
◆ interval
(even if it is now unselected).
Definition at line 58 of file canvas.hh.
◆ last_selection
Model* Stg::Canvas::last_selection |
|
private |
the most recently selected model
Definition at line 55 of file canvas.hh.
◆ models_sorted
std::list<Model *> Stg::Canvas::models_sorted |
|
private |
◆ pCamOn
◆ perspective_camera
◆ screenshot_frame_skip
int Stg::Canvas::screenshot_frame_skip |
◆ selected_models
std::list<Model *> Stg::Canvas::selected_models |
|
private |
◆ selectedModel
bool Stg::Canvas::selectedModel |
|
private |
◆ showBBoxes
Option Stg::Canvas::showBBoxes |
|
private |
◆ showBlocks
Option Stg::Canvas::showBlocks |
|
private |
◆ showBlur
◆ showClock
◆ showData
◆ showFlags
◆ showFollow
Option Stg::Canvas::showFollow |
|
private |
◆ showFootprints
Option Stg::Canvas::showFootprints |
|
private |
◆ showGrid
◆ showOccupancy
Option Stg::Canvas::showOccupancy |
|
private |
◆ showScreenshots
Option Stg::Canvas::showScreenshots |
|
private |
◆ showStatus
Option Stg::Canvas::showStatus |
|
private |
◆ showTrailArrows
Option Stg::Canvas::showTrailArrows |
|
private |
◆ showTrailRise
Option Stg::Canvas::showTrailRise |
|
private |
◆ showTrails
Option Stg::Canvas::showTrails |
|
private |
◆ showVoxels
Option Stg::Canvas::showVoxels |
|
private |
◆ startx
◆ starty
◆ visualizeAll
Option Stg::Canvas::visualizeAll |
|
private |
◆ wf
◆ world
The documentation for this class was generated from the following files: