Skip to content
Snippets Groups Projects
Forked from VTK / VTK
33898 commits behind the upstream repository.
user avatar
Max Smolens authored
If VTK_ENABLE_KITS is ON, VTK kits and modules that are not associated with any
kit will be wrapped. The effect is that drastically fewer libraries are created.

Take vtkCommon as an example. When VTK_ENABLE_KITS is OFF, a library is
generated for each wrapped module:

    vtkCommonColorPython27D-x.y.dll
    vtkCommonComputationalGeometryPython27D-x.y.dll
    vtkCommonCorePython27D-x.y.dll
    vtkCommonDataModelPython27D-x.y.dll
    vtkCommonExecutionModelPython27D-x.y.dll
    vtkCommonMathPython27D-x.y.dll
    vtkCommonMiscPython27D-x.y.dll
    vtkCommonSystemPython27D-x.y.dll
    vtkCommonTransformsPython27D-x.y.dll

When VTK_ENABLE_KITS is ON, a single "kit" library is generated:

    vtkCommonKitPython27D-x.y.dll

The wrapped kits have the suffix "Kit" to avoid naming conflicts with existing
libraries like "vtkFilterPython".

As part of this change, the Python wrapping function has been split into two
functions, one which wraps the code and another which builds the wrapped code.
The new function is backwards compatible, but to update client code, replace
calls like:

    vtk_add_python_wrapping(${module})

with:

    vtk_add_python_wrapping(${module} module_srcs)
    vtk_add_python_wrapping_library(${module} module_srcs ${module})

Additionally, the functions "vtk_wrap_python" and "vtk_add_python_wrapping" have
been updated to understand a list of modules as input.

Co-authored-by: default avatarJean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
Co-authored-by: default avatarMax Smolens <max.smolens@kitware.com>
Co-authored-by: default avatarBen Boeckel <ben.boeckel@kitware.com>
1ebfa5bc
History

VTK - The Visualization Toolkit

Introduction

VTK is an open-source software system for image processing, 3D graphics, volume rendering and visualization. VTK includes many advanced algorithms (e.g., surface reconstruction, implicit modelling, decimation) and rendering techniques (e.g., hardware-accelerated volume rendering, LOD control).

VTK is used by academicians for teaching and research; by government research institutions such as Los Alamos National Lab in the US or CINECA in Italy; and by many commercial firms who use VTK to build or extend products.

The origin of VTK is with the textbook "The Visualization Toolkit, an Object-Oriented Approach to 3D Graphics" originally published by Prentice Hall and now published by Kitware, Inc. (Third Edition ISBN 1-930934-07-6). VTK has grown (since its initial release in 1994) to a world-wide user base in the commercial, academic, and research communities.

Learning Resources

Reporting Bugs

If you have found a bug:

  1. If you have a patch, please read the CONTRIBUTING.md document.

  2. Otherwise, please join the one of the VTK Mailing Lists and ask about the expected and observed behaviors to determine if it is really a bug.

  3. Finally, if the issue is not resolved by the above steps, open an entry in the VTK Issue Tracker.

Requirements

In general VTK tries to be as portable as possible; the specific configurations below are known to work and tested.

VTK supports the following compilers:

  1. Microsoft Visual Studio 2008 (aka MSVC++ 9.0) or newer
  2. gcc 4.2 or newer
  3. Apple gcc 4.2 (from Xcode 3.1.4 or newer)
  4. Clang 3.0 or newer
  5. Apple Clang 3.0 (from Xcode 4.2) or newer

VTK supports the following operating systems:

  1. Windows Vista or newer
  2. Mac OS X 10.6.8 or newer
  3. Linux (ex: Ubuntu 12.04 or newer, Debian 4 or newer)

Contributing

See CONTRIBUTING.md for instructions to contribute.

License

VTK is distributed under the OSI-approved BSD 3-clause License. See Copyright.txt for details.