- _volumeProperty->SetColor(_ctfun);
- _compositeFunction = vtkVolumeRayCastCompositeFunction::New();
- _MIPFunction = vtkVolumeRayCastMIPFunction::New();
- vtkVolumeRayCastMapper* volumeMapper = vtkVolumeRayCastMapper::New();
- volumeMapper->SetVolumeRayCastFunction(_compositeFunction);
- volumeMapper->AutoAdjustSampleDistancesOn();
- VolumeMapper = volumeMapper;
+
+
+ _compositeFunction = vtkVolumeRayCastCompositeFunction::New();
+ _MIPFunction = vtkVolumeRayCastMIPFunction::New();
+ vtkVolumeRayCastMapper* volumeMapper = vtkVolumeRayCastMapper::New();
+ volumeMapper->SetVolumeRayCastFunction(_compositeFunction);
+ volumeMapper->AutoAdjustSampleDistancesOn();
+ VolumeMapper = volumeMapper;