34 #ifndef __itkImageSpatialObject2_h
35 #define __itkImageSpatialObject2_h
38 #include "itkExceptionObject.h"
39 #include "itkSpatialObject.h"
40 #include "itkInterpolateImageFunction.h"
41 #include "itkNearestNeighborInterpolateImageFunction.h"
56 template <
unsigned int TDimension = 3,
57 class TPixelType =
unsigned char
60 :
public SpatialObject< TDimension >
103 unsigned int depth=0,
char *name=NULL)
const;
109 unsigned int depth=0,
char *name=NULL)
const;
114 unsigned int depth,
char *name)
const;
125 unsigned long GetMTime(
void )
const;
152 void PrintSelf( std::ostream& os, Indent indent )
const;
162 #ifndef ITK_MANUAL_INSTANTIATION
163 #include "itkImageSpatialObject2.txx"
166 #endif //__itkImageSpatialObject2_h
const char * GetPixelType()
InterpolatorType::Pointer m_Interpolator
Superclass::PointType PointType
bool IsInside(const PointType &point, unsigned int depth, char *name) const
NearestNeighborInterpolateImageFunction< ImageType > NNInterpolatorType
void operator=(const Self &)
SmartPointer< const Self > ConstPointer
void SetImage(const ImageType *image)
ImageType::IndexType IndexType
unsigned long GetMTime(void) const
VectorContainer< unsigned long, PointType > PointContainerType
SpatialObject< TDimension > Superclass
int GetSlicePosition(unsigned int dimension)
Implementation of an image as spatial object.
bool IsEvaluableAt(const PointType &point, unsigned int depth=0, char *name=NULL) const
Image< PixelType, TDimension > ImageType
SmartPointer< Self > Pointer
virtual ~ImageSpatialObject2()
void PrintSelf(std::ostream &os, Indent indent) const
const ImageType * GetImage(void) const
Superclass::BoundingBoxType BoundingBoxType
PointContainerType::Pointer PointContainerPointer
Superclass::TransformType TransformType
void SetInterpolator(InterpolatorType *interpolator)
bool ValueAt(const PointType &point, double &value, unsigned int depth=0, char *name=NULL) const
ImageSpatialObject2< TDimension, TPixelType > Self
ImageType::RegionType RegionType
bool ComputeLocalBoundingBox() const
InterpolateImageFunction< ImageType > InterpolatorType
void SetSlicePosition(unsigned int dimension, int position)
ImageType::SizeType SizeType
ImageType::ConstPointer ImagePointer