libCZI
Reading CZI documents made easy
|
Interface used to represent a coordinate (in the space of the dimensions identified by DimensionIndex
).
More...
#include <libCZI_DimCoordinate.h>
Public Member Functions | |
virtual bool | TryGetPosition (DimensionIndex dim, int *coordinate) const =0 |
bool | IsValid (DimensionIndex dim) const |
Interface used to represent a coordinate (in the space of the dimensions identified by DimensionIndex
).
|
inline |
Query if the specified dimension is given ('is valid') in this coordinate.
dim | The dimension. |
|
pure virtual |
Attempts to get position index in the specified dimension.
dim | The dimension. | |
[out] | coordinate | If non-null and the dimension is valid (in this coordinate), it will receive the value of the coordinate for the specified dimension. |
Implemented in libCZI::CDimCoordinate.