cgv
|
store source of a single plot attribute (one coordinate axis or one float attribute) More...
#include <plot_base.h>
Public Member Functions | |
attribute_source () | |
construct an empty attribute sources | |
attribute_source (int sub_plot_index, size_t ai, size_t _count, size_t _stride) | |
construct an attribute source referencing component ai of given sub plot | |
attribute_source (const float *_pointer, size_t _count, size_t _stride) | |
constructor for source from external data | |
attribute_source (const cgv::render::vertex_buffer *_vbo_ptr, size_t _offset, size_t _count, size_t _stride) | |
constructor for source from vbo | |
attribute_source (const attribute_source &as) | |
copy constructor has no magic inside | |
Public Attributes | ||
AttributeSource | source | |
union { | ||
int sub_plot_index | ||
const float * pointer | ||
const cgv::render::vertex_buffer * vbo_ptr | ||
}; | ||
size_t | offset | |
size_t | count | |
size_t | stride | |
store source of a single plot attribute (one coordinate axis or one float attribute)
Definition at line 227 of file plot_base.h.
cgv::plot::attribute_source::attribute_source | ( | ) |
construct an empty attribute sources
Definition at line 195 of file plot_base.cxx.
cgv::plot::attribute_source::attribute_source | ( | int | sub_plot_index, |
size_t | ai, | ||
size_t | _count, | ||
size_t | _stride | ||
) |
construct an attribute source referencing component ai of given sub plot
Definition at line 197 of file plot_base.cxx.
cgv::plot::attribute_source::attribute_source | ( | const float * | _pointer, |
size_t | _count, | ||
size_t | _stride | ||
) |
constructor for source from external data
Definition at line 199 of file plot_base.cxx.
cgv::plot::attribute_source::attribute_source | ( | const cgv::render::vertex_buffer * | _vbo_ptr, |
size_t | _offset, | ||
size_t | _count, | ||
size_t | _stride | ||
) |
constructor for source from vbo
Definition at line 201 of file plot_base.cxx.
cgv::plot::attribute_source::attribute_source | ( | const attribute_source & | as | ) |
copy constructor has no magic inside
Definition at line 203 of file plot_base.cxx.
size_t cgv::plot::attribute_source::count |
Definition at line 236 of file plot_base.h.
size_t cgv::plot::attribute_source::offset |
Definition at line 235 of file plot_base.h.
const float* cgv::plot::attribute_source::pointer |
Definition at line 232 of file plot_base.h.
AttributeSource cgv::plot::attribute_source::source |
Definition at line 229 of file plot_base.h.
size_t cgv::plot::attribute_source::stride |
Definition at line 237 of file plot_base.h.
int cgv::plot::attribute_source::sub_plot_index |
Definition at line 231 of file plot_base.h.
const cgv::render::vertex_buffer* cgv::plot::attribute_source::vbo_ptr |
Definition at line 233 of file plot_base.h.