DMRITool  v0.1.1-139-g860d86b4
Diffusion MRI Tool
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage > Class Template Reference

#include <itkSpatiallyDenseSparseVectorImageFileReader.h>

+ Inheritance diagram for itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >:
+ Collaboration diagram for itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >:

Detailed Description

template<class TOutputImage>
class itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >

Reads sparse image data from key and value files.

Author
Pew-Thian Yap (ptyap.nosp@m.@med.nosp@m..unc..nosp@m.edu)

Definition at line 67 of file itkSpatiallyDenseSparseVectorImageFileReader.h.

Public Types

typedef ImageFileReader< KeyImageTypeKeyImageFileReaderType
 
typedef Image< OutputImageKeyType, 1 > KeyImageType
 
typedef OutputImageType::DirectionType OutputImageDirectionType
 
typedef OutputImageType::IndexType OutputImageIndexType
 
typedef OutputImageType::InternalPixelType OutputImageInternalPixelType
 
typedef OutputImageType::KeyType OutputImageKeyType
 
typedef OutputImageType::PixelContainerConstPointer OutputImagePixelContainerConstPointerType
 
typedef OutputImageType::PixelContainer OutputImagePixelContainerType
 
typedef OutputImageType::PixelMapConstIterator OutputImagePixelMapConstIteratorType
 
typedef OutputImageType::PixelMapType OutputImagePixelPixelMapType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::PointType OutputImagePointType
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef OutputImageType::SizeType OutputImageSizeType
 
typedef OutputImageType::SpacingType OutputImageSpacingType
 
typedef TOutputImage OutputImageType
 
typedef OutputImageType::ValueType OutputImageValueType
 
typedef SmartPointer< SelfPointer
 
typedef SpatiallyDenseSparseVectorImageFileReader Self
 
typedef ImageSource< TOutputImage > Superclass
 
typedef ImageFileReader< ValueImageTypeValueImageFileReaderType
 
typedef Image< OutputImageValueType, 1 > ValueImageType
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetFileName () const
 
virtual const char * GetNameOfClass () const
 
virtual const bool & GetUseStreaming ()
 
 itkGetObjectMacro (ImageIO, ImageIOBase)
 
virtual void SetFileName (const char *_arg)
 
virtual void SetUseStreaming (bool _arg)
 
virtual void UseStreamingOff ()
 
virtual void UseStreamingOn ()
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = Superclass::OutputImageDimension
 

Protected Member Functions

virtual void GenerateData () ITK_OVERRIDE
 
void PrintSelf (std::ostream &os, Indent indent) const ITK_OVERRIDE
 
 SpatiallyDenseSparseVectorImageFileReader ()
 
 ~SpatiallyDenseSparseVectorImageFileReader ()
 

Protected Attributes

std::string m_FileName
 
ImageIOBase::Pointer m_ImageIO
 
KeyImageType::Pointer m_KeyImage
 
KeyImageFileReaderType::Pointer m_KeyImageFileReader
 
bool m_UseStreaming
 
ValueImageType::Pointer m_ValueImage
 
ValueImageFileReaderType::Pointer m_ValueImageFileReader
 

Private Member Functions

void operator= (const Self &)
 
 SpatiallyDenseSparseVectorImageFileReader (const Self &)
 

Private Attributes

std::string m_ExceptionMessage
 

Member Typedef Documentation

template<class TOutputImage >
typedef ImageFileReader<KeyImageType> itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::KeyImageFileReaderType
template<class TOutputImage >
typedef Image<OutputImageKeyType, 1> itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::KeyImageType
template<class TOutputImage >
typedef OutputImageType::DirectionType itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::OutputImageDirectionType
template<class TOutputImage >
typedef OutputImageType::IndexType itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::OutputImageIndexType
template<class TOutputImage >
typedef OutputImageType::InternalPixelType itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::OutputImageInternalPixelType
template<class TOutputImage >
typedef OutputImageType::KeyType itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::OutputImageKeyType
template<class TOutputImage >
typedef OutputImageType::PixelContainerConstPointer itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::OutputImagePixelContainerConstPointerType
template<class TOutputImage >
typedef OutputImageType::PixelContainer itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::OutputImagePixelContainerType
template<class TOutputImage >
typedef OutputImageType::PixelMapConstIterator itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::OutputImagePixelMapConstIteratorType
template<class TOutputImage >
typedef OutputImageType::PixelMapType itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::OutputImagePixelPixelMapType
template<class TOutputImage >
typedef OutputImageType::PixelType itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::OutputImagePixelType
template<class TOutputImage >
typedef OutputImageType::Pointer itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::OutputImagePointer
template<class TOutputImage >
typedef OutputImageType::PointType itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::OutputImagePointType
template<class TOutputImage >
typedef OutputImageType::RegionType itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::OutputImageRegionType
template<class TOutputImage >
typedef OutputImageType::SizeType itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::OutputImageSizeType
template<class TOutputImage >
typedef OutputImageType::SpacingType itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::OutputImageSpacingType
template<class TOutputImage >
typedef TOutputImage itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::OutputImageType

