annotate Applications/Samples/SampleList.h @ 285:3c190e2bb3af am-2

refactoring: ApplicationRunner + app hierarchy
author am@osimis.io
date Tue, 28 Aug 2018 15:26:46 +0200
parents 126c9c0c9333
children daa04d15192c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
238
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
1 // The macro "ORTHANC_STONE_SAMPLE" must be set by the CMake script
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
2
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
3 #if ORTHANC_STONE_SAMPLE == 1
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
4 #include "EmptyApplication.h"
285
3c190e2bb3af refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents: 238
diff changeset
5 typedef OrthancStone::Samples::EmptyApplication SampleApplication;
238
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
6
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
7 #elif ORTHANC_STONE_SAMPLE == 2
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
8 #include "TestPatternApplication.h"
285
3c190e2bb3af refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents: 238
diff changeset
9 typedef OrthancStone::Samples::TestPatternApplication SampleApplication;
238
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
10
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
11 #elif ORTHANC_STONE_SAMPLE == 3
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
12 #include "SingleFrameApplication.h"
285
3c190e2bb3af refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents: 238
diff changeset
13 typedef OrthancStone::Samples::SingleFrameApplication SampleApplication;
238
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
14
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
15 #elif ORTHANC_STONE_SAMPLE == 4
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
16 #include "SingleVolumeApplication.h"
285
3c190e2bb3af refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents: 238
diff changeset
17 typedef OrthancStone::Samples::SingleVolumeApplication SampleApplication;
238
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
18
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
19 #elif ORTHANC_STONE_SAMPLE == 5
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
20 #include "BasicPetCtFusionApplication.h"
285
3c190e2bb3af refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents: 238
diff changeset
21 typedef OrthancStone::Samples::BasicPetCtFusionApplication SampleApplication;
238
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
22
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
23 #elif ORTHANC_STONE_SAMPLE == 6
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
24 #include "SynchronizedSeriesApplication.h"
285
3c190e2bb3af refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents: 238
diff changeset
25 typedef OrthancStone::Samples::SynchronizedSeriesApplication SampleApplication;
238
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
26
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
27 #elif ORTHANC_STONE_SAMPLE == 7
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
28 #include "LayoutPetCtFusionApplication.h"
285
3c190e2bb3af refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents: 238
diff changeset
29 typedef OrthancStone::Samples::LayoutPetCtFusionApplication SampleApplication;
238
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
30
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
31 #elif ORTHANC_STONE_SAMPLE == 8
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
32 #include "SimpleViewerApplication.h"
285
3c190e2bb3af refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents: 238
diff changeset
33 typedef OrthancStone::Samples::SimpleViewerApplication SampleApplication;
238
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
34
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
35 #else
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
36 #error Please set the ORTHANC_STONE_SAMPLE macro
126c9c0c9333 SimpleViewer demo running both with SDL and Wasm
am@osimis.io
parents:
diff changeset
37 #endif