[Paraview] Accessing field and wind blade data (together) in python filter

David E DeMarle dave.demarle at kitware.com
Thu Jul 28 11:25:31 EDT 2011


One thought that comes to mind is the Resample with DataSet filter,
which is a filter which has the effect of merging pipeline branches
together.

Set the Input to be the field and the Source to be the blade and the
result will be a copy of the blade with the data values of the field
sampled onto the points of the blade.

David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109



On Tue, Jul 26, 2011 at 6:29 PM, Sohail Shafii <sohailshafii at yahoo.com> wrote:
> Hi,
> Right now the field and blade data are separate for the wind blade reader
> (as expected).  I was wondering if, after creating a python filter below the
> blade object in the pipeline, I could somehow access the field data?  I'm
> guessing not based on some experimenting.
> I need to do this because I have to correlate points on the blade to the
> same areas in the field to calculate certain quantities (which requires
> interpolated field values).  If the python route is not possible then I can
> just make changes in vtkWindBladeReader instead.
> Sohail
> _______________________________________________
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>


More information about the ParaView mailing list