[vtkusers] adding cells to unstructured grid don't show up

Bryn Lloyd blloyd at vision.ee.ethz.ch
Tue Mar 3 05:19:04 EST 2009


Hi,


I have a simple visualization pipeline:

first I create simple mesh, call it "grid", then I do:

grid->mapper->actor->render


This works fine.
But if I add cells to the mesh using a callback, these new cells are not 
rendered. Why? I output the current number of cells, and they increase, 
but this has no effect on the visualization.


I got it to work by each time creating a new mapper. Is this necessary?


Thanks
Bryn



More information about the vtkusers mailing list