18 #ifndef itkImageSpatialObject_h
19 #define itkImageSpatialObject_h
37 template<
unsigned int TDimension = 3,
38 typename TPixelType =
unsigned char
82 unsigned int depth = 0,
char *name = ITK_NULLPTR) const ITK_OVERRIDE;
88 unsigned int depth = 0,
char *name = ITK_NULLPTR) const ITK_OVERRIDE;
92 unsigned int depth,
char *name) const ITK_OVERRIDE;
137 template <
typename T>
140 itkWarningMacro(
"itk::ImageSpatialObject() : PixelType not recognized");
165 #ifndef ITK_MANUAL_INSTANTIATION
166 #include "itkImageSpatialObject.hxx"
169 #endif //itkImageSpatialObject_h
Point< ScalarType, VDimension > PointType
Superclass::RegionType RegionType
ImageType::IndexType IndexType
Image< PixelType, TDimension > ImageType
BoundingBox< IdentifierType, VDimension, ScalarType, VectorContainerType > BoundingBoxType
void PrintSelf(std::ostream &os, Indent indent) const override
void operator=(const Self &)
void SetImage(const ImageType *image)
bool ValueAt(const PointType &point, double &value, unsigned int depth=0, char *name=nullptr) const override
ImageSpatialObject< TDimension, TPixelType > Self
unsigned long ModifiedTimeType
int GetSlicePosition(unsigned int dimension)
Nearest neighbor interpolation of a scalar image.
void SetSlicePosition(unsigned int dimension, int position)
Superclass::BoundingBoxType BoundingBoxType
ImageType::ConstPointer ImagePointer
ModifiedTimeType GetMTime(void) const override
void InternalSetPixelType(const double *)
void SetInterpolator(InterpolatorType *interpolator)
InterpolateImageFunction< ImageType > InterpolatorType
virtual ~ImageSpatialObject()
PointContainerType::Pointer PointContainerPointer
void InternalSetPixelType(const short *)
const ImageType * GetImage() const
VectorContainer< IdentifierType, PointType > PointContainerType
Superclass::IndexType IndexType
Implementation of the composite pattern.
SpatialObject< TDimension > Superclass
Superclass::PointType PointType
ImageType::RegionType RegionType
void InternalSetPixelType(const T *)
void InternalSetPixelType(const float *)
Superclass::TransformType TransformType
Base class for all image interpolaters.
SmartPointer< const Self > ConstPointer
Implementation of an image as spatial object.
void InternalSetPixelType(const unsigned short *)
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Control indentation during Print() invocation.
ScalableAffineTransform< double, VDimension > TransformType
bool ComputeLocalBoundingBox() const override
SmartPointer< Self > Pointer
Base class for all data objects in ITK.
const char * GetPixelType()
Templated n-dimensional image class.
NearestNeighborInterpolateImageFunction< ImageType > NNInterpolatorType
InterpolatorType::Pointer m_Interpolator
bool IsEvaluableAt(const PointType &point, unsigned int depth=0, char *name=nullptr) const override
bool IsInside(const PointType &point, unsigned int depth, char *name) const override
void InternalSetPixelType(const unsigned char *)