Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Christian Butz
VTK
Commits
e23c2220
Commit
e23c2220
authored
Nov 17, 2017
by
Ben Boeckel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modules: update modules for OpenGL1 removal
parent
be28895f
Changes
157
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
157 changed files
with
184 additions
and
8101 deletions
+184
-8101
Accelerators/Vtkm/module.cmake
Accelerators/Vtkm/module.cmake
+2
-2
CMake/vtkOpenGL.cmake
CMake/vtkOpenGL.cmake
+0
-3
CMake/vtkTestingGL2PS.cmake
CMake/vtkTestingGL2PS.cmake
+2
-6
CMake/vtkTestingSVG.cmake
CMake/vtkTestingSVG.cmake
+1
-3
Charts/Core/module.cmake
Charts/Core/module.cmake
+2
-2
Common/Color/module.cmake
Common/Color/module.cmake
+2
-2
Common/ComputationalGeometry/module.cmake
Common/ComputationalGeometry/module.cmake
+2
-2
Common/Core/vtkAutoInit.h
Common/Core/vtkAutoInit.h
+2
-2
Common/DataModel/module.cmake
Common/DataModel/module.cmake
+2
-2
Common/Transforms/module.cmake
Common/Transforms/module.cmake
+2
-2
Domains/Chemistry/module.cmake
Domains/Chemistry/module.cmake
+2
-5
Domains/ChemistryOpenGL2/CMakeLists.txt
Domains/ChemistryOpenGL2/CMakeLists.txt
+0
-4
Domains/ChemistryOpenGL2/module.cmake
Domains/ChemistryOpenGL2/module.cmake
+2
-3
Domains/Microscopy/module.cmake
Domains/Microscopy/module.cmake
+2
-2
Examples/AMR/Cxx/CMakeLists.txt
Examples/AMR/Cxx/CMakeLists.txt
+1
-1
Examples/Annotation/Cxx/LabeledMesh/CMakeLists.txt
Examples/Annotation/Cxx/LabeledMesh/CMakeLists.txt
+1
-1
Examples/DataManipulation/Cxx/CMakeLists.txt
Examples/DataManipulation/Cxx/CMakeLists.txt
+1
-1
Examples/GUI/Qt/ImageViewer/CMakeLists.txt
Examples/GUI/Qt/ImageViewer/CMakeLists.txt
+1
-1
Examples/ImageProcessing/Cxx/CMakeLists.txt
Examples/ImageProcessing/Cxx/CMakeLists.txt
+1
-1
Examples/Infovis/Cxx/CustomLinkView/CMakeLists.txt
Examples/Infovis/Cxx/CustomLinkView/CMakeLists.txt
+1
-1
Examples/Medical/Cxx/CMakeLists.txt
Examples/Medical/Cxx/CMakeLists.txt
+1
-1
Examples/Modelling/Cxx/CMakeLists.txt
Examples/Modelling/Cxx/CMakeLists.txt
+1
-1
Examples/MultiBlock/Cxx/CMakeLists.txt
Examples/MultiBlock/Cxx/CMakeLists.txt
+1
-1
Examples/Rendering/Cxx/CMakeLists.txt
Examples/Rendering/Cxx/CMakeLists.txt
+1
-1
Examples/Tutorial/Step1/Cxx/CMakeLists.txt
Examples/Tutorial/Step1/Cxx/CMakeLists.txt
+2
-2
Examples/Tutorial/Step2/Cxx/CMakeLists.txt
Examples/Tutorial/Step2/Cxx/CMakeLists.txt
+2
-2
Examples/Tutorial/Step3/Cxx/CMakeLists.txt
Examples/Tutorial/Step3/Cxx/CMakeLists.txt
+1
-1
Examples/Tutorial/Step4/Cxx/CMakeLists.txt
Examples/Tutorial/Step4/Cxx/CMakeLists.txt
+1
-1
Examples/Tutorial/Step5/Cxx/CMakeLists.txt
Examples/Tutorial/Step5/Cxx/CMakeLists.txt
+1
-1
Examples/Tutorial/Step6/Cxx/CMakeLists.txt
Examples/Tutorial/Step6/Cxx/CMakeLists.txt
+1
-1
Examples/VisualizationAlgorithms/Cxx/CMakeLists.txt
Examples/VisualizationAlgorithms/Cxx/CMakeLists.txt
+1
-1
Examples/VolumeRendering/Cxx/CMakeLists.txt
Examples/VolumeRendering/Cxx/CMakeLists.txt
+1
-1
Examples/Widgets/Cxx/CMakeLists.txt
Examples/Widgets/Cxx/CMakeLists.txt
+1
-1
Filters/Core/module.cmake
Filters/Core/module.cmake
+2
-2
Filters/Extraction/module.cmake
Filters/Extraction/module.cmake
+1
-1
Filters/FlowPaths/module.cmake
Filters/FlowPaths/module.cmake
+1
-1
Filters/General/module.cmake
Filters/General/module.cmake
+2
-2
Filters/Generic/module.cmake
Filters/Generic/module.cmake
+2
-2
Filters/Geometry/module.cmake
Filters/Geometry/module.cmake
+2
-2
Filters/Hybrid/module.cmake
Filters/Hybrid/module.cmake
+1
-1
Filters/HyperTree/module.cmake
Filters/HyperTree/module.cmake
+1
-1
Filters/Modeling/module.cmake
Filters/Modeling/module.cmake
+2
-2
Filters/OpenTurns/module.cmake
Filters/OpenTurns/module.cmake
+1
-1
Filters/Parallel/module.cmake
Filters/Parallel/module.cmake
+2
-2
Filters/ParallelDIY2/module.cmake
Filters/ParallelDIY2/module.cmake
+2
-2
Filters/Points/module.cmake
Filters/Points/module.cmake
+3
-3
Filters/Programmable/module.cmake
Filters/Programmable/module.cmake
+2
-2
Filters/ReebGraph/module.cmake
Filters/ReebGraph/module.cmake
+2
-2
Filters/Selection/module.cmake
Filters/Selection/module.cmake
+2
-2
Filters/Sources/module.cmake
Filters/Sources/module.cmake
+1
-1
Filters/Texture/module.cmake
Filters/Texture/module.cmake
+2
-2
GUISupport/MFC/module.cmake
GUISupport/MFC/module.cmake
+2
-2
GUISupport/Qt/module.cmake
GUISupport/Qt/module.cmake
+1
-1
GUISupport/QtOpenGL/module.cmake
GUISupport/QtOpenGL/module.cmake
+2
-6
Geovis/Core/module.cmake
Geovis/Core/module.cmake
+2
-2
IO/EnSight/module.cmake
IO/EnSight/module.cmake
+2
-2
IO/Exodus/module.cmake
IO/Exodus/module.cmake
+2
-2
IO/Export/Testing/Cxx/CMakeLists.txt
IO/Export/Testing/Cxx/CMakeLists.txt
+0
-11
IO/Export/module.cmake
IO/Export/module.cmake
+2
-5
IO/GDAL/module.cmake
IO/GDAL/module.cmake
+2
-2
IO/Geometry/module.cmake
IO/Geometry/module.cmake
+1
-1
IO/Image/module.cmake
IO/Image/module.cmake
+2
-2
IO/Import/Testing/Cxx/CMakeLists.txt
IO/Import/Testing/Cxx/CMakeLists.txt
+1
-1
IO/Import/module.cmake
IO/Import/module.cmake
+2
-2
IO/LAS/module.cmake
IO/LAS/module.cmake
+1
-1
IO/LSDyna/module.cmake
IO/LSDyna/module.cmake
+2
-2
IO/Legacy/module.cmake
IO/Legacy/module.cmake
+2
-2
IO/MINC/module.cmake
IO/MINC/module.cmake
+2
-2
IO/MPIImage/module.cmake
IO/MPIImage/module.cmake
+2
-2
IO/MPIParallel/module.cmake
IO/MPIParallel/module.cmake
+2
-2
IO/NetCDF/module.cmake
IO/NetCDF/module.cmake
+1
-1
IO/PDAL/module.cmake
IO/PDAL/module.cmake
+1
-1
IO/PLY/module.cmake
IO/PLY/module.cmake
+1
-1
IO/ParallelLSDyna/module.cmake
IO/ParallelLSDyna/module.cmake
+2
-2
IO/ParallelNetCDF/module.cmake
IO/ParallelNetCDF/module.cmake
+2
-2
IO/SegY/module.cmake
IO/SegY/module.cmake
+1
-1
IO/VPIC/module.cmake
IO/VPIC/module.cmake
+2
-2
IO/XML/module.cmake
IO/XML/module.cmake
+2
-2
Imaging/Core/module.cmake
Imaging/Core/module.cmake
+2
-2
Imaging/Hybrid/module.cmake
Imaging/Hybrid/module.cmake
+2
-2
Imaging/Morphological/module.cmake
Imaging/Morphological/module.cmake
+2
-2
Imaging/OpenGL2/module.cmake
Imaging/OpenGL2/module.cmake
+2
-2
Infovis/BoostGraphAlgorithms/module.cmake
Infovis/BoostGraphAlgorithms/module.cmake
+2
-2
Infovis/Core/module.cmake
Infovis/Core/module.cmake
+2
-2
Infovis/Layout/module.cmake
Infovis/Layout/module.cmake
+2
-2
Interaction/Widgets/Testing/Cxx/CMakeLists.txt
Interaction/Widgets/Testing/Cxx/CMakeLists.txt
+0
-7
Interaction/Widgets/Testing/Cxx/TestImageCroppingRegionsWidget.cxx
...on/Widgets/Testing/Cxx/TestImageCroppingRegionsWidget.cxx
+0
-1581
Interaction/Widgets/module.cmake
Interaction/Widgets/module.cmake
+2
-2
Parallel/Core/module.cmake
Parallel/Core/module.cmake
+2
-2
Parallel/MPI/Testing/Cxx/CMakeLists.txt
Parallel/MPI/Testing/Cxx/CMakeLists.txt
+0
-6
Parallel/MPI/Testing/Cxx/TestDistributedDataShadowMapPass.cxx
...llel/MPI/Testing/Cxx/TestDistributedDataShadowMapPass.cxx
+0
-529
Rendering/Annotation/module.cmake
Rendering/Annotation/module.cmake
+2
-2
Rendering/Context2D/module.cmake
Rendering/Context2D/module.cmake
+2
-2
Rendering/Core/CMakeLists.txt
Rendering/Core/CMakeLists.txt
+0
-11
Rendering/Core/Testing/Cxx/CMakeLists.txt
Rendering/Core/Testing/Cxx/CMakeLists.txt
+0
-8
Rendering/Core/Testing/Python/CMakeLists.txt
Rendering/Core/Testing/Python/CMakeLists.txt
+0
-13
Rendering/Core/Testing/Python/TestTriangleStripCellColor.py
Rendering/Core/Testing/Python/TestTriangleStripCellColor.py
+0
-35
Rendering/Core/Testing/Tcl/CMakeLists.txt
Rendering/Core/Testing/Tcl/CMakeLists.txt
+0
-15
Rendering/Core/Testing/Tcl/TestTriangleStripCellColor.tcl
Rendering/Core/Testing/Tcl/TestTriangleStripCellColor.tcl
+0
-43
Rendering/Core/module.cmake
Rendering/Core/module.cmake
+1
-1
Rendering/Core/vtkPainterDeviceAdapter.cxx
Rendering/Core/vtkPainterDeviceAdapter.cxx
+0
-45
Rendering/Core/vtkPainterDeviceAdapter.h
Rendering/Core/vtkPainterDeviceAdapter.h
+0
-208
Rendering/External/module.cmake
Rendering/External/module.cmake
+2
-2
Rendering/FreeType/module.cmake
Rendering/FreeType/module.cmake
+3
-3
Rendering/FreeTypeFontConfig/module.cmake
Rendering/FreeTypeFontConfig/module.cmake
+2
-2
Rendering/GL2PSOpenGL2/module.cmake
Rendering/GL2PSOpenGL2/module.cmake
+2
-2
Rendering/Image/module.cmake
Rendering/Image/module.cmake
+2
-2
Rendering/LICOpenGL2/module.cmake
Rendering/LICOpenGL2/module.cmake
+1
-1
Rendering/LOD/module.cmake
Rendering/LOD/module.cmake
+2
-2
Rendering/Label/module.cmake
Rendering/Label/module.cmake
+2
-2
Rendering/Matplotlib/module.cmake
Rendering/Matplotlib/module.cmake
+3
-5
Rendering/OpenGL2/CMakeLists.txt
Rendering/OpenGL2/CMakeLists.txt
+0
-4
Rendering/Parallel/Testing/Cxx/CMakeLists.txt
Rendering/Parallel/Testing/Cxx/CMakeLists.txt
+0
-10
Rendering/Parallel/Testing/Cxx/TestDistributedDataCompositeZPass.cxx
...arallel/Testing/Cxx/TestDistributedDataCompositeZPass.cxx
+0
-529
Rendering/Parallel/Testing/Cxx/TestPCompositeZPass.cxx
Rendering/Parallel/Testing/Cxx/TestPCompositeZPass.cxx
+0
-530
Rendering/Parallel/Testing/Cxx/TestPShadowMapPass.cxx
Rendering/Parallel/Testing/Cxx/TestPShadowMapPass.cxx
+0
-517
Rendering/Parallel/module.cmake
Rendering/Parallel/module.cmake
+4
-8
Rendering/ParallelLIC/CMakeLists.txt
Rendering/ParallelLIC/CMakeLists.txt
+0
-8
Rendering/ParallelLIC/module.cmake
Rendering/ParallelLIC/module.cmake
+2
-6
Rendering/ParallelLIC/vtkPSurfaceLICComposite_Comp.glsl
Rendering/ParallelLIC/vtkPSurfaceLICComposite_Comp.glsl
+0
-34
Rendering/ParallelLIC/vtkPSurfaceLICPainter.cxx
Rendering/ParallelLIC/vtkPSurfaceLICPainter.cxx
+0
-172
Rendering/ParallelLIC/vtkPSurfaceLICPainter.h
Rendering/ParallelLIC/vtkPSurfaceLICPainter.h
+0
-95
Rendering/SceneGraph/module.cmake
Rendering/SceneGraph/module.cmake
+2
-2
Rendering/Tk/CMakeLists.txt
Rendering/Tk/CMakeLists.txt
+2
-2
Rendering/Tk/module.cmake
Rendering/Tk/module.cmake
+1
-1
Rendering/Volume/CMakeLists.txt
Rendering/Volume/CMakeLists.txt
+0
-9
Rendering/Volume/Testing/Cxx/CMakeLists.txt
Rendering/Volume/Testing/Cxx/CMakeLists.txt
+2
-27
Rendering/Volume/Testing/Cxx/ExerciseUnstructuredGridRayCastMapper.cxx
...ume/Testing/Cxx/ExerciseUnstructuredGridRayCastMapper.cxx
+0
-491
Rendering/Volume/Testing/Cxx/ExerciseUnstructuredGridRayCastMapper.h
...olume/Testing/Cxx/ExerciseUnstructuredGridRayCastMapper.h
+0
-36
Rendering/Volume/Testing/Cxx/HomogeneousRayIntegration.cxx
Rendering/Volume/Testing/Cxx/HomogeneousRayIntegration.cxx
+0
-30
Rendering/Volume/Testing/Cxx/LinearRayIntegration.cxx
Rendering/Volume/Testing/Cxx/LinearRayIntegration.cxx
+0
-29
Rendering/Volume/Testing/Cxx/PartialPreIntegration.cxx
Rendering/Volume/Testing/Cxx/PartialPreIntegration.cxx
+0
-29
Rendering/Volume/Testing/Cxx/PreIntegrationIncremental.cxx
Rendering/Volume/Testing/Cxx/PreIntegrationIncremental.cxx
+0
-32
Rendering/Volume/Testing/Cxx/PreIntegrationNonIncremental.cxx
...ering/Volume/Testing/Cxx/PreIntegrationNonIncremental.cxx
+0
-39
Rendering/Volume/Testing/Cxx/TestGPURayCastCompositeShadeMask.cxx
...g/Volume/Testing/Cxx/TestGPURayCastCompositeShadeMask.cxx
+0
-226
Rendering/Volume/Testing/Cxx/TestHAVSVolumeMapper.cxx
Rendering/Volume/Testing/Cxx/TestHAVSVolumeMapper.cxx
+0
-241
Rendering/Volume/Testing/Cxx/TestProjectedHexahedra.cxx
Rendering/Volume/Testing/Cxx/TestProjectedHexahedra.cxx
+0
-159
Rendering/Volume/Testing/Cxx/ZsweepConcavities.cxx
Rendering/Volume/Testing/Cxx/ZsweepConcavities.cxx
+0
-108
Rendering/Volume/Testing/Python/CMakeLists.txt
Rendering/Volume/Testing/Python/CMakeLists.txt
+0
-14
Rendering/Volume/Testing/Python/TestBunykRayCastFunction.py
Rendering/Volume/Testing/Python/TestBunykRayCastFunction.py
+0
-84
Rendering/Volume/Testing/Python/TestLODProp3D.py
Rendering/Volume/Testing/Python/TestLODProp3D.py
+0
-75
Rendering/Volume/Testing/Python/TestPTZSweep.py
Rendering/Volume/Testing/Python/TestPTZSweep.py
+0
-69
Rendering/Volume/Testing/Python/VolumeOutlineSource.py
Rendering/Volume/Testing/Python/VolumeOutlineSource.py
+0
-144
Rendering/Volume/Testing/Python/VolumeOutlineSourceClipped.py
...ering/Volume/Testing/Python/VolumeOutlineSourceClipped.py
+0
-138
Rendering/Volume/Testing/Tcl/CMakeLists.txt
Rendering/Volume/Testing/Tcl/CMakeLists.txt
+0
-11
Rendering/Volume/Testing/Tcl/TestBunykRayCastFunction.tcl
Rendering/Volume/Testing/Tcl/TestBunykRayCastFunction.tcl
+0
-104
Rendering/Volume/Testing/Tcl/TestPTZSweep.tcl
Rendering/Volume/Testing/Tcl/TestPTZSweep.tcl
+0
-81
Rendering/Volume/module.cmake
Rendering/Volume/module.cmake
+1
-1
Rendering/Volume/vtkHAVSVolumeMapper.cxx
Rendering/Volume/vtkHAVSVolumeMapper.cxx
+0
-856
Rendering/Volume/vtkHAVSVolumeMapper.h
Rendering/Volume/vtkHAVSVolumeMapper.h
+0
-288
Rendering/Volume/vtkProjectedAAHexahedraMapper.cxx
Rendering/Volume/vtkProjectedAAHexahedraMapper.cxx
+0
-67
Rendering/Volume/vtkProjectedAAHexahedraMapper.h
Rendering/Volume/vtkProjectedAAHexahedraMapper.h
+0
-85
Rendering/VolumeAMR/module.cmake
Rendering/VolumeAMR/module.cmake
+2
-2
Utilities/Benchmarks/CMakeLists.txt
Utilities/Benchmarks/CMakeLists.txt
+0
-2
Utilities/Benchmarks/module.cmake
Utilities/Benchmarks/module.cmake
+4
-4
Views/Infovis/module.cmake
Views/Infovis/module.cmake
+2
-2
Wrapping/Java/CMakeLists.txt
Wrapping/Java/CMakeLists.txt
+1
-1
No files found.
Accelerators/Vtkm/module.cmake
View file @
e23c2220
...
...
@@ -11,8 +11,8 @@ vtk_module(vtkAcceleratorsVTKm
TEST_DEPENDS
vtkTestingCore
vtkTestingRendering
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRenderingVolume
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
vtkRenderingVolume
OpenGL2
vtkRenderingFreeType
vtkIOLegacy
vtkIOPLY
...
...
CMake/vtkOpenGL.cmake
View file @
e23c2220
...
...
@@ -60,9 +60,6 @@ set(VTK_DEFAULT_EGL_DEVICE_INDEX "${default_egl_device_index}" CACHE STRING
mark_as_advanced
(
VTK_DEFAULT_EGL_DEVICE_INDEX
)
# Some sanity checks for use of EGL.
if
(
VTK_OPENGL_HAS_EGL AND VTK_RENDERING_BACKEND STREQUAL
"OpenGL"
)
message
(
FATAL_ERROR
"You can use VTK_OPENGL_HAS_EGL only for `OpenGL2` rendering backend"
)
endif
()
if
(
VTK_OPENGL_HAS_EGL AND ANDROID
)
message
(
FATAL_ERROR
"You cannot use VTK_OPENGL_HAS_EGL on the ANDROID platform"
)
endif
()
...
...
CMake/vtkTestingGL2PS.cmake
View file @
e23c2220
...
...
@@ -51,9 +51,7 @@ function(vtk_add_gl2ps_test_cxx)
endif
()
# Unit test executable containing PNGCompare test:
if
(
VTK_RENDERING_BACKEND STREQUAL
"OpenGL"
)
set
(
PNGCompareTest vtkRenderingGL2PSCxxTests
)
elseif
(
VTK_RENDERING_BACKEND STREQUAL
"OpenGL2"
)
if
(
VTK_RENDERING_BACKEND STREQUAL
"OpenGL2"
)
set
(
PNGCompareTest vtkRenderingGL2PSOpenGL2CxxTests
)
endif
()
...
...
@@ -128,9 +126,7 @@ function(vtk_add_pdf_test_cxx)
endif
()
# Unit test executable containing PNGCompare test:
if
(
VTK_RENDERING_BACKEND STREQUAL
"OpenGL"
)
set
(
PNGCompareTest vtkRenderingGL2PSCxxTests
)
elseif
(
VTK_RENDERING_BACKEND STREQUAL
"OpenGL2"
)
if
(
VTK_RENDERING_BACKEND STREQUAL
"OpenGL2"
)
set
(
PNGCompareTest vtkRenderingGL2PSOpenGL2CxxTests
)
endif
()
...
...
CMake/vtkTestingSVG.cmake
View file @
e23c2220
...
...
@@ -37,9 +37,7 @@ function(vtk_add_svg_test)
endif
()
# Unit test executable containing PNGCompare test:
if
(
VTK_RENDERING_BACKEND STREQUAL
"OpenGL"
)
set
(
PNGCompareTest vtkRenderingGL2PSCxxTests
)
elseif
(
VTK_RENDERING_BACKEND STREQUAL
"OpenGL2"
)
if
(
VTK_RENDERING_BACKEND STREQUAL
"OpenGL2"
)
set
(
PNGCompareTest vtkRenderingGL2PSOpenGL2CxxTests
)
endif
()
...
...
Charts/Core/module.cmake
View file @
e23c2220
...
...
@@ -5,7 +5,7 @@ vtk_module(vtkChartsCore
vtkTestingCore
vtkTestingRendering
vtkViewsContext2D
vtkRenderingContext
${
VTK_RENDERING_BACKEND
}
vtkRenderingContext
OpenGL2
#vtkIOExport
vtkIOInfovis
DEPENDS
...
...
@@ -20,4 +20,4 @@ vtk_module(vtkChartsCore
vtkCommonExecutionModel
vtkCommonTransforms
vtkInfovisCore
)
\ No newline at end of file
)
Common/Color/module.cmake
View file @
e23c2220
...
...
@@ -2,7 +2,7 @@ vtk_module(vtkCommonColor
TEST_DEPENDS
vtkIOImage
vtkCommonExecutionModel
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
vtkTestingCore
vtkTestingRendering
vtkInteractionStyle
...
...
@@ -11,4 +11,4 @@ vtk_module(vtkCommonColor
DEPENDS
vtkCommonCore
vtkCommonDataModel
)
\ No newline at end of file
)
Common/ComputationalGeometry/module.cmake
View file @
e23c2220
...
...
@@ -3,10 +3,10 @@ vtk_module(vtkCommonComputationalGeometry
StandAlone
TEST_DEPENDS
vtkTestingCore
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
KIT
vtkCommon
DEPENDS
vtkCommonCore
vtkCommonDataModel
)
\ No newline at end of file
)
Common/Core/vtkAutoInit.h
View file @
e23c2220
...
...
@@ -78,11 +78,11 @@
//
// @code{.cpp}
// #include "vtkAutoInit.h"
// VTK_MODULE_INIT(vtkRenderingOpenGL);
// VTK_MODULE_INIT(vtkRenderingOpenGL
2
);
// @endcode
//
// The above snippet if included in the global scope will ensure the object
// factories for vtkRenderingOpenGL are correctly registered and unregistered.
// factories for vtkRenderingOpenGL
2
are correctly registered and unregistered.
#define VTK_MODULE_INIT(M) \
VTK_AUTOINIT_DECLARE(M) \
static struct M##_ModuleInit { \
...
...
Common/DataModel/module.cmake
View file @
e23c2220
...
...
@@ -16,8 +16,8 @@ vtk_module(vtkCommonDataModel
vtkChartsCore
vtkViewsContext2D
vtkRenderingCore
vtkRenderingContext
${
VTK_RENDERING_BACKEND
}
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRenderingContext
OpenGL2
vtkRendering
OpenGL2
KIT
vtkCommon
DEPENDS
...
...
Common/Transforms/module.cmake
View file @
e23c2220
...
...
@@ -3,10 +3,10 @@ vtk_module(vtkCommonTransforms
StandAlone
TEST_DEPENDS
vtkTestingCore
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
KIT
vtkCommon
DEPENDS
vtkCommonCore
vtkCommonMath
)
\ No newline at end of file
)
Domains/Chemistry/module.cmake
View file @
e23c2220
if
(
VTK_RENDERING_BACKEND STREQUAL
"OpenGL2"
)
set
(
extra_opengl_depend vtkDomainsChemistry
${
VTK_RENDERING_BACKEND
}
)
endif
()
vtk_module
(
vtkDomainsChemistry
GROUPS
StandAlone
...
...
@@ -10,8 +7,8 @@ vtk_module(vtkDomainsChemistry
vtkTestingCore
vtkTestingRendering
vtkInteractionStyle
vtkRendering
${
VTK_RENDERING_BACKEND
}
${
extra_opengl_depend
}
vtkRendering
OpenGL2
vtkDomainsChemistryOpenGL2
DEPENDS
vtkCommonCore
vtkCommonDataModel
...
...
Domains/ChemistryOpenGL2/CMakeLists.txt
View file @
e23c2220
if
(
TARGET vtkRenderingOpenGL
)
message
(
FATAL_ERROR
"vtkChemistyOpenGL2 cannot be built with vtkRenderingOpenGL, please disable one of them."
)
endif
()
include
(
vtkObjectFactory
)
set
(
Module_SRCS
...
...
Domains/ChemistryOpenGL2/module.cmake
View file @
e23c2220
...
...
@@ -13,8 +13,7 @@ vtk_module(vtkDomainsChemistryOpenGL2
vtkTestingCore
vtkTestingRendering
vtkInteractionStyle
vtkRendering
${
VTK_RENDERING_BACKEND
}
${
extra_opengl_depend
}
vtkRenderingOpenGL2
DEPENDS
vtkCommonCore
vtkDomainsChemistry
...
...
@@ -25,4 +24,4 @@ vtk_module(vtkDomainsChemistryOpenGL2
vtkCommonMath
vtkRenderingCore
vtkglew
)
\ No newline at end of file
)
Domains/Microscopy/module.cmake
View file @
e23c2220
...
...
@@ -4,7 +4,7 @@ vtk_module(vtkDomainsMicroscopy
vtkTestingCore
vtkTestingRendering
vtkInteractionImage
vtkRenderingContext
${
VTK_RENDERING_BACKEND
}
vtkRenderingContext
OpenGL2
EXCLUDE_FROM_ALL
DEPENDS
vtkIOImage
...
...
@@ -12,4 +12,4 @@ vtk_module(vtkDomainsMicroscopy
vtkCommonCore
vtkCommonDataModel
vtkCommonExecutionModel
)
\ No newline at end of file
)
Examples/AMR/Cxx/CMakeLists.txt
View file @
e23c2220
...
...
@@ -16,7 +16,7 @@ find_package(VTK COMPONENTS
vtkIOLegacy
vtkIOXML
vtkInteractionStyle
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
vtkTestingCore
)
include
(
${
VTK_USE_FILE
}
)
...
...
Examples/Annotation/Cxx/LabeledMesh/CMakeLists.txt
View file @
e23c2220
...
...
@@ -10,7 +10,7 @@ vtk_module_config(VTK
vtkFiltersSources
vtkInteractionStyle
vtkRenderingLabel
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
)
include
(
${
VTK_USE_FILE
}
)
...
...
Examples/DataManipulation/Cxx/CMakeLists.txt
View file @
e23c2220
...
...
@@ -8,7 +8,7 @@ vtk_module_config(VTK
vtkCommonDataModel
vtkFiltersGeometry
vtkInteractionStyle
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
)
include
(
${
VTK_USE_FILE
}
)
...
...
Examples/GUI/Qt/ImageViewer/CMakeLists.txt
View file @
e23c2220
...
...
@@ -6,7 +6,7 @@ find_package(VTK COMPONENTS
vtkGUISupportQt
vtkIOImage
vtkInteractionImage
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
vtkTestingCore
)
include
(
${
VTK_USE_FILE
}
)
...
...
Examples/ImageProcessing/Cxx/CMakeLists.txt
View file @
e23c2220
...
...
@@ -14,7 +14,7 @@ vtk_module_config(VTK
vtkImagingStatistics
vtkImagingStencil
vtkInteractionStyle
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
vtkRenderingCore
vtkTestingCore
vtkTestingRendering
...
...
Examples/Infovis/Cxx/CustomLinkView/CMakeLists.txt
View file @
e23c2220
...
...
@@ -17,7 +17,7 @@ vtk_module_config(VTK
vtkGUISupportQt
vtkIOInfovis
vtkInfovisCore
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
vtkViewsCore
vtkViewsInfovis
vtkViewsQt
...
...
Examples/Medical/Cxx/CMakeLists.txt
View file @
e23c2220
...
...
@@ -10,7 +10,7 @@ find_package(VTK COMPONENTS
vtkIOXML
vtkImagingStatistics
vtkInteractionStyle
vtkRenderingVolume
${
VTK_RENDERING_BACKEND
}
vtkRenderingVolume
OpenGL2
vtkTestingRendering
vtksys
)
...
...
Examples/Modelling/Cxx/CMakeLists.txt
View file @
e23c2220
...
...
@@ -10,7 +10,7 @@ vtk_module_config(VTK
vtkIOXML
vtkImagingHybrid
vtkInteractionStyle
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
vtkTestingRendering
)
include
(
${
VTK_USE_FILE
}
)
...
...
Examples/MultiBlock/Cxx/CMakeLists.txt
View file @
e23c2220
...
...
@@ -10,7 +10,7 @@ vtk_module_config(VTK
vtkFiltersSources
vtkIOXML
vtkInteractionStyle
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
vtkTestingCore
vtksys
)
...
...
Examples/Rendering/Cxx/CMakeLists.txt
View file @
e23c2220
...
...
@@ -11,7 +11,7 @@ vtk_module_config(VTK
vtkCommonCore
vtkFiltersSources
vtkInteractionStyle
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
)
include
(
${
VTK_USE_FILE
}
)
...
...
Examples/Tutorial/Step1/Cxx/CMakeLists.txt
View file @
e23c2220
...
...
@@ -9,8 +9,8 @@ vtk_module_config(VTK
vtkFiltersSources
vtkFiltersSources
vtkInteractionStyle
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
)
include
(
${
VTK_USE_FILE
}
)
add_executable
(
Cone MACOSX_BUNDLE Cone.cxx
)
target_link_libraries
(
Cone
${
VTK_LIBRARIES
}
)
\ No newline at end of file
target_link_libraries
(
Cone
${
VTK_LIBRARIES
}
)
Examples/Tutorial/Step2/Cxx/CMakeLists.txt
View file @
e23c2220
...
...
@@ -8,9 +8,9 @@ vtk_module_config(VTK
vtkFiltersSources
vtkFiltersSources
vtkInteractionStyle
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
)
include
(
${
VTK_USE_FILE
}
)
add_executable
(
Cone2 MACOSX_BUNDLE Cone2.cxx
)
target_link_libraries
(
Cone2
${
VTK_LIBRARIES
}
)
\ No newline at end of file
target_link_libraries
(
Cone2
${
VTK_LIBRARIES
}
)
Examples/Tutorial/Step3/Cxx/CMakeLists.txt
View file @
e23c2220
...
...
@@ -8,7 +8,7 @@ vtk_module_config(VTK
vtkCommonCore
vtkFiltersSources
vtkInteractionStyle
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
)
include
(
${
VTK_USE_FILE
}
)
...
...
Examples/Tutorial/Step4/Cxx/CMakeLists.txt
View file @
e23c2220
...
...
@@ -8,7 +8,7 @@ vtk_module_config(VTK
vtkCommonCore
vtkFiltersSources
vtkInteractionStyle
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
)
include
(
${
VTK_USE_FILE
}
)
...
...
Examples/Tutorial/Step5/Cxx/CMakeLists.txt
View file @
e23c2220
...
...
@@ -8,7 +8,7 @@ vtk_module_config(VTK
vtkCommonCore
vtkFiltersSources
vtkInteractionStyle
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
)
include
(
${
VTK_USE_FILE
}
)
...
...
Examples/Tutorial/Step6/Cxx/CMakeLists.txt
View file @
e23c2220
...
...
@@ -9,7 +9,7 @@ vtk_module_config(VTK
vtkFiltersSources
vtkInteractionStyle
vtkInteractionWidgets
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
)
include
(
${
VTK_USE_FILE
}
)
...
...
Examples/VisualizationAlgorithms/Cxx/CMakeLists.txt
View file @
e23c2220
...
...
@@ -10,7 +10,7 @@ vtk_module_config(VTK
vtkFiltersModeling
vtkIOXML
vtkInteractionStyle
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
vtkTestingRendering
)
include
(
${
VTK_USE_FILE
}
)
...
...
Examples/VolumeRendering/Cxx/CMakeLists.txt
View file @
e23c2220
...
...
@@ -8,7 +8,7 @@ vtk_module_config(VTK
vtkIOImage
vtkIOXML
vtkInteractionWidgets
vtkRenderingVolume
${
VTK_RENDERING_BACKEND
}
vtkRenderingVolume
OpenGL2
)
include
(
${
VTK_USE_FILE
}
)
...
...
Examples/Widgets/Cxx/CMakeLists.txt
View file @
e23c2220
...
...
@@ -6,7 +6,7 @@ vtk_module_load(
vtkCommonCore
vtkFiltersSources
vtkInteractionWidgets
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
vtkTestingRendering
)
include
(
${
VTK_USE_FILE
}
)
...
...
Filters/Core/module.cmake
View file @
e23c2220
...
...
@@ -9,8 +9,8 @@ vtk_module(vtkFiltersCore
vtkIOExodus
vtkImagingCore
vtkFiltersGeneral
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRenderingVolume
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
vtkRenderingVolume
OpenGL2
KIT
vtkFilters
DEPENDS
...
...
Filters/Extraction/module.cmake
View file @
e23c2220
...
...
@@ -7,7 +7,7 @@ vtk_module(vtkFiltersExtraction
vtkIOLegacy
vtkIOXML
vtkIOExodus
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
vtkTestingRendering
KIT
vtkFilters
...
...
Filters/FlowPaths/module.cmake
View file @
e23c2220
...
...
@@ -7,7 +7,7 @@ vtk_module(vtkFiltersFlowPaths
vtkTestingCore
vtkTestingRendering
vtkInteractionStyle
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
DEPENDS
vtkCommonCore
vtkCommonDataModel
...
...
Filters/General/module.cmake
View file @
e23c2220
...
...
@@ -9,7 +9,7 @@ vtk_module(vtkFiltersGeneral
vtkIOXML
vtkImagingMath
vtkInteractionStyle
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
vtkRenderingAnnotation
vtkRenderingLabel
vtkTestingRendering
...
...
@@ -26,4 +26,4 @@ vtk_module(vtkFiltersGeneral
vtkCommonMath
vtkCommonSystem
vtkCommonTransforms
)
\ No newline at end of file
)
Filters/Generic/module.cmake
View file @
e23c2220
...
...
@@ -4,7 +4,7 @@ vtk_module(vtkFiltersGeneric
TEST_DEPENDS
vtkIOXML
vtkIOLegacy
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
vtkFiltersModeling
vtkRenderingLabel
vtkTestingRendering
...
...
@@ -23,4 +23,4 @@ vtk_module(vtkFiltersGeneric
vtkCommonTransforms
vtkFiltersCore
vtkFiltersSources
)
\ No newline at end of file
)
Filters/Geometry/module.cmake
View file @
e23c2220
...
...
@@ -3,7 +3,7 @@ vtk_module(vtkFiltersGeometry
StandAlone
TEST_DEPENDS
vtkIOXML
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
vtkTestingRendering
vtkInteractionStyle
KIT
...
...
@@ -14,4 +14,4 @@ vtk_module(vtkFiltersGeometry
vtkCommonExecutionModel
PRIVATE_DEPENDS
vtkFiltersCore
)
\ No newline at end of file
)
Filters/Hybrid/module.cmake
View file @
e23c2220
...
...
@@ -3,7 +3,7 @@ vtk_module(vtkFiltersHybrid
StandAlone
TEST_DEPENDS
vtkIOXML
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
vtkImagingCore
vtkImagingStencil
vtkTestingRendering
...
...
Filters/HyperTree/module.cmake
View file @
e23c2220
...
...
@@ -9,7 +9,7 @@ vtk_module(vtkFiltersHyperTree
vtkRenderingAnnotation
vtkTestingRendering
vtkInteractionStyle
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
KIT
vtkFilters
DEPENDS
...
...
Filters/Modeling/module.cmake
View file @
e23c2220
...
...
@@ -4,7 +4,7 @@ vtk_module(vtkFiltersModeling
TEST_DEPENDS
vtkCommonColor
# For vtkBandedPolyDataContourFilter used in a test
vtkIOXML
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
vtkTestingRendering
vtkInteractionStyle
KIT
...
...
@@ -19,4 +19,4 @@ vtk_module(vtkFiltersModeling
vtkCommonTransforms
vtkFiltersCore
vtkFiltersSources
)
\ No newline at end of file
)
Filters/OpenTurns/module.cmake
View file @
e23c2220
...
...
@@ -10,7 +10,7 @@ vtk_module(vtkFiltersOpenTurns
vtkFiltersCore
TEST_DEPENDS
vtkIOInfovis
vtkRenderingContext
${
VTK_RENDERING_BACKEND
}
vtkRenderingContext
OpenGL2
vtkTestingCore
vtkTestingRendering
vtkViewsContext2D
...
...
Filters/Parallel/module.cmake
View file @
e23c2220
...
...
@@ -7,7 +7,7 @@ vtk_module(vtkFiltersParallel
vtkTestingRendering
vtkInteractionStyle
vtkIOXML
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
vtkRenderingParallel
vtkFiltersParallelGeometry
vtkFiltersParallelMPI
...
...
@@ -32,4 +32,4 @@ vtk_module(vtkFiltersParallel
vtkIOLegacy
vtkParallelCore
vtkRenderingCore
)
\ No newline at end of file
)
Filters/ParallelDIY2/module.cmake
View file @
e23c2220
...
...
@@ -8,7 +8,7 @@ if (NOT WIN32)
TEST_DEPENDS
vtkFiltersParallelMPI
vtkInteractionStyle
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
vtkRenderingParallel
vtkTestingCore
vtkTestingRendering
...
...
@@ -23,4 +23,4 @@ if (NOT WIN32)
vtkCommonExecutionModel
vtkParallelMPI
)
endif
()
\ No newline at end of file
endif
()
Filters/Points/module.cmake
View file @
e23c2220
...
...
@@ -10,9 +10,9 @@ vtk_module(vtkFiltersPoints
vtkFiltersGeneral
vtkViewsContext2D
vtkChartsCore
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRenderingVolume
${
VTK_RENDERING_BACKEND
}
vtkRenderingContext
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
vtkRenderingVolume
OpenGL2
vtkRenderingContext
OpenGL2
vtkRenderingContext2D
KIT
vtkFilters
...
...
Filters/Programmable/module.cmake
View file @
e23c2220
...
...
@@ -2,7 +2,7 @@ vtk_module(vtkFiltersProgrammable
GROUPS
StandAlone
TEST_DEPENDS
vtkRendering
${
VTK_RENDERING_BACKEND
}
vtkRendering
OpenGL2
vtkTestingRendering
vtkInteractionStyle
KIT
...
...
@@ -13,4 +13,4 @@ vtk_module(vtkFiltersProgrammable
vtkCommonCore
vtkCommonDataModel
vtkCommonTransforms
)
\ No newline at end of file
)