creaImageIO_lib
|
Abstract image reader. More...
#include <creaImageIOAbstractImageReader.h>
Public Member Functions | |
AbstractImageReader () | |
virtual | ~AbstractImageReader () |
const std::string & | GetName () const |
Get the reader's name. More... | |
virtual void | PushBackExtensions (std::vector< std::string > &) |
Add file extensions read by the reader. More... | |
virtual bool | CanRead (const std::string &filename) |
Test if file is read by this reader. More... | |
virtual vtkImageData * | ReadImage (const std::string &filename) |
return for a file a 2D VTkImage More... | |
virtual void | ReadAttributes (const std::string &filename, tree::AttributeMapType &attr) |
return for a file an ItkImage More... | |
virtual void | getAttributes (const std::string filename, std::map< std::string, std::string > &infos, std::vector< std::string > i_attr) |
Another function to read attributes for a file. More... | |
Protected Member Functions | |
void | SetName (const std::string &s) |
Set the reader's name. More... | |
Private Attributes | |
std::string | mName |
Abstract image reader.
Definition at line 49 of file creaImageIOAbstractImageReader.h.
|
inline |
Definition at line 52 of file creaImageIOAbstractImageReader.h.
|
inlinevirtual |
Definition at line 53 of file creaImageIOAbstractImageReader.h.
|
inlinevirtual |
Test if file is read by this reader.
Reimplemented in creaImageIO::DicomImageReader, creaImageIO::VtkImageReader, creaImageIO::DicomImageReader, creaImageIO::ImageReader, and creaImageIO::UltrasonixImageReader.
Definition at line 62 of file creaImageIOAbstractImageReader.h.
|
inlinevirtual |
Another function to read attributes for a file.
Reimplemented in creaImageIO::DicomImageReader, creaImageIO::ImageReader, creaImageIO::VtkImageReader, creaImageIO::DicomImageReader, and creaImageIO::UltrasonixImageReader.
Definition at line 75 of file creaImageIOAbstractImageReader.h.
|
inline |
Get the reader's name.
Definition at line 56 of file creaImageIOAbstractImageReader.h.
References mName.
Referenced by creaImageIO::VtkImageReader::ReadImage().
|
inlinevirtual |
Add file extensions read by the reader.
Reimplemented in creaImageIO::DicomImageReader, creaImageIO::VtkImageReader, creaImageIO::DicomImageReader, creaImageIO::ImageReader, and creaImageIO::UltrasonixImageReader.
Definition at line 59 of file creaImageIOAbstractImageReader.h.
|
inlinevirtual |
return for a file an ItkImage
Read the attributes for a file
Reimplemented in creaImageIO::DicomImageReader, creaImageIO::VtkImageReader, creaImageIO::ImageReader, creaImageIO::DicomImageReader, and creaImageIO::UltrasonixImageReader.
Definition at line 71 of file creaImageIOAbstractImageReader.h.
|
inlinevirtual |
return for a file a 2D VTkImage
Reimplemented in creaImageIO::DicomImageReader, creaImageIO::VtkImageReader, creaImageIO::DicomImageReader, creaImageIO::ImageReader, and creaImageIO::UltrasonixImageReader.
Definition at line 65 of file creaImageIOAbstractImageReader.h.
|
inlineprotected |
Set the reader's name.
Definition at line 79 of file creaImageIOAbstractImageReader.h.
References mName.
Referenced by creaImageIO::DicomImageReader::DicomImageReader(), creaImageIO::UltrasonixImageReader::UltrasonixImageReader(), and creaImageIO::VtkImageReader::VtkImageReader().
|
private |
Definition at line 81 of file creaImageIOAbstractImageReader.h.