57 TRASE_GEOMETRY_DISPATCH_BACKENDS
68 template <
typename Backend>
void draw(
Backend &backend,
float time);
73 template <
typename AnimatedBackend>
80 template <
typename Backend>
84 template <
typename AnimatedBackend>
86 template <
typename Backend>
void draw_plot(
Backend &backend);
87 template <
typename Backend>
void draw_highlights(
Backend &backend);
92 #include "frontend/Histogram.tcc" a base class for all the backends that support drawing a single frame
Definition: Backend.hpp:50
An 2D axis that can contain zero or more Geometry objects.
Definition: Axis.hpp:85
A collection of rectangles arranged evenly along the x-axis, with varying heights (i...
Definition: Histogram.hpp:52
Histogram(Axis *parent)
create a new Histogram, connecting it to the parent
Definition: Histogram.hpp:55
a base class for all the backends that support animation over time
Definition: Backend.hpp:62
Definition: Geometry.hpp:54
TRASE_GEOMETRY_DISPATCH_BACKENDS void draw(AnimatedBackend &backend)
draw the full histogram animation using the AnimatedBackend
void draw_legend(AnimatedBackend &backend, const bfloat2_t &box)
draw the full histogram legend animation
Definition: Backend.cpp:39
available geometry types are Points, Line.