5#include <vitrio/detector_event_fractionation.hpp>
6#include <vitrio/export.hpp>
7#include <vitrio/platform.hpp>
8#include <vitrio/synchronous_image_reader.hpp>
36 :
public synchronous_image_reader
51 std::shared_ptr<const detector_event_timeline_reader> events,
53 std::shared_ptr<const detector_event_renderer> renderer
80 VITRIO_STD_MEMBER_INTERFACE
81 std::unique_ptr<implementation> m_implementation;
A reference to a multidimensional array that does not keep it alive.
Definition array_ref.hpp:32
How the time of an acquisition is cut into fractions.
Definition detector_event_fractionation.hpp:28
const detector_event_fractionation & get_fractionation() const noexcept
Get the fractionation the acquisition is read with.
detector_event_image_reader(std::shared_ptr< const detector_event_timeline_reader > events, detector_event_fractionation fractionation, std::shared_ptr< const detector_event_renderer > renderer)
Construct a reader rendering the fractions of an acquisition.
const image_descriptor & get_descriptor() const noexcept override
Get the shape and data type of what the file holds.
void read(array_ref destination, const image_transfer_plan ®ions) const override
Read a set of hyperrectangles of the file into one array, all before returning.
Abstract way of turning the events of a detector into an image.
Definition detector_event_renderer.hpp:34
Abstract read-only view of one acquisition of a detector that counts events.
Definition detector_event_timeline_reader.hpp:30
The shape and data type of the values an image file holds.
Definition image_descriptor.hpp:28
The regions to transfer between one file and one array.
Definition image_transfer_plan.hpp:34