[vtk-developers] Templated filters

David Gobbi david.gobbi at gmail.com
Sat Feb 6 11:39:35 EST 2010


On Sat, Feb 6, 2010 at 9:27 AM, Karthik Krishnan
<karthik.krishnan at kitware.com> wrote:
> 1. With VTK, we don't use templates in the interface (header files)
> due to wrapping issues. That said, vtkFilter<vtkPointSet, vtkPolyData>
> is probably abstract, so it won't be be wrapped anyway; so this may be
> a non-issue

The wrappers must still wrap the abstract classes, even if they can't
instantiate them.  This is the only way that they can wrap the methods
defined in abstract classes.  It's also necessary for the wrappers to
wrap the abstract classes so that they can trace the hierarchy
backwards to the parent classes of each abstract class.

   David



More information about the vtk-developers mailing list