[vtkusers] Adding chars to 3D char array in python or how to add colors to array?

Wes Turner wes.turner at kitware.com
Tue Dec 22 06:34:25 EST 2009


BTW: Lynx' example is a prime reason why having a special "color" field is
not required and a poor design decision.  The real solution here is using a
scalar generated by another filter with a real physical meaning to color the
data.  The current VTK setup is specifically designed to facilitate this and
to allow you to change among scalars during data display.  I use this
capability quite frequently.

- Wes

On Mon, Dec 21, 2009 at 4:30 PM, <lynx.abraxas at freenet.de> wrote:

> On 21/12/09 15:04:42, David Doria wrote:
> > good set of examples ;) Lynx, now that David G got you up and running
> > with this problem, you've just self-volunteered for adding examples
> > demonstrating this :)
>
> Here it goes:
>
>
> http://www.vtk.org/Wiki/Mesh_a_label_image%2C_smooth_it_and_colour_it_according_to_the_smoothing_error_%28python%29
>
> Are there any mistakes in it?
>
> Regards,
> Lynx
> _______________________________________________
> 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
>



-- 
Wesley D. Turner, Ph.D.
Kitware, Inc.
Technical Leader
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4920
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091222/bee64ca5/attachment.htm>


More information about the vtkusers mailing list