Not sure. Perhaps actor->update?<span></span><br><br>On Tuesday, August 6, 2013, Renil wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you for the input.<br>
<br>
I saw the examples, and before the sphereSource initialization I added:<br>
<br>
vtkSmartPointer<vtkVertex> sphere1 =<br>
vtkSmartPointer<vtkVertex>::New();<br>
sphere1->GetPointIds()->SetId(0, 0);<br>
vtkSmartPointer<vtkVertex> sphere2 = vtkSmartPointer<vtkVertex>::New();<br>
sphere2->GetPointIds()->SetId(1, 1);<br>
vtkSmartPointer<vtkVertex> sphere3 = vtkSmartPointer<vtkVertex>::New();<br>
sphere3->GetPointIds()->SetId(2, 2);<br>
vtkSmartPointer<vtkVertex> sphere4 = vtkSmartPointer<vtkVertex>::New();<br>
sphere4->GetPointIds()->SetId(3, 3);<br>
<br>
vtkSmartPointer<vtkCellArray> spheresArray =<br>
vtkSmartPointer<vtkCellArray>::New();<br>
spheresArray->InsertNextCell(sphere1);<br>
spheresArray->InsertNextCell(sphere2);<br>
spheresArray->InsertNextCell(sphere3);<br>
spheresArray->InsertNextCell(sphere4);<br>
<br>
vtkSmartPointer<vtkPolyData> polydata =<br>
vtkSmartPointer<vtkPolyData>::New();<br>
polydata->SetPoints(points);<br>
polydata->SetVerts(spheresArray);<br>
<br>
Is the sphereSource not letting me delete the cells?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/trade-vtkPoints-between-actors-tp5722498p5722529.html" target="_blank">http://vtk.1045678.n5.nabble.com/trade-vtkPoints-between-actors-tp5722498p5722529.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote>