[vtkusers] Replacing Points in polydata mesh

David Doria daviddoria at gmail.com
Thu Apr 12 14:19:38 EDT 2012


On Thu, Apr 12, 2012 at 2:16 PM, Bayliss, Chris (Chicago)
<cbayliss at gnresound.com> wrote:
>
>
> I would like the surface topology to move with the new point locations.
> From the earlier comments, it sounds like I would also have to modify the
> polydata cells?
>
>
>
> Would the points->Modified() function, recalculate the cells with the new
> points properly, or do I need to add some other functions to change the cell
> points?

If you want the topology to stay the same you don't have to do
anything. Once the data set is redrawn it will do what you want. I'd
suggest trying it with a sphere source or similar so you can convince
yourself of how it works.

David



More information about the vtkusers mailing list