18 #ifndef itkImportImageFilter_h
19 #define itkImportImageFilter_h
42 template<
typename TPixel,
unsigned int VImageDimension = 2 >
44 public ImageSource< Image< TPixel, VImageDimension > >
82 TPixel * GetImportPointer();
92 bool LetImageContainerManageMemory);
99 {
if ( m_Region != region ) { m_Region = region; this->Modified(); } }
110 itkSetMacro(Spacing, SpacingType);
111 itkGetConstReferenceMacro(Spacing, SpacingType);
112 itkSetVectorMacro(Spacing,
const float, VImageDimension);
117 itkSetMacro(Origin, OriginType);
118 itkGetConstReferenceMacro(Origin, OriginType);
119 itkSetVectorMacro(Origin,
const float, VImageDimension);
135 void PrintSelf(std::ostream & os,
Indent indent)
const override;
139 void GenerateData()
override;
144 void GenerateOutputInformation()
override;
153 void EnlargeOutputRequestedRegion(
DataObject *output)
override;
166 #ifndef ITK_MANUAL_INSTANTIATION
167 #include "itkImportImageFilter.hxx"
typename OutputImageType::SpacingType SpacingType
DirectionType m_Direction
typename OutputImageType::PointType OriginType
unsigned long SizeValueType
An image region represents a structured region of data.
Base class for all process objects that output image data.
typename OutputImageType::Pointer OutputImagePointer
Import data from a standard C array into an itk::Image.
Represent a n-dimensional size (bounds) of a n-dimensional image.
typename Superclass::SpacingType SpacingType
const RegionType & GetRegion() const
ImportImageContainerType::Pointer m_ImportImageContainer
TPixel OutputImagePixelType
Control indentation during Print() invocation.
ImageBaseType::PointType PointType
void SetRegion(const RegionType ®ion)
Base class for all data objects in ITK.
Templated n-dimensional image class.
Defines an itk::Image front-end to a standard C-array.