[vtkusers] Rotating a vector field

Jothy jothybasu at gmail.com
Thu Oct 7 11:26:31 EDT 2010


What about using vtkPolyDataTransformFilter to transform the polydata of the
arrow source (arrowSource->GetPolyData()).

Jothy


On Thu, Oct 7, 2010 at 2:27 PM, David Doria <daviddoria at gmail.com> wrote:

> I have a 2D vector field (image gradient, in a vtkImageData) and I want to
> rotate every vector by 90 degrees. Is there a filter that does this?
>
> 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
>
>


-- 
Research Scholar
Dept. of Medical Physics
Clatterbridge Centre for Oncology
UK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101007/bdf77ca6/attachment.htm>


More information about the vtkusers mailing list