|
cgv
|
#include <plot2d.h>
Public Types | |
| typedef cgv::media::color< float, cgv::media::RGB > | rgb |
| declare rgb color type | |
| typedef cgv::media::color< float, cgv::media::RGB, cgv::media::OPACITY > | rgba |
| declare rgba color type | |
| typedef cgv::media::color< cgv::type::uint8_type, cgv::media::RGB > | rgb8 |
| declare rgb color type | |
| typedef cgv::media::color< cgv::type::uint8_type, cgv::media::RGB, cgv::media::OPACITY > | rgba8 |
| declare rgba color type | |
| typedef cgv::math::fvec< float, 2 > | vec2 |
| declare type of 2d vectors | |
| typedef cgv::math::fvec< float, 3 > | vec3 |
| declare type of 3d vectors | |
| typedef cgv::math::fvec< float, 4 > | vec4 |
| declare type of homogeneous vectors | |
| typedef cgv::math::vec< float > | vecn |
| declare type of vector with varying dimension | |
| typedef cgv::math::fmat< float, 2, 2 > | mat2 |
| declare type of 2x2 matrices | |
| typedef cgv::math::fmat< float, 3, 3 > | mat3 |
| declare type of 3x3 matrices | |
| typedef cgv::math::fmat< float, 4, 4 > | mat4 |
| declare type of 4x4 matrices | |
| typedef cgv::math::fmat< float, 3, 4 > | mat34 |
| declare type of 3x4 matrices which are often used to store a pose | |
| typedef cgv::math::mat< float > | matn |
| declare type of matrices of varying dimensions | |
| typedef cgv::math::fvec< double, 2 > | dvec2 |
| declare type of 2d vectors | |
| typedef cgv::math::fvec< double, 3 > | dvec3 |
| declare type of 3d vectors | |
| typedef cgv::math::fvec< double, 4 > | dvec4 |
| declare type of homogeneous vectors | |
| typedef cgv::math::vec< double > | dvecn |
| declare type of vector with varying dimension | |
| typedef cgv::math::fmat< double, 2, 2 > | dmat2 |
| declare type of 2x2 matrices | |
| typedef cgv::math::fmat< double, 3, 3 > | dmat3 |
| declare type of 3x3 matrices | |
| typedef cgv::math::fmat< double, 4, 4 > | dmat4 |
| declare type of 4x4 matrices | |
| typedef cgv::math::fmat< double, 3, 4 > | dmat34 |
| declare type of 3x4 matrices which are often used to store a pose | |
| typedef cgv::math::mat< double > | dmatn |
| declare type of matrices of varying dimensions | |
| typedef cgv::media::axis_aligned_box< float, 2 > | box2 |
| declare type of 2d boxes | |
| typedef cgv::media::axis_aligned_box< float, 3 > | box3 |
| declare type of 3d boxes | |
| typedef cgv::media::axis_aligned_box< float, 4 > | box4 |
| declare type of 4d boxes | |
| typedef cgv::media::axis_aligned_box< double, 2 > | dbox2 |
| declare type of 2d boxes | |
| typedef cgv::media::axis_aligned_box< double, 3 > | dbox3 |
| declare type of 3d boxes | |
| typedef cgv::media::axis_aligned_box< double, 4 > | dbox4 |
| declare type of 4d boxes | |
| typedef cgv::math::quaternion< float > | quat |
| declare type of quaternion | |
| typedef cgv::math::quaternion< double > | dquat |
| declare type of double quaternion | |
| typedef cgv::math::fvec< int32_t, 2 > | ivec2 |
| declare type of 2d integer vectors | |
| typedef cgv::math::fvec< int32_t, 3 > | ivec3 |
| declare type of 3d integer vectors | |
| typedef cgv::math::fvec< int32_t, 4 > | ivec4 |
| declare type of 4d integer vectors | |
| typedef cgv::math::fvec< uint32_t, 2 > | uvec2 |
| declare type of 2d unsigned integer vectors | |
| typedef cgv::math::fvec< uint32_t, 3 > | uvec3 |
| declare type of 3d unsigned integer vectors | |
| typedef cgv::math::fvec< uint32_t, 4 > | uvec4 |
| declare type of 4d unsigned integer vectors | |
Public Member Functions | |
| plot2d_config (const std::string &_name) | |
| set default values More... | |
| void | configure_chart (ChartType chart_type) |
| configure the sub plot to a specific chart type | |
| virtual void | set_colors (const rgb &base_color) |
| set all colors from reference color | |
| virtual void | set_opacities (float _opa) |
| set all opacities from reference opacity | |
| virtual void | set_sizes (float _size) |
| set all sizes from reference size | |
Public Attributes | |
| std::string | name |
| name of sub plot | |
| size_t | begin_sample |
| offset into samples defaults to 0, if larger than end_sample vector is split into two parts | |
| size_t | end_sample |
| defaults to -1 and effectively is always the end of the sample vector | |
| bool | show_plot |
| whether to show sub plot | |
| SubPlotInfluence | sub_plot_influence |
| store bit field to define which sub plots are influenced by reference values | |
| mapped_rgb | ref_color |
| reference color, when changed, all colors are adapted with set_colors() | |
| mapped_opacity | ref_opacity |
| reference opacity, when changed, all opcities are adapted with set_opacity() | |
| mapped_size | ref_size |
| reference size, when changed, all sizes are adapted with set_size() | |
| bool | show_points |
| whether to show data points | |
| mapped_size | point_size |
| point size in pixels | |
| mapped_rgba | point_color |
| point color | |
| mapped_size | point_halo_width |
| width of point halo in pixel | |
| mapped_rgba | point_halo_color |
| color of point halo | |
| bool | show_lines |
| whether to connect data points with lines | |
| mapped_size | line_width |
| line width | |
| mapped_rgba | line_color |
| line color | |
| mapped_size | line_halo_width |
| width of line halo in pixel | |
| mapped_rgba | line_halo_color |
| color of line halo | |
| bool | show_sticks |
| whether to show straight lines to the bottom of the plot, which are called sticks | |
| int | stick_coordinate_index |
| extended stick information | |
| float | stick_base_window |
| base window position of stick | |
| mapped_size | stick_width |
| line width of stick | |
| mapped_rgba | stick_color |
| color of the stick line | |
| bool | show_bars |
| whether to show bars | |
| int | bar_coordinate_index |
| extended bar information | |
| mapped_size | bar_outline_width |
| line width of bar outlines | |
| mapped_size | bar_percentual_width |
| percentual width of bar computed assuming a uniform y-sampling distance | |
| mapped_rgba | bar_color |
| bar fill color | |
| mapped_rgba | bar_outline_color |
| bar outline color | |
extend common plot configuration with parameters specific to 2d plot
| cgv::plot::plot2d_config::plot2d_config | ( | const std::string & | _name | ) |
set default values
extend common plot configuration with parameters specific to 1d plot