Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::ContinuousIndex< TCoordRep, VIndexDimension > Class Template Reference
[Image Access ObjectsImage Representation Objects]

A templated class holding a point in n-Dimensional image space. More...

#include <itkContinuousIndex.h>

Inheritance diagram for itk::ContinuousIndex< TCoordRep, VIndexDimension >:

Inheritance graph
[legend]
Collaboration diagram for itk::ContinuousIndex< TCoordRep, VIndexDimension >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ContinuousIndex Self
typedef Point< TCoordRep,
VIndexDimension > 
Superclass
typedef TCoordRep ValueType
typedef TCoordRep CoordRepType
typedef Index< VIndexDimension > IndexType
typedef Superclass::BaseArray BaseArray
typedef BaseArray::Iterator Iterator
typedef BaseArray::ConstIterator ConstIterator

Public Member Functions

 itkStaticConstMacro (IndexDimension, unsigned int, VIndexDimension)
 ContinuousIndex ()
 ContinuousIndex (const Self &r)
 ContinuousIndex (const ValueType r[IndexDimension])
 ContinuousIndex (const IndexType &index)

Detailed Description

template<class TCoordRep = double, unsigned int VIndexDimension = 2>
class itk::ContinuousIndex< TCoordRep, VIndexDimension >

A templated class holding a point in n-Dimensional image space.

ContinuousIndex is a templated class that holds a set of coordinates (components). The template parameter TCoordRep can be any data type that behaves like a primitive (or atomic) data type (int, short, float, complex). The VIndexDimension defines the number of components in the continous index array.

See also:
Point

Index

Definition at line 45 of file itkContinuousIndex.h.


Member Typedef Documentation

template<class TCoordRep = double, unsigned int VIndexDimension = 2>
typedef Superclass::BaseArray itk::ContinuousIndex< TCoordRep, VIndexDimension >::BaseArray
 

The Array type from which this Vector is derived.

Reimplemented from itk::Point< TCoordRep, VIndexDimension >.

Definition at line 64 of file itkContinuousIndex.h.

template<class TCoordRep = double, unsigned int VIndexDimension = 2>
typedef BaseArray::ConstIterator itk::ContinuousIndex< TCoordRep, VIndexDimension >::ConstIterator
 

A const iterator through the array.

Reimplemented from itk::Point< TCoordRep, VIndexDimension >.

Definition at line 66 of file itkContinuousIndex.h.

template<class TCoordRep = double, unsigned int VIndexDimension = 2>
typedef TCoordRep itk::ContinuousIndex< TCoordRep, VIndexDimension >::CoordRepType
 

Reimplemented from itk::Point< TCoordRep, VIndexDimension >.

Definition at line 55 of file itkContinuousIndex.h.

template<class TCoordRep = double, unsigned int VIndexDimension = 2>
typedef Index<VIndexDimension> itk::ContinuousIndex< TCoordRep, VIndexDimension >::IndexType
 

Corresponding discrete index type Definition at line 61 of file itkContinuousIndex.h.

template<class TCoordRep = double, unsigned int VIndexDimension = 2>
typedef BaseArray::Iterator itk::ContinuousIndex< TCoordRep, VIndexDimension >::Iterator
 

An iterator through the array.

Reimplemented from itk::Point< TCoordRep, VIndexDimension >.

Definition at line 65 of file itkContinuousIndex.h.

template<class TCoordRep = double, unsigned int VIndexDimension = 2>
typedef ContinuousIndex itk::ContinuousIndex< TCoordRep, VIndexDimension >::Self
 

Standard class typedefs.

Reimplemented from itk::Point< TCoordRep, VIndexDimension >.

Definition at line 49 of file itkContinuousIndex.h.

Referenced by itk::ContinuousIndex< TCoordRep, VIndexDimension >::ContinuousIndex().

template<class TCoordRep = double, unsigned int VIndexDimension = 2>
typedef Point<TCoordRep,VIndexDimension> itk::ContinuousIndex< TCoordRep, VIndexDimension >::Superclass
 

Reimplemented from itk::Point< TCoordRep, VIndexDimension >.

Definition at line 50 of file itkContinuousIndex.h.

Referenced by itk::ContinuousIndex< TCoordRep, VIndexDimension >::ContinuousIndex().

template<class TCoordRep = double, unsigned int VIndexDimension = 2>
typedef TCoordRep itk::ContinuousIndex< TCoordRep, VIndexDimension >::ValueType
 

ValueType can be used to declare a variable that is the same type as a data element held in an Point.

Reimplemented from itk::Point< TCoordRep, VIndexDimension >.

Definition at line 54 of file itkContinuousIndex.h.

Referenced by itk::ContinuousIndex< TCoordRep, VIndexDimension >::ContinuousIndex().


Constructor & Destructor Documentation

template<class TCoordRep = double, unsigned int VIndexDimension = 2>
itk::ContinuousIndex< TCoordRep, VIndexDimension >::ContinuousIndex  )  [inline]
 

Default constructor has nothing to do. Definition at line 69 of file itkContinuousIndex.h.

template<class TCoordRep = double, unsigned int VIndexDimension = 2>
itk::ContinuousIndex< TCoordRep, VIndexDimension >::ContinuousIndex const Self r  )  [inline]
 

Pass-through constructor to the Point base class. Definition at line 72 of file itkContinuousIndex.h.

References itk::ContinuousIndex< TCoordRep, VIndexDimension >::Self, and itk::ContinuousIndex< TCoordRep, VIndexDimension >::Superclass.

template<class TCoordRep = double, unsigned int VIndexDimension = 2>
itk::ContinuousIndex< TCoordRep, VIndexDimension >::ContinuousIndex const ValueType  r[IndexDimension]  )  [inline]
 

Pass-through constructor to the Point base class. Definition at line 74 of file itkContinuousIndex.h.

References itk::ContinuousIndex< TCoordRep, VIndexDimension >::Superclass, and itk::ContinuousIndex< TCoordRep, VIndexDimension >::ValueType.

template<class TCoordRep = double, unsigned int VIndexDimension = 2>
itk::ContinuousIndex< TCoordRep, VIndexDimension >::ContinuousIndex const IndexType index  )  [inline]
 

Construct from discrete index type Definition at line 78 of file itkContinuousIndex.h.


Member Function Documentation

template<class TCoordRep = double, unsigned int VIndexDimension = 2>
itk::ContinuousIndex< TCoordRep, VIndexDimension >::itkStaticConstMacro IndexDimension  ,
unsigned  int,
VIndexDimension 
 

Dimension of the Space


The documentation for this class was generated from the following file:
Generated at Sat Mar 31 02:52:10 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000