[vtkusers] vtkContourFilter & vtkLocator question

Subha smahaade at essence.utsi.edu
Tue May 27 10:13:31 EDT 2003


Hi,
I have a quick question about the vtkContourFilter and vtkLocator classes. 

When rendering a Structured points dataset, if the cells in the grid are not 
contoured in order beginning from the 0th cell to the last cell in the grid, 
there seems to be a two fold increase in the time taken to contour all the 
cells ( the code in the vtkContourFilter::Execute() has been modified to 
shuffle the order in which the cells are contoured ).
The parts where the index for getting the correct marching cubes case and 
interpolation seem straight forward. That leaves the part where the locator 
comes in and later the inserting the polygons created in the vtkPolyData 
object. but here too, the code did not seem to suggest anyhting that might 
depend on the order the cells are processed.

Does anyone have any insights into anything that might be happening inside/ 
outside of the above mentioned classes ?  

Thanks in advance for any help.

Regards,
S.



More information about the vtkusers mailing list