[Paraview] Trouble making simple VTK filter plugin
Jérôme
jerome.velut at gmail.com
Mon Oct 26 05:33:39 EDT 2009
If someone confirms that paraview proxy have to represent a vtkAlgorithm or
one of its subclass, that will mean that you cannot use
vtkIterativeClosestPointTransform directly as in the paraview pipeline. And
yes, you got it, a custom VTK class would be needed to embed the pipeline
connection and the transformation computation.
Jerome
2009/10/25 David Doria <daviddoria at gmail.com>
> On Sun, Oct 25, 2009 at 3:31 PM, Jérôme <jerome.velut at gmail.com> wrote:
> > Hi,
> >
> > I took a look at your xml, and I didn't find any problems... So I verify
> in
> > the VTK doc if you didn't misused the vtkIterativeClosestPointTransform,
> > that I never had to work with. Especially, I checked the input data types
> > (that was one of my major crashes' cause!) and I found that this filter
> is
> > not a vtkAlgorithm (in the OO sense). And I think, but ParaView
> developers
> > have to confirm this, that the ParaView proxy -that's what you described
> in
> > your XML- concept is linked to vtkAlgorithm.
> >
> > If I am right, you cannot use the "Enabling VTK filters in ParaView"
> > wiki-way. In your case, you certainly will have to write a subclass of
> > vtkAlgorithm that outputs a matrix of transformation.
> >
> > Sorry for not being of more helps...
> >
> > Jerome
>
> Ah, that makes a lot of sense. I need to use a
> vtkTransformPolyDataFilter and set the input of this filter to the
> output of the vtkIterativeClosestPointTransform. Is this something
> that can be chained together in paraview? Or do I need to make a VTK
> filter that does all of this in one step and interface to the new
> filter with Paraview?
>
> Thanks,
>
> David
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20091026/b7741dbd/attachment.htm>
More information about the ParaView
mailing list