creaImageIO_lib
|
Concrete image reader for DICOM images. More...
#include <creaImageIODicomImageReader.h>
Classes | |
struct | deleter |
Public Member Functions | |
DicomImageReader () | |
virtual | ~DicomImageReader () |
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... | |
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... | |
DicomImageReader () | |
virtual | ~DicomImageReader () |
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... | |
void | ReadAttributes2 (const std::string &filename, tree::AttributeMapType &attr) |
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 Member Functions | |
const std::string | GetStringValueFromTag (const gdcm::DataElement &ds) |
Private Attributes | |
vtkGdcmReader * | mReader |
vtkGDCMImageReader * | mReader |
gdcm::Scanner | mscan |
bool | b_loaded |
Friends | |
struct | deleter |
Concrete image reader for DICOM images.
Definition at line 48 of file creaImageIODicomImageReader.h.
creaImageIO::DicomImageReader::DicomImageReader | ( | ) |
Definition at line 44 of file creaImageIODicomImageReader.cpp.
References mReader, and creaImageIO::AbstractImageReader::SetName().
|
virtual |
Definition at line 57 of file creaImageIODicomImageReader.cpp.
References mReader.
creaImageIO::DicomImageReader::DicomImageReader | ( | ) |
|
virtual |
|
virtual |
Test if file is read by this reader.
Reimplemented from creaImageIO::AbstractImageReader.
Definition at line 64 of file creaImageIODicomImageReader.cpp.
|
virtual |
Test if file is read by this reader.
Reimplemented from creaImageIO::AbstractImageReader.
|
virtual |
Another function to read attributes for a file.
Reimplemented from creaImageIO::AbstractImageReader.
Definition at line 131 of file creaImageIODicomImageReader.cpp.
References ReadAttributes().
|
virtual |
Another function to read attributes for a file.
Reimplemented from creaImageIO::AbstractImageReader.
|
inlineinherited |
Get the reader's name.
Definition at line 56 of file creaImageIOAbstractImageReader.h.
References creaImageIO::AbstractImageReader::mName.
Referenced by creaImageIO::VtkImageReader::ReadImage().
|
private |
Definition at line 268 of file creaImageIODicomImageReader2.cpp.
|
virtual |
Add file extensions read by the reader.
Reimplemented from creaImageIO::AbstractImageReader.
Definition at line 102 of file creaImageIODicomImageReader.cpp.
|
virtual |
Add file extensions read by the reader.
Reimplemented from creaImageIO::AbstractImageReader.
|
virtual |
Read the attributes for a file.
Reimplemented from creaImageIO::AbstractImageReader.
Definition at line 142 of file creaImageIODicomImageReader.cpp.
References creaImageIO::tree::AttributeDescriptor::GetDicomGroupElementFromKey(), GimmickMessage, and creaImageIO::irclean().
Referenced by getAttributes().
|
virtual |
Read the attributes for a file.
Reimplemented from creaImageIO::AbstractImageReader.
void creaImageIO::DicomImageReader::ReadAttributes2 | ( | const std::string & | filename, |
tree::AttributeMapType & | attr | ||
) |
Definition at line 212 of file creaImageIODicomImageReader2.cpp.
References b_loaded, creaImageIO::tree::AttributeDescriptor::GetDicomGroupElementFromKey(), creaImageIO::irclean(), and mscan.
|
virtual |
return for a file a 2D VTkImage
Reimplemented from creaImageIO::AbstractImageReader.
Definition at line 83 of file creaImageIODicomImageReader.cpp.
References mReader.
|
virtual |
return for a file a 2D VTkImage
Reimplemented from creaImageIO::AbstractImageReader.
|
inlineprotectedinherited |
Set the reader's name.
Definition at line 79 of file creaImageIOAbstractImageReader.h.
References creaImageIO::AbstractImageReader::mName.
Referenced by DicomImageReader(), creaImageIO::UltrasonixImageReader::UltrasonixImageReader(), and creaImageIO::VtkImageReader::VtkImageReader().
|
friend |
Definition at line 73 of file creaImageIODicomImageReader.h.
|
private |
Definition at line 77 of file creaImageIODicomImageReader2.h.
Referenced by ReadAttributes2().
|
private |
Definition at line 68 of file creaImageIODicomImageReader.h.
Referenced by DicomImageReader(), ReadImage(), and ~DicomImageReader().
|
private |
Definition at line 75 of file creaImageIODicomImageReader2.h.
|
private |
Definition at line 76 of file creaImageIODicomImageReader2.h.
Referenced by ReadAttributes2().