[vtkusers] polydata update ....

dean.inglis at camris.ca dean.inglis at camris.ca
Thu Aug 4 20:13:37 EDT 2005


try: 

points->Setpoint( idpoint, newpoint );

mesh->Modified(); // do this after modifying underlying points

renWin->Render()


Dean




Hi vtkusers....


In my application I need to deform a polydata mesh. I'm trying to replace 
points of polydata and call render(), but this method does not work ok...
After render() a polydata appear static and does not update. 

my code:

points = mesh->GetPoints();

for each point that need update{

points->Setpoint( idpoint, newpoint );
}

renWin->Render()





More information about the vtkusers mailing list