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

Method SetData

Modules/Chart/src/QmitkChartxyData.cpp:24–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24void QmitkChartxyData::SetData(const std::vector< std::pair<double, double> > &data)
25{
26 ClearData();
27 for (const auto &entry : data)
28 {
29 m_XData.push_back(entry.first);
30 m_YData.push_back(entry.second);
31 }
32 emit SignalDataChanged(m_YData);
33}
34
35void QmitkChartxyData::ClearData()
36{

Callers 15

DoReadMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
mainFunction · 0.45
InitializeMethod · 0.45
SetupWidgetsMethod · 0.45
AddPointMethod · 0.45
StartRegionGrowingMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
CreateQtPartControlMethod · 0.45
ItkImageProcessingMethod · 0.45

Calls

no outgoing calls

Tested by 15

setUpMethod · 0.36
setUpMethod · 0.36
RunTestMethod · 0.36
GetDataOneMethod · 0.36
GetDataTwoMethod · 0.36
GetDataThreeMethod · 0.36
GetDataFourMethod · 0.36
GetDataFiveMethod · 0.36
setUpMethod · 0.36