[vtkusers] (no subject)

David Doria daviddoria at gmail.com
Mon May 14 15:22:15 EDT 2012


On Mon, May 14, 2012 at 3:18 PM, tasnim <hanene-jeder at hotmail.fr> wrote:
> hi evereybody,
> I used this vtk example in my application
>http://www.vtk.org/Wiki/VTK/Examples/Cxx/Picking/CellPicking , in order to
> pick a cell, and now, i wanna to change this example
>http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/Subdivision , in order to
> do a local subdivision in my cell .Any help please

After a quick look, I don't see a way to apply the subdivision filters
to a cell (they must be applied to a vtkPolyData which contains the
cells you want to subdivide). Because of that, I think you'll have to
construct a vtkPolyData of the selected cell and then subdivide it.

David



More information about the vtkusers mailing list