float to unsigned short

Sathya Krishnamurthy (CSCS) skrishna at cscs.ch
Thu Mar 9 13:12:43 EST 2000


Hello All

I have a structuredpoint data in a file .. it of type float. i am trying
to do volume rendering on it. But the vtkVolume*Mapper complains that it
requires of format unsigned char or unsigned short

Can someone kindly let me know how to convert my data. ?

Thanks a lot

Sathya

-- 
------------------------------------------------------------------
Sathya Krishnamurthy
Research Scientist  , CSCS
Galleria 2 , Via Cantonale
CH - 6928 , Manno Switzerland
Ph: 41-91-6108260
------------------------------------------------------------------
The views, opinions and information contained in this message do not
necessarily reflect the opinions or policies of CSCS, nor does
publication of this information imply an endorsement by CSCS.
--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list