[vtk-developers] implementing vtkPolyData::ComputeBounds() ?

Lorensen, William E (CRD) lorensen at crd.ge.com
Mon Jul 31 15:40:16 EDT 2000


I hope you ran all of the regression tests before checking in the changes...

Bill

-----Original Message-----
From: Sebastien BARRE [mailto:sebastien at barre.nom.fr]
Sent: Monday, July 31, 2000 3:01 PM
To: Lisa Sobierajski Avila
Cc: vtk-developers at public.kitware.com
Subject: Re: [vtk-developers] implementing vtkPolyData::ComputeBounds()
?


At 09:54 31/07/00 -0400, Lisa Sobierajski Avila a ecrit:

>I think it is more correct to have the vtkPolyData::ComputeBounds() 
>implemented than to simply use the bounds of all points. Unless someone 
>thinks this isn't the case, I would suggest implementing it, test it, then 
>check it in - and we'll need to keep an eye on the timing for a few days 
>to make sure it doesn't significantly slow anything down. I don't think it 
>should since bounds only need to be recomputed when data is changed.

Done and checked in.

Well, for sure it can not be as fast as vtkPointSet::ComputeBounds(), *but* 
as soon as two objects share the same vtkPoints and have different 
topology, the new vtkPolyData::ComputeBounds will return more accurate 
results. BTW, I do not know a lot about the VTK (point) locators, but if 
some of them use buckets or binary space division, they will probably 
benefit from the fact that the space to divide is now closer to the "real" 
object.

Let's check the timings.
(Lisa, could you please send me (private email) the URL of the dashboard 
and the continuous build results, I'm at home this week, and have not 
bookmarked them).

Thanks


_______________________________________________
vtk-developers mailing list
vtk-developers at public.kitware.com
http://public.kitware.com/mailman/listinfo/vtk-developers




More information about the vtk-developers mailing list