5#include <vitrio/export.hpp>
6#include <vitrio/image_transfer_sanitizer.hpp>
39 static const std::shared_ptr<const clipping_image_transfer_sanitizer>&
A sanitizer that clips every region to both of its sides.
Definition clipping_image_transfer_sanitizer.hpp:25
static const std::shared_ptr< const clipping_image_transfer_sanitizer > & get_shared()
Get the instance every use shares.
std::vector< image_transfer_plan > sanitize(const image_transfer_plan ®ions, span< const std::size_t > file_extents, span< const std::size_t > array_extents) const override
Get the plans to transfer in place of a plan.
The regions to transfer between one file and one array.
Definition image_transfer_plan.hpp:34
Decides what becomes of the regions of a plan that do not fit the file or the array they join.
Definition image_transfer_sanitizer.hpp:30
A view of a contiguous sequence of elements.
Definition span.hpp:29