cgv
|
Public Member Functions | |
domain_config (unsigned dim, unsigned nr_attrs) | |
set default values based on plot dimension and nr additional attribute axes | |
Public Attributes | |
bool | show_domain |
whether to show the coordinate axes including tickmarks and labels | |
bool | fill |
whether to fill the domain | |
std::string | title |
plot title | |
bool | show_title |
whether to show the plot title | |
bool | show_sub_plot_names |
whether to show the sub plot names | |
vecn | title_pos |
position of title | |
rgb | color |
color of the domain fill | |
rgba | title_color |
color of the title | |
float | reference_size |
store size of virtual pixel based measurement | |
float | blend_width_in_pixel |
store blend width in screen pixels used for antialiasing | |
std::vector< axis_config > | axis_configs |
store a vector of axis configurations (2/3 for plot2/3d plus several attribute axes) | |
unsigned | label_font_index |
store index of selected label font | |
float | label_font_size |
store selected label font size | |
cgv::media::font::FontFaceAttributes | label_ffa |
store selected label font face attributes | |
unsigned | title_font_index |
store index of selected title font | |
float | title_font_size |
store selected title font size | |
cgv::media::font::FontFaceAttributes | title_ffa |
store selected title font face attributes | |
Definition at line 33 of file plot_base.h.
cgv::plot::domain_config::domain_config | ( | unsigned | dim, |
unsigned | nr_attrs | ||
) |
set default values based on plot dimension and nr additional attribute axes
Definition at line 29 of file plot_base.cxx.
References blend_width_in_pixel, fill, label_ffa, label_font_index, label_font_size, reference_size, show_domain, show_sub_plot_names, show_title, title_color, title_ffa, title_font_index, title_font_size, title_pos, and cgv::math::vec< T >::zeros().
std::vector<axis_config> cgv::plot::domain_config::axis_configs |
store a vector of axis configurations (2/3 for plot2/3d plus several attribute axes)
Definition at line 56 of file plot_base.h.
Referenced by cgv::plot::plot_base::adjust_domain_axis_to_data(), cgv::plot::plot_base::adjust_extent_to_domain_aspect_ratio(), cgv::plot::plot_base::adjust_tick_marks(), cgv::plot::plot_base::create_plot_gui(), cgv::plot::plot_base::get_domain(), cgv::plot::plot_base::get_domain3(), cgv::plot::plot_base::get_extent(), cgv::plot::plot_base::include_axis_to_domain(), cgv::plot::plot2d::plot2d(), cgv::plot::plot3d::plot3d(), cgv::plot::plot_base::prepare_extents(), cgv::plot::plot_base::set_domain(), cgv::plot::plot_base::set_domain3(), cgv::plot::plot_base::set_extent(), cgv::plot::plot_base::set_extent_scaling(), cgv::plot::plot_base::set_height(), cgv::plot::plot_base::set_plot_uniforms(), cgv::plot::plot_base::set_width(), and cgv::plot::plot_base::transform_to_world().
float cgv::plot::domain_config::blend_width_in_pixel |
store blend width in screen pixels used for antialiasing
Definition at line 54 of file plot_base.h.
Referenced by domain_config(), and cgv::plot::plot3d::plot3d().
rgb cgv::plot::domain_config::color |
color of the domain fill
Definition at line 48 of file plot_base.h.
bool cgv::plot::domain_config::fill |
whether to fill the domain
Definition at line 38 of file plot_base.h.
Referenced by domain_config().
cgv::media::font::FontFaceAttributes cgv::plot::domain_config::label_ffa |
store selected label font face attributes
Definition at line 62 of file plot_base.h.
Referenced by domain_config(), and cgv::plot::plot_base::set_label_font().
unsigned cgv::plot::domain_config::label_font_index |
store index of selected label font
Definition at line 58 of file plot_base.h.
Referenced by domain_config(), cgv::plot::plot_base::ensure_font_names(), and cgv::plot::plot_base::set_label_font().
float cgv::plot::domain_config::label_font_size |
store selected label font size
Definition at line 60 of file plot_base.h.
Referenced by domain_config(), and cgv::plot::plot_base::set_label_font().
float cgv::plot::domain_config::reference_size |
store size of virtual pixel based measurement
Definition at line 52 of file plot_base.h.
Referenced by domain_config().
bool cgv::plot::domain_config::show_domain |
whether to show the coordinate axes including tickmarks and labels
Definition at line 36 of file plot_base.h.
Referenced by domain_config().
bool cgv::plot::domain_config::show_sub_plot_names |
whether to show the sub plot names
Definition at line 44 of file plot_base.h.
Referenced by cgv::plot::plot_base::create_plot_gui(), and domain_config().
bool cgv::plot::domain_config::show_title |
whether to show the plot title
Definition at line 42 of file plot_base.h.
Referenced by cgv::plot::plot_base::create_plot_gui(), and domain_config().
std::string cgv::plot::domain_config::title |
plot title
Definition at line 40 of file plot_base.h.
Referenced by cgv::plot::plot_base::create_plot_gui(), and cgv::plot::plot2d::plot2d().
rgba cgv::plot::domain_config::title_color |
cgv::media::font::FontFaceAttributes cgv::plot::domain_config::title_ffa |
store selected title font face attributes
Definition at line 68 of file plot_base.h.
Referenced by domain_config().
unsigned cgv::plot::domain_config::title_font_index |
store index of selected title font
Definition at line 64 of file plot_base.h.
Referenced by cgv::plot::plot_base::create_plot_gui(), domain_config(), and cgv::plot::plot_base::ensure_font_names().
float cgv::plot::domain_config::title_font_size |
store selected title font size
Definition at line 66 of file plot_base.h.
Referenced by cgv::plot::plot_base::create_plot_gui(), and domain_config().
vecn cgv::plot::domain_config::title_pos |
position of title
Definition at line 46 of file plot_base.h.
Referenced by cgv::plot::plot_base::create_plot_gui(), and domain_config().