Mercurial > hg > orthanc
diff OrthancServer/ParsedDicomFile.h @ 1924:6c73df12ca51
New URI: "/instances/.../frames/.../raw" to access the raw frames (bypass image decoding)
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 07 Mar 2016 17:43:20 +0100 |
parents | 8b0ee8d5e6d0 |
children | e251606c1433 |
line wrap: on
line diff
--- a/OrthancServer/ParsedDicomFile.h Mon Mar 07 08:29:22 2016 +0100 +++ b/OrthancServer/ParsedDicomFile.h Mon Mar 07 17:43:20 2016 +0100 @@ -60,6 +60,8 @@ const std::string& value, bool decodeDataUriScheme); + void InvalidateCache(); + public: ParsedDicomFile(bool createIdentifiers); // Create a minimal DICOM instance @@ -146,6 +148,10 @@ void Convert(DicomMap& tags); + void GetRawFrame(std::string& target, // OUT + std::string& mime, // OUT + unsigned int frameId); // IN + static ParsedDicomFile* CreateFromJson(const Json::Value& value, DicomFromJsonFlags flags); };