18 #ifndef itkImportImageFilter_h
19 #define itkImportImageFilter_h
42 template<
typename TPixel,
unsigned int VImageDimension = 2 >
44 public ImageSource< Image< TPixel, VImageDimension > >
80 TPixel * GetImportPointer();
90 bool LetImageContainerManageMemory);
97 {
if ( m_Region != region ) { m_Region = region; this->Modified(); } }
108 itkSetMacro(Spacing, SpacingType);
109 itkGetConstReferenceMacro(Spacing, SpacingType);
110 itkSetVectorMacro(Spacing,
const float, VImageDimension);
115 itkSetMacro(Origin, OriginType);
116 itkGetConstReferenceMacro(Origin, OriginType);
117 itkSetVectorMacro(Origin,
const float, VImageDimension);
133 void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
137 virtual
void GenerateData() ITK_OVERRIDE;
142 virtual
void GenerateOutputInformation() ITK_OVERRIDE;
151 virtual
void EnlargeOutputRequestedRegion(
DataObject *output) ITK_OVERRIDE;
166 #ifndef ITK_MANUAL_INSTANTIATION
167 #include "itkImportImageFilter.hxx"
ImportImageContainer< SizeValueType, TPixel > ImportImageContainerType
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.
Base class for all process objects that output image data.
unsigned long SizeValueType
TPixel OutputImagePixelType
Import data from a standard C array into an itk::Image.
ImageRegion< VImageDimension > RegionType
ImageSource< OutputImageType > Superclass
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
Defines an itk::Image front-end to a standard C-array.