[vtkusers] How to change vtkImageData scalar type?

Jothy jothybasu at gmail.com
Wed Jul 14 11:53:31 EDT 2010


Hi all,

I am trying to volume render a vtkImageData, but it throws an error stating
only unsigned char/unsigned short can be rendered not float.

How to convert the data type?

Thanks,

Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100714/376e5b34/attachment.htm>


More information about the vtkusers mailing list