<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor=white lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>Hi,<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-indent:.5in'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'>I have vtkPolyData. I need
to use vtkGreedyTerrainDecimation algorithm for the decimation.<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-indent:.5in'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'>For vtkGreedyTerrainDecimation,
input is expected as vtkImageData, so I used vtkProbeFilter to<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-indent:.5in'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'>convert the vtkPolyData
to vtkImageData and passed this vtkImageData to vtkGreedyTerrainDecimation.<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-indent:.5in'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'> But at runtime I m
getting the error as <o:p></o:p></span></font></p>
<p class=MsoNormal><b><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt;font-weight:bold'> “vtkGreedyTerrainDecimation
(0x0032F2A0): This class treats 2D height fields only” <o:p></o:p></span></font></b></p>
<p class=MsoNormal style='text-indent:.5in'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'>Is there any problem with
the flow? Do I need to convert the vtkImageData to 2D (height fields format)?? <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-indent:.5in'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'>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)??<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>Thanks in advance<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>Manoj<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
</div>
</body>
</html>