| 1612 | } |
| 1613 | |
| 1614 | void vtkScatterPlotMatrix::AxisRangeForwarderCallback(vtkObject*, unsigned long, void*) |
| 1615 | { |
| 1616 | // Only set on the end axes, and propagated to all other matching axes. |
| 1617 | double r[2]; |
| 1618 | int n = this->GetSize().GetX() - 1; |
| 1619 | for (int i = 0; i < n; ++i) |
| 1620 | { |
| 1621 | this->GetChart(vtkVector2i(i, 0))->GetAxis(vtkAxis::BOTTOM)->GetUnscaledRange(r); |
| 1622 | for (int j = 1; j < n - i; ++j) |
| 1623 | { |
| 1624 | this->GetChart(vtkVector2i(i, j))->GetAxis(vtkAxis::BOTTOM)->SetUnscaledRange(r); |
| 1625 | } |
| 1626 | this->GetChart(vtkVector2i(i, n - i))->GetAxis(vtkAxis::TOP)->SetUnscaledRange(r); |
| 1627 | this->GetChart(vtkVector2i(0, i))->GetAxis(vtkAxis::LEFT)->GetUnscaledRange(r); |
| 1628 | for (int j = 1; j < n - i; ++j) |
| 1629 | { |
| 1630 | this->GetChart(vtkVector2i(j, i))->GetAxis(vtkAxis::LEFT)->SetUnscaledRange(r); |
| 1631 | } |
| 1632 | } |
| 1633 | } |
| 1634 | |
| 1635 | void vtkScatterPlotMatrix::BigChartSelectionCallback(vtkObject*, unsigned long event, void*) |
| 1636 | { |
nothing calls this directly
no test coverage detected