VTK
|
templated base type for storage of 2D rectangles. More...
#include <vtkRect.h>
Public Member Functions | |
vtkRect (const T &x=0, const T &y=0, const T &width=0, const T &height=0) | |
vtkRect (const T *init) | |
void | SetX (const T &x) |
void | SetY (const T &y) |
void | SetWidth (const T &width) |
void | SetHeight (const T &height) |
void | Set (const T &x, const T &y, const T &width, const T &height) |
const T & | GetX () const |
const T & | X () const |
const T & | GetY () const |
const T & | Y () const |
const T & | GetWidth () const |
const T & | Width () const |
const T & | GetHeight () const |
const T & | Height () const |
![]() | |
vtkVector () | |
vtkVector (const T *init) | |
int | GetSize () const |
T | operator() (int i) const |
T * | GetData () |
const T * | GetData () const |
T & | operator[] (int i) |
const T & | operator[] (int i) const |
vtkVector< TR, Size > | Cast () const |
Additional Inherited Members | |
![]() | |
T | Data [Size] |
templated base type for storage of 2D rectangles.
This class is a templated data type for storing and manipulating rectangles. The memory layout is a contiguous array of the specified type, such that a float[4] can be cast to a vtkRectf and manipulated. Also a float[12] could be cast and used as a vtkRectf[3].
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |