MCPcopy Create free account
hub / github.com/MITK/MITK / AddFunctionPoint

Function AddFunctionPoint

Modules/QtWidgetsExt/include/QmitkPiecewiseFunctionCanvas.h:80–80  ·  view source on GitHub ↗

* \brief Add a function point at position (x, val). * \param[in] x The scalar position. * \param[in] val The opacity value [0, 1]. * \return Index of the added point. */

Source from the content-addressed store, hash-verified

78 * \return Index of the added point.
79 */
80 int AddFunctionPoint(double x, double val) override { return m_PiecewiseFunction->AddPoint(x, val); }
81
82 /**
83 * \brief Remove the function point at position x.

Callers 1

MoveFunctionPointMethod · 0.50

Calls 1

AddPointMethod · 0.45

Tested by

no test coverage detected