Class to plot Fields2Cover data structures. More...
#include <visualizer.h>
Static Public Member Functions | |
static void | axis_equal () |
static void | figure () |
Create figure to plot on. More... | |
static void | figure_size (unsigned int width, unsigned int height) |
Change size of current figure. More... | |
static double | getLineWidth () |
static void | plot (const F2CCell &cell, const std::vector< double > &color={}) |
static void | plot (const F2CCells &cells, const std::vector< double > &color={}) |
static void | plot (const F2CField &field, const std::vector< double > &color={}) |
static void | plot (const F2CLinearRing &ring, const std::vector< double > &color={}) |
static void | plot (const F2CLineString &line, const std::vector< double > &color={}) |
static void | plot (const F2CMultiLineString &multiline, const std::vector< double > &color={}) |
static void | plot (const F2CMultiPoint &multipoint, const std::vector< double > &color={}) |
static void | plot (const F2CPath &path, const std::vector< std::vector< double >> &color={}) |
static void | plot (const F2CPoint &p, const std::vector< double > &color={}) |
static void | plot (const F2CRoute &route, const std::vector< std::vector< double >> &color={}) |
static void | plot (const F2CSwath &s, const std::vector< double > &color={}) |
static void | plot (const F2CSwaths &s, const std::vector< std::vector< double >> &color={}) |
static void | plot (const F2CSwathsByCells &s, const std::vector< std::vector< double >> &color={}) |
static void | plot (const std::vector< double > &t, const std::vector< double > &d, const std::vector< double > &color) |
static void | plot (const std::vector< F2CRoute > &route, const std::vector< std::vector< double >> &color={}) |
static void | plot (const std::vector< F2CSwathsByCells > &vs, const std::vector< std::vector< double >> &color={}) |
template<class T > | |
static void | plot (const std::vector< T > &v_t, const std::vector< double > &color) |
Plot vector of type T. More... | |
template<class T > | |
static void | plot (const std::vector< T > &v_t, const std::vector< std::vector< double >> &color={}) |
static void | plot (double x, double y, const std::vector< double > &color={}) |
static void | plotFilled (const F2CCell &cell, const std::vector< double > &color) |
static void | plotFilled (const F2CCell &cell, const std::vector< double > &poly_color, const std::vector< double > &holes_color) |
static void | plotFilled (const F2CCells &cells, const std::vector< double > &poly_color) |
static void | plotFilled (const F2CCells &cells, const std::vector< double > &poly_color, const std::vector< double > &holes_color) |
static void | plotFilled (const F2CField &field, const std::vector< double > &color={}) |
static void | plotFilled (const F2CLinearRing &ring, const std::vector< double > &color) |
static void | save (const std::string &file) |
static void | show () |
static void | title (const std::string &text) |
static void | xlim (double min, double max) |
static void | ylim (double min, double max) |
Static Private Member Functions | |
static std::vector< std::vector< double > > | color_linspace (const std::vector< int > &min, const std::vector< int > &max, size_t N) |
template<class T > | |
static std::vector< F2CPoint > | data2vector (const T &t) |
static std::vector< std::vector< double > > | getComponents (const std::vector< F2CPoint > &points) |
static std::vector< double > | linspace (double min, double max, size_t N) |
Class to plot Fields2Cover data structures.
Definition at line 20 of file visualizer.h.
|
static |
Definition at line 250 of file visualizer.cpp.
|
staticprivate |
Definition at line 307 of file visualizer.cpp.
|
staticprivate |
Definition at line 120 of file visualizer.h.
|
static |
Create figure to plot on.
Definition at line 254 of file visualizer.cpp.
|
static |
Change size of current figure.
Definition at line 260 of file visualizer.cpp.
|
staticprivate |
Definition at line 288 of file visualizer.cpp.
|
inlinestatic |
Definition at line 22 of file visualizer.h.
|
staticprivate |
Definition at line 298 of file visualizer.cpp.
|
static |
Definition at line 129 of file visualizer.cpp.
|
static |
Definition at line 136 of file visualizer.cpp.
|
static |
Definition at line 196 of file visualizer.cpp.
|
static |
Definition at line 124 of file visualizer.cpp.
|
static |
Definition at line 100 of file visualizer.cpp.
|
static |
Definition at line 117 of file visualizer.cpp.
|
static |
Definition at line 110 of file visualizer.cpp.
|
static |
Definition at line 159 of file visualizer.cpp.
|
static |
Definition at line 34 of file visualizer.cpp.
|
static |
Definition at line 153 of file visualizer.cpp.
|
static |
Definition at line 38 of file visualizer.cpp.
|
static |
Definition at line 53 of file visualizer.cpp.
|
static |
Definition at line 67 of file visualizer.cpp.
|
static |
Definition at line 15 of file visualizer.cpp.
|
static |
Definition at line 144 of file visualizer.cpp.
|
static |
Definition at line 81 of file visualizer.cpp.
|
static |
Plot vector of type T.
Definition at line 134 of file visualizer.h.
|
static |
|
static |
Definition at line 23 of file visualizer.cpp.
|
static |
Definition at line 221 of file visualizer.cpp.
|
static |
Definition at line 226 of file visualizer.cpp.
|
static |
Definition at line 206 of file visualizer.cpp.
|
static |
Definition at line 213 of file visualizer.cpp.
|
static |
Definition at line 200 of file visualizer.cpp.
|
static |
Definition at line 238 of file visualizer.cpp.
|
static |
Save figure to a file
file | Name of the file |
Definition at line 272 of file visualizer.cpp.
|
static |
Show the figure on screen
block | if true the program will wait until the screen is closed to continue |
Definition at line 268 of file visualizer.cpp.
|
static |
|
static |
Definition at line 280 of file visualizer.cpp.
|
static |
Definition at line 284 of file visualizer.cpp.