<div><div class="gmail_quote">On Thu, Feb 4, 2010 at 12:04 PM, Rakesh Patil <span dir="ltr"><<a href="mailto:rakeshthp@in.com">rakeshthp@in.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi.<br><br>Can any one explain me the exact use of vtkGradientFilter.?? What it is used for..?<br><br>Thanks<br><br></blockquote><div><br></div><div>It sounds like it computes the gradient of a scalar field defined at the points or cells of any data set (ImageData, StructuredGrid, UnstructuredGrid, PolyData).</div>
<div><br></div><div>I got a usage example from a test and adapted it a little bit (got rid of the CREATEMACROS): </div><a href="http://www.vtk.org/Wiki/VTK/Examples/GradientFilter">http://www.vtk.org/Wiki/VTK/Examples/GradientFilter</a><div>
<br></div><div>The gradient on this data set is hard to interpret. If someone has a data set that would illustrate a gradient better it would be much appreciated.</div><div><br clear="all">Thanks,<br><br></div><div>David</div>
</div></div>