MCPcopy Create free account
hub / github.com/ZhuYanzhen1/miniFOC / QCPColorMap

Method QCPColorMap

tools/qcustomplot.cpp:26408–26417  ·  view source on GitHub ↗

! Constructs a color map with the specified \a keyAxis and \a valueAxis. The created QCPColorMap is automatically registered with the QCustomPlot instance inferred from \a keyAxis. This QCustomPlot instance takes ownership of the QCPColorMap, so do not delete it manually but use QCustomPlot::removePlottable() instead. */

Source from the content-addressed store, hash-verified

26406 manually but use QCustomPlot::removePlottable() instead.
26407*/
26408QCPColorMap::QCPColorMap(QCPAxis *keyAxis, QCPAxis *valueAxis) :
26409 QCPAbstractPlottable(keyAxis, valueAxis),
26410 mDataScaleType(QCPAxis::stLinear),
26411 mMapData(new QCPColorMapData(10, 10, QCPRange(0, 5), QCPRange(0, 5))),
26412 mGradient(QCPColorGradient::gpCold),
26413 mInterpolate(true),
26414 mTightBoundary(false),
26415 mMapImageInvalidated(true)
26416{
26417}
26418
26419QCPColorMap::~QCPColorMap()
26420{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected