|
IOLink
IOL_v1.2.0_release
|
5 #include <iolink/DataType.h>
6 #include <iolink/FlagSet.h>
7 #include <iolink/IOLinkAPI.h>
8 #include <iolink/Indexer.h>
9 #include <iolink/RegionX.h>
10 #include <iolink/VectorX.h>
11 #include <iolink/metadata/MetadataNode.h>
12 #include <iolink/property/ImageProperties.h>
13 #include <iolink/view/TilingInfoExtension.h>
14 #include <iolink/view/View.h>
34 extern template class IOLINK_API_IMPORT FlagSet<ImageCapability>;
110 virtual std::shared_ptr<const ImageProperties> properties() = 0;
115 std::string toString()
const;
128 virtual std::shared_ptr<const MetadataNode> metadata()
const;
141 virtual void read(
const VectorXu64& index,
void* dst);
153 virtual void readRegion(
const RegionXu64& region,
void* dst);
166 virtual void setProperties(std::shared_ptr<const ImageProperties> properties);
175 virtual void setMetadata(std::shared_ptr<MetadataNode> metadata);
188 virtual void write(
const VectorXu64& index,
const void* src);
200 virtual void writeRegion(
const RegionXu64& region,
const void* src);
231 virtual const Indexer& indexer();
240 virtual void* buffer();
249 virtual const void* bufferReadOnly()
const;
258 virtual size_t bufferSize();
264 std::shared_ptr<TilingInfoExtension> tilingInfo();
A dynamically sized arithmetic vector.
Definition: VectorX.h:17
Stores information about a data type.
Definition: DataType.h:161
@ READ
Data and metadata read capability.
All IOLink symbols are enclosed in this namespace.
Definition: ArrayX.h:7
Interface representing a generic view on data.
Definition: View.h:14
Template class to handle a flags system from an enum.
Definition: FlagSet.h:42
@ RESHAPE
Reshaping capabilities.
ImageCapability
Define capabilities of an ImageView.
Definition: ImageView.h:22
@ READ_WRITE
Combines READ and WRITE.
@ MEMORY_ACCESS
Accessing internal memory buffer.
size_t dimensionCount()
Returns the dimension of the View.
Definition: ImageView.h:77
@ WRITE
Data, metadata, and properties write capability.
This class is used to index a classic array into a multi dimensional array.
Definition: Indexer.h:35
A Region using dynamic vectors.
Definition: RegionX.h:13
bool support(ImageCapabilitySet flags)
Checks if the ImageView supports the given capabilities.
Definition: ImageView.h:82
Interface representing an N dimensional image.
Definition: ImageView.h:68