[vtkusers] Color mapping 3d points cloud
adrian C A
adrianca88 at hotmail.com
Fri Mar 30 04:25:26 EDT 2012
Hi,
I have a cloud of 3d points that I read from file (each line stores de x y z coordinates) and save in a vtkPolyData using a vtkPoints. Next, using vtkDelaunay3d I achive to get the 3D rendering.
My problem is that I want to create a colorMapping that represents different heigh with different colour, but I don't know how set this scalar value (which, in this case, depends on the z variable).
Sorry if the question is very easy to solve but I am very newbie with VTK.
A lot of thanks,
Adrian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120330/22f686e0/attachment.htm>
More information about the vtkusers
mailing list