[vtkusers] Color for 2D Mapper

Andrew E. Slaughter andrew.slaughter at inl.gov
Thu May 16 00:36:27 EDT 2019


I am attempting to create a script (attached) that has two quads, one on top of the other, within a 2D mapper. I would like to color the quads based on a lookup table using the cell data, but cannot get the colors to show up. I would appreciate help getting this simple script working. I am using VTK 7.1 on MacOS.

Thanks,
Andrew

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20190516/7346b6dd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: polydata.py
Type: text/x-python-script
Size: 1591 bytes
Desc: polydata.py
URL: <https://vtk.org/pipermail/vtkusers/attachments/20190516/7346b6dd/attachment.bin>


More information about the vtkusers mailing list