<span dir="ltr" id=":30">Probably distance filed can be used to illustrate the gradient
direction. I upload a signed distance field to <a href="http://www.rpi.edu/~chens/download/fastMarching.vti">www.rpi.edu/~chens/download/fastMarching.vti</a><br><br>siqi<br></span><br><div class="gmail_quote">On Sat, Feb 6, 2010 at 9:30 AM, David Doria <span dir="ltr"><<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><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" target="_blank">rakeshthp@in.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; 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" target="_blank">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>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>