[vtkusers] Volume Rendering Gradient Opacity Value Range
serseri
serhattural12 at gmail.com
Sun Feb 14 09:35:38 EST 2016
Hi,
How can I get the value range of gradient values to use on volume rendering?
I try to find optimal values for my samples.
An example usega of gradient opacity function:
http://www.paraview.org/Wiki/VTK/Examples/Cxx/Visualization/RenderPassExistingContext
vtkPiecewiseFunction * volumeGradientOpacity = vtkPiecewiseFunction::New();
volumeGradientOpacity->AddPoint(0, 0.0);
volumeGradientOpacity->AddPoint(90, 0.5);
volumeGradientOpacity->AddPoint(100, 1.0);
volumeProperty->SetGradientOpacity(volumeGradientOpacity);
Thanks.
--
View this message in context: http://vtk.1045678.n5.nabble.com/Volume-Rendering-Gradient-Opacity-Value-Range-tp5736565.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list