1 #ifndef MF_FRAME_EXPORTER_H_
2 #define MF_FRAME_EXPORTER_H_
5 #include "../ndarray/ndcoord.h"
6 #include "../ndarray/ndarray_view.h"
11 template<std::
size_t Dim,
typename Elem>
18 frame_shape_(frame_shape) { }
Mapping between coordinates, indices, and addresses of multi-dimensional data.
Definition: ndarray_view.h:16
virtual void write_frame(const frame_view_type &)=0
virtual ~frame_exporter()
Definition: frame_exporter.h:25
Frame exporter, abstract base class.
Definition: frame_exporter.h:12
static constexpr std::size_t dimension
Definition: frame_exporter.h:23
Vector of n-dimensional coordinates.
Definition: ndcoord.h:18
ndarray_view< Dim, Elem > frame_view_type
Definition: frame_exporter.h:21
frame_exporter(const ndsize< Dim > &frame_shape)
Definition: frame_exporter.h:17
const ndsize< Dim > & frame_shape()
Definition: frame_exporter.h:27
RGB color, 8 bit.
Definition: color.h:27
virtual void close()
Definition: frame_exporter.h:30