18 #ifndef __itkImportImageFilter_h
19 #define __itkImportImageFilter_h
42 template<
typename TPixel,
unsigned int VImageDimension = 2 >
44 public ImageSource< Image< TPixel, VImageDimension > >
89 bool LetFilterManageMemory);
109 itkSetVectorMacro(Spacing,
const float, VImageDimension);
115 itkGetConstReferenceMacro(Origin,
OriginType);
116 itkSetVectorMacro(Origin,
const float, VImageDimension);
167 #ifndef ITK_MANUAL_INSTANTIATION
168 #include "itkImportImageFilter.hxx"
TPixel * GetImportPointer()
DirectionType m_Direction
void SetImportPointer(TPixel *ptr, SizeValueType num, bool LetFilterManageMemory)
SmartPointer< const Self > ConstPointer
Represent the size (bounds) of a n-dimensional image.
Matrix< SpacePrecisionType, VImageDimension, VImageDimension > DirectionType
Index< VImageDimension > IndexType
An image region represents a structured region of data.
virtual void EnlargeOutputRequestedRegion(DataObject *output)
virtual void SetDirection(const DirectionType &direction)
Base class for all process objects that output image data.
virtual void GenerateOutputInformation()
unsigned long SizeValueType
TPixel OutputImagePixelType
Import data from a standard C array into an itk::Image.
ImageRegion< VImageDimension > RegionType
virtual void GenerateData()
void PrintSelf(std::ostream &os, Indent indent) const
bool m_FilterManageMemory
ImageSource< OutputImageType > Superclass
virtual void Modified() const
OutputImageType::Pointer OutputImagePointer
void operator=(const ImportImageFilter &)
const RegionType & GetRegion() const
Control indentation during Print() invocation.
void SetRegion(const RegionType ®ion)
OutputImageType::SpacingType SpacingType
OutputImageType::PointType OriginType
Image< TPixel, VImageDimension > OutputImageType
Size< VImageDimension > SizeType
Base class for all data objects in ITK.
Templated n-dimensional image class.
SmartPointer< Self > Pointer