Mercurial > hg > orthanc-stone
comparison Framework/Volumes/ISlicedVolume.h @ 421:f87f28624b96 cache-in-radiography
tentative to make SmartLoader and RadiographyScene work together (not really working)
author | am@osimis.io |
---|---|
date | Tue, 20 Nov 2018 16:35:29 +0100 |
parents | 3942123602ba |
children |
comparison
equal
deleted
inserted
replaced
420:8bf717c4e497 | 421:f87f28624b96 |
---|---|
11 * | 11 * |
12 * This program is distributed in the hope that it will be useful, but | 12 * This program is distributed in the hope that it will be useful, but |
13 * WITHOUT ANY WARRANTY; without even the implied warranty of | 13 * WITHOUT ANY WARRANTY; without even the implied warranty of |
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
15 * Affero General Public License for more details. | 15 * Affero General Public License for more details. |
16 * | 16 * |
17 * You should have received a copy of the GNU Affero General Public License | 17 * You should have received a copy of the GNU Affero General Public License |
18 * along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
19 **/ | 19 **/ |
20 | 20 |
21 | 21 |
22 #pragma once | 22 #pragma once |
23 | 23 |
24 #include "../Messages/IObservable.h" | 24 #include "../Messages/IObservable.h" |
25 #include "../Toolbox/Slice.h" | 25 #include "../Toolbox/Slice.h" |
26 #include <Plugins/Samples/Common/FullOrthancDataset.h> | |
26 | 27 |
27 namespace OrthancStone | 28 namespace OrthancStone |
28 { | 29 { |
29 class ISlicedVolume : public IObservable | 30 class ISlicedVolume : public IObservable |
30 { | 31 { |
31 public: | 32 public: |
32 typedef OriginMessage<MessageType_SlicedVolume_ContentChanged, ISlicedVolume> ContentChangedMessage; | 33 typedef OriginMessage<MessageType_SlicedVolume_ContentChanged, ISlicedVolume> ContentChangedMessage; |
34 typedef OriginMessage<MessageType_SlicedVolume_GeometryReady, ISlicedVolume> GeometryReadyMessage; | |
33 typedef OriginMessage<MessageType_SlicedVolume_GeometryError, ISlicedVolume> GeometryErrorMessage; | 35 typedef OriginMessage<MessageType_SlicedVolume_GeometryError, ISlicedVolume> GeometryErrorMessage; |
34 typedef OriginMessage<MessageType_SlicedVolume_GeometryReady, ISlicedVolume> GeometryReadyMessage; | |
35 typedef OriginMessage<MessageType_SlicedVolume_VolumeReady, ISlicedVolume> VolumeReadyMessage; | 36 typedef OriginMessage<MessageType_SlicedVolume_VolumeReady, ISlicedVolume> VolumeReadyMessage; |
36 | 37 |
37 class SliceContentChangedMessage : | 38 class SliceContentChangedMessage : |
38 public OriginMessage<MessageType_SlicedVolume_SliceContentChanged, ISlicedVolume> | 39 public OriginMessage<MessageType_SlicedVolume_SliceContentChanged, ISlicedVolume> |
39 { | 40 { |
40 private: | 41 private: |
41 size_t sliceIndex_; | 42 size_t sliceIndex_; |
42 const Slice& slice_; | 43 const Slice& slice_; |
43 | 44 |