forked from pyushkevich/itksnap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
1763 lines (1559 loc) · 67.6 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#--------------------------------------------------------------------------------
# PROJECT: SNAP
#--------------------------------------------------------------------------------
# This CMake file is modeled after QtTest example project from
# http://www.cmake.org/Wiki/BundleUtilitiesExample
PROJECT(SNAP)
#--------------------------------------------------------------------------------
# CMAKE PRELIMINARIES
#--------------------------------------------------------------------------------
cmake_minimum_required(VERSION 3.16)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
cmake_policy(SET CMP0026 NEW)
cmake_policy(SET CMP0077 NEW)
cmake_policy(SET CMP0080 OLD)
SET(CMAKE_MODULE_PATH ${SNAP_SOURCE_DIR}/CMake)
OPTION(BUILD_SHARED_LIBS "Build shared (dynamic) libraries" OFF)
MARK_AS_ADVANCED(BUILD_SHARED_LIBS)
#--------------------------------------------------------------------------------
# MACROS
#--------------------------------------------------------------------------------
# Get today's date (see http://cmake.3232098.n2.nabble.com/How-to-get-the-current-date-td5776870.html)
MACRO (TODAY RESULT)
IF (WIN32)
EXECUTE_PROCESS(COMMAND "cmd" " /C date /T" OUTPUT_VARIABLE ${RESULT})
string(REGEX REPLACE "(..)/(..)/(....).*" "\\1/\\2/\\3" ${RESULT} ${${RESULT}})
ELSEIF(UNIX)
EXECUTE_PROCESS(COMMAND "date" "+%b %d, %Y" OUTPUT_VARIABLE ${RESULT})
string(REGEX REPLACE "(...) (..), (....).*" "\\1 \\2, \\3" ${RESULT} ${${RESULT}})
ELSE (WIN32)
MESSAGE(SEND_ERROR "date not implemented")
SET(${RESULT} 000000)
ENDIF (WIN32)
string(REPLACE "\n" "" ${RESULT} ${${RESULT}})
string(REPLACE " " "" ${RESULT} ${${RESULT}})
ENDMACRO (TODAY)
# This macro is used to install binary targets.
MACRO(SNAP_INSTALL_GUI NAME CLI_NAME CLI_OPTS)
IF(APPLE)
# Install the actual executable
INSTALL(TARGETS ${NAME} DESTINATION ../MacOS COMPONENT Runtime)
# Create a caller .sh
SET(EXENAME "MacOS/${NAME}")
SET(EXEOPTS "${CLI_OPTS}")
CONFIGURE_FILE(${SNAP_SOURCE_DIR}/Utilities/MacOS/BundleResources/execaller.sh ${SNAP_BINARY_DIR}/MacOS/Scripts/${CLI_NAME} @ONLY)
INSTALL(FILES
${SNAP_BINARY_DIR}/MacOS/Scripts/${CLI_NAME}
DESTINATION ../bin COMPONENT Runtime
PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
GROUP_EXECUTE GROUP_READ)
ELSE()
INSTALL(TARGETS ${NAME} DESTINATION bin COMPONENT Runtime)
ENDIF()
ENDMACRO()
# Install path for command-line tools
IF(APPLE)
SET(SNAP_CLI_INSTALL_PATH "../bin")
ELSE()
SET(SNAP_CLI_INSTALL_PATH "bin")
ENDIF()
# The commented out code below is useful for debugging, it prints all variables in cache
### get_cmake_property(_variableNames VARIABLES)
### foreach (_variableName ${_variableNames})
### message(STATUS "${_variableName}=${${_variableName}}")
### endforeach()
#--------------------------------------------------------------------------------
# VERSION INFORMATION
#--------------------------------------------------------------------------------
# On SNAP versions.
# =================
# The SNAP version consists of four fields: major, minor, patch and qualifier
# for example, version 1.7.3-beta has major version 1, minor version 7, patch 3
# and qualifier "-beta". Major, minor and patch must be numbers, but the qualifier
# is an arbitrary string and may be blank.
# These four fields should be modified when versions change
SET(SNAP_VERSION_MAJOR 4)
SET(SNAP_VERSION_MINOR 2)
SET(SNAP_VERSION_PATCH 0)
SET(SNAP_VERSION_QUALIFIER "")
# These fields should also be modified each time
SET(SNAP_VERSION_RELEASE_DATE "20240422")
SET(SNAP_VERSION_RELEASE_DATE_FORMATTED "April 22, 2024")
# This field should only change when the format of the settings files changes
# in a non backwards-compatible way
SET(SNAP_VERSION_LAST_COMPATIBLE_RELEASE_DATE "20131201")
# This should not need to change
SET(SNAP_VERSION_FULL
"${SNAP_VERSION_MAJOR}.${SNAP_VERSION_MINOR}.${SNAP_VERSION_PATCH}${SNAP_VERSION_QUALIFIER}")
# Get today's date (see http://cmake.3232098.n2.nabble.com/How-to-get-the-current-date-td5776870.html)
TODAY(SNAP_VERSION_COMPILE_DATE)
# Get the current git hash
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake/rpavlik/")
include(GetGitRevisionDescription)
get_git_head_revision(GIT_REFSPEC SNAP_VERSION_GIT_SHA1)
# Get the current git branch
include(GitBranch)
get_git_branch(SNAP_VERSION_GIT_BRANCH)
get_git_commit_date(${SNAP_VERSION_GIT_BRANCH} SNAP_VERSION_GIT_TIMESTAMP)
# Print the Git information
MESSAGE(STATUS "ITK-SNAP Git Info:")
MESSAGE(STATUS " Branch : ${SNAP_VERSION_GIT_BRANCH}")
MESSAGE(STATUS " SHA : ${SNAP_VERSION_GIT_SHA1}")
MESSAGE(STATUS " Date : ${SNAP_VERSION_GIT_TIMESTAMP}")
#--------------------------------------------------------------------------------
# ENSURE THAT SUBMODULES HAVE BEEN INITIALIZED AND UPDATED
#--------------------------------------------------------------------------------
if(NOT EXISTS "${SNAP_SOURCE_DIR}/Submodules/c3d/CMakeLists.txt")
MESSAGE(SEND_ERROR "Submodule c3d has not been initialized/updated. Git users, see README.git")
endif()
if(NOT EXISTS "${SNAP_SOURCE_DIR}/Submodules/greedy/CMakeLists.txt")
MESSAGE(SEND_ERROR "Submodule greedy has not been initialized/updated. Git users, see README.git")
endif()
#--------------------------------------------------------------------------------
# FIND PACKAGES IF BUILDING OUTSIDE INSIGHTAPPLICATIONS
#--------------------------------------------------------------------------------
IF(DEFINED InsightApplications_SOURCE_DIR)
SET(BUILD_OUTSIDE_INSIGHT_APPLICATIONS FALSE CACHE BOOL
"Is SNAP being built separate from InsightApplications?")
ELSE(DEFINED InsightApplications_SOURCE_DIR)
SET(BUILD_OUTSIDE_INSIGHT_APPLICATIONS TRUE CACHE BOOL
"Is SNAP being built separate from InsightApplications?")
ENDIF(DEFINED InsightApplications_SOURCE_DIR)
IF( BUILD_OUTSIDE_INSIGHT_APPLICATIONS )
INCLUDE(${SNAP_SOURCE_DIR}/CMake/standalone.cmake)
ENDIF( BUILD_OUTSIDE_INSIGHT_APPLICATIONS )
#--------------------------------------------------------------------------------
# CPACK PACKAGE NAME
# Create a complete name for the package, including the system information
# (Shamelessly stolen from ParaView's CMakeLists.txt)
#--------------------------------------------------------------------------------
# *** THIS CODE MUST APPEAR BEFORE CALLING CONFIGURE_FILE on SNAPCommon.cxx ***
#--------------------------------------------------------------------------------
SET(CPACK_SOURCE_PACKAGE_FILE_NAME "itksnap-${SNAP_VERSION_FULL}-${SNAP_VERSION_RELEASE_DATE}")
IF (CMAKE_SYSTEM_PROCESSOR MATCHES "unknown")
EXEC_PROGRAM(uname ARGS "-m" OUTPUT_VARIABLE CMAKE_SYSTEM_PROCESSOR)
ENDIF (CMAKE_SYSTEM_PROCESSOR MATCHES "unknown")
IF(NOT DEFINED CPACK_SYSTEM_NAME)
SET(CPACK_SYSTEM_NAME ${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR})
ENDIF(NOT DEFINED CPACK_SYSTEM_NAME)
IF(${CPACK_SYSTEM_NAME} MATCHES Windows)
IF(CMAKE_CL_64)
SET(CPACK_SYSTEM_NAME win64-${CMAKE_SYSTEM_PROCESSOR})
ELSE(CMAKE_CL_64)
SET(CPACK_SYSTEM_NAME win32-${CMAKE_SYSTEM_PROCESSOR})
ENDIF(CMAKE_CL_64)
ENDIF(${CPACK_SYSTEM_NAME} MATCHES Windows)
# For Apple, we need to base the filename on the architecture
IF(CMAKE_SYSTEM_NAME MATCHES Darwin AND CMAKE_OSX_ARCHITECTURES)
LIST(LENGTH CMAKE_OSX_ARCHITECTURES _length)
IF(_length GREATER 1)
SET(CPACK_SYSTEM_NAME Darwin-Universal)
ELSE()
SET(CPACK_SYSTEM_NAME Darwin-${CMAKE_OSX_ARCHITECTURES})
ENDIF()
ENDIF()
# If this is an OSMESA enabled build, add that to the name
OPTION(SNAP_USE_OSMESA "Use off-screen software OpenGL rendering in ITK-SNAP" OFF)
IF(SNAP_USE_OSMESA)
MESSAGE(STATUS "Building ITKSNAP with OSMESA support")
SET(CPACK_SYSTEM_NAME "${CPACK_SYSTEM_NAME}-osmesa")
ENDIF()
SET(CPACK_PACKAGE_FILE_NAME "${CPACK_SOURCE_PACKAGE_FILE_NAME}-${CPACK_SYSTEM_NAME}")
# Additional CPack resources
SET(CPACK_RESOURCE_FILE_LICENSE "${SNAP_SOURCE_DIR}/COPYING")
#--------------------------------------------------------------------------------
# SOURCE FILE SPECIFICATION
#--------------------------------------------------------------------------------
# One of the files needs to be configured (to insert version info)
CONFIGURE_FILE(
${SNAP_SOURCE_DIR}/Common/SNAPCommon.cxx.in
${SNAP_BINARY_DIR}/SNAPCommon.cxx @ONLY IMMEDIATE)
# Option to use GPU for SNAP
OPTION(SNAP_USE_GPU "Use GPU in SNAP" OFF)
# Pass the option SNAP_USE_GPU to a header file
CONFIGURE_FILE(
${SNAP_SOURCE_DIR}/Common/GPUSettings.h.in
${SNAP_BINARY_DIR}/GPUSettings.h @ONLY IMMEDIATE)
# The part of the source code devoted to the SNAP application logic
# is organized into a separate library
SET(LOGIC_CXX
${SNAP_BINARY_DIR}/SNAPCommon.cxx
Common/AbstractModel.cxx
Common/AbstractPropertyContainerModel.cxx
Common/AffineTransformHelper.cxx
Common/ColorLabelPropertyModel.cxx
Common/CommandLineArgumentParser.cxx
Common/EventBucket.cxx
Common/ExtendedGDCMSerieHelper.cxx
Common/HistoryManager.cxx
Common/IPCHandler.cxx
Common/IRISException.cxx
Common/IRISVectorTemplates.cxx
Common/MultiFrameDicomSeriesSorter.cxx
Common/Rebroadcaster.cxx
Common/Registry.cxx
Common/SNAPEvents.cxx
Common/SystemInterface.cxx
Common/TagList.cxx
Common/ITKExtras/itkVoxBoCUBImageIO.cxx
Common/ITKExtras/itkVoxBoCUBImageIOFactory.cxx
Common/JSon/jsoncpp.cpp
Logic/Common/ColorLabelTable.cxx
Logic/Common/ColorMap.cxx
Logic/Common/ColorMapPresetManager.cxx
Logic/Common/ImageCoordinateGeometry.cxx
Logic/Common/ImageCoordinateTransform.cxx
Logic/Common/IRISDisplayGeometry.cxx
Logic/Common/LabelUseHistory.cxx
Logic/Common/MetaDataAccess.cxx
Logic/Common/SegmentationStatistics.cxx
Logic/Common/SNAPAppearanceSettings.cxx
Logic/Common/SNAPRegistryIO.cxx
Logic/Common/SNAPSegmentationROISettings.cxx
Logic/Framework/DefaultBehaviorSettings.cxx
Logic/Framework/GenericImageData.cxx
Logic/Framework/GlobalState.cxx
Logic/Framework/ImageAnnotationData.cxx
Logic/Framework/ImageIODelegates.cxx
Logic/Framework/IRISApplication.cxx
Logic/Framework/IRISImageData.cxx
Logic/Framework/LayerIterator.cxx
Logic/Framework/SNAPImageData.cxx
Logic/Framework/TimePointProperties.cxx
Logic/Framework/UndoDataManager_LabelType.cxx
Logic/ImageWrapper/DisplayMappingPolicy.cxx
Logic/ImageWrapper/ImageWrapperBase.cxx
Logic/ImageWrapper/ImageWrapper.cxx
Logic/ImageWrapper/LabelImageWrapper.cxx
Logic/ImageWrapper/GuidedNativeImageIO.cxx
Logic/ImageWrapper/MultiChannelDisplayMode.cxx
Logic/ImageWrapper/MeshDisplayMappingPolicy.cxx
Logic/ImageWrapper/ScalarImageHistogram.cxx
Logic/ImageWrapper/ScalarImageWrapper.cxx
Logic/ImageWrapper/VectorImageWrapper.cxx
Logic/ImageWrapper/WrapperBase.cxx
Logic/LevelSet/SnakeParameters.cxx
Logic/LevelSet/SnakeParametersPreviewPipeline.cxx
Logic/Mesh/ActorPool.cxx
Logic/Mesh/AllPurposeProgressAccumulator.cxx
Logic/Mesh/GuidedMeshIO.cxx
Logic/Mesh/ImageMeshLayers.cxx
Logic/Mesh/MultiLabelMeshPipeline.cxx
Logic/Mesh/LevelSetMeshPipeline.cxx
Logic/Mesh/LevelSetMeshWrapper.cxx
Logic/Mesh/MeshDataArrayProperty.cxx
Logic/Mesh/MeshIODelegates.cxx
Logic/Mesh/MeshManager.cxx
Logic/Mesh/MeshOptions.cxx
Logic/Mesh/MeshWrapperBase.cxx
Logic/Mesh/SegmentationMeshWrapper.cxx
Logic/Mesh/StandaloneMeshWrapper.cxx
Logic/Mesh/VTKMeshPipeline.cxx
Logic/Preprocessing/EdgePreprocessingSettings.cxx
Logic/Preprocessing/PreprocessingFilterConfigTraits.cxx
Logic/Preprocessing/ThresholdSettings.cxx
Logic/Preprocessing/GMM/EMGaussianMixtures.cxx
Logic/Preprocessing/GMM/Gaussian.cxx
Logic/Preprocessing/GMM/GaussianMixtureModel.cxx
Logic/Preprocessing/GMM/KMeansPlusPlus.cxx
Logic/Preprocessing/GMM/UnsupervisedClustering.cxx
Logic/Preprocessing/RFClassificationEngine.cxx
Logic/Preprocessing/Texture/MomentTextures.cxx
Logic/Slicing/IntensityCurveVTK.cxx
Logic/Slicing/IntensityToColorLookupTableImageFilter.cxx
Logic/Slicing/ColorLookupTable.cxx
Logic/Slicing/LookupTableIntensityMappingFilter.cxx
Logic/Slicing/RGBALookupTableIntensityMappingFilter.cxx
Logic/WorkspaceAPI/CSVParser.cxx
Logic/WorkspaceAPI/FormattedTable.cxx
Logic/WorkspaceAPI/RESTClient.cxx
Logic/WorkspaceAPI/WorkspaceAPI.cxx
)
# The headers for the Logic code
SET(LOGIC_HEADERS
${SNAP_BINARY_DIR}/GPUSettings.h
Common/AbstractModel.h
Common/AbstractPropertyContainerModel.h
Common/AffineTransformHelper.h
Common/ColorLabelPropertyModel.h
Common/CommandLineArgumentParser.h
Common/Credits.h
Common/ExtendedGDCMSerieHelper.h
Common/HistoryManager.h
Common/ImageFunctions.h
Common/IPCHandler.h
Common/IRISException.h
Common/IRISVectorTypes.h
Common/IRISVectorTypes.txx
Common/IRISVectorTypesToITKConversion.h
Common/ITKExtras/itkBSplineScatteredDataPointSetToImageFilter.h
Common/ITKExtras/itkBSplineScatteredDataPointSetToImageFilter.txx
Common/ITKExtras/itkBinaryDiamondStructuringElement.h
Common/ITKExtras/itkBinaryDiamondStructuringElement.txx
Common/ITKExtras/itkCoxDeBoorBSplineKernelFunction.h
Common/ITKExtras/itkCoxDeBoorBSplineKernelFunction.txx
Common/ITKExtras/itkParallelSparseFieldLevelSetImageFilterBugFix.h
Common/ITKExtras/itkParallelSparseFieldLevelSetImageFilterBugFix.txx
Common/ITKExtras/itkTopologyPreservingDigitalSurfaceEvolutionImageFilter.h
Common/ITKExtras/itkTopologyPreservingDigitalSurfaceEvolutionImageFilter.txx
Common/ITKExtras/itkVoxBoCUBImageIO.h
Common/ITKExtras/itkVoxBoCUBImageIOFactory.h
Common/JSon/json/json.h
Common/JSon/json/json-forwards.h
Common/MultiFrameDicomSeriesSorter.h
Common/PresetManager.h
Common/PresetManager.hxx
Common/PropertyModel.h
Common/Rebroadcaster.h
Common/Registry.h
Common/SNAPBorlandDummyTypes.h
Common/SNAPCommon.h
Common/SNAPExportITKToVTK.h
Common/SNAPEvents.h
Common/SystemInterface.h
Common/TagList.h
Logic/Common/ColorLabel.h
Logic/Common/ColorLabelTable.h
Logic/Common/ColorMap.h
Logic/Common/ColorMapPresetManager.h
Logic/Common/ImageCoordinateGeometry.h
Logic/Common/ImageCoordinateTransform.h
Logic/Common/IRISDisplayGeometry.h
Logic/Common/LabelUseHistory.h
Logic/Common/SegmentationStatistics.h
Logic/Common/ImageRayIntersectionFinder.h
Logic/Common/ImageRayIntersectionFinder.txx
Logic/Common/MetaDataAccess.h
Logic/Common/SNAPAppearanceSettings.h
Logic/Common/SNAPRegistryIO.h
Logic/Common/SNAPSegmentationROISettings.h
Logic/Framework/DefaultBehaviorSettings.h
Logic/Framework/GenericImageData.h
Logic/Framework/GlobalState.h
Logic/Framework/ImageAnnotationData.h
Logic/Framework/ImageIODelegates.h
Logic/Framework/IRISApplication.h
Logic/Framework/IRISImageData.h
Logic/Framework/LayerAssociation.h
Logic/Framework/LayerAssociation.txx
Logic/Framework/LayerIterator.h
Logic/Framework/SegmentationUpdateIterator.h
Logic/Framework/SNAPImageData.h
Logic/Framework/TimePointProperties.h
Logic/Framework/UndoDataManager.h
Logic/Framework/UndoDataManager.txx
Logic/ImageWrapper/DisplayMappingPolicy.h
Logic/ImageWrapper/GuidedNativeImageIO.h
Logic/ImageWrapper/ImageWrapper.h
Logic/ImageWrapper/ImageWrapperBase.h
Logic/ImageWrapper/ImageWrapperTraits.h
Logic/ImageWrapper/IncreaseDimensionImageFilter.h
Logic/ImageWrapper/IncreaseDimensionImageFilter.txx
Logic/ImageWrapper/InputSelectionImageFilter.h
Logic/ImageWrapper/InputSelectionImageFilter.txx
Logic/ImageWrapper/MultiChannelDisplayMode.h
Logic/ImageWrapper/MeshDisplayMappingPolicy.h
Logic/ImageWrapper/VectorToScalarImageAccessor.h
Logic/ImageWrapper/WrapperBase.h
Logic/RLEImage/RLEImage.h
Logic/RLEImage/RLEImage.txx
Logic/RLEImage/RLEImageConstIterator.h
Logic/RLEImage/RLEImageIterator.h
Logic/RLEImage/RLEImageRegionConstIterator.h
Logic/RLEImage/RLEImageRegionIterator.h
Logic/RLEImage/RLEImageScanlineConstIterator.h
Logic/RLEImage/RLEImageScanlineIterator.h
Logic/RLEImage/RLERegionOfInterestImageFilter.h
Logic/RLEImage/RLERegionOfInterestImageFilter.txx
Logic/ImageWrapper/InputSelectionImageFilter.h
Logic/ImageWrapper/LabelImageWrapper.h
Logic/ImageWrapper/LabelToRGBAFilter.h
Logic/ImageWrapper/NativeIntensityMappingPolicy.h
Logic/ImageWrapper/ScalarImageHistogram.h
Logic/ImageWrapper/ScalarImageWrapper.h
Logic/ImageWrapper/ThreadedHistogramImageFilter.h
Logic/ImageWrapper/ThreadedHistogramImageFilter.hxx
Logic/ImageWrapper/VectorImageWrapper.h
Logic/ImageWrapper/CPUImageToGPUImageFilter.h
Logic/ImageWrapper/CPUImageToGPUImageFilter.hxx
Logic/LevelSet/LevelSetExtensionFilter.h
Logic/LevelSet/SnakeParametersPreviewPipeline.h
Logic/LevelSet/SNAPAdvectionFieldImageFilter.h
Logic/LevelSet/SNAPAdvectionFieldImageFilter.txx
Logic/LevelSet/SNAPLevelSetDriver.h
Logic/LevelSet/SNAPLevelSetDriver.txx
Logic/LevelSet/SNAPLevelSetFunction.h
Logic/LevelSet/SNAPLevelSetFunction.txx
Logic/LevelSet/SNAPLevelSetStopAndGoFilter.h
Logic/LevelSet/SNAPLevelSetStopAndGoFilter.txx
Logic/LevelSet/SnakeParameters.h
Logic/Mesh/ActorPool.h
Logic/Mesh/AllPurposeProgressAccumulator.h
Logic/Mesh/GuidedMeshIO.h
Logic/Mesh/ImageMeshLayers.h
Logic/Mesh/MultiLabelMeshPipeline.h
Logic/Mesh/LevelSetMeshPipeline.h
Logic/Mesh/LevelSetMeshWrapper.h
Logic/Mesh/MeshDataArrayProperty.h
Logic/Mesh/MeshIODelegates.h
Logic/Mesh/MeshManager.h
Logic/Mesh/MeshOptions.h
Logic/Mesh/MeshWrapperBase.h
Logic/Mesh/SegmentationMeshWrapper.h
Logic/Mesh/StandaloneMeshWrapper.h
Logic/Mesh/VTKMeshPipeline.h
Logic/Preprocessing/EdgePreprocessingImageFilter.h
Logic/Preprocessing/EdgePreprocessingImageFilter.txx
Logic/Preprocessing/EdgePreprocessingSettings.h
Logic/Preprocessing/GMMClassifyImageFilter.h
Logic/Preprocessing/GMMClassifyImageFilter.txx
Logic/Preprocessing/PreprocessingFilterConfigTraits.h
Logic/Preprocessing/SlicePreviewFilterWrapper.h
Logic/Preprocessing/SlicePreviewFilterWrapper.txx
Logic/Preprocessing/SmoothBinaryThresholdImageFilter.h
Logic/Preprocessing/SmoothBinaryThresholdImageFilter.txx
Logic/Preprocessing/ThresholdSettings.h
Logic/Preprocessing/GMM/EMGaussianMixtures.h
Logic/Preprocessing/GMM/Gaussian.h
Logic/Preprocessing/GMM/GaussianMixtureModel.h
Logic/Preprocessing/GMM/KMeansPlusPlus.h
Logic/Preprocessing/GMM/UnsupervisedClustering.h
Logic/Preprocessing/Texture/MomentTextures.h
Logic/Slicing/DrawTriangles.h
Logic/Slicing/ImageRegionConstIteratorWithIndexOverride.h
Logic/Slicing/FastLinearInterpolator.h
Logic/Slicing/IRISSlicer.h
Logic/Slicing/IRISSlicer.txx
Logic/Slicing/IRISSlicer_RLE.txx
Logic/Slicing/IntensityCurveInterface.h
Logic/Slicing/IntensityCurveVTK.h
Logic/Slicing/ColorLookupTable.h
Logic/Slicing/IntensityToColorLookupTableImageFilter.h
Logic/Slicing/LookupTableIntensityMappingFilter.h
Logic/Slicing/NonOrthogonalSlicer.h
Logic/Slicing/NonOrthogonalSlicer.txx
Logic/Slicing/RGBALookupTableIntensityMappingFilter.h
Logic/WorkspaceAPI/CSVParser.h
Logic/WorkspaceAPI/FormattedTable.h
Logic/WorkspaceAPI/RESTClient.h
Logic/WorkspaceAPI/WorkspaceAPI.h
Common/ITKBinaryWeightedAverage/itkBWAfilter.h
Common/ITKBinaryWeightedAverage/itkBWAfilter.hxx
Common/ITKBinaryWeightedAverage/itkComputeInterpolation.h
Common/ITKBinaryWeightedAverage/itkComputeInterpolation.txx
Common/ITKBinaryWeightedAverage/itkRFLabelMap.h
Common/ITKBinaryWeightedAverage/itkRFLabelMap.txx
Common/ITKBinaryWeightedAverage/itkRandomForest.h
Common/ITKBinaryWeightedAverage/itkRandomForest.txx
Common/ITKBinaryWeightedAverage/itkBWAandRFinterpolation.h
Common/ITKBinaryWeightedAverage/itkBWAandRFinterpolation.hxx
)
# These files have the UI model code, which is GUI-TK independent
SET(UI_GENERIC_CXX
GUI/Model/AnnotationModel.cxx
GUI/Model/ColorLabelQuickListModel.cxx
GUI/Model/ColorMapModel.cxx
GUI/Model/CursorInspectionModel.cxx
GUI/Model/DeformationGridModel.cxx
GUI/Model/DisplayLayoutModel.cxx
GUI/Model/DistributedSegmentationModel.cxx
GUI/Model/Generic3DModel.cxx
GUI/Model/GenericSliceModel.cxx
GUI/Model/GlobalPreferencesModel.cxx
GUI/Model/GlobalUIModel.cxx
GUI/Model/ImageIOWizardModel.cxx
GUI/Model/ImageInfoModel.cxx
GUI/Model/IntensityCurveModel.cxx
GUI/Model/InteractiveRegistrationModel.cxx
GUI/Model/InterpolateLabelModel.cxx
GUI/Model/LabelEditorModel.cxx
GUI/Model/LayerGeneralPropertiesModel.cxx
GUI/Model/LayerTableRowModel.cxx
GUI/Model/LayerSelectionModel.cxx
GUI/Model/MeshExportModel.cxx
GUI/Model/MeshImportModel.cxx
GUI/Model/OrthogonalSliceCursorNavigationModel.cxx
GUI/Model/PaintbrushModel.cxx
GUI/Model/PaintbrushSettingsModel.cxx
GUI/Model/PolygonDrawingModel.cxx
GUI/Model/PolygonSettingsModel.cxx
GUI/Model/RegistrationModel.cxx
GUI/Model/ReorientImageModel.cxx
GUI/Model/SaveModifiedLayersModel.cxx
GUI/Model/SliceWindowCoordinator.cxx
GUI/Model/SmoothLabelsModel.cxx
GUI/Model/SnakeParameterModel.cxx
GUI/Model/SnakeROIModel.cxx
GUI/Model/SnakeROIResampleModel.cxx
GUI/Model/SnakeWizardModel.cxx
GUI/Model/StateManagement.cxx
GUI/Model/SynchronizationModel.cxx
GUI/Model/UIAction.cxx
GUI/Model/UIReporterDelegates.cxx
GUI/Model/VoxelChangeReportModel.cxx
GUI/Renderer/AbstractRenderer.cxx
GUI/Renderer/AbstractVTKRenderer.cxx
GUI/Renderer/AbstractVTKSceneRenderer.cxx
GUI/Renderer/AnnotationRenderer.cxx
GUI/Renderer/ColorMapRenderer.cxx
GUI/Renderer/CrosshairsRenderer.cxx
GUI/Renderer/DeformationGridRenderer.cxx
GUI/Renderer/EdgePreprocessingSettingsRenderer.cxx
GUI/Renderer/GenericSliceContextItem.cxx
GUI/Renderer/GenericSliceRenderer.cxx
GUI/Renderer/Generic3DRenderer.cxx
GUI/Renderer/GMMRenderer.cxx
GUI/Renderer/IntensityCurveVTKRenderer.cxx
GUI/Renderer/IntensityUnderCursorRenderer.cxx
GUI/Renderer/LayerHistogramPlotAssembly.cxx
GUI/Renderer/OptimizationProgressRenderer.cxx
GUI/Renderer/OrientationGraphicRenderer.cxx
GUI/Renderer/PaintbrushRenderer.cxx
GUI/Renderer/PolygonDrawingRenderer.cxx
GUI/Renderer/PolygonVTKProp2D.cxx
GUI/Renderer/RegistrationRenderer.cxx
GUI/Renderer/SliceWindowDecorationRenderer.cxx
GUI/Renderer/SnakeParameterPreviewRenderer.cxx
GUI/Renderer/SnakeROIRenderer.cxx
GUI/Renderer/SnakeModeRenderer.cxx
GUI/Renderer/ThresholdSettingsRenderer.cxx
GUI/Renderer/TexturedRectangleAssembly.cxx
GUI/Renderer/VTKRenderGeometry.cxx
GUI/Renderer/Window3DPicker.cxx
GUI/Renderer/OrientationWidget/Reorient/AbstractScannerHelper.cxx
GUI/Renderer/OrientationWidget/Reorient/AxesWidget.cxx
GUI/Renderer/OrientationWidget/Reorient/ScannedHuman.cxx
GUI/Renderer/OrientationWidget/Reorient/ScanningROI.cxx
GUI/Renderer/OrientationWidget/Reorient/ReorientProps.cxx
GUI/Renderer/OrientationWidget/Reorient/PolyDataAlgorithm2ActorPipe.cxx
)
SET(UI_GENERIC_HEADERS
GUI/Model/AbstractLayerAssociatedModel.h
GUI/Model/AbstractLayerInfoItemSetDomain.h
GUI/Model/AnnotationModel.h
GUI/Model/ColorMapModel.h
GUI/Model/ColorLabelQuickListModel.h
GUI/Model/CursorInspectionModel.h
GUI/Model/DeformationGridModel.h
GUI/Model/DisplayLayoutModel.h
GUI/Model/DistributedSegmentationModel.h
GUI/Model/Generic3DModel.h
GUI/Model/GenericSliceModel.h
GUI/Model/GlobalPreferencesModel.h
GUI/Model/GlobalUIModel.h
GUI/Model/ImageInfoModel.h
GUI/Model/ImageIOWizardModel.h
GUI/Model/IntensityCurveModel.h
GUI/Model/InteractiveRegistrationModel.h
GUI/Model/InterpolateLabelModel.h
GUI/Model/LabelEditorModel.h
GUI/Model/LayerGeneralPropertiesModel.h
GUI/Model/LayerSelectionModel.h
GUI/Model/LayerTableRowModel.h
GUI/Model/MeshExportModel.h
GUI/Model/MeshImportModel.h
GUI/Model/OrthogonalSliceCursorNavigationModel.h
GUI/Model/PaintbrushModel.h
GUI/Model/PaintbrushSettingsModel.h
GUI/Model/PolygonSettingsModel.h
GUI/Model/PolygonDrawingModel.h
GUI/Model/RegistrationModel.h
GUI/Model/ReorientImageModel.h
GUI/Model/SaveModifiedLayersModel.h
GUI/Model/SNAPUIFlag.h
GUI/Model/SNAPUIFlag.txx
GUI/Model/SliceWindowCoordinator.h
GUI/Model/SmoothLabelsModel.h
GUI/Model/SnakeParameterModel.h
GUI/Model/SnakeROIModel.h
GUI/Model/SnakeROIResampleModel.h
GUI/Model/SnakeWizardModel.h
GUI/Model/StateManagement.h
GUI/Model/SynchronizationModel.h
GUI/Model/UIAction.h
GUI/Model/UIReporterDelegates.h
GUI/Model/UIState.h
GUI/Model/VoxelChangeReportModel.h
GUI/Renderer/AbstractRenderer.h
GUI/Renderer/AbstractVTKRenderer.h
GUI/Renderer/AbstractVTKSceneRenderer.h
GUI/Renderer/AnnotationRenderer.h
GUI/Renderer/ColorMapRenderer.h
GUI/Renderer/CrosshairsRenderer.h
GUI/Renderer/DeformationGridRenderer.h
GUI/Renderer/EdgePreprocessingSettingsRenderer.h
GUI/Renderer/Generic3DRenderer.h
GUI/Renderer/GenericSliceContextItem.h
GUI/Renderer/GenericSliceRenderer.h
GUI/Renderer/GMMRenderer.h
GUI/Renderer/IntensityCurveVTKRenderer.h
GUI/Renderer/IntensityUnderCursorRenderer.h
GUI/Renderer/LayerHistogramPlotAssembly.h
GUI/Renderer/OptimizationProgressRenderer.h
GUI/Renderer/OrientationGraphicRenderer.h
GUI/Renderer/PaintbrushRenderer.h
GUI/Renderer/PolygonDrawingRenderer.h
GUI/Renderer/PolygonScanConvert.h
GUI/Renderer/RegistrationRenderer.h
GUI/Renderer/SliceWindowDecorationRenderer.h
GUI/Renderer/SnakeParameterPreviewRenderer.h
GUI/Renderer/SnakeROIRenderer.h
GUI/Renderer/SnakeModeRenderer.h
GUI/Renderer/TexturedRectangleAssembly.h
GUI/Renderer/ThresholdSettingsRenderer.h
GUI/Renderer/VTKRenderGeometry.h
GUI/Renderer/Window3DPicker.h
GUI/Renderer/OrientationWidget/Reorient/AbstractScannerHelper.h
GUI/Renderer/OrientationWidget/Reorient/AxesWidget.h
GUI/Renderer/OrientationWidget/Reorient/ScannedHuman.h
GUI/Renderer/OrientationWidget/Reorient/ScanningROI.h
GUI/Renderer/OrientationWidget/Reorient/ReorientProps.h
GUI/Renderer/OrientationWidget/Reorient/PolyDataAlgorithm2ActorPipe.h
)
# These files contain the Qt-specific user interface source code
SET(UI_QT_CXX
GUI/Qt/Components/AnnotationToolPanel.cxx
GUI/Qt/Components/CollapsableGroupBox.cxx
GUI/Qt/Components/ColorLabelQuickListWidget.cxx
GUI/Qt/Components/ColorMapInspector.cxx
GUI/Qt/Components/ContrastInspector.cxx
GUI/Qt/Components/CursorInspector.cxx
GUI/Qt/Components/DarkModeToolbar.cxx
GUI/Qt/Components/DisplayLayoutInspector.cxx
GUI/Qt/Components/DICOMListingTable.cxx
GUI/Qt/Components/FileChooserPanelWithHistory.cxx
GUI/Qt/Components/HistoryQListModel.cxx
GUI/Qt/Components/ImageInfoInspector.cxx
GUI/Qt/Components/LabelInspector.cxx
GUI/Qt/Components/LabelMiniInspector.cxx
GUI/Qt/Components/LabelSelectionButton.cxx
GUI/Qt/Components/LatentITKEventNotifier.cxx
GUI/Qt/Components/LayerInspectorRowDelegate.cxx
GUI/Qt/Components/MetadataInspector.cxx
GUI/Qt/Components/GeneralLayerInspector.cxx
GUI/Qt/Components/PaintbrushToolPanel.cxx
GUI/Qt/Components/PolygonToolPanel.cxx
GUI/Qt/Components/QActionButton.cxx
GUI/Qt/Components/QColorButtonWidget.cxx
GUI/Qt/Components/QDoubleSlider.cxx
GUI/Qt/Components/QDoubleSliderWithEditor.cxx
GUI/Qt/Components/QtFlowLayout.cxx
GUI/Qt/Components/QtHideOnDeactivateContainer.cxx
GUI/Qt/Components/QtIPCManager.cxx
GUI/Qt/Components/QtRendererPlatformSupport.cxx
GUI/Qt/Components/QtReporterDelegates.cxx
GUI/Qt/Components/QtWarningDialog.cxx
GUI/Qt/Components/QtWidgetActivator.cxx
GUI/Qt/Components/RecentHistoryItemsView.cxx
GUI/Qt/Components/SnakeToolROIPanel.cxx
GUI/Qt/Components/SnakeWizardPanel.cxx
GUI/Qt/Components/SNAPComponent.cxx
GUI/Qt/Components/SNAPToolbar.cxx
GUI/Qt/Components/SNAPQApplication.cxx
GUI/Qt/Components/SNAPQtCommon.cxx
GUI/Qt/Components/SliceViewPanel.cxx
GUI/Qt/Components/SynchronizationInspector.cxx
GUI/Qt/Components/TagListWidget.cxx
GUI/Qt/Components/ViewPanel3D.cxx
GUI/Qt/Components/VoxelIntensityQTableModel.cxx
GUI/Qt/Components/ZoomInspector.cxx
GUI/Qt/External/ColorWheel/ColorWheel.cxx
GUI/Qt/ModelView/GMMTableModel.cxx
GUI/Qt/View/AnnotationInteractionMode.cxx
GUI/Qt/View/ColorMapInteractionDelegate.cxx
GUI/Qt/View/CrosshairsInteractionMode.cxx
GUI/Qt/View/GenericSliceView.cxx
GUI/Qt/View/GenericView3D.cxx
GUI/Qt/View/InteractionModeClient.cxx
GUI/Qt/View/QtInteractionDelegateWidget.cxx
GUI/Qt/View/QtVTKInteractionDelegateWidget.cxx
GUI/Qt/View/QtVTKRenderWindowBox.cxx
GUI/Qt/View/PaintbrushInteractionMode.cxx
GUI/Qt/View/PolygonDrawingInteractionMode.cxx
GUI/Qt/View/RegistrationInteractionMode.cxx
GUI/Qt/View/SliceWindowInteractionDelegateWidget.cxx
GUI/Qt/View/SnakeROIInteractionMode.cxx
GUI/Qt/View/ThumbnailInteractionMode.cxx
GUI/Qt/Windows/AboutDialog.cxx
GUI/Qt/Windows/AnnotationEditDialog.cxx
GUI/Qt/Windows/DropActionDialog.cxx
GUI/Qt/Windows/ImageIODialog.cxx
GUI/Qt/Windows/ImageIOWizard.cxx
GUI/Qt/Windows/ImageIOWizard/OverlayRolePage.cxx
GUI/Qt/Windows/InterpolateLabelsDialog.cxx
GUI/Qt/Windows/LabelEditorDialog.cxx
GUI/Qt/Windows/LayerInspectorDialog.cxx
GUI/Qt/Windows/LayoutReminderDialog.cxx
GUI/Qt/Windows/LoadTransformationDialog.cxx
GUI/Qt/Windows/LabelSelectionPopup.cxx
GUI/Qt/Windows/MainControlPanel.cxx
GUI/Qt/Windows/MainImageWindow.cxx
GUI/Qt/Windows/PreferencesDialog.cxx
GUI/Qt/Windows/QtStyles.cxx
GUI/Qt/Windows/ReorientImageDialog.cxx
GUI/Qt/Windows/ResampleDialog.cxx
GUI/Qt/Windows/SaveModifiedLayersDialog.cxx
GUI/Qt/Windows/SimpleFileDialogWithHistory.cxx
GUI/Qt/Windows/SmoothLabelsDialog.cxx
GUI/Qt/Windows/SnakeParameterDialog.cxx
GUI/Qt/Windows/SpeedImageDialog.cxx
GUI/Qt/Windows/SplashPanel.cxx
GUI/Qt/Windows/StatisticsDialog.cxx
GUI/Qt/Windows/VoxelChangeReportDialog.cxx
GUI/Qt/Windows/DSS/DistributedSegmentationDialog.cxx
GUI/Qt/Windows/DSS/DownloadTicketDialog.cxx
GUI/Qt/Windows/MeshExportWizard/MeshExportWizard.cxx
GUI/Qt/Windows/MeshExportWizard/MeshExportModePage.cxx
GUI/Qt/Windows/MeshExportWizard/MeshExportBrowsePage.cxx
GUI/Qt/Windows/MeshImportWizard/MeshImportWizard.cxx
GUI/Qt/Windows/MeshImportWizard/MeshImportFileSelectionPage.cxx
GUI/Qt/Windows/Registration/RegistrationDialog.cxx
Testing/GUI/Qt/SNAPTestQt.cxx
)
# The header files for the UI project
SET(UI_MOC_HEADERS
GUI/Qt/Components/AnnotationToolPanel.h
GUI/Qt/Components/CollapsableGroupBox.h
GUI/Qt/Components/ColorLabelQuickListWidget.h
GUI/Qt/Components/ColorMapInspector.h
GUI/Qt/Components/ContrastInspector.h
GUI/Qt/Components/CursorInspector.h
GUI/Qt/Components/DarkModeToolbar.h
GUI/Qt/Components/DICOMListingTable.h
GUI/Qt/Components/DisplayLayoutInspector.h
GUI/Qt/Components/FileChooserPanelWithHistory.h
GUI/Qt/Components/HistoryQListModel.h
GUI/Qt/Components/ImageInfoInspector.h
GUI/Qt/Components/LabelInspector.h
GUI/Qt/Components/LabelMiniInspector.h
GUI/Qt/Components/LabelSelectionButton.h
GUI/Qt/Components/LatentITKEventNotifier.h
GUI/Qt/Components/LayerInspectorRowDelegate.h
GUI/Qt/Components/MetadataInspector.h
GUI/Qt/Components/GeneralLayerInspector.h
GUI/Qt/Components/PaintbrushToolPanel.h
GUI/Qt/Components/PolygonToolPanel.h
GUI/Qt/Components/QActionButton.h
GUI/Qt/Components/QColorButtonWidget.h
GUI/Qt/Components/QDoubleSlider.h
GUI/Qt/Components/QDoubleSliderWithEditor.h
GUI/Qt/Components/QtFlowLayout.h
GUI/Qt/Components/QtHideOnDeactivateContainer.h
GUI/Qt/Components/QtIPCManager.h
GUI/Qt/Components/QtWarningDialog.h
GUI/Qt/Components/QtWidgetActivator.h
GUI/Qt/Components/RecentHistoryItemsView.h
GUI/Qt/Components/SnakeToolROIPanel.h
GUI/Qt/Components/SnakeWizardPanel.h
GUI/Qt/Components/SNAPComponent.h
GUI/Qt/Components/SNAPToolbar.h
GUI/Qt/Components/SNAPQApplication.h
GUI/Qt/Components/SliceViewPanel.h
GUI/Qt/Components/SynchronizationInspector.h
GUI/Qt/Components/TagListWidget.h
GUI/Qt/Components/ViewPanel3D.h
GUI/Qt/Components/VoxelIntensityQTableModel.h
GUI/Qt/Components/ZoomInspector.h
GUI/Qt/Coupling/QtWidgetCoupling.h
GUI/Qt/External/ColorWheel/ColorWheel.h
GUI/Qt/ModelView/GMMTableModel.h
GUI/Qt/View/AnnotationInteractionMode.h
GUI/Qt/View/ColorMapInteractionDelegate.h
GUI/Qt/View/CrosshairsInteractionMode.h
GUI/Qt/View/GenericSliceView.h
GUI/Qt/View/GenericView3D.h
GUI/Qt/View/QtInteractionDelegateWidget.h
GUI/Qt/View/QtVTKInteractionDelegateWidget.h
GUI/Qt/View/QtVTKRenderWindowBox.h
GUI/Qt/View/PaintbrushInteractionMode.h
GUI/Qt/View/PolygonDrawingInteractionMode.h
GUI/Qt/View/RegistrationInteractionMode.h
GUI/Qt/View/SliceWindowInteractionDelegateWidget.h
GUI/Qt/View/SnakeROIInteractionMode.h
GUI/Qt/View/ThumbnailInteractionMode.h
GUI/Qt/Windows/AboutDialog.h
GUI/Qt/Windows/AnnotationEditDialog.h
GUI/Qt/Windows/DropActionDialog.h
GUI/Qt/Windows/ImageIODialog.h
GUI/Qt/Windows/ImageIOWizard.h
GUI/Qt/Windows/ImageIOWizard/OverlayRolePage.h
GUI/Qt/Windows/InterpolateLabelsDialog.h
GUI/Qt/Windows/LabelEditorDialog.h
GUI/Qt/Windows/LayerInspectorDialog.h
GUI/Qt/Windows/LayoutReminderDialog.h
GUI/Qt/Windows/LabelSelectionPopup.h
GUI/Qt/Windows/LoadTransformationDialog.h
GUI/Qt/Windows/MainControlPanel.h
GUI/Qt/Windows/MainImageWindow.h
GUI/Qt/Windows/PreferencesDialog.h
GUI/Qt/Windows/ReorientImageDialog.h
GUI/Qt/Windows/ResampleDialog.h
GUI/Qt/Windows/SaveModifiedLayersDialog.h
GUI/Qt/Windows/SimpleFileDialogWithHistory.h
GUI/Qt/Windows/SmoothLabelsDialog.h
GUI/Qt/Windows/SnakeParameterDialog.h
GUI/Qt/Windows/SpeedImageDialog.h
GUI/Qt/Windows/SplashPanel.h
GUI/Qt/Windows/StatisticsDialog.h
GUI/Qt/Windows/VoxelChangeReportDialog.h
GUI/Qt/Windows/DSS/DistributedSegmentationDialog.h
GUI/Qt/Windows/DSS/DownloadTicketDialog.h
GUI/Qt/Windows/MeshExportWizard/MeshExportWizard.h
GUI/Qt/Windows/MeshExportWizard/MeshExportModePage.h
GUI/Qt/Windows/MeshExportWizard/MeshExportBrowsePage.h
GUI/Qt/Windows/MeshImportWizard/MeshImportWizard.h
GUI/Qt/Windows/MeshImportWizard/MeshImportFileSelectionPage.h
GUI/Qt/Windows/Registration/RegistrationDialog.h
Testing/GUI/Qt/SNAPTestQt.h
)
# These UI headers don't need to be MOC'd
SET(UI_NONMOC_HEADERS
GUI/Qt/Components/ProcessEventsITKCommand.h
GUI/Qt/Components/QtCursorOverride.h
GUI/Qt/Components/QtRendererPlatformSupport.h
GUI/Qt/Components/QtReporterDelegates.h
GUI/Qt/Components/SNAPQtCommon.h
GUI/Qt/Coupling/TagListWidgetCoupling.h
GUI/Qt/Coupling/QtAbstractButtonCoupling.h
GUI/Qt/Coupling/QtAbstractItemViewCoupling.h
GUI/Qt/Coupling/QtActionCoupling.h
GUI/Qt/Coupling/QtCheckBoxCoupling.h
GUI/Qt/Coupling/QtColorWheelCoupling.h
GUI/Qt/Coupling/QtComboBoxCoupling.h
GUI/Qt/Coupling/QtDoubleSliderWithEditorCoupling.h
GUI/Qt/Coupling/QtDoubleSpinBoxCoupling.h
GUI/Qt/Coupling/QtLabelCoupling.h
GUI/Qt/Coupling/QtLineEditCoupling.h
GUI/Qt/Coupling/QtListWidgetCoupling.h
GUI/Qt/Coupling/QtProgressBarCoupling.h
GUI/Qt/Coupling/QtRadioButtonCoupling.h
GUI/Qt/Coupling/QtScrollbarCoupling.h
GUI/Qt/Coupling/QtSliderCoupling.h
GUI/Qt/Coupling/QtSpinBoxCoupling.h
GUI/Qt/Coupling/QtTableWidgetCoupling.h
GUI/Qt/Coupling/QtWidgetArrayCoupling.h
GUI/Qt/Coupling/QtWidgetCoupling.h
)
SET(UI_FORMS
GUI/Qt/Components/AnnotationToolPanel.ui
GUI/Qt/Components/CollapsableGroupBox.ui
GUI/Qt/Components/ColorMapInspector.ui
GUI/Qt/Components/ContrastInspector.ui
GUI/Qt/Components/CursorInspector.ui
GUI/Qt/Components/DisplayLayoutInspector.ui
GUI/Qt/Components/FileChooserPanelWithHistory.ui
GUI/Qt/Components/ImageInfoInspector.ui
GUI/Qt/Components/LabelInspector.ui
GUI/Qt/Components/LabelMiniInspector.ui
GUI/Qt/Components/LayerInspectorRowDelegate.ui
GUI/Qt/Components/MetadataInspector.ui
GUI/Qt/Components/GeneralLayerInspector.ui
GUI/Qt/Components/PaintbrushToolPanel.ui
GUI/Qt/Components/PolygonToolPanel.ui
GUI/Qt/Components/QDoubleSliderWithEditor.ui
GUI/Qt/Components/QtWarningDialog.ui
GUI/Qt/Components/RecentHistoryItemsView.ui
GUI/Qt/Components/SliceViewPanel.ui
GUI/Qt/Components/SnakeToolROIPanel.ui
GUI/Qt/Components/SnakeWizardPanel.ui
GUI/Qt/Components/SynchronizationInspector.ui
GUI/Qt/Components/ViewPanel3D.ui
GUI/Qt/Components/ZoomInspector.ui
GUI/Qt/Windows/AboutDialog.ui
GUI/Qt/Windows/AnnotationEditDialog.ui
GUI/Qt/Windows/DropActionDialog.ui
GUI/Qt/Windows/ImageIODialog.ui
GUI/Qt/Windows/ImageIOWizard/OverlayRolePage.ui
GUI/Qt/Windows/InterpolateLabelsDialog.ui
GUI/Qt/Windows/LabelEditorDialog.ui
GUI/Qt/Windows/LayerInspectorDialog.ui
GUI/Qt/Windows/LayoutReminderDialog.ui
GUI/Qt/Windows/LabelSelectionPopup.ui
GUI/Qt/Windows/LoadTransformationDialog.ui
GUI/Qt/Windows/MainControlPanel.ui
GUI/Qt/Windows/MainImageWindow.ui
GUI/Qt/Windows/PreferencesDialog.ui
GUI/Qt/Windows/ReorientImageDialog.ui
GUI/Qt/Windows/ResampleDialog.ui
GUI/Qt/Windows/SaveModifiedLayersDialog.ui
GUI/Qt/Windows/SimpleFileDialogWithHistory.ui
GUI/Qt/Windows/SmoothLabelsDialog.ui
GUI/Qt/Windows/SnakeParameterDialog.ui
GUI/Qt/Windows/SpeedImageDialog.ui
GUI/Qt/Windows/SplashPanel.ui
GUI/Qt/Windows/StatisticsDialog.ui
GUI/Qt/Windows/VoxelChangeReportDialog.ui
GUI/Qt/Windows/DSS/DistributedSegmentationDialog.ui
GUI/Qt/Windows/DSS/DownloadTicketDialog.ui
GUI/Qt/Windows/MeshExportWizard/MeshExportWizard.ui
GUI/Qt/Windows/MeshExportWizard/MeshExportModePage.ui
GUI/Qt/Windows/MeshExportWizard/MeshExportBrowsePage.ui
GUI/Qt/Windows/MeshImportWizard/MeshImportWizard.ui
GUI/Qt/Windows/MeshImportWizard/MeshImportFileSelectionPage.ui
GUI/Qt/Windows/Registration/RegistrationDialog.ui
)
SET(UI_RESOURCES
GUI/Qt/Resources/SNAPResources.qrc
GUI/Qt/Resources/SNAPResources_Linux.qrc
GUI/Qt/Resources/SNAPResources_MacOS.qrc
GUI/Qt/Resources/SNAPResources_Windows.qrc
Testing/GUI/Qt/TestingScripts.qrc
)
# The source code for ITK-SNAP testing project
SET(TESTING_CXX
Testing/Logic/TestMain.cxx
Testing/Logic/SNAPTestDriver.cxx
)
# The source code for the tutorial test
SET(TESTING_TUTORIAL_CXX
Testing/Logic/TutorialTest.cxx
)
# The headers for the testing code
SET(TESTING_HEADERS
Testing/Logic/SNAPTestDriver.h
Testing/Logic/TestBase.h
Testing/Logic/TestCompareLevelSets.h
Testing/Logic/TestImageWrapper.h
)
#--------------------------------------------------------------------------------
# Specify include path
#--------------------------------------------------------------------------------
# These are the syetem include directories
SET(SNAP_SYSTEM_INCLUDE_DIRS
${ITK_DIR}/Utilities/zlib
${SNAP_BINARY_DIR}
${OPENGL_INCLUDE_PATH}
${SNAP_QT_INCLUDE_DIRS})
# Due to a limitation in Visual studio 6.0 on the length of include directories
# that can be specified, (here we are including all the include directories from
# ITK, VTK, FLTK and SNAP), if the compiler is VS6, we copy the SNAP source files
# to a single path in the binary tree to cut down on the number of
# INCLUDE_DIRECTORIES
IF( CMAKE_GENERATOR MATCHES "Visual Studio 6" )
FILE( GLOB_RECURSE SNAP_GLOBBED_CXX "${SNAP_SOURCE_DIR}/*.cxx" )
FILE( GLOB_RECURSE SNAP_GLOBBED_H "${SNAP_SOURCE_DIR}/*.h" )
FILE( GLOB_RECURSE SNAP_GLOBBED_TXX "${SNAP_SOURCE_DIR}/*.txx" )
SET(SNAP_SOURCES ${SNAP_GLOBBED_CXX} ${SNAP_GLOBBED_H} ${SNAP_GLOBBED_TXX})
MAKE_DIRECTORY( "${SNAP_BINARY_DIR}/src" )
SET( CONFIGURED_SOURCE_DIRECTORY "${SNAP_BINARY_DIR}/src" )
FOREACH( SourceFile ${SNAP_SOURCES} )
GET_FILENAME_COMPONENT( CONFIGURED_SOURCE_FILE ${SourceFile} NAME )
SET( CONFIGURED_SOURCE_FILE "${CONFIGURED_SOURCE_DIRECTORY}/${CONFIGURED_SOURCE_FILE}" )
CONFIGURE_FILE( ${SourceFile} ${CONFIGURED_SOURCE_FILE} COPYONLY IMMEDIATE )
ENDFOREACH( SourceFile )
SET(SNAP_INCLUDE_DIRS