[vtkusers] vtkPolyDataNormals with incoming cell data

David Gobbi david.gobbi at gmail.com
Mon Jun 9 19:12:16 EDT 2014


Hi Gerrick,

Does the input data have any triangle strips?  The filter will break these
into individual triangle cells.

  David


On Mon, Jun 9, 2014 at 3:51 PM, Gerrick Bivins <
Gerrick.Bivins at halliburton.com> wrote:

>  Hi All,
>
> I have a dataset which contains cell data for which I'm generating
> streamlines via vtkStreamTracer.
>
> I then pass this through a vtkTubeFilter. Up to this point, all is well.
>
> The next step in the pipeline is passing this through a
> vtkDataSetSurfaceFilter.
>
> Then I pass the output through a vtkPolyDataNormals filter and this is
> where the problem seems to occur.
>
>
>
> The output of the vtkPolyDataNormals filter hasnew cells that were created
> during
>
> the execution of the vtkPolyDataNormals filter which didn't seem correct.
>
> Looking at the code, I think it is only copying the input cell data.
>
> This causes problems when I try to query the output polydata.
>
> For instance, which original cell  was a cell in the output generated from?
>
>
>
> Anyone have some ideas on why vtkPolyDataNormals would create new cells?
>
> My understanding was that it would only create new points where it needed
> to split
>
> edges based on the split feature edges setting and the angle specified.
>
>
>
> Gerrick
>
> PS I'm still using 5.10.*
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140609/52006387/attachment.html>


More information about the vtkusers mailing list