effectiveness of vtkCleanPolyData

John Biddiscombe j.biddiscombe at rl.ac.uk
Sat Oct 30 09:27:01 EDT 1999


>for the vtkCleanPolyData filter (from 0.0 up to 1000), there are 2

You are aware that the Tolerance is specified as a fraction of the Diagonal
of the dataset?

For a diagonal of 1km and an (absolute) tolerance of 1m, tolerance should
be 0.001

use : absolutevalue/DataSet->GetLength()

Am I the only one that finds this a little tedious ?

Delaunay2D, DecimatePro, CleanPolyData all have relative tolerances, and
probably many more I can't recall.

To VTK maintainers
------------------
If I add an option to the above filters
SetToleranceToAbsolute
SetToleranceToRelative

and modify the appropriate code to account for this, any objection to me
putting this in incoming/contrib as a potential addition?

John B



-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------




More information about the vtkusers mailing list