VTK
Public Member Functions | List of all members
vtkVector3< T > Class Template Reference

#include <vtkVector.h>

Inheritance diagram for vtkVector3< T >:
Inheritance graph
[legend]
Collaboration diagram for vtkVector3< T >:
Collaboration graph
[legend]

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)
void SetY (const T &y)
void SetZ (const T &z)
void Set (const T &x, const T &y, const T &z)
const T & GetX () const
const T & X () const
const T & GetY () const
const T & Y () const
const T & GetZ () const
const T & Z () const
vtkVector3< T > Cross (const vtkVector3 &other) const
- Public Member Functions inherited from vtkVector< T, 3 >
 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

Additional Inherited Members

- Protected Attributes inherited from vtkTuple< T, Size >
T Data [Size]

Detailed Description

template<typename T>
class vtkVector3< T >

Definition at line 191 of file vtkVector.h.

Constructor & Destructor Documentation

template<typename T>
vtkVector3< T >::vtkVector3 ( )
inline

Definition at line 194 of file vtkVector.h.

template<typename T>
vtkVector3< T >::vtkVector3 ( const T &  scalar)
inlineexplicit

Definition at line 198 of file vtkVector.h.

template<typename T>
vtkVector3< T >::vtkVector3 ( const T *  init)
inlineexplicit

Definition at line 202 of file vtkVector.h.

template<typename T>
vtkVector3< T >::vtkVector3 ( const T &  x,
const T &  y,
const T &  z 
)
inline

Definition at line 206 of file vtkVector.h.

Member Function Documentation

template<typename T>
void vtkVector3< T >::Set ( const T &  x,
const T &  y,
const T &  z 
)
inline

Set the x, y and z components of the vector.

Definition at line 215 of file vtkVector.h.

template<typename T>
void vtkVector3< T >::SetX ( const T &  x)
inline

Set the x component of the vector, i.e. element 0.

Definition at line 224 of file vtkVector.h.

template<typename T>
const T& vtkVector3< T >::GetX ( ) const
inline

Get the x component of the vector, i.e. element 0.

Definition at line 228 of file vtkVector.h.

template<typename T>
const T& vtkVector3< T >::X ( ) const
inline

Get the x component of the vector, i.e. element 0.

Definition at line 229 of file vtkVector.h.

template<typename T>
void vtkVector3< T >::SetY ( const T &  y)
inline

Set the y component of the vector, i.e. element 1.

Definition at line 233 of file vtkVector.h.

template<typename T>
const T& vtkVector3< T >::GetY ( ) const
inline

Get the y component of the vector, i.e. element 1.

Definition at line 237 of file vtkVector.h.

template<typename T>
const T& vtkVector3< T >::Y ( ) const
inline

Get the y component of the vector, i.e. element 1.

Definition at line 238 of file vtkVector.h.

template<typename T>
void vtkVector3< T >::SetZ ( const T &  z)
inline

Set the z component of the vector, i.e. element 2.

Definition at line 242 of file vtkVector.h.

template<typename T>
const T& vtkVector3< T >::GetZ ( ) const
inline

Get the z component of the vector, i.e. element 2.

Definition at line 246 of file vtkVector.h.

template<typename T>
const T& vtkVector3< T >::Z ( ) const
inline

Get the z component of the vector, i.e. element 2.

Definition at line 247 of file vtkVector.h.

template<typename T>
vtkVector3<T> vtkVector3< T >::Cross ( const vtkVector3< T > &  other) const
inline

Return the cross product of this X other.

Definition at line 252 of file vtkVector.h.


The documentation for this class was generated from the following file: