14 #ifndef __itkSpatiallyDenseSparseVectorImageFileReader_h 15 #define __itkSpatiallyDenseSparseVectorImageFileReader_h 17 #include "itkExceptionObject.h" 19 #include "itkImageSource.h" 20 #include "itkImageIOBase.h" 21 #include "itkImageFileReader.h" 22 #include "itksys/SystemTools.hxx" 43 const char* message =
"Error in IO",
44 const char* loc =
"Unknown") :
45 ExceptionObject(file, line, message, loc)
51 const char* message =
"Error in IO",
52 const char* loc =
"Unknown") :
53 ExceptionObject(file, line, message, loc)
66 template <
class TOutputImage>
82 itkStaticConstMacro(ImageDimension,
unsigned int, Superclass::OutputImageDimension);
109 itkSetStringMacro(FileName);
110 itkGetStringMacro(FileName);
113 itkSetMacro(UseStreaming,
bool);
114 itkGetConstReferenceMacro(UseStreaming,
bool);
115 itkBooleanMacro(UseStreaming);
118 itkGetObjectMacro(ImageIO,ImageIOBase);
123 void PrintSelf(std::ostream& os, Indent indent)
const ITK_OVERRIDE;
142 virtual void GenerateData() ITK_OVERRIDE;
146 ImageIOBase::Pointer m_ImageIO;
150 void operator=(const Self&);
152 std::
string m_ExceptionMessage;
162 #ifndef ITK_MANUAL_INSTANTIATION 166 #endif // __itkSparseSpatiallyDenseSparseVectorImageFileReader_h OutputImageType::PixelMapConstIterator OutputImagePixelMapConstIteratorType
ImageFileReader< ValueImageType > ValueImageFileReaderType
ValueImageType::Pointer m_ValueImage
OutputImageType::PointType OutputImagePointType
OutputImageType::Pointer OutputImagePointer
OutputImageType::SpacingType OutputImageSpacingType
OutputImageType::KeyType OutputImageKeyType
KeyImageFileReaderType::Pointer m_KeyImageFileReader
OutputImageType::DirectionType OutputImageDirectionType
OutputImageType::RegionType OutputImageRegionType
OutputImageType::PixelContainer OutputImagePixelContainerType
OutputImageType::PixelType OutputImagePixelType
SmartPointer< Self > Pointer
OutputImageType::ValueType OutputImageValueType
Image< OutputImageKeyType, 1 > KeyImageType
Reads sparse image data from key and value files.
Base exception class for IO conflicts.
TOutputImage OutputImageType
OutputImageType::PixelContainerConstPointer OutputImagePixelContainerConstPointerType
ValueImageFileReaderType::Pointer m_ValueImageFileReader
Image< OutputImageValueType, 1 > ValueImageType
SpatiallyDenseSparseVectorImageFileReader Self
OutputImageType::SizeType OutputImageSizeType
OutputImageType::IndexType OutputImageIndexType
SpatiallyDenseSparseVectorImageFileReaderException(const char *file, unsigned int line, const char *message="Error in IO", const char *loc="Unknown")
ImageFileReader< KeyImageType > KeyImageFileReaderType
SpatiallyDenseSparseVectorImageFileReaderException(const std::string &file, unsigned int line, const char *message="Error in IO", const char *loc="Unknown")
KeyImageType::Pointer m_KeyImage
OutputImageType::InternalPixelType OutputImageInternalPixelType
ImageSource< TOutputImage > Superclass
OutputImageType::PixelMapType OutputImagePixelPixelMapType