Hi. I'm working with surfaces that have a very large quantity of cells. I'm doing a lot of picking (for interaction) on them. The problem is that picking with the vtkCellPicker is very slow if not optimized with vtkCellLocators. But the vtkCellLocators added to the vtkCellPicker have to be always in sync with the PolyDataMappers used by the scene renderer. Right now I'm keeping a list of surfaces added to the vtkCellPicker in my plugin. In this implementation, the vtkCellLocators are updated only when some plugin operation is triggered. I don't really like this so much.
Where do you recommend me to store the vtkCellLocator to be able to update it when the vtkPolyData is updates? Do you recommend me to subclass the SurfaceMapper3D and add code there to manage the vtkCellLocator? Thanks in advance, Federico
------------------------------------------------------------------------------
_______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users