MCPcopy Create free account
hub / github.com/NatLabRockies/SAM / ShowAllData

Method ShowAllData

src/parametric.cpp:1663–1678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1661
1662
1663void ParametricViewer::ShowAllData()
1664{
1665 int col = m_selected_grid_col;
1666 std::vector<std::vector<double> > values_vec;
1667 wxArrayString labels;
1668 for (int row = 0; row < m_grid_data->GetNumberRows(); row++)
1669 {
1670 std::vector<double> vec = m_grid_data->GetArray(row, col);
1671 if (vec.size() == 0) // single values
1672 vec.push_back(m_grid_data->GetDouble(row, col));
1673 values_vec.push_back(vec);
1674 labels.push_back(wxString::Format("Run %d", row + 1));
1675 }
1676 ArrayPopupDialog apd(this, m_grid_data->GetColLabelValue(col).ToAscii(' '), labels, values_vec);
1677 apd.ShowModal();
1678}
1679
1680void ParametricViewer::FillDown(int rows)
1681{

Callers

nothing calls this directly

Calls 6

sizeMethod · 0.80
GetNumberRowsMethod · 0.45
GetArrayMethod · 0.45
GetDoubleMethod · 0.45
GetColLabelValueMethod · 0.45
ShowModalMethod · 0.45

Tested by

no test coverage detected