Commit 0d22e4f4 authored by Sankhesh Jhaveri's avatar Sankhesh Jhaveri

GPU volume Mapper supports average intensity blend

parent 3e49c8fc
......@@ -376,11 +376,12 @@ int vtkGPUVolumeRayCastMapper::ValidateRender(vtkRenderer *ren,
if(this->BlendMode!=vtkVolumeMapper::COMPOSITE_BLEND &&
this->BlendMode!=vtkVolumeMapper::MAXIMUM_INTENSITY_BLEND &&
this->BlendMode!=vtkVolumeMapper::MINIMUM_INTENSITY_BLEND &&
this->BlendMode!=vtkVolumeMapper::AVERAGE_INTENSITY_BLEND &&
this->BlendMode!=vtkVolumeMapper::ADDITIVE_BLEND)
{
goodSoFar = 0;
vtkErrorMacro(<< "Selected blend mode not supported. "
<< "Only Composite, MIP, MinIP and additive modes "
<< "Only Composite, MIP, MinIP, averageIP and additive modes "
<< "are supported by the current implementation.");
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment