[Paraview] normals in programmable filter
Andy Bauer
andy.bauer at kitware.com
Tue Jun 26 14:16:56 EDT 2012
Hi Katie,
I'm guessing you're looking at the arrays that are available to
pseudo-color with in the GUI. Those normals usually aren't in the filter
output data set. To see what arrays are available, look under the
information tab. To create those arrays for polydata (possibly using the
extract surface filter) and then use the generate surface normals filter.
Andy
On Tue, Jun 26, 2012 at 2:09 PM, Kathleen Schwarz <kas382 at cornell.edu>wrote:
> Hello,
> I am trying to transform a surface using a programmable filter, and I am
> unable to get the output to use the normals. Even the most basic filter:
>
> output.PointData.append(inputs[0].PointData['Normals'], 'Normals')
>
> results in the mesh being copied but the normals not being used. The
> normals appear as a Data Array, but are not used in rendering. However,
> using the copy arrays option in the properties of the programmable filter
> lead to the normals being used correctly.
>
> What I would like to do is to apply an affine transformation on the point
> positions and normals (and visualize contours of a scalar field on a
> uniform, nonorthogonal parallelepiped grid), so I can't just use the copy
> arrays option.
>
> Thanks in advance!
> -Katie
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120626/4259c1db/attachment.htm>
More information about the ParaView
mailing list