[vtkusers] height field from point data

David Doria daviddoria at gmail.com
Thu Dec 6 07:20:10 EST 2012


On Wed, Dec 5, 2012 at 8:52 PM, Jie Li <boyeggplant110 at gmail.com> wrote:

> thanks very much! it works!
> And would you mind giving more suggestions? I want to use different colors
> to show the magnitude of height. I add a lookup table but I just get a red
> solid volume.
> JIE
>

Please check out the many examples here:

http://www.vtk.org/Wiki/VTK/Examples/Cxx

If you do a ctrl+f search for "height", you will find two methods for doing
this sort of coloring:

http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/Color_a_mesh_by_height
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/ElevationFilter

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121206/bcc4b232/attachment.htm>


More information about the vtkusers mailing list