If you make your filter have two inputs, you might be able to use
"select points on" and the "extract selection filter" as the second
input. That will let you get point actually on the surface.
Fred Fred wrote:
Sorry to put this message up but I suspect there is a way to get the
coords or point id of a point picked with "select point on"
functionnality, so please may someone give me some hints?
------------------------------------------------------------------------
From: [email protected]
To: [email protected]
Date: Sat, 16 Jan 2010 19:29:09 +0100
Subject: [Paraview] How to pick a point and get it in a plugin?
I would like to use the picking functionnality, ie pick a point of a
surface, and get it in my plugin, for instance to compute a streamline.
StreamTracer offers this functionnality but it actually does not work
because the pick point is not necessary a point of the dataset, as
with the picking functionnality when "select points on" is selected.
Thus, in case of a surface, the point does not lie on the surface ad
no streamline is computed (I mean with StreamTracer).
So my question is: is it possible to pick a point of a surface with
the "select points on" functionnality and get it back in my filter,
connected to the SetOrigin(double [3]) function for instance?
------------------------------------------------------------------------
Avec Internet Explorer, surfez en toute discrétion sur internet
Cliquez ici ! <http://clk.atdmt.com/FRM/go/182932252/direct/01/>
------------------------------------------------------------------------
Avec Internet Explorer, surfez en toute discrétion sur internet
Cliquez ici ! <http://clk.atdmt.com/FRM/go/182932252/direct/01/>
------------------------------------------------------------------------
_______________________________________________
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
_______________________________________________
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