MeVisLab Toolbox Reference
mlPMTFToshibaPrivateDICOMTagDecoders.h
Go to the documentation of this file.
1 // Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2 // **InsertLicense** code
3 //----------------------------------------------------------------------------------
5 
10 //----------------------------------------------------------------------------------
11 
12 #pragma once
13 
16 
17 ML_START_NAMESPACE
18 
21  : protected GenericPrivateDICOMTagDecoder {
22 
23 public:
26 
28 
40  DCMTree::Const_TagPtr tagPtr,
41  PrivateDICOMTagValueFields& resultFields) override;
42 protected:
43 
57  void _decodeTagArea(const std::string& prefix,
58  const unsigned char*& tagDataOrig,
59  MLuint32& tagDataSize,
60  PrivateDICOMTagValueFields& resultFields) const;
61 
62 
73  void _analyzeAndDump(const unsigned char* tagData,
74  MLuint32 tagDataSize,
75  PrivateDICOMTagValueFields& resultFields,
76  bool isLastSection) const;
77 
85  bool _extractDump(const DCMTree::Value& tagVal,
86  PrivateDICOMTagValueFields& resultFields) const;
87 
88 private:
91 };
92 
93 ML_END_NAMESPACE
Project global and OS specific declarations.
#define ML_PMTF_TOSHIBA_PRIVATE_DICOM_TAG_DECODERS_EXPORT
DLL export macro definition.
Class to store tag-values.
Definition: DCMTree_Value.h:45
The GenericPrivateDICOMTagDecoder class is a default decoder usable for all private DICOM tags as wel...
An experimental DICOM tag decoder class for private Toshiba PMTF tags.
void _analyzeAndDump(const unsigned char *tagData, MLuint32 tagDataSize, PrivateDICOMTagValueFields &resultFields, bool isLastSection) const
Expects the data of a private Toshiba PMTF tag value and tries to decode it as far as possible as hum...
bool _extractDump(const DCMTree::Value &tagVal, PrivateDICOMTagValueFields &resultFields) const
Expects the tag value of a private Toshiba PMTF tag and tries to decode it as far as possible as huma...
PMTFToshibaPrivateDICOMTagDecoders()
Constructor doing nothing.
PrivateDICOMTagDecoderPluginBase::DecodeStates decodePrivateTag(const std::string &privateCreator, DCMTree::Const_TagPtr tagPtr, PrivateDICOMTagValueFields &resultFields) override
If a private Toshiba PMTF header tag is passed then this routine converts its data element(s) to fiel...
void _decodeTagArea(const std::string &prefix, const unsigned char *&tagDataOrig, MLuint32 &tagDataSize, PrivateDICOMTagValueFields &resultFields) const
Assume a range of DICOM tags in binary storage format used by Toshiba private tags and decode and add...
List type managing and maintaining a number of PrivateDICOMTagValueFields::PrivateTagField containers...
Header file of class GenericPrivateDICOMTagDecoder which is a default decoder usable for all private ...
#define ML_CLASS_HEADER(className)
Same like ML_CLASS_HEADER_EXPORTED with a non existing export symbol.
unsigned int MLuint32
Definition: mlTypeDefs.h:191
boost::shared_ptr< const Tag > Const_TagPtr
Definition: DCMTree_Lib.h:63