 |
LibraryLink Utilities
3.0.1
Modern C++ wrapper over LibraryLink and WSTP
|
Go to the documentation of this file.
7 #ifndef LLU_CONTAINERS_INTERFACES_H
8 #define LLU_CONTAINERS_INTERFACES_H
39 virtual mint
rows()
const = 0;
74 virtual bool is3D()
const = 0;
93 virtual imagedata_t
type()
const = 0;
144 virtual numericarray_data_t
type()
const = 0;
204 #endif // LLU_CONTAINERS_INTERFACES_H
Abstract class that defines a basic set of operations on a numeric array.
Definition: Interfaces.h:106
virtual colorspace_t colorspace() const =0
Get colorspace which describes how colors are represented as numbers.
virtual mint type() const =0
Get the data type of this tensor.
virtual mint columns() const =0
Get number of columns.
virtual bool alphaChannelQ() const =0
Check if there is an alpha channel in the image.
Main namespace of LibraryLink Utilities.
Definition: Queue.h:13
virtual imagedata_t type() const =0
Get the data type of the image.
virtual void * rawData() const =0
Get access to the raw data.
virtual mint rows() const =0
Get number of rows.
virtual mint getRank() const =0
Get rank.
virtual void * rawData() const =0
Get raw pointer to the data of this tensor.
virtual mint channels() const =0
Get number of channels.
Abstract class that defines a basic set of operations on an image.
Definition: Interfaces.h:17
virtual mint getRank() const =0
Get rank.
virtual bool interleavedQ() const =0
Check if the image is interleaved.
Abstract class that defines a basic set of operations on a tensor.
Definition: Interfaces.h:157
virtual mint getRank() const =0
Get rank.
virtual mint getFlattenedLength() const =0
Get the total number of pixels in the image.
virtual numericarray_data_t type() const =0
Get the data type of this array.
virtual mint getFlattenedLength() const =0
Get total length.
virtual void * rawData() const =0
Get access to raw image data.
virtual bool is3D() const =0
Check if the image is 3D.
virtual mint const * getDimensions() const =0
Get dimensions.
virtual mint const * getDimensions() const =0
Get dimensions.
virtual mint slices() const =0
Get number of slices.
virtual mint getFlattenedLength() const =0
Get length.