[vtk-developers] int to bool changes

Sean McBride sean at rogue-research.com
Thu Jan 4 12:44:27 EST 2018

Hi all,

I have another patch here:


To slowly but surely replace the many 'int' in VTK that should be 'bool'.

Basically there's a vtkTypeBool typedef that is currently mapped to 'int', but can eventually be mapped to 'bool'.

I'd like to be able to set up a nightly build where it uses real 'bool'.  How should we accomplish that?  A new CMake build option to change how that typedef is defined?  Or maybe use 'bool' automatically if VTK_LEGACY_REMOVE is 1?  Or...?


Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada

More information about the vtk-developers mailing list