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

itk::OrientedImage< TPixel, VImageDimension > Class Template Reference

#include <itkOrientedImage.h>

Inheritance diagram for itk::OrientedImage< TPixel, VImageDimension >:

Inheritance graph
[legend]
Collaboration diagram for itk::OrientedImage< TPixel, VImageDimension >:

Collaboration graph
[legend]
List of all members.

[NOHEADER]

template<class TCoordRep>
void TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordRep, VImageDimension > &point) const
 OrientedImage ()
virtual ~OrientedImage ()

Public Types

typedef OrientedImage Self
typedef Image< TPixel, VImageDimension > Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef WeakPointer< const
Self
ConstWeakPointer
typedef Superclass::IndexType IndexType
typedef Superclass::DirectionType DirectionType
typedef Superclass::SpacingType SpacingType
typedef Superclass::AccessorType AccessorType
typedef Superclass::AccessorFunctorType AccessorFunctorType

Public Member Functions

virtual const char * GetNameOfClass () const
virtual void SetSpacing (const SpacingType spacing)
virtual void SetSpacing (const double spacing[VImageDimension])
virtual void SetSpacing (const float spacing[VImageDimension])
virtual void SetDirection (const DirectionType direction)
template<class TCoordRep>
bool TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, VImageDimension > &point, ContinuousIndex< TCoordRep, VImageDimension > &index) const
template<class TCoordRep>
bool TransformPhysicalPointToIndex (const Point< TCoordRep, VImageDimension > &point, IndexType &index) const
template<class TCoordRep>
void TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TCoordRep, VImageDimension > &index, Point< TCoordRep, VImageDimension > &point) const

Static Public Member Functions

static Pointer New ()

template<class TPixel, unsigned int VImageDimension>
class itk::OrientedImage< TPixel, VImageDimension >


Member Typedef Documentation

template<class TPixel, unsigned int VImageDimension>
typedef Superclass::AccessorFunctorType itk::OrientedImage< TPixel, VImageDimension >::AccessorFunctorType
 

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 58 of file itkOrientedImage.h.

template<class TPixel, unsigned int VImageDimension>
typedef Superclass::AccessorType itk::OrientedImage< TPixel, VImageDimension >::AccessorType
 

Accessor type that convert data between internal and external representations.

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 57 of file itkOrientedImage.h.

template<class TPixel, unsigned int VImageDimension>
typedef SmartPointer<const Self> itk::OrientedImage< TPixel, VImageDimension >::ConstPointer
 

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 38 of file itkOrientedImage.h.

template<class TPixel, unsigned int VImageDimension>
typedef WeakPointer<const Self> itk::OrientedImage< TPixel, VImageDimension >::ConstWeakPointer
 

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 39 of file itkOrientedImage.h.

template<class TPixel, unsigned int VImageDimension>
typedef Superclass::DirectionType itk::OrientedImage< TPixel, VImageDimension >::DirectionType
 

Direction typedef support. The direction cosines of the image.

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 51 of file itkOrientedImage.h.

template<class TPixel, unsigned int VImageDimension>
typedef Superclass::IndexType itk::OrientedImage< TPixel, VImageDimension >::IndexType
 

Index typedef support. An index is used to access pixel values.

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 45 of file itkOrientedImage.h.

template<class TPixel, unsigned int VImageDimension>
typedef SmartPointer<Self> itk::OrientedImage< TPixel, VImageDimension >::Pointer
 

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 37 of file itkOrientedImage.h.

template<class TPixel, unsigned int VImageDimension>
typedef OrientedImage itk::OrientedImage< TPixel, VImageDimension >::Self
 

Standard class typedefs

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 35 of file itkOrientedImage.h.

template<class TPixel, unsigned int VImageDimension>
typedef Superclass::SpacingType itk::OrientedImage< TPixel, VImageDimension >::SpacingType
 

Spacing typedef support. Spacing holds the size of a pixel. The spacing is the geometric distance between image samples.

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 55 of file itkOrientedImage.h.

template<class TPixel, unsigned int VImageDimension>
typedef Image<TPixel, VImageDimension> itk::OrientedImage< TPixel, VImageDimension >::Superclass
 

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 36 of file itkOrientedImage.h.


Constructor & Destructor Documentation

template<class TPixel, unsigned int VImageDimension>
itk::OrientedImage< TPixel, VImageDimension >::OrientedImage  )  [protected]
 

Get a physical point (in the space which the origin and spacing infomation comes from) from a discrete index (in the index space)

