VTK
Public Member Functions
vtkVector3< T > Class Template Reference

#include <vtkVector.h>

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

List of all members.

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

Detailed Description

template<typename T>
class vtkVector3< T >

Definition at line 194 of file vtkVector.h.


Constructor & Destructor Documentation

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

Definition at line 197 of file vtkVector.h.

template<typename T>
vtkVector3< T >::vtkVector3 ( const T &  scalar) [inline, explicit]

Definition at line 201 of file vtkVector.h.

template<typename T>
vtkVector3< T >::vtkVector3 ( const T *  init) [inline, explicit]

Definition at line 205 of file vtkVector.h.

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

Definition at line 209 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 218 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 227 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 230 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 236 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 239 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 242 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 246 of file vtkVector.h.

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

Legacy method for getting the x component.

Definition at line 368 of file vtkVector.h.

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

Legacy method for getting the y component.

Definition at line 375 of file vtkVector.h.

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

Legacy method for getting the z component.

Definition at line 382 of file vtkVector.h.


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