VTK
|
#include <vtkVector.h>
Public Member Functions | |
vtkVector3 () | |
vtkVector3 (const T &scalar) | |
vtkVector3 (const T *init) | |
vtkVector3 (const T &x, const T &y, const T &z) | |
void | SetX (const T &x) |
const T & | GetX () const |
void | SetY (const T &y) |
const T & | GetY () const |
void | SetZ (const T &z) |
const T & | GetZ () const |
const T & | X () const |
const T & | Y () const |
void | Set (const T &x, const T &y, const T &z) |
vtkVector3< T > | Cross (const vtkVector3< T > &other) const |
const T & | Z () const |
![]() | |
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 |
![]() | |
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 | |
![]() | |
T | Data [Size] |
Definition at line 194 of file vtkVector.h.
|
inline |
Definition at line 197 of file vtkVector.h.
|
inlineexplicit |
Definition at line 201 of file vtkVector.h.
|
inlineexplicit |
Definition at line 205 of file vtkVector.h.
|
inline |
Definition at line 209 of file vtkVector.h.
|
inline |
Set the x, y and z components of the vector.
Definition at line 218 of file vtkVector.h.
|
inline |
Set the x component of the vector, i.e. element 0.
Definition at line 227 of file vtkVector.h.
|
inline |
Get the x component of the vector, i.e. element 0.
Definition at line 230 of file vtkVector.h.
|
inline |
Set the y component of the vector, i.e. element 1.
Definition at line 233 of file vtkVector.h.
|
inline |
Get the y component of the vector, i.e. element 1.
Definition at line 236 of file vtkVector.h.
|
inline |
Set the z component of the vector, i.e. element 2.
Definition at line 239 of file vtkVector.h.
|
inline |
Get the z component of the vector, i.e. element 2.
Definition at line 242 of file vtkVector.h.
|
inline |
Return the cross product of this X other.
Definition at line 246 of file vtkVector.h.
const T & vtkVector3< T >::X | ( | ) | const |
Legacy method for getting the x component.
Definition at line 368 of file vtkVector.h.
const T & vtkVector3< T >::Y | ( | ) | const |
Legacy method for getting the y component.
Definition at line 375 of file vtkVector.h.
const T & vtkVector3< T >::Z | ( | ) | const |
Legacy method for getting the z component.
Definition at line 382 of file vtkVector.h.