[vtkusers] Problem with volume rendering using ITK, VTK and DICOM files

chasank chasank at gmail.com
Fri May 20 15:49:53 EDT 2011


Try to add this your pipeline; I'm not sure, but it may help

        vtkPiecewiseFunction *volumeGradientOpacity =
vtkPiecewiseFunction::New();
	volumeGradientOpacity->AddPoint(0,   0.0);
	volumeGradientOpacity->AddPoint(90, 0.25);
	volumeGradientOpacity->AddPoint(100, 0.50);

        volumeProperty->SetGradientOpacity(volumeGradientOpacity);



--
View this message in context: http://vtk.1045678.n5.nabble.com/Problem-with-volume-rendering-using-ITK-VTK-and-DICOM-files-tp4413032p4413418.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list