Go to the documentation of this file.
34 namespace ost {
namespace img {
45 explicit Size(
unsigned int w);
48 explicit Size(
unsigned int w,
unsigned int h);
51 explicit Size(
unsigned int w,
unsigned int h,
unsigned int d);
60 Point GetHalf()
const;
63 unsigned int GetWidth()
const;
65 unsigned int GetHeight()
const;
67 unsigned int GetDepth()
const;
69 unsigned int GetSlab()
const;
71 unsigned int GetVol()
const;
73 unsigned int GetVolume()
const;
76 unsigned int GetDim()
const;
80 unsigned int operator[](
unsigned int index)
const;
81 unsigned int& operator[](
unsigned int index);
89 unsigned int w_,h_,d_;
91 bool equal(
const Size& s)
const;