|
FuncSketch
|
Class of configurations of a plot. More...
#include <func_sketch/plotter/plot_config.h>
Public Member Functions | |
| PlotConfig ()=default | |
| Constructor. | |
| PlotConfig & | left_margin (int value) |
| Set the left margin of plots in pixels. | |
| PlotConfig & | right_margin (int value) |
| Set the right margin of plots in pixels. | |
| PlotConfig & | top_margin (int value) |
| Set the top margin of plots in pixels. | |
| PlotConfig & | bottom_margin (int value) |
| Set the bottom margin of plots in pixels. | |
| PlotConfig & | tick_label_font_size (int value) |
| Set the font size of tick labels in pixels. | |
| PlotConfig & | axes_line_width (int value) |
| Set the line width of axes in pixels. | |
| PlotConfig & | grid_line_width (int value) |
| Set the line width of grid lines in pixels. | |
| PlotConfig & | zero_line_width (int value) |
| Set the line width of the grid line at zero in pixels. | |
| PlotConfig & | curve_line_width (int value) |
| Set the line width of curves in pixels. | |
| PlotConfig & | background_color (const RGBColor &value) |
| Set the color of background. | |
| PlotConfig & | axes_color (const RGBColor &value) |
| Set the color of axes. | |
| PlotConfig & | grid_color (const RGBColor &value) |
| Set the color of grid lines. | |
| PlotConfig & | initial_num_sample_points (std::size_t value) |
| Set the number of points to sample initially in adaptive sampling. | |
| PlotConfig & | max_num_sample_points (std::size_t value) |
| Set the maximum number of points to sample in adaptive sampling. | |
| PlotConfig & | max_coordinate_change_rate (double value) |
| Set the threshold of the change in coordinates of sample points relative to the plot range in adaptive sampling. | |
| PlotConfig & | slope_change_threshold (double value) |
| Set the threshold of the change in slope normalized by the plot range in adaptive sampling. | |
| PlotConfig & | min_param_change_rate (double value) |
| Set the minimum rate of parameter change in adaptive sampling. | |
| PlotConfig & | num_pixels_per_tick_in_x_axis (std::size_t value) |
| Set the number of pixels per tick in the x-axis. | |
| PlotConfig & | num_pixels_per_tick_in_y_axis (std::size_t value) |
| Set the number of pixels per tick in the y-axis. | |
| int | left_margin () const noexcept |
| Get the left margin of plots in pixels. | |
| int | right_margin () const noexcept |
| Get the right margin of plots in pixels. | |
| int | top_margin () const noexcept |
| Get the top margin of plots in pixels. | |
| int | bottom_margin () const noexcept |
| Get the bottom margin of plots in pixels. | |
| int | tick_label_font_size () const noexcept |
| Get the font size of tick labels in pixels. | |
| int | axes_line_width () const noexcept |
| Get the line width of axes in pixels. | |
| int | grid_line_width () const noexcept |
| Get the line width of grid lines in pixels. | |
| int | zero_line_width () const noexcept |
| Get the line width of the grid line at zero in pixels. | |
| int | curve_line_width () const noexcept |
| Get the line width of curves in pixels. | |
| const RGBColor & | background_color () const noexcept |
| Get the color of background. | |
| const RGBColor & | axes_color () const noexcept |
| Get the color of axes. | |
| const RGBColor & | grid_color () const noexcept |
| Get the color of grid lines. | |
| std::size_t | initial_num_sample_points () const noexcept |
| Get the number of points to sample initially in adaptive sampling. | |
| std::size_t | max_num_sample_points () const noexcept |
| Get the maximum number of points to sample in adaptive sampling. | |
| double | max_coordinate_change_rate () const noexcept |
| Get the threshold of the change in coordinates of sample points relative to the plot range in adaptive sampling. | |
| double | slope_change_threshold () const noexcept |
| Get the threshold of the change in slope normalized by the plot range in adaptive sampling. | |
| double | min_param_change_rate () const noexcept |
| Get the minimum rate of parameter change in adaptive sampling. | |
| std::size_t | num_pixels_per_tick_in_x_axis () const noexcept |
| Get the number of pixels per tick in the x-axis. | |
| std::size_t | num_pixels_per_tick_in_y_axis () const noexcept |
| Get the number of pixels per tick in the y-axis. | |
Class of configurations of a plot.
Definition at line 97 of file plot_config.h.
| PlotConfig & func_sketch::plotter::PlotConfig::left_margin | ( | int | value | ) |
Set the left margin of plots in pixels.
| [in] | value | Left margin of plots in pixels. |
Definition at line 28 of file plot_config.cpp.
| PlotConfig & func_sketch::plotter::PlotConfig::right_margin | ( | int | value | ) |
Set the right margin of plots in pixels.
| [in] | value | Right margin of plots in pixels. |
Definition at line 36 of file plot_config.cpp.
| PlotConfig & func_sketch::plotter::PlotConfig::top_margin | ( | int | value | ) |
Set the top margin of plots in pixels.
| [in] | value | Top margin of plots in pixels. |
Definition at line 44 of file plot_config.cpp.
| PlotConfig & func_sketch::plotter::PlotConfig::bottom_margin | ( | int | value | ) |
Set the bottom margin of plots in pixels.
| [in] | value | Bottom margin of plots in pixels. |
Definition at line 52 of file plot_config.cpp.
| PlotConfig & func_sketch::plotter::PlotConfig::tick_label_font_size | ( | int | value | ) |
Set the font size of tick labels in pixels.
| [in] | value | Font size of tick labels in pixels. |
Definition at line 60 of file plot_config.cpp.
| PlotConfig & func_sketch::plotter::PlotConfig::axes_line_width | ( | int | value | ) |
Set the line width of axes in pixels.
| [in] | value | Line width of axes in pixels. |
Definition at line 69 of file plot_config.cpp.
| PlotConfig & func_sketch::plotter::PlotConfig::grid_line_width | ( | int | value | ) |
Set the line width of grid lines in pixels.
| [in] | value | Line width of grid lines in pixels. |
Definition at line 77 of file plot_config.cpp.
| PlotConfig & func_sketch::plotter::PlotConfig::zero_line_width | ( | int | value | ) |
Set the line width of the grid line at zero in pixels.
| [in] | value | Line width of the grid line at zero in pixels. |
Definition at line 85 of file plot_config.cpp.
| PlotConfig & func_sketch::plotter::PlotConfig::curve_line_width | ( | int | value | ) |
Set the line width of curves in pixels.
| [in] | value | Line width of curves in pixels. |
Definition at line 93 of file plot_config.cpp.
| PlotConfig & func_sketch::plotter::PlotConfig::background_color | ( | const RGBColor & | value | ) |
Set the color of background.
| [in] | value | Color of background. |
Definition at line 101 of file plot_config.cpp.
| PlotConfig & func_sketch::plotter::PlotConfig::axes_color | ( | const RGBColor & | value | ) |
Set the color of axes.
| [in] | value | Color of axes. |
Definition at line 106 of file plot_config.cpp.
| PlotConfig & func_sketch::plotter::PlotConfig::grid_color | ( | const RGBColor & | value | ) |
Set the color of grid lines.
| [in] | value | Color of grid lines. |
Definition at line 111 of file plot_config.cpp.
| PlotConfig & func_sketch::plotter::PlotConfig::initial_num_sample_points | ( | std::size_t | value | ) |
Set the number of points to sample initially in adaptive sampling.
| [in] | value | Number of points to sample initially in adaptive sampling. |
Definition at line 116 of file plot_config.cpp.
| PlotConfig & func_sketch::plotter::PlotConfig::max_num_sample_points | ( | std::size_t | value | ) |
Set the maximum number of points to sample in adaptive sampling.
| [in] | value | Maximum number of points to sample in adaptive sampling. |
Definition at line 125 of file plot_config.cpp.
| PlotConfig & func_sketch::plotter::PlotConfig::max_coordinate_change_rate | ( | double | value | ) |
Set the threshold of the change in coordinates of sample points relative to the plot range in adaptive sampling.
| [in] | value | Threshold of the change in coordinates of sample points relative to the plot range in adaptive sampling. |
Definition at line 139 of file plot_config.cpp.
| PlotConfig & func_sketch::plotter::PlotConfig::slope_change_threshold | ( | double | value | ) |
Set the threshold of the change in slope normalized by the plot range in adaptive sampling.
| [in] | value | Threshold of the change in slope normalized by the plot range in adaptive sampling. |
Definition at line 148 of file plot_config.cpp.
| PlotConfig & func_sketch::plotter::PlotConfig::min_param_change_rate | ( | double | value | ) |
Set the minimum rate of parameter change in adaptive sampling.
| [in] | value | Minimum rate of parameter change in adaptive sampling. |
Definition at line 157 of file plot_config.cpp.
| PlotConfig & func_sketch::plotter::PlotConfig::num_pixels_per_tick_in_x_axis | ( | std::size_t | value | ) |
Set the number of pixels per tick in the x-axis.
| [in] | value | Number of pixels per tick in the x-axis. |
Definition at line 167 of file plot_config.cpp.
| PlotConfig & func_sketch::plotter::PlotConfig::num_pixels_per_tick_in_y_axis | ( | std::size_t | value | ) |
Set the number of pixels per tick in the y-axis.
| [in] | value | Number of pixels per tick in the y-axis. |
Definition at line 176 of file plot_config.cpp.
|
nodiscardnoexcept |
Get the left margin of plots in pixels.
Definition at line 185 of file plot_config.cpp.
|
nodiscardnoexcept |
Get the right margin of plots in pixels.
Definition at line 187 of file plot_config.cpp.
|
nodiscardnoexcept |
Get the top margin of plots in pixels.
Definition at line 189 of file plot_config.cpp.
|
nodiscardnoexcept |
Get the bottom margin of plots in pixels.
Definition at line 191 of file plot_config.cpp.
|
nodiscardnoexcept |
Get the font size of tick labels in pixels.
Definition at line 193 of file plot_config.cpp.
|
nodiscardnoexcept |
Get the line width of axes in pixels.
Definition at line 197 of file plot_config.cpp.
|
nodiscardnoexcept |
Get the line width of grid lines in pixels.
Definition at line 199 of file plot_config.cpp.
|
nodiscardnoexcept |
Get the line width of the grid line at zero in pixels.
Definition at line 201 of file plot_config.cpp.
|
nodiscardnoexcept |
Get the line width of curves in pixels.
Definition at line 203 of file plot_config.cpp.
|
nodiscardnoexcept |
Get the color of background.
Definition at line 205 of file plot_config.cpp.
|
nodiscardnoexcept |
|
nodiscardnoexcept |
Get the color of grid lines.
Definition at line 211 of file plot_config.cpp.
|
nodiscardnoexcept |
Get the number of points to sample initially in adaptive sampling.
Definition at line 213 of file plot_config.cpp.
|
nodiscardnoexcept |
Get the maximum number of points to sample in adaptive sampling.
Definition at line 217 of file plot_config.cpp.
|
nodiscardnoexcept |
Get the threshold of the change in coordinates of sample points relative to the plot range in adaptive sampling.
Definition at line 221 of file plot_config.cpp.
|
nodiscardnoexcept |
Get the threshold of the change in slope normalized by the plot range in adaptive sampling.
Definition at line 225 of file plot_config.cpp.
|
nodiscardnoexcept |
Get the minimum rate of parameter change in adaptive sampling.
Definition at line 229 of file plot_config.cpp.
|
nodiscardnoexcept |
Get the number of pixels per tick in the x-axis.
Definition at line 233 of file plot_config.cpp.
|
nodiscardnoexcept |
Get the number of pixels per tick in the y-axis.
Definition at line 237 of file plot_config.cpp.
|
private |
Left margin of plots in pixels.
Definition at line 414 of file plot_config.h.
|
private |
Right margin of plots in pixels.
Definition at line 417 of file plot_config.h.
|
private |
Top margin of plots in pixels.
Definition at line 420 of file plot_config.h.
|
private |
Bottom margin of plots in pixels.
Definition at line 423 of file plot_config.h.
|
private |
Font size of tick labels in pixels.
Definition at line 426 of file plot_config.h.
|
private |
Line width of axes in pixels.
Definition at line 429 of file plot_config.h.
|
private |
Line width of grid lines in pixels.
Definition at line 432 of file plot_config.h.
|
private |
Line width of the grid line at zero in pixels.
Definition at line 435 of file plot_config.h.
|
private |
Line width of curves in pixels.
Definition at line 438 of file plot_config.h.
|
private |
Color of background.
Definition at line 441 of file plot_config.h.
|
private |
Color of axes.
Definition at line 444 of file plot_config.h.
|
private |
Color of grid lines.
Definition at line 447 of file plot_config.h.
|
private |
Number of points to sample initially in adaptive sampling.
Definition at line 450 of file plot_config.h.
|
private |
Maximum number of points to sample in adaptive sampling.
Definition at line 453 of file plot_config.h.
|
private |
Threshold of the change in coordinates of sample points relative to the plot range in adaptive sampling.
Definition at line 457 of file plot_config.h.
|
private |
Threshold of the change in slope normalized by the plot range in adaptive sampling.
Definition at line 461 of file plot_config.h.
|
private |
Minimum rate of parameter change in adaptive sampling.
Definition at line 464 of file plot_config.h.
|
private |
Number of pixels per tick in the x-axis.
Definition at line 467 of file plot_config.h.
|
private |
Number of pixels per tick in the y-axis.
Definition at line 471 of file plot_config.h.