VTK
|
#include <vtkVector.h>
Public Member Functions | |
vtkVector2 () | |
vtkVector2 (const T &scalar) | |
vtkVector2 (const T *init) | |
vtkVector2 (const T &x, const T &y) | |
void | SetX (const T &x) |
const T & | GetX () const |
void | SetY (const T &y) |
const T & | GetY () const |
const T & | X () const |
void | Set (const T &x, const T &y) |
const T & | Y () const |
Definition at line 140 of file vtkVector.h.
vtkVector2< T >::vtkVector2 | ( | ) | [inline] |
Definition at line 143 of file vtkVector.h.
vtkVector2< T >::vtkVector2 | ( | const T & | scalar | ) | [inline, explicit] |
Definition at line 147 of file vtkVector.h.
vtkVector2< T >::vtkVector2 | ( | const T * | init | ) | [inline, explicit] |
Definition at line 151 of file vtkVector.h.
vtkVector2< T >::vtkVector2 | ( | const T & | x, |
const T & | y | ||
) | [inline] |
Definition at line 155 of file vtkVector.h.
void vtkVector2< T >::Set | ( | const T & | x, |
const T & | y | ||
) | [inline] |
Set the x and y components of the vector.
Definition at line 163 of file vtkVector.h.
void vtkVector2< T >::SetX | ( | const T & | x | ) | [inline] |
Set the x component of the vector, i.e. element 0.
Definition at line 171 of file vtkVector.h.
const T& vtkVector2< T >::GetX | ( | ) | const [inline] |
Get the x component of the vector, i.e. element 0.
Definition at line 174 of file vtkVector.h.
void vtkVector2< T >::SetY | ( | const T & | y | ) | [inline] |
Set the y component of the vector, i.e. element 1.
Definition at line 177 of file vtkVector.h.
const T& vtkVector2< T >::GetY | ( | ) | const [inline] |
Get the y component of the vector, i.e. element 1.
Definition at line 180 of file vtkVector.h.
const T & vtkVector2< T >::X | ( | ) | const |
Legacy method for getting the x component.
Definition at line 354 of file vtkVector.h.
const T & vtkVector2< T >::Y | ( | ) | const |
Legacy method for getting the y component.
Definition at line 361 of file vtkVector.h.