<html>
<body>
Hello,<br><br>
At 11:16 AM 4/25/2003, KK wrote:<br>
<blockquote type=cite class=cite cite><font face="arial" size=2>hi all
</font><br>
<font face="arial" size=2>please colud anybody llok into the following
code and tell me where the error exactly is.</font><br>
<font face="arial" size=2>I took most of the following code from
the Python example</font><br>
<font face="arial" size=2>vtk42\Examples\VolumeRendering\Python\SimpleRayCast.py
</font><br>
<font face="arial" size=2>The only change is instead of
</font><font face="arial">vtkStructuredPointsReader i'm using
vtkStructuredPoints </font><br>
<font face="arial" size=2></font></blockquote><br>
The problem is here:<br><br>
<blockquote type=cite class=cite cite><font face="arial" size=2>vtkUnsignedIntArray
*scalars = vtkUnsignedIntArray::New();</blockquote><br>
The volume mappers in VTK can only render unsigned char and unsigned
short data.<br><br>
Lisa<br>
</font></body>
</html>