[vtkusers] How to insert new node into existing mesh?

David Doria daviddoria at gmail.com
Wed Jan 12 07:43:22 EST 2011


On Wed, Jan 12, 2011 at 6:53 AM, rakesh patil <prakeshofficial at gmail.com> wrote:
> Hello,
> I have a triangular mesh. I need to insert one more node in this mesh, in
> such a way that, after adding the new point, it should automatically be
> triangulated and displayed. How to implement this?
> Thanks

I think you could just do
polydata->GetPoints()->InsertNextPoint(x,y,z) to get the new point
into the mesh. However, I don't think there's an easy way to
triangulate just the new part.

David



More information about the vtkusers mailing list