|
creaImageIO_lib
|
Concrete image reader based on a vtkImageReader2. More...
#include <creaImageIOVtkImageReader.h>


Public Member Functions | |
| VtkImageReader (vtkImageReader2 *reader, const std::string &name="", const std::string &extensions="") | |
| virtual | ~VtkImageReader () |
| 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) |
| Read the attributes for a file. 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... | |
| const std::string & | GetName () const |
| Get the reader's name. More... | |
Protected Member Functions | |
| void | SetName (const std::string &s) |
| Set the reader's name. More... | |
Private Attributes | |
| vtkImageReader2 * | mReader |
| std::string | mExtensions |
Concrete image reader based on a vtkImageReader2.
Definition at line 46 of file creaImageIOVtkImageReader.h.
| creaImageIO::VtkImageReader::VtkImageReader | ( | vtkImageReader2 * | reader, |
| const std::string & | name = "", |
||
| const std::string & | extensions = "" |
||
| ) |
Definition at line 39 of file creaImageIOVtkImageReader.cpp.
References mReader, and creaImageIO::AbstractImageReader::SetName().

|
virtual |
Definition at line 69 of file creaImageIOVtkImageReader.cpp.
References mReader.
|
virtual |
Test if file is read by this reader.
Reimplemented from creaImageIO::AbstractImageReader.
Definition at line 77 of file creaImageIOVtkImageReader.cpp.
References mReader.
|
virtual |
Another function to read attributes for a file.
Reimplemented from creaImageIO::AbstractImageReader.
Definition at line 91 of file creaImageIOVtkImageReader.cpp.
|
inlineinherited |
Get the reader's name.
Definition at line 56 of file creaImageIOAbstractImageReader.h.
References creaImageIO::AbstractImageReader::mName.
Referenced by ReadImage().

|
virtual |
Add file extensions read by the reader.
Reimplemented from creaImageIO::AbstractImageReader.
Definition at line 186 of file creaImageIOVtkImageReader.cpp.
References mExtensions, mReader, and creaImageIO::SplitExtensionsString().

|
virtual |
Read the attributes for a file.
Reimplemented from creaImageIO::AbstractImageReader.
Definition at line 198 of file creaImageIOVtkImageReader.cpp.
References mReader.
|
virtual |
return for a file a 2D VTkImage
Reimplemented from creaImageIO::AbstractImageReader.
Definition at line 96 of file creaImageIOVtkImageReader.cpp.
References creaImageIO::AbstractImageReader::GetName(), and mReader.

|
inlineprotectedinherited |
Set the reader's name.
Definition at line 79 of file creaImageIOAbstractImageReader.h.
References creaImageIO::AbstractImageReader::mName.
Referenced by creaImageIO::DicomImageReader::DicomImageReader(), creaImageIO::UltrasonixImageReader::UltrasonixImageReader(), and VtkImageReader().

|
private |
Definition at line 71 of file creaImageIOVtkImageReader.h.
Referenced by PushBackExtensions().
|
private |
Definition at line 70 of file creaImageIOVtkImageReader.h.
Referenced by CanRead(), PushBackExtensions(), ReadAttributes(), ReadImage(), VtkImageReader(), and ~VtkImageReader().