VTK
Public Member Functions
vtkVector2< T > Class Template Reference

#include <vtkVector.h>

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

List of all members.

Public Member Functions

 vtkVector2 ()
 vtkVector2 (const T &scalar)
 vtkVector2 (const T *init)
 vtkVector2 (const T &x, const T &y)
void SetX (const T &x)
const T & GetX () const
void SetY (const T &y)
const T & GetY () const
const T & X () const
void Set (const T &x, const T &y)
const T & Y () const

Detailed Description

template<typename T>
class vtkVector2< T >

Definition at line 140 of file vtkVector.h.


Constructor & Destructor Documentation

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

Definition at line 143 of file vtkVector.h.

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

Definition at line 147 of file vtkVector.h.

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

Definition at line 151 of file vtkVector.h.

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

Definition at line 155 of file vtkVector.h.


Member Function Documentation

template<typename T>
void vtkVector2< T >::Set ( const T &  x,
const T &  y 
) [inline]

Set the x and y components of the vector.

Definition at line 163 of file vtkVector.h.

template<typename T>
void vtkVector2< T >::SetX ( const T &  x) [inline]

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

Definition at line 171 of file vtkVector.h.

template<typename T>
const T& vtkVector2< T >::GetX ( ) const [inline]

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

Definition at line 174 of file vtkVector.h.

template<typename T>
void vtkVector2< T >::SetY ( const T &  y) [inline]

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

Definition at line 177 of file vtkVector.h.

template<typename T>
const T& vtkVector2< T >::GetY ( ) const [inline]

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

Definition at line 180 of file vtkVector.h.

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

Legacy method for getting the x component.

Definition at line 354 of file vtkVector.h.

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

Legacy method for getting the y component.

Definition at line 361 of file vtkVector.h.


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