42 std::vector<itk::SmartPointer<mitk::BaseData> > result;
46 for (
const auto& tag : tagsOfInterest) {
47 tagsOfInterestList.push_back(tag.first);
53 scanner->SetInputFiles(files);
54 scanner->AddTagPaths(tagsOfInterestList);
59 MITK_ERROR <<
"Error reading the RTPLAN file" << std::endl;
68 unsigned int dim[] = { 1,1};
69 dummyImage->Initialize(pt, 2, dim);
72 result.push_back(dummyImage.GetPointer());
MITKDICOMREADER_EXPORT FindingsListVectorType ExtractPathsOfInterest(const DICOMTagPathList &pathsOfInterest, const DICOMDatasetAccessingImageFrameList &frames)
~RTPlanReaderService() override
RTPlanReaderService reads DICOM files of modality RTPLAN.
DataCollection - Class to facilitate loading/accessing structured data.
The CustomMimeType class represents a custom mime-type which may be registered as a service object...
us::ServiceRegistration< IFileReader > RegisterService(us::ModuleContext *context=us::GetModuleContext())
std::vector< std::string > StringList
std::vector< DICOMTagPath > DICOMTagPathList
MITKDICOMREADER_EXPORT void SetProperties(BaseDataPointer image, const FindingsListVectorType &findings)
std::vector< DICOMDatasetAccessingImageFrameInfo::Pointer > DICOMDatasetAccessingImageFrameList
Base class for creating mitk::BaseData objects from files or streams.
MITKDICOMREADER_EXPORT mitk::IDICOMTagsOfInterest * GetDicomTagsOfInterestService()
std::string GetInputLocation() const override
Get the current input location.
std::vector< itk::SmartPointer< BaseData > > Read() override
Reads the file (only tags).
Class for defining the data type of pixels.