[vtkusers] Visualize cell normal vector of polydata
Favre Jean
jfavre at cscs.ch
Tue Nov 28 10:59:44 EST 2017
I am having doubts about the fact that one can *directly* generate cell-centered normal vectors. Looking at the source of ParaView, I see that if the association is FIELD_ASSOCIATION_CELLS, then vtkPVGlyphFilter::UseCellCenters() returns TRUE and a vtkCellCenters() is created to act as input.
for reference:
https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/VTKExtensions/Default/vtkPVGlyphFilter.cxx
thus my suggestion is to insert a vtkCellCenters() in your pipeline, before the Glyph
-----------------
Jean/CSCS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20171128/04f9002d/attachment.html>
More information about the vtkusers
mailing list