[vtkusers] Missing Normals in vtkPolyData after filtering through ProbeFilter
Seun Odutola
seun at rogue-research.com
Fri Apr 8 16:58:04 EDT 2016
Hi David,
Thanks a lot for the help, I activated the PassPointArrays & it worked. I can now access the normals, however I would like to know if the order in which the normals were arranged prior to being filtered by the probe changes after the filtering? If so, this may affect the way I access the normals individually.
Regards,
Seun
> On Apr 8, 2016, at 1:27 PM, David Cole <DLRdave at aol.com> wrote:
>
> The docs say PassPointArrays is Off by default. Have you tried turning it on?
>
> http://www.vtk.org/doc/nightly/html/classvtkProbeFilter.html#ad5e5c5434053fe2678166795142c1a1a
>
> Is the polydata you are asking for the normals the input to your
> filter, or some other polydata? (It was unclear from your original
> question.)
>
>
> HTH,
> David C.
>
>
>
> On Fri, Apr 8, 2016 at 12:59 PM, Seun Odutola <seun at rogue-research.com> wrote:
>> Hi Everyone,
>>
>> I have a vtkPolyData created from a Mesh, the polydata has been
>> assigned points, strips as well as normals. Then it’s passed through a
>> vtkProbeFilter as the input data & the probe filter source connection is set
>> as a vtkImageBlend output. The issue I have is when I try to access the
>> resulting polydata’s Normals via polydata->GetPointData()->GetNormals() it
>> always returns NULL. Somewhere down the line I believe the normals are being
>> removed or ignored. Can someone point me in the right direction?
>>
>> Regards,
>> Seun
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
More information about the vtkusers
mailing list