33 #ifndef __itkImageSpatialObject2_h
34 #define __itkImageSpatialObject2_h
37 #include "itkExceptionObject.h"
38 #include "itkSpatialObject.h"
39 #include "itkInterpolateImageFunction.h"
40 #include "itkNearestNeighborInterpolateImageFunction.h"
55 template<
unsigned int TDimension = 3,
56 class TPixelType =
unsigned char
59 public SpatialObject< TDimension >
81 typedef NearestNeighborInterpolateImageFunction< ImageType >
102 unsigned int depth = 0,
char * name = NULL )
const;
108 unsigned int depth = 0,
char * name = NULL )
const;
112 unsigned int depth,
char * name )
const;
123 unsigned long GetMTime(
void )
const;
153 void PrintSelf( std::ostream & os, Indent indent )
const;
163 #ifndef ITK_MANUAL_INSTANTIATION
164 #include "itkImageSpatialObject2.hxx"
167 #endif //__itkImageSpatialObject2_h
const char * GetPixelType()
InterpolatorType::Pointer m_Interpolator
Superclass::PointType PointType
bool IsInside(const PointType &point, unsigned int depth, char *name) const
void operator=(const Self &)
SmartPointer< const Self > ConstPointer
void SetImage(const ImageType *image)
ImageType::IndexType IndexType
unsigned long GetMTime(void) const
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
InterpolateImageFunction< ImageType > InterpolatorType
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
VectorContainer< unsigned long, PointType > PointContainerType
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
void SetSlicePosition(unsigned int dimension, int position)
ImageType::SizeType SizeType
NearestNeighborInterpolateImageFunction< ImageType > NNInterpolatorType
ImageType::ConstPointer ImagePointer