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 <FMEThirdPartyWarningsDisable.h>
19#include <set>
20#include <FMEThirdPartyWarningsRestore.h>
21
23
24// Forward to internally used classes.
25class DicomMessageCollector;
26class MultiFileVolumeList;
27
28namespace RelatedMultiFileVolumeTools {
29
30 //----------------------------------------------------------------------------------
32 //----------------------------------------------------------------------------------
35
38
41
44
47
49 MLDIRECTDICOMIMPORTOUTPUTS_EXPORT extern const std::vector<std::string> ValidSequenceScanConfigEntries;
50
63 std::set<size_t> &srcRefs,
64 std::set<size_t> &forRefs,
65 const std::string &sequenceScanConfig,
66 DicomMessageCollector &dcmMsgCollector);
67
74
79 const std::set<size_t> &foundVolumeIndexes2,
82
83};
84
86
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:126
Class managing a list of MultiFileVolume instances for the DirectDicomImport module; taking ownership...
Field to encapsulate a string value.
Definition mlFields.h:610
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
boost::shared_ptr< const Tree > Const_TreePtr
Definition DCMTree_Lib.h:73
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT const std::string FromSourceImageSequence
Take entries from SourceImageSequenceImageSequence.
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT const std::string FromReferencedSeriesSequence
The currently supported source sequences for related volumes.
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT const std::string FromReferencedImageSequence
Take entries from ReferencedImageSequence.
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT const std::vector< std::string > ValidSequenceScanConfigEntries
All entry values allowed in a SequenceScanConfig string.
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT void updateSourceImageReferences(DCMTree::Const_TreePtr dcmTree, MultiFileVolumeList &volList, std::set< size_t > &srcRefs, std::set< size_t > &forRefs, const std::string &sequenceScanConfig, DicomMessageCollector &dcmMsgCollector)
Check dcmTree for ReferencedSOPInstanceUIDs according to sequenceScanConfig and for frame of referenc...
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT void setUpVolumeIndexFields(const std::set< size_t > &foundVolumeIndexes, IntField &firstRelatedVolumeIndexFld, StringField &relatedVolumeIndexesFld)
Sets the first index from foundVolumeIndexes as index in firstRelatedVolumeIndexFld or -1 if foundVol...
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT const std::string DefaultSequenceScanConfig
Default scan configuration: takes only the first found sequence of the three ones.
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT const std::string FromDerivationImageSequence
Take entries from DerivationImageSequence -> SourceImageSequence.