Coverage Control Library
Loading...
Searching...
No Matches
Plotter Class Reference

Class to plot the map. More...

#include <plotter.h>

Public Member Functions

 Plotter (std::string const &d, int const &r_max, double const &res)
 
void SetDir (std::string const &d)
 
void SetScale (double const &sc)
 
void SetPlotName (std::string const &name)
 
void SetPlotName (std::string const &name, int const &i)
 
void PlotMap (MapType const &map)
 
void PlotMap (MapType const &map, PointVector const &positions)
 
void PlotMap (MapType const &map, PointVector const &positions, std::vector< std::list< Point2 > > const &trajectories, std::vector< int > const &robot_status)
 
void PlotMap (MapType const &map, PointVector const &positions, std::vector< std::list< Point2 > > const &trajectories, std::vector< int > const &robot_status, double const &communication_range)
 
void PlotMap (MapType const &map, PointVector const &positions, std::vector< std::list< Point2 > > const &voronoi, std::vector< std::list< Point2 > > const &trajectories)
 
void PlotMap (MapType const &map, PointVector const &positions, Voronoi const &voronoi, std::vector< std::list< Point2 > > const &trajectories)
 
void PlotMap (MapType const &map, PointVector const &positions, PointVector const &goals, Voronoi const &voronoi)
 
void PlotMap (MapType const &map, PointVector const &positions, std::vector< std::list< Point2 > > const &trajectories, PointVector const &frontiers)
 

Detailed Description

Class to plot the map.

Definition at line 59 of file plotter.h.

Constructor & Destructor Documentation

◆ Plotter()

Plotter ( std::string const & d,
int const & r_max,
double const & res )
inline

Definition at line 89 of file plotter.h.

Member Function Documentation

◆ PlotMap() [1/8]

void PlotMap ( MapType const & map)

Definition at line 98 of file plotter.cpp.

◆ PlotMap() [2/8]

void PlotMap ( MapType const & map,
PointVector const & positions )

Definition at line 109 of file plotter.cpp.

◆ PlotMap() [3/8]

void PlotMap ( MapType const & map,
PointVector const & positions,
PointVector const & goals,
Voronoi const & voronoi )

Definition at line 300 of file plotter.cpp.

◆ PlotMap() [4/8]

void PlotMap ( MapType const & map,
PointVector const & positions,
std::vector< std::list< Point2 > > const & trajectories,
PointVector const & frontiers )

Definition at line 348 of file plotter.cpp.

◆ PlotMap() [5/8]

void PlotMap ( MapType const & map,
PointVector const & positions,
std::vector< std::list< Point2 > > const & trajectories,
std::vector< int > const & robot_status )

Definition at line 127 of file plotter.cpp.

◆ PlotMap() [6/8]

void PlotMap ( MapType const & map,
PointVector const & positions,
std::vector< std::list< Point2 > > const & trajectories,
std::vector< int > const & robot_status,
double const & communication_range )

Definition at line 167 of file plotter.cpp.

◆ PlotMap() [7/8]

void PlotMap ( MapType const & map,
PointVector const & positions,
std::vector< std::list< Point2 > > const & voronoi,
std::vector< std::list< Point2 > > const & trajectories )

Definition at line 219 of file plotter.cpp.

◆ PlotMap() [8/8]

void PlotMap ( MapType const & map,
PointVector const & positions,
Voronoi const & voronoi,
std::vector< std::list< Point2 > > const & trajectories )

Definition at line 258 of file plotter.cpp.

◆ SetDir()

void SetDir ( std::string const & d)
inline

Definition at line 95 of file plotter.h.

◆ SetPlotName() [1/2]

void SetPlotName ( std::string const & name)
inline

Definition at line 105 of file plotter.h.

◆ SetPlotName() [2/2]

void SetPlotName ( std::string const & name,
int const & i )
inline

Definition at line 107 of file plotter.h.

◆ SetScale()

void SetScale ( double const & sc)
inline

Definition at line 97 of file plotter.h.