|
|
| Rectangle (Axis *parent) |
| | create a new Rectangle, connecting it to the parent
|
| |
| template<typename AnimatedBackend > |
| TRASE_GEOMETRY_DISPATCH_BACKENDS void | draw (AnimatedBackend &backend) |
| | draw the full rectangles animation using the AnimatedBackend More...
|
| |
| template<typename Backend > |
| void | draw (Backend &backend, float time) |
| | draw the rectangles at a snapshot in time using the Backend More...
|
| |
| template<typename AnimatedBackend > |
| void | draw_legend (AnimatedBackend &backend, const bfloat2_t &box) |
| | draw the full rectangle legend animation More...
|
| |
| template<typename Backend > |
| void | draw_legend (Backend &backend, float time, const bfloat2_t &box) |
| | draw the rectangles legend at a snapshot in time More...
|
| |
|
| Geometry (Axis *parent) |
| |
| void | add_frame (const DataWithAesthetic &data, float time) |
| | Adds a new data frame to this plot. More...
|
| |
|
float | get_time (const int i) const |
| |
|
const DataWithAesthetic & | get_data (const int i) const |
| |
|
DataWithAesthetic & | get_data (const int i) |
| |
|
size_t | data_size () const |
| |
| void | set_transform (const Transform &transform) |
| | Sets the transform. More...
|
| |
| void | set_label (const std::string &label) |
| | Set the label. More...
|
| |
|
const std::string & | get_label () const |
| |
|
const Colormap & | get_colormap () const |
| |
|
virtual void | dispatch_legend (BackendSVG &file, float time, const bfloat2_t &box)=0 |
| |
|
virtual void | dispatch_legend (BackendSVG &file, const bfloat2_t &box)=0 |
| |
|
template<typename AnimatedBackend > |
| void | draw (AnimatedBackend &backend) |
| |
|
template<typename Backend > |
| void | draw (Backend &backend, float time) |
| |
|
template<typename AnimatedBackend > |
| void | draw_legend (AnimatedBackend &backend, const bfloat2_t &box) |
| |
|
template<typename Backend > |
| void | draw_legend (Backend &backend, float time, const bfloat2_t &box) |
| |
| | Drawable (Drawable *parent, const bfloat2_t &area_of_parent) |
| | constructs a Drawable under parent in the tree structure, and assigns it an drawable area given by area_of_parent More...
|
| |
|
void | resize (const bfloat2_t &parent_pixels) |
| | resize the drawable area (in raw pixels) using the parents area (in raw pixels)
|
| |
|
void | update_time_span (float time) |
| | if time is outside the current animation time span of this object then this time span is increased to include it
|
| |
|
void | add_frame_time (float time) |
| | adds a keyframe time to the animation
|
| |
| void | update_frame_info (float time) |
| | fills out m_frame_info using a given time More...
|
| |
| const FrameInfo & | get_frame_info () const |
| | returns the current FrameInfo More...
|
| |
|
const bfloat2_t & | pixels () const |
| | returns this objects drawable area in raw pixels
|
| |
|
const bfloat2_t & | area () const |
| | returns this objects drawable area as a ratio of the parents drawable area
|
| |
|
bfloat2_t & | area () |
| | returns this objects drawable area as a ratio of the parents drawable area
|
| |
|
Style & | style () noexcept |
| | returns modifiable current style
|
| |
|
const float & | time_span () const |
| | returns time span of the animation
|
| |
|
virtual void | dispatch (BackendSVG &file, float time)=0 |
| |
|
virtual void | dispatch (BackendSVG &file)=0 |
| |
|
template<typename AnimatedBackend > |
| void | draw (AnimatedBackend &backend) |
| | draw this object using the given AnimatedBackend
|
| |
|
template<typename Backend > |
| void | draw (Backend &backend, float time) |
| | draw this object using the given Backend
|
| |
A collection of one or more filled rectangles.
Aesthetics:
- xmin (minimum x-coordinate of rectangles)
- ymin (minimum y-coordinate of rectangles)
- xmax (maximum x-coordinate of rectangles)
- ymax (maximum y-coordinate of rectangles)
- color (optional - stroke color of circles)
- fill (optional - fill color of circles)
Default Transform: