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);
107 itkSetMacro(Spacing, SpacingType);
108 itkGetConstReferenceMacro(Spacing, SpacingType);
109 itkSetVectorMacro(Spacing,
const float, VImageDimension);
114 itkSetMacro(Origin, OriginType);
115 itkGetConstReferenceMacro(Origin, OriginType);
116 itkSetVectorMacro(Origin,
const float, VImageDimension);
123 virtual void SetDirection(
const DirectionType & direction);
127 itkGetConstReferenceMacro(Direction, DirectionType);
167 #ifndef ITK_MANUAL_INSTANTIATION 168 #include "itkImportImageFilter.hxx"
TPixel * GetImportPointer()
DirectionType m_Direction
virtual void GenerateOutputInformation() override
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
virtual void EnlargeOutputRequestedRegion(DataObject *output) override
An image region represents a structured region of data.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
virtual void SetDirection(const DirectionType &direction)
Base class for all process objects that output image data.
unsigned long SizeValueType
virtual void GenerateData() override
TPixel OutputImagePixelType
Import data from a standard C array into an itk::Image.
ImageRegion< VImageDimension > RegionType
bool m_FilterManageMemory
ImageSource< OutputImageType > Superclass
virtual void Modified() const
OutputImageType::Pointer OutputImagePointer
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
void PrintSelf(std::ostream &os, Indent indent) const override