MCPcopy Create free account
hub / github.com/CloudCompare/CloudCompare / plottable

Method plottable

qCC/extern/QCustomPlot/qcustomplot.cpp:14239–14249  ·  view source on GitHub ↗

! Returns the plottable with \a index. If the index is invalid, returns \c nullptr. There is an overloaded version of this function with no parameter which returns the last added plottable, see QCustomPlot::plottable() \see plottableCount */

Source from the content-addressed store, hash-verified

14237 \see plottableCount
14238*/
14239QCPAbstractPlottable *QCustomPlot::plottable(int index)
14240{
14241 if (index >= 0 && index < mPlottables.size())
14242 {
14243 return mPlottables.at(index);
14244 } else
14245 {
14246 qDebug() << Q_FUNC_INFO << "index out of bounds:" << index;
14247 return nullptr;
14248 }
14249}
14250
14251/*! \overload
14252

Callers 2

itemWithPlottableMethod · 0.80
colorMapsMethod · 0.80

Calls 3

sizeMethod · 0.45
atMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected