[vtk-developers] const correctness

Bill Lorensen bill.lorensen at gmail.com
Thu Feb 10 16:16:22 EST 2011


ITK was designed with const-ness in mind from the start. Admittedly we
still have some issues now and then, but basically it seems like a
good thing when you design a new toolkit.

I think it would be very difficult to retrofit VTK const-ness and
maintain backward compatibility.

However, there may be places as already mentioned (e.g. char *) where
it could be done without disruption.

And, I also agree with David G. that such changes should be tried with
a couple of our biggest customers, namely paraview and Slicer4.

Bill



More information about the vtk-developers mailing list