#
# A new boolean operations filter for VTK by Ronald Romer
#
vtk_fetch_module(Boolean
"A new boolean operation filter by Ronald Romer"
GIT_REPOSITORY https://github.com/lorensen/vtkbool
# 12 September - fix warnings
GIT_TAG 33ba44c57ad2cca726389102a2eea1a6259c47df
)
then run the cmake there is no remote opration for activate the vtkbool.
We build and Python-wrap a modified version of vtkbool VTK9 version. If you want to use vtkbool in Python without building anything then you can use it in 3D Slicer’s Python environment. Maybe you can also copy the Python DLLs into other Python environments and use them there (currently Python 3.6, in a few weeks it will be Python 3.9).
@jcfr is working on reworking the VTK remote infrastructure to allow building additional libraries, such as VMTK, vtkbool, CIP, etc., so hopefully in a year or so vtkbool will be built using github CI and will be available via pip install from PyPI.
The Python module will be generated automatically, if three conditions are met:
vtkbool is configured as a library
Python 2 or 3 is installed with header files
VTK itself is wrapped to Python
After a successful compilation, the module can be used as follows:
If you use Slicer’s Combine Models module’s Python wrapping then you can find vtkbool filters in vtkSlicerCombineModelsModuleLogic.dll and vtkSlicerCombineModelsModuleLogicPython.pyd.