MCPcopy Create free account
hub / github.com/Kitware/VTK / StackPlotAbove

Method StackPlotAbove

Charts/Core/vtkChartXY.cxx:1452–1462  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1450
1451//------------------------------------------------------------------------------
1452vtkIdType vtkChartXY::StackPlotAbove(vtkPlot* plot, vtkPlot* under)
1453{
1454 vtkIdType plotIndex = this->GetPlotIndex(plot);
1455 vtkIdType underIndex = this->GetPlotIndex(under);
1456 int corner = this->GetPlotCorner(plot);
1457 if (corner < 0 || corner >= 4 || underIndex != this->GetPlotCorner(under))
1458 {
1459 return plotIndex;
1460 }
1461 return this->ChartPrivate->PlotCorners[corner]->StackAbove(plotIndex, underIndex);
1462}
1463
1464//------------------------------------------------------------------------------
1465vtkIdType vtkChartXY::LowerPlot(vtkPlot* plot)

Callers

nothing calls this directly

Calls 3

GetPlotIndexMethod · 0.95
GetPlotCornerMethod · 0.95
StackAboveMethod · 0.80

Tested by

no test coverage detected