[vtkusers] Changing Opacity real time

Andinet Enquobahrie andinet.enqu at kitware.com
Wed Oct 18 07:36:23 EDT 2006


Hi Sharwari,

> hi all,
> I am reading 2D BMP slices to build a 3D volume and rendering it using 
> vtk.
> I am using KWWidgets to build a UI for my application.
> For this purpose I need to change opacity the 3D volume in real time 
> (interactively)
> Can someone suggest possible ways that I can do this?
> Does the vtkKWPiecewiseFunction have to be used along with a check 
> button for this purpose ?
> Thanks!
> Sharwari
>
>  
>
Essentially "vtkKWVolumePropertyWidget" does what you are trying to do. 
Take a look at
WidgetsTour example in KWWidgets to have some idea on how to use this 
widget.

hth
-Andinet

>------------------------------------------------------------------------
>
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
>  
>




More information about the vtkusers mailing list