point's coordinates changement not applied!!! help
Good morning vtkUsers,
I tried to change point's coordinates in my mesh by interactionStyle, but this modification wasn't applied!!!
here is my code:
Any suggestion to resolve this problem pleeease, and thanks.
Re: point's coordinates changement not applied!!! help
could I ask you, why polydata->Modified is not enough ?
well, i'm not sure if my answer is enough, because i'm newer also in vtk, but i think that the polydata is considered as a tree ( cell, edge, vertex), so in order to modify one of its node ( such vertex), you have to access to it, modify it, then apply the modification on it locally ( polydata->GetPoints()->modified();) then, apply it to the polydata and finally update it, in order to visualize the new mesh