[vtkusers] Use of vtkGradientFilter..??
David Doria
daviddoria+vtk at gmail.com
Sat Feb 6 09:30:20 EST 2010
On Thu, Feb 4, 2010 at 12:04 PM, Rakesh Patil <rakeshthp at in.com> wrote:
> Hi.
>
> Can any one explain me the exact use of vtkGradientFilter.?? What it is
> used for..?
>
> Thanks
>
>
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).
I got a usage example from a test and adapted it a little bit (got rid of
the CREATEMACROS):
http://www.vtk.org/Wiki/VTK/Examples/GradientFilter
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.
Thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100206/2bb6a670/attachment.htm>
More information about the vtkusers
mailing list