Public Member Functions | Protected Member Functions | Private Attributes

creaImageIO::AbstractImageReader Class Reference
[Image I/O classes]

Abstract image reader. More...

#include <creaImageIOAbstractImageReader.h>

Inheritance diagram for creaImageIO::AbstractImageReader:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AbstractImageReader ()
virtual ~AbstractImageReader ()
const std::string & GetName () const
 Get the reader's name.
virtual void PushBackExtensions (std::vector< std::string > &)
 Add file extensions read by the reader.
virtual bool CanRead (const std::string &filename)
 Test if file is read by this reader.
virtual vtkImageData * ReadImage (const std::string &filename)
 return for a file a 2D VTkImage
virtual void ReadAttributes (const std::string &filename, tree::AttributeMapType &attr)
 Read the attributes for a file.
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.

Protected Member Functions

void SetName (const std::string &s)
 Set the reader's name.

Private Attributes

std::string mName

Detailed Description

Abstract image reader.

Definition at line 19 of file creaImageIOAbstractImageReader.h.


Constructor & Destructor Documentation

creaImageIO::AbstractImageReader::AbstractImageReader (  )  [inline]

Definition at line 12 of file creaImageIOAbstractImageReader.h.

Referenced by CanRead().

{

Here is the caller graph for this function:

virtual creaImageIO::AbstractImageReader::~AbstractImageReader (  )  [inline, virtual]

Definition at line 13 of file creaImageIOAbstractImageReader.h.

{


Member Function Documentation

virtual bool creaImageIO::AbstractImageReader::CanRead ( const std::string &  filename  )  [inline, virtual]

Test if file is read by this reader.

Reimplemented in creaImageIO::DicomImageReader, creaImageIO::DicomImageReader, creaImageIO::ImageReader, creaImageIO::UltrasonixImageReader, and creaImageIO::VtkImageReader.

Definition at line 22 of file creaImageIOAbstractImageReader.h.

References AbstractImageReader().

{

Here is the call graph for this function:

virtual void creaImageIO::AbstractImageReader::getAttributes ( const std::string  filename,
std::map< std::string, std::string > &  infos,
std::vector< std::string >  i_attr 
) [inline, virtual]
const std::string& creaImageIO::AbstractImageReader::GetName (  )  const [inline]

Get the reader's name.

Definition at line 16 of file creaImageIOAbstractImageReader.h.

Referenced by creaImageIO::VtkImageReader::VtkImageReader().

{

Here is the caller graph for this function:

virtual void creaImageIO::AbstractImageReader::PushBackExtensions ( std::vector< std::string > &   )  [inline, virtual]
virtual void creaImageIO::AbstractImageReader::ReadAttributes ( const std::string &  filename,
tree::AttributeMapType attr 
) [inline, virtual]
virtual vtkImageData* creaImageIO::AbstractImageReader::ReadImage ( const std::string &  filename  )  [inline, virtual]
void creaImageIO::AbstractImageReader::SetName ( const std::string &  s  )  [inline, protected]

Member Data Documentation

Definition at line 38 of file creaImageIOAbstractImageReader.h.

Referenced by ReadAttributes().


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