Class IDimBounds#

Inheritance Relationships#

Derived Type#

Class Documentation#

class IDimBounds#

Interface used to represent an interval (for several dimensions).

Subclassed by libCZI::CDimBounds

Public Functions

virtual bool TryGetInterval(DimensionIndex dim, int *startIndex, int *size) const = 0#

Attempts to get the interval for the specified dimension.

Parameters:
  • dim – The dimension.

  • startIndex[inout] If non-null, it will receive the start index.

  • size[inout] If non-null, it will receive the size.

Returns:

True if the dimension is valid and the data was succeessfully retrieved, false if it fails.

virtual ~IDimBounds() = default#
inline bool IsValid(DimensionIndex dim) const#

Query if the specified dimension is valid.

Parameters:

dim – The dimension.

Returns:

True if valid, false otherwise.