Class LayeredFigure

Inheritance Relationships

Base Type

Class Documentation

class LayeredFigure : public tuw::Figure

Public Functions

LayeredFigure(const std::string &title)
virtual ~LayeredFigure() = default
LayeredFigure(const LayeredFigure&) = default
LayeredFigure &operator=(const LayeredFigure&) = default
LayeredFigure(LayeredFigure&&) = default
LayeredFigure &operator=(LayeredFigure&&) = default
void outputPlot()
virtual void init(int width_pixel, int height_pixel, double min_y, double max_y, double min_x, double max_x, double rotation = 0, double grid_scale_x = -1, double grid_scale_y = -1, const std::string &background_image = std::string()) override

used to initialize the figure

Parameters:
  • width_pixel – pixel size of the canvas

  • height_pixel – pixel size of the canvas

  • min_y – minimal y of the visualized space

  • max_y – maximal y of the visualized space

  • min_x – minimal x of the visualized space

  • max_x – maximal x of the visualized space

  • rotation – rotation of the visualized space

  • grid_scale_x – dimension of the drawn grid, if -1 no grid will be drawn

  • grid_scale_y – dimension of the drawn grid, if -1 no grid will be drawn

  • background_image – file name of an image for the background, it can be empty as well

Public Members

LayeredMaps layeredMaps

Protected Attributes

int view_idx_
size_t sizeLayers_

Protected Static Functions

static void callbackTrkbar1(int flags, void *param)