[vtkusers] Transparent values of vtkImageData

Alex Southern mrapsouthern at gmail.com
Mon Jul 9 11:10:52 EDT 2012


Hi,

How do I make a part of the colormap transparent? As you can see from 
the image the values at 0.0 are visible on the model and produce an ugly 
rectangular slice. I'd like any zero value to be transparent.

The 2D slice is vtkImageData and im using vtkImageMapToColors.

I can make a proper example if this is necessary, but is it possible to 
achieve this in the first instance?

Thanks
Alex


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120709/fc76fc91/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ggebhchc.png
Type: image/png
Size: 156253 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120709/fc76fc91/attachment.png>


More information about the vtkusers mailing list