35 vtkRect(
const T& x = 0,
const T& y = 0,
const T& width = 0,
40 this->
Data[2] = width;
48 void Set(
const T& x,
const T& y,
const T& width,
const T&
height)
52 this->
Data[2] = width;
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]; }
114 vtkRectd(
double x = 0.0,
double y = 0.0,
double width = 0.0,
120 #endif // __vtkRect_h
templated base type for storage of vectors.
vtkRectd(const double *init)
templated base type for storage of 2D rectangles.
void SetWidth(const T &width)
const T & GetWidth() const
vtkRect(const T &x=0, const T &y=0, const T &width=0, const T &height=0)
vtkRecti(int x=0, int y=0, int width=0, int height=0)
void Set(const T &x, const T &y, const T &width, const T &height)
vtkRectd(double x=0.0, double y=0.0, double width=0.0, double height=0.0)
vtkRecti(const int *init)
void SetHeight(const T &height)
const T & GetHeight() const
vtkRectf(float x=0.0, float y=0.0, float width=0.0, float height=0.0)
vtkRectf(const float *init)