Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Encapsulates the tag scanning process for a set of DICOM files. More...
#include <mitkDICOMDCMTKTagScanner.h>
Public Member Functions | |
mitkClassMacro (DICOMDCMTKTagScanner, DICOMTagScanner) | |
Pointer | Clone () const |
virtual void | AddTag (const DICOMTag &tag) override |
Add this tag to the scanning process. More... | |
virtual void | AddTags (const DICOMTagList &tags) override |
Add a list of tags to the scanning process. More... | |
virtual void | AddTagPath (const DICOMTagPath &tag) override |
Add this tag path to the scanning process. More... | |
virtual void | AddTagPaths (const DICOMTagPathList &tags) override |
Add a list of tag pathes to the scanning process. More... | |
virtual void | SetInputFiles (const StringList &filenames) override |
Define the list of files to scan. This does not ADD to an internal list, but it replaces the whole list of files. More... | |
virtual void | Scan () |
Start the scanning process. Calling Scan() will invalidate previous scans, forgetting all about files and tags from files that have been scanned previously. More... | |
virtual DICOMDatasetAccessingImageFrameList | GetFrameInfoList () const override |
Retrieve a result list for file-by-file tag access. More... | |
virtual DICOMTagCache::Pointer | GetScanCache () const override |
Retrieve Pointer to the complete cache of the scan. More... | |
Public Member Functions inherited from mitk::DICOMTagScanner | |
mitkClassMacroItkParent (DICOMTagScanner, itk::Object) | |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
DICOMDCMTKTagScanner () | |
virtual | ~DICOMDCMTKTagScanner () |
Protected Member Functions inherited from mitk::DICOMTagScanner | |
void | PushLocale () const |
Remember current locale on stack, activate "C" locale. "C" locale is required for correct parsing of numbers by itk::ImageSeriesReader. More... | |
void | PopLocale () const |
Activate last remembered locale from locale stack "C" locale is required for correct parsing of numbers by itk::ImageSeriesReader. More... | |
DICOMTagScanner () | |
virtual | ~DICOMTagScanner () |
Protected Attributes | |
std::set< DICOMTagPath > | m_ScannedTags |
StringList | m_InputFilenames |
DICOMGenericTagCache::Pointer | m_Cache |
Additional Inherited Members | |
Static Protected Member Functions inherited from mitk::DICOMTagScanner | |
static std::string | GetActiveLocale () |
Return active C locale. More... | |
Encapsulates the tag scanning process for a set of DICOM files.
For the scanning process it uses DCMTK functionality.
Definition at line 35 of file mitkDICOMDCMTKTagScanner.h.
|
protected |
Definition at line 23 of file mitkDICOMDCMTKTagScanner.cpp.
|
protectedvirtual |
Definition at line 27 of file mitkDICOMDCMTKTagScanner.cpp.
|
overridevirtual |
Add this tag to the scanning process.
Implements mitk::DICOMTagScanner.
Definition at line 31 of file mitkDICOMDCMTKTagScanner.cpp.
|
overridevirtual |
Add this tag path to the scanning process.
Implements mitk::DICOMTagScanner.
Definition at line 44 of file mitkDICOMDCMTKTagScanner.cpp.
|
overridevirtual |
Add a list of tag pathes to the scanning process.
Implements mitk::DICOMTagScanner.
Definition at line 49 of file mitkDICOMDCMTKTagScanner.cpp.
|
overridevirtual |
Add a list of tags to the scanning process.
Implements mitk::DICOMTagScanner.
Definition at line 36 of file mitkDICOMDCMTKTagScanner.cpp.
Pointer mitk::DICOMDCMTKTagScanner::Clone | ( | ) | const |
|
overridevirtual |
Retrieve a result list for file-by-file tag access.
Implements mitk::DICOMTagScanner.
Definition at line 181 of file mitkDICOMDCMTKTagScanner.cpp.
|
overridevirtual |
Retrieve Pointer to the complete cache of the scan.
Implements mitk::DICOMTagScanner.
Definition at line 176 of file mitkDICOMDCMTKTagScanner.cpp.
mitk::DICOMDCMTKTagScanner::mitkClassMacro | ( | DICOMDCMTKTagScanner | , |
DICOMTagScanner | |||
) |
|
static |
Referenced by mitk::BaseDICOMReaderService::Read().
|
virtual |
Start the scanning process. Calling Scan() will invalidate previous scans, forgetting all about files and tags from files that have been scanned previously.
Implements mitk::DICOMTagScanner.
Definition at line 105 of file mitkDICOMDCMTKTagScanner.cpp.
References DcmPathToTagPath(), mitk::DICOMTagPathToDCMTKSearchPath(), info(), MITK_ERROR, mitk::DICOMGenericImageFrameInfo::New(), and mitk::DICOMGenericTagCache::New().
|
overridevirtual |
Define the list of files to scan. This does not ADD to an internal list, but it replaces the whole list of files.
Implements mitk::DICOMTagScanner.
Definition at line 57 of file mitkDICOMDCMTKTagScanner.cpp.
|
protected |
Definition at line 92 of file mitkDICOMDCMTKTagScanner.h.
|
protected |
Definition at line 91 of file mitkDICOMDCMTKTagScanner.h.
|
protected |
Definition at line 90 of file mitkDICOMDCMTKTagScanner.h.