MeVisLab Toolbox Reference
mlRetrieveDCMTree.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code
3//----------------------------------------------------------------------------------
5
10//----------------------------------------------------------------------------------
11#pragma once
12
14#include <mlModuleIncludes.h>
15#include <DCMTree_Lib.h>
16
18
19// Forwards
20class DicomMessageCollector;
21
22//----------------------------------------------------------------------------------
25//----------------------------------------------------------------------------------
26namespace DicomToMLTools {
27
75 const std::string &inputSourceName,
76 const std::string &fileName,
78 const MLint volIdx,
79 size_t *numVolumes,
81 DicomMessageCollector &dcmMsgCollector);
82
97 bool postError,
99 size_t &numVols,
100 DicomMessageCollector &dcmMsgCollector);
101
102};
103
Project global and OS specific declarations.
#define MLMULTI_FILE_VOLUME_EXPORT
Only for diagnostic purposes.
Class representing general ML objects that support import/export via strings (setPersistentState() an...
Definition mlBase.h:59
Class to collect messages and errors related to a given frame handle.
Base class for an image processing module of the ML.
Definition mlModule.h:151
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
MLint64 MLint
A signed ML integer type with at least 64 bits used for index calculations on very large images even ...
Definition mlTypeDefs.h:490
boost::shared_ptr< const Tree > Const_TreePtr
Definition DCMTree_Lib.h:73
MLMULTI_FILE_VOLUME_EXPORT DCMTree::Const_TreePtr getInputDCMTree(Module &moduleWithInFields, const std::string &inputSourceName, const std::string &fileName, Base *basePtr, const MLint volIdx, size_t *numVolumes, bool allowEmptyFileNames, DicomMessageCollector &dcmMsgCollector)
Gets a DCMTree from an input which is selected via a string name.
MLMULTI_FILE_VOLUME_EXPORT void getDCMTreeFromAnyFileType(const std::string &fileName, bool postError, DCMTree::Const_TreePtr &treePtr, size_t &numVols, DicomMessageCollector &dcmMsgCollector)
Loads a Const_TreePtr from a file given by the absolute file path fileName if possible (currently ....