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

itk::ImageSpatialObject< TDimension, PixelType > Class Template Reference

Implementation of an image as spatial object. More...

#include <itkImageSpatialObject.h>

Inheritance diagram for itk::ImageSpatialObject< TDimension, PixelType >:

Inheritance graph
[legend]
Collaboration diagram for itk::ImageSpatialObject< TDimension, PixelType >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef double ScalarType
typedef ImageSpatialObject<
TDimension, PixelType > 
Self
typedef SpatialObject< TDimension > Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef Image< PixelType,
TDimension > 
ImageType
typedef ImageType::Pointer ImagePointer
typedef ImageType::IndexType IndexType
typedef ImageType::RegionType RegionType
typedef Superclass::TransformType TransformType
typedef Superclass::PointType PointType
typedef Superclass::BoundingBoxType BoundingBoxType
typedef VectorContainer< unsigned
long, PointType
PointContainerType
typedef PointContainerType::Pointer PointContainerPointer

Public Member Functions

virtual const char * GetClassName () const
void SetImage (ImageType *image)
ImageTypeGetImage (void)
bool IsEvaluableAt (const PointType &point, unsigned int depth=0, char *name=NULL) const
bool ValueAt (const PointType &point, double &value, unsigned int depth=0, char *name=NULL) const
bool IsInside (const PointType &point, unsigned int depth=0, char *name=NULL) const
bool ComputeBoundingBox () const
unsigned long GetMTime (void) const
void SetSlicePosition (unsigned int dimension, int position)
int GetSlicePosition (unsigned int dimension)
const char * GetPixelType ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 ImageSpatialObject ()
virtual ~ImageSpatialObject ()
void PrintSelf (std::ostream &os, Indent indent) const

Protected Attributes

ImagePointer m_Image
int * m_SlicePosition
std::string m_PixelType

Detailed Description

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
class itk::ImageSpatialObject< TDimension, PixelType >

Implementation of an image as spatial object.

This class combines functionnalities from a spatial object, and an image.

SpatialObject CompositeSpatialObject

Definition at line 41 of file itkImageSpatialObject.h.


Member Typedef Documentation

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
typedef Superclass::BoundingBoxType itk::ImageSpatialObject< TDimension, PixelType >::BoundingBoxType
 

Reimplemented from itk::SpatialObject< TDimension >.

Definition at line 59 of file itkImageSpatialObject.h.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
typedef SmartPointer< const Self > itk::ImageSpatialObject< TDimension, PixelType >::ConstPointer
 

Reimplemented from itk::SpatialObject< TDimension >.

Definition at line 51 of file itkImageSpatialObject.h.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
typedef ImageType::Pointer itk::ImageSpatialObject< TDimension, PixelType >::ImagePointer
 

Definition at line 54 of file itkImageSpatialObject.h.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
typedef Image< PixelType, TDimension > itk::ImageSpatialObject< TDimension, PixelType >::ImageType
 

Definition at line 53 of file itkImageSpatialObject.h.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
typedef ImageType::IndexType itk::ImageSpatialObject< TDimension, PixelType >::IndexType
 

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

Reimplemented from itk::SpatialObject< TDimension >.

Definition at line 55 of file itkImageSpatialObject.h.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
typedef PointContainerType::Pointer itk::ImageSpatialObject< TDimension, PixelType >::PointContainerPointer
 

Definition at line 62 of file itkImageSpatialObject.h.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
typedef VectorContainer< unsigned long, PointType> itk::ImageSpatialObject< TDimension, PixelType >::PointContainerType
 

Definition at line 61 of file itkImageSpatialObject.h.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
typedef SmartPointer< Self > itk::ImageSpatialObject< TDimension, PixelType >::Pointer
 

Reimplemented from itk::SpatialObject< TDimension >.

Definition at line 50 of file itkImageSpatialObject.h.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
typedef Superclass::PointType itk::ImageSpatialObject< TDimension, PixelType >::PointType
 

Reimplemented from itk::SpatialObject< TDimension >.

Definition at line 58 of file itkImageSpatialObject.h.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
typedef ImageType::RegionType itk::ImageSpatialObject< TDimension, PixelType >::RegionType
 

Reimplemented from itk::SpatialObject< TDimension >.

Definition at line 56 of file itkImageSpatialObject.h.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
typedef double itk::ImageSpatialObject< TDimension, PixelType >::ScalarType
 

Reimplemented from itk::SpatialObject< TDimension >.

