Mercurial > hg > orthanc-stone
annotate Applications/Samples/SampleList.h @ 959:13e078adfb94 toa2019082301
Better error log in fetch failure callback +
timeout 600sec in OrthancRestApiCommand +
guard against dead controller access in PanSceneTracker +
relaxed DicomStructureSet AddReferenceSlice method to accept extraneous adds
of the same slice (while trying to understand how it happens in the first place)
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Fri, 23 Aug 2019 14:16:45 +0200 |
parents | 37ab9d83dc9b |
children |
rev | line source |
---|---|
238 | 1 // The macro "ORTHANC_STONE_SAMPLE" must be set by the CMake script |
2 | |
3 #if ORTHANC_STONE_SAMPLE == 1 | |
4 #include "EmptyApplication.h" | |
285
3c190e2bb3af
refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents:
238
diff
changeset
|
5 typedef OrthancStone::Samples::EmptyApplication SampleApplication; |
238 | 6 |
7 #elif ORTHANC_STONE_SAMPLE == 2 | |
8 #include "TestPatternApplication.h" | |
285
3c190e2bb3af
refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents:
238
diff
changeset
|
9 typedef OrthancStone::Samples::TestPatternApplication SampleApplication; |
238 | 10 |
11 #elif ORTHANC_STONE_SAMPLE == 3 | |
12 #include "SingleFrameApplication.h" | |
285
3c190e2bb3af
refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents:
238
diff
changeset
|
13 typedef OrthancStone::Samples::SingleFrameApplication SampleApplication; |
238 | 14 |
15 #elif ORTHANC_STONE_SAMPLE == 4 | |
16 #include "SingleVolumeApplication.h" | |
285
3c190e2bb3af
refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents:
238
diff
changeset
|
17 typedef OrthancStone::Samples::SingleVolumeApplication SampleApplication; |
238 | 18 |
19 #elif ORTHANC_STONE_SAMPLE == 5 | |
20 #include "BasicPetCtFusionApplication.h" | |
285
3c190e2bb3af
refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents:
238
diff
changeset
|
21 typedef OrthancStone::Samples::BasicPetCtFusionApplication SampleApplication; |
238 | 22 |
23 #elif ORTHANC_STONE_SAMPLE == 6 | |
24 #include "SynchronizedSeriesApplication.h" | |
285
3c190e2bb3af
refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents:
238
diff
changeset
|
25 typedef OrthancStone::Samples::SynchronizedSeriesApplication SampleApplication; |
238 | 26 |
27 #elif ORTHANC_STONE_SAMPLE == 7 | |
28 #include "LayoutPetCtFusionApplication.h" | |
285
3c190e2bb3af
refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents:
238
diff
changeset
|
29 typedef OrthancStone::Samples::LayoutPetCtFusionApplication SampleApplication; |
238 | 30 |
31 #elif ORTHANC_STONE_SAMPLE == 8 | |
319
daa04d15192c
new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
285
diff
changeset
|
32 #include "SimpleViewerApplicationSingleFile.h" |
285
3c190e2bb3af
refactoring: ApplicationRunner + app hierarchy
am@osimis.io
parents:
238
diff
changeset
|
33 typedef OrthancStone::Samples::SimpleViewerApplication SampleApplication; |
238 | 34 |
325
37ab9d83dc9b
reactivate SingleFrameApplication sample + Added SingleFrameEditorApplication (SDL only)
am@osimis.io
parents:
319
diff
changeset
|
35 #elif ORTHANC_STONE_SAMPLE == 9 |
37ab9d83dc9b
reactivate SingleFrameApplication sample + Added SingleFrameEditorApplication (SDL only)
am@osimis.io
parents:
319
diff
changeset
|
36 #include "SingleFrameEditorApplication.h" |
37ab9d83dc9b
reactivate SingleFrameApplication sample + Added SingleFrameEditorApplication (SDL only)
am@osimis.io
parents:
319
diff
changeset
|
37 typedef OrthancStone::Samples::SingleFrameEditorApplication SampleApplication; |
37ab9d83dc9b
reactivate SingleFrameApplication sample + Added SingleFrameEditorApplication (SDL only)
am@osimis.io
parents:
319
diff
changeset
|
38 |
238 | 39 #else |
40 #error Please set the ORTHANC_STONE_SAMPLE macro | |
41 #endif |