Implementation of a class representing an interval (and implementing the libCZI::IDimBounds-interface).
More...
#include <libCZI_DimCoordinate.h>
Implementation of a class representing an interval (and implementing the libCZI::IDimBounds-interface).
◆ CDimBounds()
Construct a libCZI::CDimBounds object from an initializer-list.
- Parameters
-
| list | The list of "dimension, start and size". |
◆ Clear()
Clears the validity of the specified dimension.
- Parameters
-
◆ EnumValidDimensions()
| void libCZI::CDimBounds::EnumValidDimensions |
( |
std::function< bool(libCZI::DimensionIndex dim, int start, int size)> |
func | ) |
const |
|
inline |
Enumerate valid dimensions.
- Parameters
-
| func | The functor which will be called for all valid dimensions. |
◆ Set()
Sets (for the specified dimension) the start and the size.
- Parameters
-
| dimension | The dimension. |
| start | The start. |
| size | The size. |
◆ TryGetInterval()
| virtual bool libCZI::CDimBounds::TryGetInterval |
( |
libCZI::DimensionIndex |
dim, |
|
|
int * |
startIndex, |
|
|
int * |
size |
|
) |
| const |
|
inlinevirtual |
Attempts to get interval and size for the specified dimension.
- Parameters
-
| dim | The dimemension. |
| [out] | startIndex | If non-null, it will receive the start index. |
| [out] | size | If non-null, it will receive the size. |
- Returns
- True if it succeeds, false if it fails.
Implements libCZI::IDimBounds.
The documentation for this class was generated from the following file: