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) |
void | Set (const T &x, const T &y) |
const T & | GetY () const |
Public Member Functions inherited from vtkVector< T, 2 > | |
vtkVector () | |
vtkVector (const T &scalar) | |
vtkVector (const T *init) | |
T | SquaredNorm () const |
double | Norm () const |
double | Normalize () |
vtkVector< T, Size > | Normalized () const |
T | Dot (const vtkVector< T, Size > &other) const |
vtkVector< TR, Size > | Cast () const |
Public Member Functions inherited from vtkTuple< T, Size > | |
int | GetSize () const |
vtkTuple () | |
vtkTuple (const T &scalar) | |
vtkTuple (const T *init) | |
T * | GetData () |
const T * | GetData () const |
T & | operator[] (int i) |
const T & | operator[] (int i) const |
T | operator() (int i) const |
bool | Compare (const vtkTuple< T, Size > &other, const T &tol) const |
template<typename TR > | |
vtkTuple< TR, Size > | Cast () const |
Additional Inherited Members | |
Protected Attributes inherited from vtkTuple< T, Size > | |
T | Data [Size] |
Definition at line 140 of file vtkVector.h.
|
inline |
Definition at line 143 of file vtkVector.h.
|
inlineexplicit |
Definition at line 147 of file vtkVector.h.
|
inlineexplicit |
Definition at line 151 of file vtkVector.h.
|
inline |
Definition at line 155 of file vtkVector.h.
|
inline |
Set the x and y components of the vector.
Definition at line 163 of file vtkVector.h.
|
inline |
Set the x component of the vector, i.e. element 0.
Definition at line 171 of file vtkVector.h.
|
inline |
Get the x component of the vector, i.e. element 0.
Definition at line 174 of file vtkVector.h.
|
inline |
Set the y component of the vector, i.e. element 1.
Definition at line 177 of file vtkVector.h.
|
inline |
Get the y component of the vector, i.e. element 1.
Definition at line 181 of file vtkVector.h.