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

Phrenology for Bipolarity enxeltheeagle151 at msn.com
Fri May 20 17:28:28 EDT 2011


Thanks for your suggestion, I tried it but the black box is still there


> Date: Fri, 20 May 2011 12:49:53 -0700
> From: chasank at gmail.com
> To: vtkusers at vtk.org
> Subject: Re: [vtkusers] Problem with volume rendering using ITK,	VTK and DICOM files
> 
> 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.
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110520/9316adce/attachment.htm>


More information about the vtkusers mailing list