|
creaImageIO_lib
|
Concrete image reader for DICOM images. More...
#include <creaImageIODicomScanner.h>
Public Member Functions | |
| DicomImageScanner () | |
| virtual | ~DicomImageScanner () |
| bool | addDirectory (std::string &filename, std::map< std::string, std::string > &attr) |
| Add file extensions read by the 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) |
| std::string | irclean (const std::string &str) |
Private Member Functions | |
| const std::string | GetStringValueFromTag (const gdcm::DataElement &ds) |
Private Attributes | |
| vtkGDCMImageReader * | mReader |
| gdcm::Scanner | mscan |
| bool | b_loaded |
Concrete image reader for DICOM images.
Definition at line 53 of file creaImageIODicomScanner.h.
| creaImageIO::DicomImageScanner::DicomImageScanner | ( | ) |
|
virtual |
Definition at line 55 of file creaImageIODicomScanner.cpp.
References mReader.
| bool creaImageIO::DicomImageScanner::addDirectory | ( | std::string & | filename, |
| std::map< std::string, std::string > & | attr | ||
| ) |
Add file extensions read by the reader.
Definition at line 62 of file creaImageIODicomScanner.cpp.
References b_loaded, creaImageIO::tree::AttributeDescriptor::GetDicomGroupElementFromKey(), and mscan.

|
private |
Definition at line 218 of file creaImageIODicomScanner.cpp.
| std::string creaImageIO::DicomImageScanner::irclean | ( | const std::string & | str | ) |
Definition at line 121 of file creaImageIODicomScanner.cpp.
Referenced by ReadAttributes().

|
virtual |
Read the attributes for a file.
Definition at line 145 of file creaImageIODicomScanner.cpp.
References irclean(), and mscan.

| void creaImageIO::DicomImageScanner::ReadAttributes2 | ( | const std::string & | filename, |
| tree::AttributeMapType & | attr | ||
| ) |
|
virtual |
return for a file a 2D VTkImage
Definition at line 99 of file creaImageIODicomScanner.cpp.
References mReader.
|
private |
Definition at line 75 of file creaImageIODicomScanner.h.
Referenced by addDirectory(), and DicomImageScanner().
|
private |
Definition at line 73 of file creaImageIODicomScanner.h.
Referenced by DicomImageScanner(), ReadImage(), and ~DicomImageScanner().
|
private |
Definition at line 74 of file creaImageIODicomScanner.h.
Referenced by addDirectory(), DicomImageScanner(), and ReadAttributes().