Commit f0de882f authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[FIX #396] replaced deprecated function calls

parent 2333166e
......@@ -264,10 +264,10 @@ void WMPickingDVR::moduleMain()
WMEDUColor<double> color;
//Get Color from transferfunction
color.setRed( transferFunctionData->getValueAt( iColorIdx * 4 + 0 ) );
color.setGreen( transferFunctionData->getValueAt( iColorIdx * 4 + 1 ) );
color.setBlue( transferFunctionData->getValueAt( iColorIdx * 4 + 2 ) );
color.setAlpha( transferFunctionData->getValueAt( iColorIdx * 4 + 3 ) );
color.setRed( transferFunctionData->getSingleRawValue( iColorIdx * 4 + 0 ) );
color.setGreen( transferFunctionData->getSingleRawValue( iColorIdx * 4 + 1 ) );
color.setBlue( transferFunctionData->getSingleRawValue( iColorIdx * 4 + 2 ) );
color.setAlpha( transferFunctionData->getSingleRawValue( iColorIdx * 4 + 3 ) );
color.normalize();
//gamma = alpha + beta - alpha * beta == currentAlpha + accedAlpha - currentAlpa * accedAlpha
......
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