MCPcopy Create free account
hub / github.com/IENT/YUView / getPlotPoint

Method getPlotPoint

YUViewLib/src/ui/views/DummyPlotModel.h:83–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 }
82
83 Point getPlotPoint(unsigned streamIndex, unsigned plotIndex, unsigned pointIndex) const override
84 {
85 if (streamIndex == 0 && plotIndex == 0)
86 return {double(pointIndex), double(barData[pointIndex])};
87 if (streamIndex == 1 && plotIndex == 0)
88 return graphData[pointIndex];
89 return {};
90 }
91
92 QString getPointInfo(unsigned streamIndex, unsigned, unsigned pointIndex) const override
93 {

Callers 3

getPointInfoMethod · 0.95
drawPlotMethod · 0.45
getPointIndexMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected