64 const T&
GetX()
const {
return this->
Data[0]; }
70 const T&
GetY()
const {
return this->
Data[1]; }
126 #ifndef VTK_LEGACY_REMOVE
145 return this->GetWidth();
152 return this->GetHeight();
155 #endif // VTK_LEGACY_REMOVE
158 #endif // __vtkRect_h
templated base type for storage of vectors.
vtkRectd(const double *init)
templated base type for storage of 2D rectangles.
#define VTK_LEGACY_REPLACED_BODY(method, version, replace)
void SetWidth(const T &width)
GLint GLint GLint GLint GLint GLint y
const T & GetWidth() const
GLint GLint GLsizei GLsizei height
GLint GLint GLint GLint GLint x
void Set(const T &x, const T &y, const T &width, const T &height)
vtkRectf(float x, float y, float width, float height)
GLint GLint GLsizei width
vtkRecti(int x, int y, int width, int height)
#define VTK_LEGACY(method)
vtkRecti(const int *init)
void SetHeight(const T &height)
const T & GetHeight() const
vtkRectd(double x, double y, double width, double height)
vtkRect(const T &x, const T &y, const T &width, const T &height)
vtkRectf(const float *init)