14 #ifndef __itkVariableLengthVectorImageFileReader_h 15 #define __itkVariableLengthVectorImageFileReader_h 17 #include "itkExceptionObject.h" 19 #include "itkImageSource.h" 20 #include "itkImageIOBase.h" 21 #include "itkImageFileReader.h" 22 #include "itksys/SystemTools.hxx" 40 const char* message =
"Error in IO",
41 const char* loc =
"Unknown") :
42 ExceptionObject(file, line, message, loc)
48 const char* message =
"Error in IO",
49 const char* loc =
"Unknown") :
50 ExceptionObject(file, line, message, loc)
60 template <
class TOutputImage>
76 itkStaticConstMacro(ImageDimension,
unsigned int, Superclass::OutputImageDimension);
94 itkSetStringMacro(FileName);
95 itkGetStringMacro(FileName);
98 itkSetMacro(UseStreaming,
bool);
99 itkGetConstReferenceMacro(UseStreaming,
bool);
100 itkBooleanMacro(UseStreaming);
103 itkGetObjectMacro(ImageIO,ImageIOBase);
108 void PrintSelf(std::ostream& os, Indent indent)
const ITK_OVERRIDE;
134 virtual void GenerateData() ITK_OVERRIDE;
138 ImageIOBase::Pointer m_ImageIO;
142 void operator=(const Self&);
144 std::
string m_ExceptionMessage;
154 #ifndef ITK_MANUAL_INSTANTIATION 158 #endif // __itkSparseVariableLengthVectorImageFileReader_h VariableLengthVectorImageFileReaderException(const char *file, unsigned int line, const char *message="Error in IO", const char *loc="Unknown")
ValueImageType::Pointer m_ValueImage
Base exception class for IO conflicts.
OutputImageType::PixelContainer::Pointer OutputImagePixelContainerPointerType
TOutputImage OutputImageType
OutputImageType::PixelType OutputImagePixelType
VariableLengthVectorImageFileReaderException(const std::string &file, unsigned int line, const char *message="Error in IO", const char *loc="Unknown")
ImageSource< TOutputImage > Superclass
itk::ImageFileReader< LengthImageType > LengthImageFileReaderType
LengthImageType::Pointer m_LengthImage
itk::ImageFileReader< ValueImageType > ValueImageFileReaderType
ValueImageFileReaderType::Pointer m_ValueImageFileReader
Image< LengthType, ImageDimension > LengthImageType
OutputImageType::SizeType OutputImageSizeType
OutputImageType::RegionType OutputImageRegionType
OutputImageType::IndexType OutputImageIndexType
VariableLengthVectorImageFileReader Self
Reads variable length vector image data.
OutputImageType::DirectionType OutputImageDirectionType
SmartPointer< Self > Pointer
LengthImageFileReaderType::Pointer m_LengthImageFileReader
OutputImageType::SpacingType OutputImageSpacingType
OutputImageType::PixelContainer OutputImagePixelContainerType
OutputImageType::Pointer OutputImagePointer
Image< typename OutputImagePixelType::ValueType, 1 > ValueImageType
OutputImageType::PointType OutputImagePointType