| 196 | } |
| 197 | |
| 198 | void CDLTransformImpl::getSlope(double * rgb) const |
| 199 | { |
| 200 | if (!rgb) |
| 201 | { |
| 202 | throw Exception("CDLTransform: Invalid 'slope' pointer"); |
| 203 | } |
| 204 | |
| 205 | const CDLOpData::ChannelParams & params = data().getSlopeParams(); |
| 206 | rgb[0] = params[0]; |
| 207 | rgb[1] = params[1]; |
| 208 | rgb[2] = params[2]; |
| 209 | } |
| 210 | |
| 211 | void CDLTransformImpl::setOffset(const double * rgb) |
| 212 | { |
no outgoing calls