4 This file is used by CMake when finding VTK. It provides the [VTK module
5 API][] as well as some VTK-specific APIs.
7 The following variables are provided by
this module:
13 * `VTK_AVAILABLE_COMPONENTS`: Components available with VTK.
14 * `VTK_PREFIX_PATH`: Install prefix
for VTK.
15 * `VTK_LEGACY_REMOVE`: Whether VTK
's deprecated APIs are 17 * `VTK_HAS_VTKm`: If VTK provides VTK-m. 18 * `VTK_OPENGL_HAS_EGL`: If VTK::opengl uses EGL. Only provided if the 19 `VTK::opengl` target exists. 20 * `VTK_OPENGL_HAS_OSMESA`: If VTK::opengl uses OSMESA. Only provided if the 21 `VTK::opengl` target exists. 22 * `VTK_USE_X`: If VTK uses X windows. Only provided if the 23 `VTK::opengl` target exists. 24 * `VTK_PYTHON_VERSION`: The major version of Python used by VTK. Empty if 25 Python support is not available. 26 * `VTK_WRAP_PYTHON`: If VTK itself provides Python wrapping. If so, the 27 Python parts of the module API are available. 28 * `VTK_WRAP_JAVA`: If VTK itself provides Java wrapping. If so, the 29 Java parts of the module API are available. 30 * `VTK_PYTHONPATH`: Where VTK's Python modules live inside the install
31 prefix. Unset
if Python is not available.
32 * `VTK_LIBRARIES`: The list of modules specified by `COMPONENTS` and
33 `OPTIONAL_COMPONENTS`. However,
if no components are specified, all
34 available components are added to
this variable. This may be used in
35 `MODULES` arguments in the API (e.g., `vtk_module_autoinit`). All modules
36 are also targets and may be linked to
using `target_link_libraries`.
37 * `VTK_AUTOINIT_INCLUDE`: The header to include
for access to VTK
's autoinit 39 * `VTK_QT_VERSION`: The major version of Qt used by VTK if Qt support enabled. 40 * `VTK_QML_DIR`: Where VTK's QML plugins live
if QML support is
enabled.
41 * `VTK_ENABLE_VR_COLLABORATION`: Is VR collaboration
enabled when VR is
enabled.
42 * `VTK_SMP_BACKENDS`: The list of available SMP backends.
44 For more information about the Python in use by VTK, (note that the `Python`
45 component must be found to guarantee that
this happens), see the
46 [FindPython3][] documentation
for what is available. Of particular use are
49 - the `Python3_VERSION` variable; and
50 - the `Python3::Python`
target.
56 if (CMAKE_VERSION VERSION_LESS
"3.12")
57 set(
"${CMAKE_FIND_PACKAGE_NAME}_FOUND" 0)
58 set(
"${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE" 59 "VTK requires CMake 3.12 in order to reliably be used.")
66 set("${CMAKE_FIND_PACKAGE_NAME}_AVAILABLE_COMPONENTS
" "WrappingTools;WebPython;WebCore;WebGLExporter;PythonInterpreter;ViewsContext2D;ViewsCore;RenderingUI;loguru;cli11;TestingRendering;ImagingColor;TestingCore;RenderingVolumeAMR;RenderingVolumeOpenGL2;RenderingParallelLIC;RenderingParallel;RenderingMatplotlib;RenderingLabel;octree;RenderingLICOpenGL2;RenderingContextOpenGL2;RenderingCellGrid;ImagingMath;ParallelMPI4Py;mpi4py;ImagingFourier;IOXdmf2;IOXMLParser;libxml2;
xdmf2;IOVeraOut;IOVPIC;vpic;IOTecplotTable;utf8;IOTRUCHAS;IOSegY;IOParallelXML;IOParallelNetCDF;IOParallelLSDyna;IOLSDyna;IOParallelExodus;IOExodus;exodusII;IOPLY;IOPIO;IOOggTheora;theora;ogg;IOOMF;IONetCDF;libproj;IOParallel;IOMPIImage;IOImport;IOIOSS;ioss;IOH5part;h5part;IOH5Rage;IOFLUENTCFF;IOMovie;IOFDS;IOInfovis;InfovisCore;IOExportGL2PS;RenderingGL2PSOpenGL2;gl2ps;png;netcdf;IOEnSight;IOERF;IOCityGML;IOChemistry;IOCONVERGECFD;IOHDF;IOCGNSReader;cgns;IOAsynchronous;IOExport;RenderingVtkJS;libharu;IOGeometry;RenderingSceneGraph;jsoncpp;IOAMR;hdf5;GeovisCore;sqlite;GUISupportQt;InteractionWidgets;RenderingVolume;RenderingAnnotation;InteractionStyle;ImagingHybrid;FiltersTensor;FiltersTemporal;FiltersPython;FiltersProgrammable;FiltersPoints;FiltersParallelVerdict;FiltersParallelStatistics;FiltersParallelGeometry;FiltersParallelFlowPaths;FiltersParallelDIY2;ParallelDIY;FiltersImaging;ImagingGeneral;FiltersGeometryPreview;FiltersGeneric;FiltersFlowPaths;eigen;FiltersCellGrid;FiltersAMR;FiltersParallelMPI;FiltersParallel;FiltersTexture;FiltersModeling;ParallelMPI;mpi;DomainsChemistryOpenGL2;RenderingOpenGL2;RenderingHyperTreeGrid;glew;opengl;FiltersHybrid;DomainsChemistry;WrappingPythonCore;Python;ChartsCore;FiltersExtraction;diy2;IOXML;expat;ParallelCore;IOLegacy;IOCore;lzma;fast_float;lz4;FiltersStatistics;FiltersHyperTree;ImagingSources;IOImage;DICOMParser;jpeg;metaio;tiff;RenderingContext2D;RenderingFreeType;freetype;kwiml;zlib;RenderingCore;FiltersSources;CommonColor;AcceleratorsVTKmFilters;AcceleratorsVTKmCore;AcceleratorsVTKmDataModel;ImagingCore;FiltersGeneral;fmt;FiltersVerdict;verdict;FiltersGeometry;CommonComputationalGeometry;FiltersCore;CommonExecutionModel;vtkvtkm;CommonDataModel;pugixml;CommonSystem;CommonMisc;exprtk;CommonTransforms;CommonMath;kissfft;CommonCore;token;doubleconversion;nlohmannjson;
vtksys;WrapHierarchy;WrapPython;WrapPythonInit;ParseJava;WrapJava
") 68 set(_vtk_temp_variables) 69 set(_vtk_real_components) 70 foreach (_vtk_component IN LISTS "${CMAKE_FIND_PACKAGE_NAME}_FIND_COMPONENTS
") 71 # Handle component requests that are not VTK. 72 if (NOT _vtk_component IN_LIST "${CMAKE_FIND_PACKAGE_NAME}_AVAILABLE_COMPONENTS
") 73 set("${CMAKE_FIND_PACKAGE_NAME}_${_vtk_component}_FOUND
" 0) 74 list(APPEND "${CMAKE_FIND_PACKAGE_NAME}_${_vtk_component}_NOT_FOUND_MESSAGE
" 75 "The ${_vtk_component}
component is not recognized.
") 77 if (_vtk_component MATCHES "^
vtk" AND 78 NOT _vtk_component STREQUAL "vtksys" AND 79 NOT _vtk_component STREQUAL "vtkjava
") 80 string(SUBSTRING "${_vtk_component}
" 3 -1 _vtk_actual_component) 81 if (NOT ${CMAKE_FIND_PACKAGE_NAME}_FIND_VERSION) 82 if (NOT ${CMAKE_FIND_PACKAGE_NAME}_FIND_QUIETLY) 85 "'${_vtk_actual_component}'") 87 elseif (${CMAKE_FIND_PACKAGE_NAME}_FIND_VERSION VERSION_LESS "8.90
") 88 # Ignore for compatibility. 92 "'${_vtk_actual_component}'. By requesting at least
version 8.90, the
" 95 list(APPEND _vtk_real_components 96 "${_vtk_actual_component}
") 97 list(APPEND _vtk_temp_variables 98 "${CMAKE_FIND_PACKAGE_NAME}_FIND_REQUIRED_${_vtk_actual_component}
") 99 set("${CMAKE_FIND_PACKAGE_NAME}_FIND_REQUIRED_${_vtk_actual_component}
" 100 "${${CMAKE_FIND_PACKAGE_NAME}_FIND_REQUIRED_${_vtk_component}}
") 101 unset(_vtk_actual_component) 103 list(APPEND _vtk_real_components 107 unset(_vtk_component) 108 set("${CMAKE_FIND_PACKAGE_NAME}_FIND_COMPONENTS
" 109 ${_vtk_real_components}) 110 unset(_vtk_real_components) 112 set("${CMAKE_FIND_PACKAGE_NAME}_CMAKE_MODULE_PATH_save
" "${CMAKE_MODULE_PATH}
") 113 list(INSERT CMAKE_MODULE_PATH 0 114 "${CMAKE_CURRENT_LIST_DIR}
") 116 set("${CMAKE_FIND_PACKAGE_NAME}_CMAKE_PREFIX_PATH_save
" "${CMAKE_PREFIX_PATH}
") 117 include("${CMAKE_CURRENT_LIST_DIR}/
vtk-prefix.cmake
") 118 set("${CMAKE_FIND_PACKAGE_NAME}_PREFIX_PATH
" 119 "${_vtk_module_import_prefix}
") 120 unset(_vtk_module_import_prefix) 121 list(INSERT CMAKE_PREFIX_PATH 0 122 "${${CMAKE_FIND_PACKAGE_NAME}_PREFIX_PATH}
") 124 set("${CMAKE_FIND_PACKAGE_NAME}_VERSION
" "9.3.20240320
") 125 set("${CMAKE_FIND_PACKAGE_NAME}_MAJOR_VERSION
" "9
") 126 set("${CMAKE_FIND_PACKAGE_NAME}_MINOR_VERSION
" "3
") 127 set("${CMAKE_FIND_PACKAGE_NAME}_BUILD_VERSION
" "20240320
") 128 set("${CMAKE_FIND_PACKAGE_NAME}_LEGACY_REMOVE
" "OFF
") 129 set("${CMAKE_FIND_PACKAGE_NAME}_AUTOINIT_INCLUDE
" "\
"vtkAutoInit.h\"")
130 set(
"${CMAKE_FIND_PACKAGE_NAME}_SMP_BACKENDS" "STDThread;Sequential")
132 unset("${CMAKE_FIND_PACKAGE_NAME}_FOUND
") 133 set("${CMAKE_FIND_PACKAGE_NAME}_HAS_VTKm
" "ON
") 134 if (${CMAKE_FIND_PACKAGE_NAME}_HAS_VTKm) 136 PATHS "${CMAKE_CURRENT_LIST_DIR}/
vtkm" 139 set("${CMAKE_FIND_PACKAGE_NAME}_FOUND
" 0) 142 # Prior to VTK-m 2.0, the main VTK module was called VTK::vtkm 143 if (TARGET VTK::vtkvtkm) 144 add_library(VTK::vtkm ALIAS VTK::vtkvtkm) 148 include("${CMAKE_CURRENT_LIST_DIR}/vtkCMakeBackports.cmake
") 149 include("${CMAKE_CURRENT_LIST_DIR}/${CMAKE_FIND_PACKAGE_NAME}-targets.cmake
") 150 include("${CMAKE_CURRENT_LIST_DIR}/${CMAKE_FIND_PACKAGE_NAME}-
vtk-module-properties.cmake
") 152 include("${CMAKE_CURRENT_LIST_DIR}/
vtk-find-package-helpers.cmake
" OPTIONAL) 154 # Ensure that the right OpenGL preference is in place when finding the OpenGL 156 if (1) # vtk_opengl_preference_set 157 if (DEFINED OpenGL_GL_PREFERENCE) 158 set("${CMAKE_FIND_PACKAGE_NAME}_OpenGL_GL_PREFERENCE_save
" "${OpenGL_GL_PREFERENCE}
") 160 set(OpenGL_GL_PREFERENCE "GLVND
") 163 # Ensure that python is found based on location, not on version 164 # See https://cmake.org/cmake/help/latest/module/FindPython.html 165 if (DEFINED Python3_FIND_STRATEGY) 166 set("${CMAKE_FIND_PACKAGE_NAME}_Python3_FIND_STRATEGY_save
" "${Python3_FIND_STRATEGY}
") 168 set(Python3_FIND_STRATEGY LOCATION) 170 include("${CMAKE_CURRENT_LIST_DIR}/${CMAKE_FIND_PACKAGE_NAME}-
vtk-module-find-packages.cmake
") 172 if (1) # vtk_opengl_preference_set 173 if (DEFINED "${CMAKE_FIND_PACKAGE_NAME}_OpenGL_GL_PREFERENCE_save
") 174 set(OpenGL_GL_PREFERENCE "${${CMAKE_FIND_PACKAGE_NAME}_OpenGL_GL_PREFERENCE_save}
") 175 unset("${CMAKE_FIND_PACKAGE_NAME}_OpenGL_GL_PREFERENCE_save
") 177 unset(OpenGL_GL_PREFERENCE) 181 if (DEFINED "${CMAKE_FIND_PACKAGE_NAME}_Python3_FIND_STRATEGY_save
") 182 set(Python3_FIND_STRATEGY "${${CMAKE_FIND_PACKAGE_NAME}_Python3_FIND_STRATEGY_save}
") 183 unset("${CMAKE_FIND_PACKAGE_NAME}_Python3_FIND_STRATEGY_save
") 185 unset(Python3_FIND_STRATEGY) 188 if (TARGET VTK::opengl) 189 set(VTK_OPENGL_HAS_EGL "OFF
") 190 set(VTK_OPENGL_HAS_OSMESA "OFF
") 194 if (TARGET VTK::RenderingVR) 195 set("${CMAKE_FIND_PACKAGE_NAME}_ENABLE_VR_COLLABORATION
" "") 198 if (5) # VTK_QT_VERSION 199 set("${CMAKE_FIND_PACKAGE_NAME}_QT_VERSION
" "5
") 203 set("${CMAKE_FIND_PACKAGE_NAME}_QML_DIR
" "${${CMAKE_FIND_PACKAGE_NAME}_PREFIX_PATH}/
") 206 include("${CMAKE_CURRENT_LIST_DIR}/vtkModule.cmake
") 207 include("${CMAKE_CURRENT_LIST_DIR}/vtkEncodeString.cmake
") 208 include("${CMAKE_CURRENT_LIST_DIR}/vtkHashSource.cmake
") 211 include("${CMAKE_CURRENT_LIST_DIR}/vtkModuleJson.cmake
") 213 set("${CMAKE_FIND_PACKAGE_NAME}_PYTHON_VERSION
" "3
") 214 set("${CMAKE_FIND_PACKAGE_NAME}_WRAP_PYTHON
" "ON
") 215 if (${CMAKE_FIND_PACKAGE_NAME}_WRAP_PYTHON) 216 include("${CMAKE_CURRENT_LIST_DIR}/VTKPython-targets.cmake
") 217 include("${CMAKE_CURRENT_LIST_DIR}/vtkmodules-
vtk-python-module-properties.cmake
") 218 include("${CMAKE_CURRENT_LIST_DIR}/vtkModuleWrapPython.cmake
") 219 set("${CMAKE_FIND_PACKAGE_NAME}_PYTHONPATH
" "lib64/python3.10/site-packages
") 222 set("${CMAKE_FIND_PACKAGE_NAME}_WRAP_JAVA
" "") 223 if (${CMAKE_FIND_PACKAGE_NAME}_WRAP_JAVA) 224 include("${CMAKE_CURRENT_LIST_DIR}/vtkModuleWrapJava.cmake
") 226 if () # VTK_JAVA_JOGL_COMPONENT 227 set(_vtk_find_jogl_args) 228 if (${CMAKE_FIND_PACKAGE_NAME}_FIND_QUIETLY) 229 list(APPEND _vtk_find_jogl_args QUIET) 231 find_package(JOGL ${_vtk_find_jogl_args}) 232 unset(_vtk_find_jogl_args) 235 include("${CMAKE_CURRENT_LIST_DIR}/VTKJava-targets.cmake
") 236 set("${CMAKE_FIND_PACKAGE_NAME}_vtkjava_FOUND
" 1) 238 set("${CMAKE_FIND_PACKAGE_NAME}_vtkjava_FOUND
" 0) 239 set("${CMAKE_FIND_PACKAGE_NAME}_vtkjava_NOT_FOUND_MESSAGE
" 240 "JOGL was not found
") 245 set(_vtk_search_components 246 ${${CMAKE_FIND_PACKAGE_NAME}_FIND_COMPONENTS}) 247 if (NOT _vtk_search_components) 248 set(_vtk_search_components 249 ${${CMAKE_FIND_PACKAGE_NAME}_AVAILABLE_COMPONENTS}) 251 list(REMOVE_ITEM _vtk_search_components 252 # These components need to always be requested explicitly since they are 254 WrapHierarchy;vtkpython;pvtkpython;WrapPython;WrapPythonInit;vtkjava;ParseJava;WrapJava) 255 set(_vtk_components_to_check) 256 foreach (_vtk_component IN LISTS _vtk_search_components) 257 if (DEFINED "${CMAKE_FIND_PACKAGE_NAME}_${_vtk_component}_FOUND
") 258 # It was already not-found (likely due to `find-package` failures). 259 elseif (TARGET "${CMAKE_FIND_PACKAGE_NAME}::${_vtk_component}
") 260 list(APPEND _vtk_components_to_check 263 set("${CMAKE_FIND_PACKAGE_NAME}_${_vtk_component}_FOUND
" 0) 264 list(APPEND "${CMAKE_FIND_PACKAGE_NAME}_${_vtk_component}_NOT_FOUND_MESSAGE
" 265 "The ${_vtk_component}
component is not available.
") 268 unset(_vtk_component) 269 unset(_vtk_search_components) 271 while (_vtk_components_to_check) 272 list(GET _vtk_components_to_check 0 _vtk_component) 273 list(REMOVE_AT _vtk_components_to_check 0) 274 if (DEFINED "${CMAKE_FIND_PACKAGE_NAME}_${_vtk_component}_FOUND
") 275 # We've already made a determiniation. 279 get_property(_vtk_public_dependencies 280 TARGET "${CMAKE_FIND_PACKAGE_NAME}::${_vtk_component}
" 281 PROPERTY "INTERFACE_vtk_module_depends
") 282 get_property(_vtk_private_dependencies 283 TARGET "${CMAKE_FIND_PACKAGE_NAME}::${_vtk_component}
" 284 PROPERTY "INTERFACE_vtk_module_private_depends
") 285 get_property(_vtk_optional_dependencies 286 TARGET "${CMAKE_FIND_PACKAGE_NAME}::${_vtk_component}
" 287 PROPERTY "INTERFACE_vtk_module_optional_depends
") 288 set(_vtk_dependencies 289 ${_vtk_public_dependencies} 290 ${_vtk_private_dependencies}) 291 foreach (_vtk_optional_dependency IN LISTS _vtk_optional_dependencies) 292 if (TARGET "${_vtk_optional_dependency}
") 293 list(APPEND _vtk_dependencies 294 "${_vtk_optional_dependency}
") 297 unset(_vtk_public_dependencies) 298 unset(_vtk_private_dependencies) 299 unset(_vtk_optional_dependency) 300 unset(_vtk_optional_dependencies) 302 string(REPLACE "${CMAKE_FIND_PACKAGE_NAME}::
" "" _vtk_dependencies "${_vtk_dependencies}
") 303 set(_vtk_all_dependencies_checked TRUE) 304 foreach (_vtk_dependency IN LISTS _vtk_dependencies) 305 if (DEFINED "${CMAKE_FIND_PACKAGE_NAME}_${_vtk_dependency}_FOUND
") 306 if (NOT ${CMAKE_FIND_PACKAGE_NAME}_${_vtk_dependency}_FOUND) 307 set("${CMAKE_FIND_PACKAGE_NAME}_${_vtk_component}_FOUND
" 0) 308 list(APPEND "${CMAKE_FIND_PACKAGE_NAME}_${_vtk_component}_NOT_FOUND_MESSAGE
" 309 "Failed to find the ${_vtk_dependency}
component.
") 312 # Check its dependencies. 313 list(APPEND _vtk_components_to_check 314 "${_vtk_dependency}
") 315 set(_vtk_all_found FALSE) 318 if (NOT DEFINED "${CMAKE_FIND_PACKAGE_NAME}_${_vtk_component}_FOUND
") 319 if (_vtk_all_dependencies_checked) 320 set("${CMAKE_FIND_PACKAGE_NAME}_${_vtk_component}_FOUND
" 1) 322 list(APPEND _vtk_components_to_check 326 unset(_vtk_all_dependencies_checked) 327 unset(_vtk_dependency) 328 unset(_vtk_dependencies) 330 unset(_vtk_component) 331 unset(_vtk_components_to_check) 333 set(_vtk_missing_components) 334 foreach (_vtk_component IN LISTS "${CMAKE_FIND_PACKAGE_NAME}_FIND_COMPONENTS
") 335 if (NOT ${CMAKE_FIND_PACKAGE_NAME}_${_vtk_component}_FOUND AND ${CMAKE_FIND_PACKAGE_NAME}_FIND_REQUIRED_${_vtk_component}) 336 list(APPEND _vtk_missing_components 341 if (_vtk_missing_components) 342 list(REMOVE_DUPLICATES _vtk_missing_components) 343 list(SORT _vtk_missing_components) 344 string(REPLACE ";
" ",
" _vtk_missing_components "${_vtk_missing_components}
") 345 set("${CMAKE_FIND_PACKAGE_NAME}_FOUND
" 0) 346 set("${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE
" 347 "Could not find the ${CMAKE_FIND_PACKAGE_NAME}
package with the following required components: ${_vtk_missing_components}.")
349 unset(_vtk_missing_components)
351 set("${CMAKE_FIND_PACKAGE_NAME}_LIBRARIES")
352 if (NOT DEFINED "${CMAKE_FIND_PACKAGE_NAME}_FOUND")
353 # If nothing went wrong, we've successfully found the package.
354 set("${CMAKE_FIND_PACKAGE_NAME}_FOUND" 1)
355 set(_vtk_found_components
356 ${${CMAKE_FIND_PACKAGE_NAME}_FIND_COMPONENTS})
357 if (NOT _vtk_found_components)
358 set(_vtk_found_components
359 ${${CMAKE_FIND_PACKAGE_NAME}_AVAILABLE_COMPONENTS})
361 list(REMOVE_ITEM _vtk_found_components
362 # These components need to always be requested explicitly since they are
364 WrapHierarchy;vtkpython;pvtkpython;WrapPython;WrapPythonInit;vtkjava;ParseJava;WrapJava)
365 # Build the `_LIBRARIES` variable.
366 foreach (_vtk_component IN LISTS _vtk_found_components)
367 if (TARGET
"${CMAKE_FIND_PACKAGE_NAME}::${_vtk_component}")
368 list(APPEND
"${CMAKE_FIND_PACKAGE_NAME}_LIBRARIES" 369 "${CMAKE_FIND_PACKAGE_NAME}::${_vtk_component}")
372 unset(_vtk_component)
373 unset(_vtk_found_components)
376 set(CMAKE_PREFIX_PATH "${${CMAKE_FIND_PACKAGE_NAME}_CMAKE_PREFIX_PATH_save}
") 377 unset("${CMAKE_FIND_PACKAGE_NAME}_CMAKE_PREFIX_PATH_save
") 379 set(CMAKE_MODULE_PATH "${${CMAKE_FIND_PACKAGE_NAME}_CMAKE_MODULE_PATH_save}
") 380 unset("${CMAKE_FIND_PACKAGE_NAME}_CMAKE_MODULE_PATH_save
") 382 foreach (_vtk_temp_variable IN LISTS _vtk_temp_variables) 383 unset("${_vtk_temp_variable}
") 385 unset(_vtk_temp_variable) 386 unset(_vtk_temp_variables) 388 # Compatibility with old code. 389 if (NOT ${CMAKE_FIND_PACKAGE_NAME}_FIND_VERSION) 390 set(VTK_USE_FILE "${CMAKE_CURRENT_LIST_DIR}/
vtk-use-file-deprecated.cmake
") 391 elseif (${CMAKE_FIND_PACKAGE_NAME}_FIND_VERSION VERSION_LESS "8.90
") 392 set(VTK_USE_FILE "${CMAKE_CURRENT_LIST_DIR}/
vtk-use-file-compat.cmake
") 394 set(VTK_USE_FILE "${CMAKE_CURRENT_LIST_DIR}/
vtk-use-file-error.cmake
")
boost::graph_traits< vtkGraph *>::vertex_descriptor target(boost::graph_traits< vtkGraph *>::edge_descriptor e, vtkGraph *)
#define VTK_BUILD_VERSION
#define VTK_MINOR_VERSION
#define VTK_MAJOR_VERSION