See also:
Transform

template<class TPixel, unsigned int VImageDimension>
virtual itk::OrientedImage< TPixel, VImageDimension >::~OrientedImage  )  [inline, protected, virtual]
 

Get a physical point (in the space which the origin and spacing infomation comes from) from a discrete index (in the index space)

See also:
Transform

Definition at line 233 of file itkOrientedImage.h.


Member Function Documentation

template<class TPixel, unsigned int VImageDimension>
virtual const char* itk::OrientedImage< TPixel, VImageDimension >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::Image< TPixel, VImageDimension >.

template<class TPixel, unsigned int VImageDimension>
static Pointer itk::OrientedImage< TPixel, VImageDimension >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::Image< TPixel, VImageDimension >.

template<class TPixel, unsigned int VImageDimension>
virtual void itk::OrientedImage< TPixel, VImageDimension >::SetDirection const DirectionType  direction  )  [inline, virtual]
 

Set the direction of the image and precompute the transforms for the image.

Reimplemented from itk::ImageBase< VImageDimension >.

Definition at line 103 of file itkOrientedImage.h.

template<class TPixel, unsigned int VImageDimension>
virtual void itk::OrientedImage< TPixel, VImageDimension >::SetSpacing const float  spacing[VImageDimension]  )  [inline, virtual]
 

Set the spacing (size of a pixel) of the image. The spacing is the geometric distance between image samples. It is stored internally as double, but may be set from float.

See also:
GetSpacing()

Reimplemented from itk::ImageBase< VImageDimension >.

Definition at line 88 of file itkOrientedImage.h.

template<class TPixel, unsigned int VImageDimension>
virtual void itk::OrientedImage< TPixel, VImageDimension >::SetSpacing const double  spacing[VImageDimension]  )  [inline, virtual]
 

Set the spacing (size of a pixel) of the image. The spacing is the geometric distance between image samples. It is stored internally as double, but may be set from float.

See also:
GetSpacing()

Reimplemented from itk::ImageBase< VImageDimension >.

Definition at line 75 of file itkOrientedImage.h.

template<class TPixel, unsigned int VImageDimension>
virtual void itk::OrientedImage< TPixel, VImageDimension >::SetSpacing const SpacingType  spacing  )  [inline, virtual]
 

Set the spacing of the image and precompute the transforms for the image.

Reimplemented from itk::ImageBase< VImageDimension >.

Definition at line 62 of file itkOrientedImage.h.

template<class TPixel, unsigned int VImageDimension>
template<class TCoordRep>
void itk::OrientedImage< TPixel, VImageDimension >::TransformContinuousIndexToPhysicalPoint const ContinuousIndex< TCoordRep, VImageDimension > &  index,
Point< TCoordRep, VImageDimension > &  point
const [inline]
 

Get a physical point (in the space which the origin and spacing infomation comes from) from a continuous index (in the index space)

See also:
Transform

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 187 of file itkOrientedImage.h.

template<class TPixel, unsigned int VImageDimension>
template<class TCoordRep>
void itk::OrientedImage< TPixel, VImageDimension >::TransformIndexToPhysicalPoint const IndexType index,
Point< TCoordRep, VImageDimension > &  point
const [inline]
 

Get a physical point (in the space which the origin and spacing infomation comes from) from a discrete index (in the index space)

See also:
Transform

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 208 of file itkOrientedImage.h.

template<class TPixel, unsigned int VImageDimension>
template<class TCoordRep>
bool itk::OrientedImage< TPixel, VImageDimension >::TransformPhysicalPointToContinuousIndex const Point< TCoordRep, VImageDimension > &  point,
ContinuousIndex< TCoordRep, VImageDimension > &  index
const [inline]
 

Get the continuous index from a physical point.

Returns true if the resulting index is within the image, false otherwise.

See also:
Transform

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 121 of file itkOrientedImage.h.

template<class TPixel, unsigned int VImageDimension>
template<class TCoordRep>
bool itk::OrientedImage< TPixel, VImageDimension >::TransformPhysicalPointToIndex const Point< TCoordRep, VImageDimension > &  point,
IndexType index
const [inline]
 

Get the index (discrete) from a physical point. Floating point index results are truncated to integers. Returns true if the resulting index is within the image, false otherwise

See also:
Transform

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 146 of file itkOrientedImage.h.


The documentation for this class was generated from the following file:
Generated at Tue Aug 30 17:05:42 2005 for ITK by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2000