[vtkusers] Use of vtkGradientFilter..??

siqi chen siqichensc at gmail.com
Sat Feb 6 09:44:34 EST 2010


 Probably distance filed can be used to illustrate the gradient direction. I
upload a signed distance field to
www.rpi.edu/~chens/download/fastMarching.vti

siqi

On Sat, Feb 6, 2010 at 9:30 AM, David Doria
<daviddoria+vtk at gmail.com<daviddoria%2Bvtk at gmail.com>
> wrote:

> 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
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100206/77f332a7/attachment.htm>


More information about the vtkusers mailing list