[vtkusers] scalar type conversion

Amy Henderson amy.henderson at kitware.com
Fri Jan 10 16:44:02 EST 2003


Use the vtkImageCast filter.

- Amy

At 02:40 PM 1/10/2003 -0700, clyne at ncar.ucar.edu wrote:
>Are there any filters/utilities for doing scalar type conversion within
>vtk? For example, I have a vtkImageData object with floating point data
>that i'd like to volume render. Since the volume mappers in vtk don't
>support floating point data I need to quantize the data to byte-sized
>ints. Is there a facility for doing this? I'm using the tcl interface,
>so doing it myself from the interpreter would obviously not be
>terribly efficient.
>
>thanks - jc
>
>
>John Clyne      (clyne at ncar.ucar.edu)
>National Center for Atmospheric Research
>P.O. Box 3000, Boulder, Colorado 80307
>(303) 497-1236  FAX (303) 497-1298
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers







More information about the vtkusers mailing list