[vtkusers] vtkDecimatePro Bug
Sebastien_MARAUX
maraux at ondim.fr
Tue May 7 03:40:16 EDT 2002
Hi
Whereas decimatePro is setup to preserve topology,
It issues a 90% decimated polydata with modified topology,
where do I do something wrong (first decimation is quadric
clustering) ?
vtkDecimatePro *decimation2 = vtkDecimatePro::New();
decimation2->SetInput(decimation->GetOutput());
decimation2->PreserveTopologyOn();
//decimation2->SetTargetReduction(0.5);
decimation2->BoundaryVertexDeletionOff();
decimation2->SplittingOff();
decimation2->SetErrorIsAbsolute(1);
decimation2->SetAbsoluteError(0);
decimation2->SetMaximumError(0.0);
decimation2->Update();
Thanks for any help
Sebastien MARAUX
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020507/92f8b9d9/attachment.htm>
More information about the vtkusers
mailing list