[vtkusers] Re: problem with GetNumberOfPoints () and GetNumberOfCells ()

John Biddiscombe jbiddiscombe at skippingmouse.co.uk
Thu Feb 21 20:23:06 EST 2002


replace this...

> > // type PolyData
> >   vtkPolyData *polydatatemp = vtkPolyData::New();
> >     polydatatemp = skinDecimate->GetOutput() ;

with  this

skinDecimate->Update(); 
vtkPolyData *polydatatemp = skinDecimate->GetOutput() ;

(and don't call polydatatemp->Delete() because you haven't registered it)

JB




More information about the vtkusers mailing list