[vtkusers] Rendering non-unsigned char data

Jean Favre jfavre at cscs.ch
Mon Oct 6 03:19:50 EDT 2008


Madhusudhanan Balasubramanian wrote:
> Hi,
>
> Does VTK support rendering (volume) data other than unsigned char, mainly float, double, etc.?
>
>   
A simple look at the manual pages would have given you the answer
without having to ask the mailing list.

vtkVolumeTextureMapper3D
<http://www.vtk.org/doc/nightly/html/classvtkVolumeTextureMapper3D.html>
renders a volume using 3D texture mapping. This class is actually an
abstract superclass - with all the actual work done by
vtkOpenGLVolumeTextureMapper3D
<http://www.vtk.org/doc/nightly/html/classvtkOpenGLVolumeTextureMapper3D.html>.

This mappers currently supports:

    * any data type as input

vtkFixedPointVolumeRayCastMapper
<http://www.vtk.org/doc/nightly/html/classvtkFixedPointVolumeRayCastMapper.html> 
is a software ray caster for rendering volumes in vtkImageData
<http://www.vtk.org/doc/nightly/html/classvtkImageData.html>. It works
with all input data types

a vtkFixedPointVolumeRayCastMapper
<http://www.vtk.org/doc/nightly/html/classvtkFixedPointVolumeRayCastMapper.html>
can be used:

    * if the data is not unsigned char or unsigned short



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081006/e968cc97/attachment.htm>


More information about the vtkusers mailing list