[vtkusers] How to color a polydata according to a WarpVector ?

mightos mightos at gmail.com
Fri Jun 26 10:14:27 EDT 2015


I'm using VTK to do some post treatment on 3D mechanical models. I've been
able to display the displacements thanks to vtkWarpVector().

In my case, I simply set my polydata as an input to the vtkWarpVector, then
I set as an input in a mapper the GetPolyDataOutput of this WarpVector.

Now,* I want to be able to color the cells of my polydata according to the
magnitude of the displacement.*
I usually learn from examples but I haven't been able to find something
similar to this on the web.

May I have to help ?
Thanks a lot.

View this message in context: http://vtk.1045678.n5.nabble.com/How-to-color-a-polydata-according-to-a-WarpVector-tp5732555.html
Sent from the VTK - Users mailing list archive at Nabble.com.

More information about the vtkusers mailing list