[vtkusers] how to reduce # of points in a polyline ?

Sebastien_MARAUX maraux at ondim.fr
Mon Jun 3 11:12:29 EDT 2002


Hello,

I tried vtkQuantizePolyDataPoints, but it ends with bad 
looking (kind of pixelated) lines with square effect. 

I would prefer a "lesser square" method or something like 
that, applied between the 2 extreme points, avoiding vertical 
and horizontal lines.

for example, an ideal function could remove existing points 
one by one till a certain amount of error.

is there a function able to simplify a line this way ?

Sebastien MARAUX
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020603/fb3a617b/attachment.htm>


More information about the vtkusers mailing list