VTK
Public Member Functions
vtkRect< T > Class Template Reference

#include <vtkVector.h>

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

List of all members.

Public Member Functions

 vtkRect (const T &x=0.0, const T &y=0.0, const T width=0.0, const T &height=0.0)
void SetX (const T &x)
void SetY (const T &y)
void SetWidth (const T &width)
void SetHeight (const T &height)
void Set (const T &x, const T &y, const T &width, const T &height)
const T & GetX () const
const T & X () const
const T & GetY () const
const T & Y () const
const T & GetWidth () const
const T & Width () const
const T & GetHeight () const
const T & Height () const

Detailed Description

template<typename T>
class vtkRect< T >

Definition at line 177 of file vtkVector.h.


Constructor & Destructor Documentation

template<typename T>
vtkRect< T >::vtkRect ( const T &  x = 0.0,
const T &  y = 0.0,
const T  width = 0.0,
const T &  height = 0.0 
) [inline]

Definition at line 180 of file vtkVector.h.


Member Function Documentation

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

Set the x, y components of the rectangle, and the width/height.

Definition at line 191 of file vtkVector.h.

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

Set the x component of the rectangle bottom corner, i.e. element 0.

Definition at line 201 of file vtkVector.h.

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

Get the x component of the rectangle bottom corner, i.e. element 0.

Definition at line 205 of file vtkVector.h.

template<typename T>
const T& vtkRect< T >::X ( ) const [inline]

Get the x component of the rectangle bottom corner, i.e. element 0.

Definition at line 206 of file vtkVector.h.

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

Set the y component of the rectangle bottom corner, i.e. element 1.

Definition at line 210 of file vtkVector.h.

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

Get the y component of the rectangle bottom corner, i.e. element 1.

Definition at line 214 of file vtkVector.h.

template<typename T>
const T& vtkRect< T >::Y ( ) const [inline]

Get the y component of the rectangle bottom corner, i.e. element 1.

Definition at line 215 of file vtkVector.h.

template<typename T>
void vtkRect< T >::SetWidth ( const T &  width) [inline]

Set the width of the rectanle, i.e. element 2.

Definition at line 219 of file vtkVector.h.

template<typename T>
const T& vtkRect< T >::GetWidth ( ) const [inline]

Get the width of the rectangle, i.e. element 2.

Definition at line 223 of file vtkVector.h.

template<typename T>
const T& vtkRect< T >::Width ( ) const [inline]

Get the width of the rectangle, i.e. element 2.

Definition at line 224 of file vtkVector.h.

template<typename T>
void vtkRect< T >::SetHeight ( const T &  height) [inline]

Set the height of the rectangle, i.e. element 3.

Definition at line 228 of file vtkVector.h.

template<typename T>
const T& vtkRect< T >::GetHeight ( ) const [inline]

Get the height of the rectangle, i.e. element 3.

Definition at line 232 of file vtkVector.h.

template<typename T>
const T& vtkRect< T >::Height ( ) const [inline]

Get the height of the rectangle, i.e. element 3.

Definition at line 233 of file vtkVector.h.


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