[vtkusers] Volume Mapping
Lisa Avila
lisa.avila at kitware.com
Wed May 7 11:05:57 EDT 2003
Hello,
At 11:16 AM 4/25/2003, KK wrote:
>hi all
>please colud anybody llok into the following code and tell me where the
>error exactly is.
>I took most of the following code from the Python example
>vtk42\Examples\VolumeRendering\Python\SimpleRayCast.py
>The only change is instead of vtkStructuredPointsReader i'm using
>vtkStructuredPoints
The problem is here:
>vtkUnsignedIntArray *scalars = vtkUnsignedIntArray::New();
The volume mappers in VTK can only render unsigned char and unsigned short
data.
Lisa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030507/62bd337b/attachment.htm>
More information about the vtkusers
mailing list