* \brief Set the x coordinate of the currently grabbed handle. * \param[in] x The new x value. */
| 249 | * \param[in] x The new x value. |
| 250 | */ |
| 251 | void SetX(float x) |
| 252 | { |
| 253 | if (m_GrabbedHandle != -1) |
| 254 | { |
| 255 | this->MoveFunctionPoint(m_GrabbedHandle, ValidateCoord(std::make_pair(x, GetFunctionY(m_GrabbedHandle)))); |
| 256 | update(); |
| 257 | mitk::RenderingManager::GetInstance()->RequestUpdateAll(); |
| 258 | } |
| 259 | } |
| 260 | |
| 261 | /** |
| 262 | * \brief Set the y coordinate of the currently grabbed handle. |
nothing calls this directly
no test coverage detected