fw4spl
fwGdcmIO::helper::DicomSearch Class Reference

This class contains helpers to search dicom files on filesystem. More...

#include <DicomSearch.hpp>

Static Public Member Functions

static FWGDCMIO_API void searchRecursively (const ::boost::filesystem::path &dirPath, std::vector< ::boost::filesystem::path > &dicomFiles, bool checkIsDicom, const std::shared_ptr< ::fwJobs::Observer > &fileLookupObserver=nullptr)
 Search Dicom files recursively by excluding files with known extensions. More...
 

Static Protected Member Functions

static void checkFilenameExtension (const ::boost::filesystem::path &dirPath, std::vector< ::boost::filesystem::path > &dicomFiles, const std::shared_ptr< ::fwJobs::Observer > &fileLookupObserver=nullptr)
 retrieve files according to extension. More...
 

Detailed Description

This class contains helpers to search dicom files on filesystem.

Definition at line 32 of file fwGdcmIO/include/fwGdcmIO/helper/DicomSearch.hpp.

Member Function Documentation

static void fwGdcmIO::helper::DicomSearch::checkFilenameExtension ( const ::boost::filesystem::path &  dirPath,
std::vector< ::boost::filesystem::path > &  dicomFiles,
const std::shared_ptr< ::fwJobs::Observer > &  fileLookupObserver = nullptr 
)
staticprotected

retrieve files according to extension.

Parameters
[in]dirPathRoot directory
[out]dicomFilesDicom files
[in]fileLookupObserverlookup observer
static FWGDCMIO_API void fwGdcmIO::helper::DicomSearch::searchRecursively ( const ::boost::filesystem::path &  dirPath,
std::vector< ::boost::filesystem::path > &  dicomFiles,
bool  checkIsDicom,
const std::shared_ptr< ::fwJobs::Observer > &  fileLookupObserver = nullptr 
)
static

Search Dicom files recursively by excluding files with known extensions.

Parameters
[in]dirPathRoot directory
[out]dicomFilesDicom files
[in]checkIsDicomIf set to true, each file is read to verify that it is a DICOM file
[in]fileLookupObserverlookup observer

Referenced by fwGdcmIO::reader::SeriesDB::readDicomSeries(), and fwGdcmIO::helper::DicomAnonymizer::removeAnonymizeTag().

+ Here is the caller graph for this function:


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