5#include <iolink/IOLinkAPI.h>
6#include <iolink/property/ImageInfoProperty.h>
7#include <iolink/property/SpatialCalibrationProperty.h>
45 static std::shared_ptr<ImageProperties>
fromProperties(std::shared_ptr<const ImageProperties> properties,
55 static std::shared_ptr<ImageProperties>
fromProperties(std::shared_ptr<const ImageProperties> properties,
81 std::shared_ptr<ImageProperties>
clone()
const;
Stores information about a data type.
Definition: DataType.h:162
This property describes the way the axes must be interpreted (IMAGE, VOLUME, SEQUENCE....
Definition: ImageInfoProperty.h:127
Hold additionnal info for ImageView data interpretation.
Definition: ImageProperties.h:16
ImageProperties(const SpatialCalibrationProperty &calibration, const ImageInfoProperty &imageInfo)
Build a ImageProperties by directly specifying SpatialCalibration and imageInfo properties.
std::shared_ptr< ImageProperties > clone() const
Create a copy of the properties instance.
const SpatialCalibrationProperty & calibration() const
Return the calibration associated with these properties.
bool isCompatibleWith(const VectorXu64 &shape, DataType type) const
Check if the current properties are compatible with given shape and type.
static std::shared_ptr< ImageProperties > fromProperties(const SpatialCalibrationProperty &calibration, const ImageInfoProperty &imageInfo)
Build a ImageProperties from a set of properties.
SpatialCalibrationProperty & calibration()
Return the calibration associated with these properties.
static std::shared_ptr< ImageProperties > fromDataType(DataType dataType)
Create a property set with all values defaulted, according to a data type.
const ImageInfoProperty & imageInfo() const
Return the image information associated with these properties.
bool operator==(const ImageProperties &other) const
Equality operator.
std::string toString() const
Return string representation.
static std::shared_ptr< ImageProperties > fromProperties(std::shared_ptr< const ImageProperties > properties, const ImageInfoProperty &imageInfo)
Build a ImageProperties by copying properties from another, except the Image info.
ImageInfoProperty & imageInfo()
Return the image information associated with these properties.
static std::shared_ptr< ImageProperties > fromProperties(std::shared_ptr< const ImageProperties > properties, const SpatialCalibrationProperty &calibration)
Build a ImageProperties by copying properties from another, except the calibration.
This Property is used to represent the image properties in world space.
Definition: SpatialCalibrationProperty.h:36
A dynamically sized arithmetic vector.
Definition: VectorX.h:18
All IOLink symbols are enclosed in this namespace.
Definition: ArrayX.h:8