| 139 | } |
| 140 | |
| 141 | void QmitkColorTransferFunctionCanvas::MoveFunctionPoint(int index, std::pair<double, double> pos) |
| 142 | { |
| 143 | double color[3]; |
| 144 | m_ColorTransferFunction->GetColor(GetFunctionX(index), color); |
| 145 | RemoveFunctionPoint(GetFunctionX(index)); |
| 146 | m_ColorTransferFunction->AddRGBPoint(pos.first, color[0], color[1], color[2]); |
| 147 | } |
| 148 | |
| 149 | void QmitkColorTransferFunctionCanvas::AddRGB(double x, double r, double g, double b) |
| 150 | { |
nothing calls this directly
no test coverage detected