[vtkusers] Problem with vtkGreedyTerrainDecimation algorithm
Manoj Mohadikar
manoj_mohadikar at persistent.co.in
Fri Mar 31 10:30:34 EST 2006
Hi,
I have vtkPolyData. I need to use vtkGreedyTerrainDecimation algorithm for
the decimation.
For vtkGreedyTerrainDecimation, input is expected as vtkImageData, so I used
vtkProbeFilter to
convert the vtkPolyData to vtkImageData and passed this vtkImageData to
vtkGreedyTerrainDecimation.
But at runtime I m getting the error as
"vtkGreedyTerrainDecimation (0x0032F2A0): This class treats 2D
height fields only"
Is there any problem with the flow? Do I need to convert the vtkImageData to
2D (height fields format)??
Is so what is the procedure to achieve the same? Is there any alternative to
give the input directly as vtkImageData 2D (height fields format)??
Thanks in advance
Manoj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060331/814cde59/attachment.htm>
More information about the vtkusers
mailing list