<html>
<body>
Currently only image data can be volume rendered. You would have to use
vtkProbeFilter to resample the data into a 3D image. I believe that VTK
supports only unsigned char and unsigned short for volume rendering, so
make sure that you convert the data into the right type.<br>
Will<br><br>
At 05:38 PM 9/15/2003 -0500, Xianjin Yang wrote:<br><br>
<blockquote type=cite class=cite cite><font size=2>Hi vtkusers,</font>
<br><br>
<font size=2>It seems to me that vtkVolumeMapper accepts file inputs of vtkImageData only. I do not have any vtk or slc files. Instead, my data is a structured grid out of finite difference modeling and it is stored as float arrays in the memory. Is there any way for me to pass my data into vtkVolumeMapper? Is there any filter or utility in VTK to transform my data into vtkImageData?<br>
</font><br>
<font size=2>Thank you for your help.</font> <br><br>
<font size=2>Yang</font> </blockquote>
<x-sigsep><p></x-sigsep>
<br>
William J. Schroeder, Ph.D.<br>
Kitware, Inc.<br>
469 Clifton Corporate Parkway<br>
Clifton Park, NY 12065<br>
will.schroeder@kitware.com<br>
1-518-371-3971 x102 (phone)<br>
1-518-371-3971 (fax)</body>
</html>