15#include <FMEThirdPartyWarningsDisable.h>
21#include <FMEThirdPartyWarningsRestore.h>
32class DicomMessageCollector;
37namespace DICOMTagTools {
57 std::string *explanation=
nullptr);
68 const size_t numTagsToFind,
69 std::vector<DCMTree::Const_TagPtr> &tagVector);
76 const size_t numTagsToFind,
77 std::vector<DCMTree::TagPtr> &tagVector);
102 const std::string &tagIdStr,
108 const std::string &tagIdStr,
125 bool useNumericTagValueSorting);
133 double &ippX,
double &ippY,
double &ippZ,
134 double initX,
double initY,
double initZ);
142 double &ippX1,
double &ippY1,
double &ippZ1,
143 double &ippX2,
double &ippY2,
double &ippZ2,
144 double initX1,
double initY1,
double initZ1,
145 double initX2,
double initY2,
double initZ2);
158 bool allowEmptyStrings =
true,
159 bool allowOldFormat =
true);
169 bool allowEmptyStrings =
true);
182 bool *isRetired=
nullptr);
203 bool searchOnlyOnTopLevel=
false);
218 bool replaceOnlyIfFound);
259 extern const char *
const OrientationName[NumberOfOrientationTypes];
269 int *resultOType=
nullptr);
287 bool searchRecursivly=
false);
291 size_t *valSizeInBytes,
311 boost::uint32_t frameIdx);
413 std::string *errStr=
nullptr);
422 std::string *errStr);
433 const std::string &privateCreatorString);
455 const std::string &privateCreatorString=
"",
456 MLuint16 desiredPrivateGroupId=0x09,
457 MLuint8 desiredPrivateElementGroupId=0x10);
474 std::string &sopUIDStr,
475 const unsigned short fmeSOPElementUID,
477 bool tryEnhancedSOPClassUIDReconstruction=
false);
495 std::string &tagValuesStringListToExtend,
496 const std::string &sep,
497 std::set<std::string> *makeUniqueSet=
nullptr,
498 bool searchAsLower8BitOfPrivateFMETag=
false);
505 unsigned short groupId,
514 unsigned int *fromTagOnly=
nullptr);
533 std::string &tagValuesStringListToExtend,
534 bool alsoAddTopLevelTags,
535 const std::string &sep,
536 std::set<std::string> *makeUniqueSet=
nullptr);
554 const std::vector<MLuint64> &rawTagIds,
555 bool appendFrameCount,
557 std::list<std::vector<std::string> > &tagValuesListToExtend);
562 const std::vector<MLuint64> &rawTagIds,
563 std::vector<std::string> &rootEntries);
571 const std::string &modalityValue);
575 const std::string &errMsgSuffix=
" at input 0 for Enhanced MR Image");
581 const std::string &errMsgSuffix=
" at input 0");
Class to collect messages and errors related to a given frame handle.
MLint32 MLDataType
MLDataType.
MLint64 MLint
A signed ML integer type with at least 64 bits used for index calculations on very large images even ...
boost::shared_ptr< const Tag > Const_TagPtr
boost::shared_ptr< const StructuredMF > Const_StructuredMFPtr
boost::shared_ptr< StructuredMF > StructuredMFPtr
boost::shared_ptr< const Tree > Const_TreePtr
boost::shared_ptr< Tag > TagPtr
Shared pointer to tag.
std::vector< TreePtr > TreePtrVector
A vector of TreePtr - used for sequences.
boost::shared_ptr< Tree > TreePtr
Shared pointer to a DCMTree::Tree.
Contains pixel data that is either shared/ref-counted or a direct pointer.