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

#include <vtkVector.h>

Inheritance diagram for vtkVector3< T >:
[legend]
Collaboration diagram for vtkVector3< T >:
[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)
 
const T & GetX () const
 
void SetY (const T &y)
 
const T & GetY () const
 
void SetZ (const T &z)
 
const T & GetZ () const
 
void Set (const T &x, const T &y, const T &z)
 
vtkVector3< T > Cross (const vtkVector3< T > &other) const
 
- Public Member Functions inherited from vtkVector< T, 3 >
 vtkVector ()
 
 vtkVector (const T &scalar)
 
 vtkVector (const T *init)
 
SquaredNorm () const
 
double Norm () const
 
double Normalize ()
 
vtkVector< T, Size > Normalized () const
 
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
 
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 >
Data [Size]
 

Detailed Description

template<typename T>
class vtkVector3< T >

Definition at line 188 of file vtkVector.h.

Constructor & Destructor Documentation

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

Definition at line 191 of file vtkVector.h.

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

Definition at line 195 of file vtkVector.h.

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

Definition at line 199 of file vtkVector.h.

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

Definition at line 203 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 212 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 221 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 224 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 227 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 230 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 233 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 236 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 240 of file vtkVector.h.


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