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 (const T &x=0, const T &y=0, const T &z=0)
 
 vtkVector3 (const T *init)
 
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
 
- Public Member Functions inherited from vtkVector< T, 3 >
 vtkVector ()
 
 vtkVector (const T *init)
 
int GetSize () const
 
operator() (int i) const
 
T * GetData ()
 
const T * GetData () const
 
T & operator[] (int i)
 
const T & operator[] (int i) const
 
vtkVector< TR, Size > Cast () const
 

Additional Inherited Members

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

Detailed Description

template<typename T>
class vtkVector3< T >

Definition at line 141 of file vtkVector.h.

Constructor & Destructor Documentation

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

Definition at line 144 of file vtkVector.h.

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

Definition at line 151 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 155 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 164 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 168 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 169 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 173 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 177 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 178 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 182 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 186 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 187 of file vtkVector.h.


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