19 #include <itkGDCMImageIO.h>
20 #include <itksys/SystemTools.hxx>
21 #include <gdcmDirectory.h>
27 if (!filePath.empty())
29 std::string dir = itksys::SystemTools::GetFilenamePath(filePath);
31 gdcm::Directory directoryLister;
32 directoryLister.Load(dir.c_str(),
false);
44 for (
auto aFile : fileList)
46 if (io->CanReadFile(aFile.c_str()))
48 result.push_back(aFile);
itk::SmartPointer< Self > Pointer
DICOMFilePathList GetDICOMFilesInSameDirectory(const std::string &filePath)
DICOMFilePathList FilterForDICOMFiles(const DICOMFilePathList &fileList)
std::vector< std::string > DICOMFilePathList
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.