[vtkusers] Color mapping please help
Luca Pallozzi Lavorante
lplavorante at gmail.com
Tue Mar 13 09:30:28 EDT 2007
Richard, have a look at Examples/DataManipulation/Cxx/Cube.cxx
Luca
On 3/13/07, Richard A Rowe <rar109 at york.ac.uk> wrote:
>
> Dear all vtk users,
>
> I am new to vtk. I'm using Python to write my applications. Currently I'm
> exploring color mapping with vtk. To become familiar with color mapping I'd
> like to color the surface of a sphere. I have values for each point on the
> sphere. I have an idea of how to go about this but I'm not sure how to write
> the code. I believe I need to put my values into an array and then some how
> use these values with a lookup table and then map the corresponding colors
> to the points on sphere.
>
> If someone could give me an idea of how to do this I would be very
> grateful.
>
> Kind regards,
>
> Richard Rowe.
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070313/30f0cabf/attachment.htm>
More information about the vtkusers
mailing list