<div>Hi all,</div>
<div> </div>
<div>let's say i have a mesh (unstructuredGrid) and i want to visualize it before and after i have modified it (e.g. change of one of its points its coordinates)</div>
<div> </div>
<div>Some code (not complete):</div>
<div>
<p>vtkSmartPointer<vtkUnstructuredGrid> Mesh = vtkSmartPointer<vtkUnstructuredGrid>::New();</p>
<p>Mesh->SetPoints(MeshPoints);</p>
<p>vtkSmartPointer<vtkDataSetMapper> Mapper = vtkSmartPointer<vtkDataSetMapper>::New();</p>
<p>Mapper->SetInput(Mesh);</p>
<p></p>
<p>vtkSmartPointer<vtkActor> Actor = vtkSmartPointer<vtkActor>::New();</p>
<p>Actor->SetMapper( Mapper );</p>
<p>VTKRenderer->AddActor( Actor );</p>
<p>VTKRenderer->ResetCamera(); </p>
<p>VTKRenderer->Render();</p>
<p>// then modify one point of the mesh (point with id=1)</p>
<p>MeshPoints->SetPoint(1, newX, newY, newZ);</p>
<p>Then i want to display the modified mesh. How can i do it?</p>
<p> </p>
<p>Thanks,</p>
<p>Bill</p></div>