[vtkusers] conversion of unstrucuredgrid to polydata (for using the QuantizePolyDataPoints filter)
luca penasa
luca.penasa at gmail.com
Wed Apr 20 09:00:11 EDT 2011
David Doria-2-3 wrote:
>
> You can use the IdFilter to generate an array with the original ids
> which will go along for the ride on the points which are passed
> through:
> http://www.itk.org/Wiki/VTK/Examples/Cxx/PolyData/PointCellIds
>
> You might also look at the tolerance functions of the superclass of
> the quantization filter:
> http://www.vtk.org/doc/nightly/html/classvtkCleanPolyData.html
>
I've tried using the IdFilter but the problem is that after the point
merging performed by the quantization filter i cannot gain any information
on points which are not preserved into the output polydata. Using the ids i
can only get a point-to-point "connection" for the points which are present
into the final point cloud but i cannot get any kind of information for the
points merged/deleted.
If i am right, the tolerance parameters of the filter does not permit to
disable the points merging functionality (e.g. setting the tolerance = -1 or
something like that)
--
View this message in context: http://vtk.1045678.n5.nabble.com/conversion-of-unstrucuredgrid-to-polydata-for-using-the-QuantizePolyDataPoints-filter-tp4309523p4315778.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list