[vtkusers] Using two different colors on top/bottom cell sides

Bill Lorensen bill.lorensen at gmail.com
Tue Dec 10 14:21:19 EST 2013


If you mean a band of red and a band of blue (not a conitnuous
transition), then split the each cell into two cells, color one red,
the other blue.



On Tue, Dec 10, 2013 at 1:28 PM, daralex <alex.darrau at gmail.com> wrote:
> Dear all,
>
> I would have a question regarding VTK.
> I have an unstructured grid where i am trying to plot a temperature
> distribution on. I manage to get one color per cell suing lookup table but i
> would like to color the top of one cell in blue and the bottom in red, do
> you know if it is possible using VTK ? Can you explain me how to deal with
> it ?
>
> Thank you in advance for your answer
>
> Alex
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Using-two-different-colors-on-top-bottom-cell-sides-tp5724946.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtkusers mailing list