[vtkusers] Visualize cell normal vector of polydata

Favre Jean jfavre at cscs.ch
Wed Nov 29 11:28:59 EST 2017


May I suggest the use of a vtkGlyph3DMapper, instead of a vtkGlyph3D?

a vtkGlyph3DMapper enables you to set two options:

glypher = vtkGlyph3DMapper();
glypher.MaskingOn();
glypher.SetMaskArray("masks");

This requires your input to have a vtkBitArray scalar field called "masks" which you can set by thresholding on your other field data.

-----------------
Jean/CSCS


More information about the vtkusers mailing list