35 vtkRect(
const T& x = 0,
const T& y = 0,
const T& width = 0,
40 this->
Data[2] = width;
41 this->
Data[3] = height;
48 void Set(
const T& x,
const T& y,
const T& width,
const T& height)
52 this->
Data[2] = width;
53 this->
Data[3] = height;
62 const T&
GetX()
const {
return this->
Data[0]; }
63 const T&
X()
const {
return this->
Data[0]; }
71 const T&
GetY()
const {
return this->
Data[1]; }
72 const T&
Y()
const {
return this->
Data[1]; }
98 vtkRecti(
int x = 0,
int y = 0,
int width = 0,
int height = 0)
99 :
vtkRect<int>(x, y, width, height) {}
106 vtkRectf(
float x = 0.0,
float y = 0.0,
float width = 0.0,
float height = 0.0)
107 :
vtkRect<float>(x, y, width, height) {}
114 vtkRectd(
double x = 0.0,
double y = 0.0,
double width = 0.0,
116 :
vtkRect<double>(x, y, width, height) {}
120 #endif // __vtkRect_h