Mercurial > hg > orthanc
comparison OrthancCppClient/Instance.h @ 728:d380222b4c2a
Load a raw tag from the DICOM file
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 21 Feb 2014 10:12:33 +0100 |
parents | 2d0a347e8cfc |
children | 777b6b694da6 |
comparison
equal
deleted
inserted
replaced
727:52b5316a2517 | 728:d380222b4c2a |
---|---|
55 std::string id_; | 55 std::string id_; |
56 Json::Value tags_; | 56 Json::Value tags_; |
57 std::auto_ptr<Orthanc::PngReader> reader_; | 57 std::auto_ptr<Orthanc::PngReader> reader_; |
58 Orthanc::ImageExtractionMode mode_; | 58 Orthanc::ImageExtractionMode mode_; |
59 std::auto_ptr<std::string> dicom_; | 59 std::auto_ptr<std::string> dicom_; |
60 std::string content_; | |
60 | 61 |
61 void DownloadImage(); | 62 void DownloadImage(); |
62 | 63 |
63 void DownloadDicom(); | 64 void DownloadDicom(); |
64 | 65 |
183 **/ | 184 **/ |
184 void DiscardDicom(); | 185 void DiscardDicom(); |
185 | 186 |
186 LAAW_API_INTERNAL void SplitVectorOfFloats(std::vector<float>& target, | 187 LAAW_API_INTERNAL void SplitVectorOfFloats(std::vector<float>& target, |
187 const char* tag); | 188 const char* tag); |
189 | |
190 /** | |
191 * {summary}{Load a raw tag from the DICOM file.} | |
192 * {param}{path The path to the tag of interest (e.g. "0020-000d").} | |
193 **/ | |
194 void LoadTagContent(const char* path); | |
195 | |
196 /** | |
197 * {summary}{Return the value of the raw tag that was loaded by LoadContent.} | |
198 * {returns}{The tag value.} | |
199 **/ | |
200 const char* GetLoadedTagContent() const; | |
188 }; | 201 }; |
189 } | 202 } |