| 186 | } |
| 187 | |
| 188 | void CDLTransformImpl::setSlope(const double * rgb) |
| 189 | { |
| 190 | if (!rgb) |
| 191 | { |
| 192 | throw Exception("CDLTransform: Invalid 'slope' pointer"); |
| 193 | } |
| 194 | |
| 195 | data().setSlopeParams(CDLOpData::ChannelParams(rgb[0], rgb[1], rgb[2])); |
| 196 | } |
| 197 | |
| 198 | void CDLTransformImpl::getSlope(double * rgb) const |
| 199 | { |
no test coverage detected