[Paraview] Multiple polydata in same pipeline -- don't always seem centered around same origin

Sohail Shafii sohailshafii at yahoo.com
Wed Oct 12 15:34:05 EDT 2011


Hi,


I have been writing some code that basically computes points on certain portions of line segments (kind of line intersection points), and I can't help but notice that when I zoom in, these points appear "disconnected" from lines the should lie on top of.

To illustrate my point, I have created a simple example using stock paraview filters (see attachments).  In centroid_zoomed_out, I basically create a line using the line source filter, then using a programmable filter I compute its centroid and create a vertex.  When I render both pieces of polydata, the result looks correct when one is zoomed out.


But zoomed-in (centroid_zoomed_in), it appears to be disconnected from the line.  Is there any reason for this? I have never rendered points and lines together in paraview, but I would expect them to exist around the same origin.


Thanks, Sohail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20111012/006af844/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: centroid_zoomed_out.png
Type: image/png
Size: 28387 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20111012/006af844/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: centroid_zoomed_in.png
Type: image/png
Size: 30356 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20111012/006af844/attachment-0003.png>


More information about the ParaView mailing list