MeVisLab Toolbox Reference
mlRelatedDicomMultiFileVolumeTools.h
Go to the documentation of this file.
1 // Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2 // **InsertLicense** code
3 //----------------------------------------------------------------------------------
5 
11 
12 //----------------------------------------------------------------------------------
13 #pragma once
14 
16 #include <mlModuleIncludes.h>
17 #include <DCMTree_Lib.h>
18 #include <ThirdPartyWarningsDisable.h>
19 #include <set>
20 #include <ThirdPartyWarningsRestore.h>
21 
22 ML_START_NAMESPACE
23 
24 // Forward to internally used classes.
25 class DicomMessageCollector;
26 class MultiFileVolumeList;
27 
28 namespace RelatedMultiFileVolumeTools {
29 
37  MultiFileVolumeList &volList,
38  std::set<size_t> &srcRefs,
39  std::set<size_t> &forRefs,
40  DicomMessageCollector &dcmMsgCollector);
41 
45 MLDIRECTDICOMIMPORTOUTPUTS_EXPORT void setUpVolumeIndexFields(const std::set<size_t> &foundVolumeIndexes,
46  IntField &firstRelatedVolumeIndexFld,
47  StringField &relatedVolumeIndexesFld);
48 
52 MLDIRECTDICOMIMPORTOUTPUTS_EXPORT void setUpVolumeIndexFields(const std::set<size_t> &foundVolumeIndexes1,
53  const std::set<size_t> &foundVolumeIndexes2,
54  IntField &firstRelatedVolumeIndexFld,
55  StringField &relatedVolumeIndexesFld);
56 
57 };
58 
59 ML_END_NAMESPACE
60 
Project global and OS specific declarations.
#define MLDIRECTDICOMIMPORTOUTPUTS_EXPORT
DLL export macro definition.
Class to collect messages and errors related to a given frame handle.
Field to encapsulate an integer value.
Definition: mlFields.h:161
Class managing a list of MultiFileVolume instances for the DirectDicomImport module; taking ownership...
Field to encapsulate a string value.
Definition: mlFields.h:1000
boost::shared_ptr< const Tree > Const_TreePtr
Definition: DCMTree_Lib.h:73
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT void setUpVolumeIndexFields(const std::set< size_t > &foundVolumeIndexes1, const std::set< size_t > &foundVolumeIndexes2, IntField &firstRelatedVolumeIndexFld, StringField &relatedVolumeIndexesFld)
Generates an ordered sequence with all indexes from foundVolumeIndexes1 and appends all indexes from ...
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT void updateSourceImageReferences(DCMTree::Const_TreePtr dcmTree, MultiFileVolumeList &volList, std::set< size_t > &srcRefs, std::set< size_t > &forRefs, DicomMessageCollector &dcmMsgCollector)
Searches referenced or source images in dcmTree and returns their indexes into volList.