[Insight-users] delete the point in vtkPolyData

Longfei Cong lfcong at nlpr.ia.ac.cn
Tue, 06 Apr 2004 11:29:01 +0800


Hi insight-users=A3=AC
   I have got a surface of vtkPolyData and I want to delete some=
 points in it. The code below throw a error while running.  Could=
 anyone help me!. Thanks in advance.


 vtkPolyData *dd=3DvtkPolyData::New();
  dd->DeepCopy(surface->GetOutput());
  dd->DeletePoint(0);

best regards!

 =09=09=09=09

=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1Longfei Cong
=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1lfcong at nlpr.ia.ac.cn
=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A12004-04-06