Some convenient typedefs.

Definition at line 85 of file itkSpatiallyDenseSparseVectorImageFileReader.h.

template<class TOutputImage >
typedef OutputImageType::ValueType itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::OutputImageValueType
template<class TOutputImage >
typedef SmartPointer<Self> itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::Pointer

Standard class typedefs.

Definition at line 71 of file itkSpatiallyDenseSparseVectorImageFileReader.h.

template<class TOutputImage >
typedef ImageSource<TOutputImage> itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::Superclass
template<class TOutputImage >
typedef ImageFileReader<ValueImageType> itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::ValueImageFileReaderType
template<class TOutputImage >
typedef Image<OutputImageValueType, 1> itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::ValueImageType

Constructor & Destructor Documentation

template<class TOutputImage >
itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::SpatiallyDenseSparseVectorImageFileReader ( )
protected
template<class TOutputImage >
itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::~SpatiallyDenseSparseVectorImageFileReader ( )
protected
template<class TOutputImage >
itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::SpatiallyDenseSparseVectorImageFileReader ( const Self )
private

Member Function Documentation

template<class TOutputImage >
virtual::itk::LightObject::Pointer itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::CreateAnother ( void  ) const
template<class TOutputImage >
void itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::GenerateData ( void  )
protectedvirtual

Does the real work.

Definition at line 62 of file itkSpatiallyDenseSparseVectorImageFileReader.hxx.

Referenced by itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::PrintSelf().

+ Here is the caller graph for this function:

template<class TOutputImage >
virtual const char* itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::GetFileName ( ) const
virtual
template<class TOutputImage >
virtual const char* itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

template<class TOutputImage >
virtual const bool& itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::GetUseStreaming ( )
virtual
template<class TOutputImage >
itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::itkGetObjectMacro ( ImageIO  ,
ImageIOBase   
)

Set/Get the ImageIO helper class

template<class TOutputImage >
static Pointer itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::New ( )
static

Method for creation through the object factory.

template<class TOutputImage >
void itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::operator= ( const Self )
private
template<class TOutputImage >
void itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected
template<class TOutputImage >
virtual void itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::SetFileName ( const char *  _arg)
virtual

Specify the files to read. This is forwarded to the IO instance.

template<class TOutputImage >
virtual void itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::SetUseStreaming ( bool  _arg)
virtual

Set the stream On or Off

template<class TOutputImage >
virtual void itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::UseStreamingOff ( )
virtual
template<class TOutputImage >
virtual void itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::UseStreamingOn ( )
virtual

Member Data Documentation

template<class TOutputImage >
const unsigned int itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::ImageDimension = Superclass::OutputImageDimension
static

Dimension of image.

Definition at line 82 of file itkSpatiallyDenseSparseVectorImageFileReader.h.

template<class TOutputImage >
std::string itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::m_ExceptionMessage
private
template<class TOutputImage >
std::string itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::m_FileName
protected
template<class TOutputImage >
ImageIOBase::Pointer itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::m_ImageIO
protected
template<class TOutputImage >
KeyImageType::Pointer itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::m_KeyImage
protected

Convert a block of pixels from one type to another. Test whether the given filename exist and it is readable, this is intended to be called before attempting to use ImageIO classes for actually reading the file. If the file doesn't exist or it is not readable, and exception with an approriate message will be thrown.

Definition at line 135 of file itkSpatiallyDenseSparseVectorImageFileReader.h.

template<class TOutputImage >
KeyImageFileReaderType::Pointer itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::m_KeyImageFileReader
protected
template<class TOutputImage >
bool itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::m_UseStreaming
protected
template<class TOutputImage >
ValueImageType::Pointer itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::m_ValueImage
protected
template<class TOutputImage >
ValueImageFileReaderType::Pointer itk::SpatiallyDenseSparseVectorImageFileReader< TOutputImage >::m_ValueImageFileReader
protected

The documentation for this class was generated from the following files: