[vtkusers] change the point's coordinates
David Doria
daviddoria at gmail.com
Sat Sep 1 22:45:19 EDT 2012
On Sat, Sep 1, 2012 at 6:40 PM, cerina <cerine-baratelli at hotmail.fr> wrote:
> Hi All,
> I wanna to know if there is a possibility to change the point's
> coordinates
> at real-Time. It means that when i vusualize the mesh,and i pick on it, i
> want that i retieve the picked point and i change its coordinates. I found
> a
> line which, normally, gives me this possibility :
> this->Input->SetPointCoordinates(vtkIdType Point, double *x);??
> Best Regards,
>
> Cerina
>
Why not just:
Input->GetPoints()->SetPoint(pointId, newCoordinates)
?
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120901/f4144d4b/attachment.htm>
More information about the vtkusers
mailing list