|
IOLink
IOL_v1.1.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/View.h>
33 extern template class IOLINK_API_IMPORT FlagSet<ImageCapability>;
109 virtual std::shared_ptr<const ImageProperties> properties() = 0;
114 std::string toString()
const;
127 virtual std::shared_ptr<const MetadataNode> metadata()
const;
140 virtual void read(
const VectorXu64& index,
void* dst);
152 virtual void readRegion(
const RegionXu64& region,
void* dst);
165 virtual void setProperties(std::shared_ptr<const ImageProperties> properties);
174 virtual void setMetadata(std::shared_ptr<MetadataNode> metadata);
187 virtual void write(
const VectorXu64& index,
const void* src);
199 virtual void writeRegion(
const RegionXu64& region,
const void* src);
230 virtual const Indexer& indexer();
239 virtual void* buffer();
248 virtual const void* bufferReadOnly()
const;
257 virtual size_t bufferSize();
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:21
@ READ_WRITE
Combines READ and WRITE.
@ MEMORY_ACCESS
Accessing internal memory buffer.
size_t dimensionCount()
Returns the dimension of the View.
Definition: ImageView.h:76
@ 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:81
Interface representing an N dimensional image.
Definition: ImageView.h:67