5#include <vitrio/export.hpp>
6#include <vitrio/image_transfer_plan.hpp>
37class VITRIO_API image_reader
40 image_reader()
noexcept;
41 image_reader(
const image_reader &other) =
delete;
42 image_reader(image_reader &&other) =
delete;
43 virtual ~image_reader();
45 image_reader& operator=(
const image_reader &other) =
delete;
46 image_reader& operator=(image_reader &&other) =
delete;
A multidimensional array of numbers in host memory.
Definition array.hpp:37
Where a finished unit of work is reported.
Definition completion_notifier.hpp:20
The shape and data type of the values an image file holds.
Definition image_descriptor.hpp:28
virtual void read_async(array destination, image_transfer_plan regions, std::shared_ptr< completion_notifier > done) const =0
Start reading a set of hyperrectangles of the file into one array.
virtual const image_descriptor & get_descriptor() const noexcept=0
Get the shape and data type of what the file holds.
The regions to transfer between one file and one array.
Definition image_transfer_plan.hpp:34