MeVisLab Toolbox Reference
mlDICOMTreeInfos.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
13// Local includes
15
16// ML_NAMESPACE and other basic defines.
17#include <mlTypeDefs.h>
18
19#include <FMEThirdPartyWarningsDisable.h>
20#include <string>
21#include <FMEThirdPartyWarningsRestore.h>
22
24
25//----------------------------------------------------------------------------------
27//----------------------------------------------------------------------------------
28namespace DicomToMLTools {
29
30 //----------------------------------------------------------------------------------
32 //----------------------------------------------------------------------------------
34
35 public:
38
40 std::string getReportString() const;
41
43 std::string modality;
44
46 std::string isImageModality;
47
49 size_t numLevels;
50
53
56
59
62
65
68
71
74
76 std::string idOfLargestTag;
77
79 std::string hasParentTree;
80
82 std::string hasDictionary;
83 };
84
85};
86
Project global and OS specific declarations.
#define MLDICOM_TO_ML_TOOLS_EXPORT
DLL export macro definition.
Small container for statistical information about a DCMTree.
std::string idOfLargestTag
Tag id of largest tag.
size_t numTopLevelTags
Number of top-level tags (including private creators, tags and sequences).
size_t numTopLevelPrivateTags
Number of top-level private tags (including private creators and sequences).
size_t numTopLevelPrivateSequenceTags
Number of top-level private sequence tags.
size_t numTopLevelPrivateCreators
Number of top-level private creators.
std::string modality
Modality of the DICOM file.
size_t numTopLevelBadTags
Number of top-level inaccessible tags.
std::string isImageModality
"Yes" if it is a known image modality, "No" if not and "Unknown" otherwise.
std::string hasDictionary
"Yes" if a dictionary is set, otherwise "No".
size_t numLevels
Deepness of the tree.
size_t sizeOfLargestTag
Size of largest tag.
DCMTreeInfo()
Default constructor setting all members to 0.
std::string hasParentTree
"Yes" if there is a parent tree, otherwise "No".
size_t numTopLevelSequenceTags
Number of top-level sequence tags (without private sequences).
size_t numTopLevelOrdinaryTags
Number of top-level tags including sequences and without private tags.
std::string getReportString() const
Returns a human-readable string displaying the tree information stored in this class.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.