[vtkusers] How to change vtkImageData scalar type?

Jothy jothybasu at gmail.com
Wed Jul 14 11:59:26 EDT 2010


Used vtkImageCast.

jothy

On Wed, Jul 14, 2010 at 4:53 PM, Jothy <jothybasu at gmail.com> wrote:

> 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/12908dbe/attachment.htm>


More information about the vtkusers mailing list