[vtkusers] how to cast a vtkDataArray from one type into another?

Fabio Meneghini fab.meneghini at gmail.com
Tue Oct 6 16:30:32 EDT 2009


Hi all,
just like the subject of this topic says:
Let's suppose I got a vtkPolyData with one vtkDataArray field with scalar
values, of type unsigned char.
Is there a way to quickly cast all the unsigned char values after loading
and before visualizing the data??

Thanks in advance,

Cheers.

Fabio Meneghini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091006/638ece07/attachment.htm>


More information about the vtkusers mailing list