Definition at line 47 of file itkImageSpatialObject.h.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
typedef ImageSpatialObject< TDimension, PixelType > itk::ImageSpatialObject< TDimension, PixelType >::Self
 

Standard class typedefs.

Reimplemented from itk::SpatialObject< TDimension >.

Definition at line 48 of file itkImageSpatialObject.h.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
typedef SpatialObject< TDimension > itk::ImageSpatialObject< TDimension, PixelType >::Superclass
 

Reimplemented from itk::SpatialObject< TDimension >.

Definition at line 49 of file itkImageSpatialObject.h.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
typedef Superclass::TransformType itk::ImageSpatialObject< TDimension, PixelType >::TransformType
 

Reimplemented from itk::SpatialObject< TDimension >.

Definition at line 57 of file itkImageSpatialObject.h.


Constructor & Destructor Documentation

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
itk::ImageSpatialObject< TDimension, PixelType >::ImageSpatialObject  )  [protected]
 

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
virtual itk::ImageSpatialObject< TDimension, PixelType >::~ImageSpatialObject  )  [protected, virtual]
 


Member Function Documentation

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
bool itk::ImageSpatialObject< TDimension, PixelType >::ComputeBoundingBox  )  const [virtual]
 

Compute the boundaries of the iamge spatial object.

Reimplemented from itk::SpatialObject< TDimension >.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
virtual const char* itk::ImageSpatialObject< TDimension, PixelType >::GetClassName  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::SpatialObject< TDimension >.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
ImageType* itk::ImageSpatialObject< TDimension, PixelType >::GetImage void   ) 
 

Get a pointer to the image currently attached to the object.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
unsigned long itk::ImageSpatialObject< TDimension, PixelType >::GetMTime void   )  const [virtual]
 

Returns the latest modified time of the object and its component.

Reimplemented from itk::SpatialObject< TDimension >.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
const char* itk::ImageSpatialObject< TDimension, PixelType >::GetPixelType  )  [inline]
 

Definition at line 104 of file itkImageSpatialObject.h.

References itk::ImageSpatialObject< TDimension, PixelType >::m_PixelType.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
int itk::ImageSpatialObject< TDimension, PixelType >::GetSlicePosition unsigned int  dimension  )  [inline]
 

Get the slice position Definition at line 101 of file itkImageSpatialObject.h.

References itk::ImageSpatialObject< TDimension, PixelType >::m_SlicePosition.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
bool itk::ImageSpatialObject< TDimension, PixelType >::IsEvaluableAt const PointType point,
unsigned int  depth = 0,
char *  name = NULL
const [virtual]
 

Return true if the object is evaluable at the requested point, and else otherwise.

Reimplemented from itk::SpatialObject< TDimension >.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
bool itk::ImageSpatialObject< TDimension, PixelType >::IsInside const PointType point,
unsigned int  depth = 0,
char *  name = NULL
const [virtual]
 

Returns true if the point is inside, false otherwise.

Reimplemented from itk::SpatialObject< TDimension >.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
Pointer itk::ImageSpatialObject< TDimension, PixelType >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::SpatialObject< TDimension >.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
void itk::ImageSpatialObject< TDimension, PixelType >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::SpatialObject< TDimension >.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
void itk::ImageSpatialObject< TDimension, PixelType >::SetImage ImageType image  ) 
 

Set the image.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
void itk::ImageSpatialObject< TDimension, PixelType >::SetSlicePosition unsigned int  dimension,
int  position
 

Set the slice position

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
bool itk::ImageSpatialObject< TDimension, PixelType >::ValueAt const PointType point,
double &  value,
unsigned int  depth = 0,
char *  name = NULL
const [virtual]
 

Returns the value of the image at the requested point. If the point is not inside the object, then an exception is thrown. ExceptionObject

Reimplemented from itk::SpatialObject< TDimension >.


Member Data Documentation

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
ImagePointer itk::ImageSpatialObject< TDimension, PixelType >::m_Image [protected]
 

Definition at line 111 of file itkImageSpatialObject.h.

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
std::string itk::ImageSpatialObject< TDimension, PixelType >::m_PixelType [protected]
 

Definition at line 119 of file itkImageSpatialObject.h.

Referenced by itk::ImageSpatialObject< TDimension, PixelType >::GetPixelType().

template<unsigned int TDimension = 3, class PixelType = RGBPixel< char >>
int* itk::ImageSpatialObject< TDimension, PixelType >::m_SlicePosition [protected]
 

Definition at line 118 of file itkImageSpatialObject.h.

Referenced by itk::ImageSpatialObject< TDimension, PixelType >::GetSlicePosition().


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