[Paraview] Calling a vtk filter from my custom filter

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Thu Jan 15 10:41:14 EST 2009


You can instantiate the vtkExtractEdges filter and connect it to
shallow copy of your input (don't directly connect the input to avoid
nasty pipleine update issues) and then call Update() on the
vtkExtractEdges to make it execute. Then you can shallow copy
vtkExtractEdges' output to your own or further processes it.


On Thu, Jan 15, 2009 at 10:29 AM, Rafael March <rafaelmarch3 at yahoo.com> wrote:
> Hi ParaView Community,
>
> I'm programming a filter, and I would like to call the vtkExtractEdges
> filter from it. Since my filter acts on vtkPolyData, it extends
> vtkPolyDataAlgorithm.
>
> The problem is, the requestData() method of all filters are made protected,
> so that only derived classes are able to call it. Hence, I can't see how can
> I call this method from inside the body of my filter's code.
>
> What's the usual way to do things such this ?
>
> Thanks in advance,
> Rafael March.
>
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
>


More information about the ParaView mailing list