[ITK-users] const SetInput in TriangleMeshToBinaryImageFilter

Noll, Matthias Matthias.Noll at igd.fraunhofer.de
Wed Jun 11 08:29:44 EDT 2014


Dear list,

I stumbled over a SetInput problem within the filter itk::TriangleMeshToBinaryImageFilter. SetInput is defined here without the use of a const classifier.
Is there a reason for this? As far as I can tell. The input mesh will not be touched. The derived ProcessObject's SetInput method uses however uses const. Am I missing something in the design of this image source or should this be fixed?

Best,
Matthias

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20140611/089ee3d6/attachment.html>


More information about the Insight-users mailing list