Mercurial > hg > orthanc-stone
comparison Framework/Loaders/SeriesThumbnailsLoader.h @ 1484:121d01aa328e
SeriesThumbnailsLoader working on raw dicom files
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 22 Jun 2020 17:46:40 +0200 |
parents | 4db187d29731 |
children |
comparison
equal
deleted
inserted
replaced
1483:6abd819aa534 | 1484:121d01aa328e |
---|---|
19 **/ | 19 **/ |
20 | 20 |
21 | 21 |
22 #pragma once | 22 #pragma once |
23 | 23 |
24 #include "../OrthancStone.h" | |
25 | |
26 #if !defined(ORTHANC_ENABLE_DCMTK) | |
27 # error Macro ORTHANC_ENABLE_DCMTK must be defined | |
28 #endif | |
29 | |
30 | |
24 #include "../Oracle/GetOrthancImageCommand.h" | 31 #include "../Oracle/GetOrthancImageCommand.h" |
25 #include "../Oracle/HttpCommand.h" | 32 #include "../Oracle/HttpCommand.h" |
26 #include "../Oracle/OracleCommandExceptionMessage.h" | 33 #include "../Oracle/OracleCommandExceptionMessage.h" |
27 #include "../Oracle/OrthancRestApiCommand.h" | 34 #include "../Oracle/OrthancRestApiCommand.h" |
28 #include "DicomSource.h" | 35 #include "DicomSource.h" |
139 class DicomWebSopClassHandler; | 146 class DicomWebSopClassHandler; |
140 class DicomWebThumbnailHandler; | 147 class DicomWebThumbnailHandler; |
141 class ThumbnailInformation; | 148 class ThumbnailInformation; |
142 class OrthancSopClassHandler; | 149 class OrthancSopClassHandler; |
143 class SelectOrthancInstanceHandler; | 150 class SelectOrthancInstanceHandler; |
151 | |
152 #if ORTHANC_ENABLE_DCMTK == 1 | |
153 class SelectDicomWebInstanceHandler; | |
154 #endif | |
144 | 155 |
145 // Maps a "Series Instance UID" to a thumbnail | 156 // Maps a "Series Instance UID" to a thumbnail |
146 typedef std::map<std::string, Thumbnail*> Thumbnails; | 157 typedef std::map<std::string, Thumbnail*> Thumbnails; |
147 | 158 |
148 ILoadersContext& context_; | 159 ILoadersContext& context_; |
163 | 174 |
164 void Handle(const OrthancRestApiCommand::SuccessMessage& message); | 175 void Handle(const OrthancRestApiCommand::SuccessMessage& message); |
165 | 176 |
166 void Handle(const GetOrthancImageCommand::SuccessMessage& message); | 177 void Handle(const GetOrthancImageCommand::SuccessMessage& message); |
167 | 178 |
179 #if ORTHANC_ENABLE_DCMTK == 1 | |
180 void Handle(const ParseDicomSuccessMessage& message); | |
181 #endif | |
182 | |
168 void Handle(const OracleCommandExceptionMessage& message); | 183 void Handle(const OracleCommandExceptionMessage& message); |
169 | 184 |
170 SeriesThumbnailsLoader(ILoadersContext& context, | 185 SeriesThumbnailsLoader(ILoadersContext& context, |
171 int priority); | 186 int priority); |
172 | 187 |