[vtkusers] vtkColorTransferFunction of lungs

wassim_belhadj at topnet.tn wassim_belhadj at topnet.tn
Thu Feb 26 03:43:13 EST 2009


Hi,

I'm using VTk/VTKEdge for lungs Volume rendering.

My problem is that I have not found the appropriate
vtkColorTransferFunction of lungs. 

Most of the examples provide vtkColorTransferFunction and 
vtkPiecewiseFunction functions of muscles, bones, skin but not lungs.

Bellow my transfer function that I used to display Lungs.

	opacityFun->AddPoint(-960,0.0);
	opacityFun->AddPoint(-950, 1.0);
         opacityFun->AddPoint(-550,1.0 );
	opacityFun->AddPoint(-500,0.3 );
	opacityFun->AddPoint(-450, 0.0);
	opacityFun->AddPoint(-300, 0.0);
	
Can someone HELP ME?

Best regards,
wassim



More information about the vtkusers mailing list