[vtkusers] How to get a fixed number of vertices after decimation in VTK

jhirsch jan.hirsch at st.ovgu.de
Thu Mar 31 11:25:13 EDT 2016


Hello,
1. You have to give the reduction algorithm the freedom to reduce radical
enough. Set Preseve Topology off and set Boundary Vertex deletion on.
2. Since you can only set the target reduction as a factor of the existing
elements, I would calculated it as desiredNumberOfPoints/numberOfPoints.

Another way would be to use vtkMaskPoints. Set this to random sampling and
the maximum number of points. Maybe you need to set GenerateVertices in
order to see something...



--
View this message in context: http://vtk.1045678.n5.nabble.com/How-to-get-a-fixed-number-of-vertices-after-decimation-in-VTK-tp5737349p5737463.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list