45 namespace ost {
namespace img {
95 const Point& GetStart()
const;
97 const Point& GetEnd()
const;
100 void SetStart(
const Point& o);
102 void SetEnd(
const Point& e);
105 bool Contains(
const Point& p)
const;
107 bool Contains(
const Extent& e)
const;
110 Point GetCenter()
const;
113 Size GetSize()
const;
114 int GetWidth()
const;
115 int GetHeight()
const;
116 int GetDepth()
const;
117 int GetVolume()
const;
133 unsigned int Point2Offset(
const Point& p);
145 bool equal(
const Extent& b)
const;
ImageStateConstModOPAlgorithm< ShiftFnc > Shift
DLLEXPORT_OST_IMG_BASE std::ostream & operator<<(std::ostream &os, const img::Extent &b)
class encapsulating 1D to 3D size
DLLEXPORT_OST_IMG_BASE bool HasOverlap(const Extent &e1, const Extent &e2)
DLLEXPORT_OST_IMG_BASE Extent Overlap(const Extent &e1, const Extent &e2)
bool operator==(const Extent &b) const
ImageStateConstModOPAlgorithm< MirrorFnc > Mirror
Defines lower and upper valid indices.
InvalidExtentException(const String &m=String(""))
class encapsulating 1D to 3D point
#define DLLEXPORT_OST_IMG_BASE
bool operator!=(const Extent &b) const