| IOLink 1.11.0

Loading...
Searching...
No Matches
LodImageView.h
1#pragma once
2
3#include <memory>
4
5#include <iolink/IOLinkAPI.h>
6#include <iolink/RegionX.h>
7#include <iolink/Vector.h>
8#include <iolink/view/ImageView.h>
9
10 namespace iolink
11{
20 class IOLINK_API LodImageView : public View
21{
22 public:
23 virtual ~LodImageView() = default;
24
35 virtual const Vector2i64& levelRange() = 0;
36
44 virtual std::shared_ptr<ImageView> resolution(int64_t level) = 0;
45
49 std::string toString() const;
50};
51
52} // end namespace iolink
iolink::LodImageView
A view on an image with multiple levels of detail (LOD).
Definition LodImageView.h:21
iolink::LodImageView::resolution
virtual std::shared_ptr< ImageView > resolution(int64_t level)=0
An ImageView of the n-th level of detail.
iolink::LodImageView::toString
std::string toString() const
Return a string representation.
iolink::LodImageView::levelRange
virtual const Vector2i64 & levelRange()=0
Give the range of available levels of resolution Level 0 is always in the range.
iolink::Vector
An arithmetic vector.
Definition Vector.h:37
iolink::View
Interface representing a generic view on data.
Definition View.h:16
iolink
All IOLink symbols are enclosed in this namespace.
Definition ArrayX.h:8