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

Method SetDataObjectYComponent

Rendering/Annotation/vtkXYPlotActor.cxx:2611–2620  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2609
2610//------------------------------------------------------------------------------
2611void vtkXYPlotActor::SetDataObjectYComponent(int i, int comp)
2612{
2613 i = std::min(std::max(i, 0), VTK_MAX_PLOTS - 1);
2614 int val = this->YComponent->GetValue(i);
2615 if (val != comp)
2616 {
2617 this->Modified();
2618 this->YComponent->SetValue(i, comp);
2619 }
2620}
2621
2622//------------------------------------------------------------------------------
2623int vtkXYPlotActor::GetDataObjectYComponent(int i)

Callers 3

AddUserCurvesPointMethod · 0.95
xyPlot2.pyFile · 0.80
xyPlot3.pyFile · 0.80

Calls 5

minFunction · 0.50
maxFunction · 0.50
GetValueMethod · 0.45
ModifiedMethod · 0.45
SetValueMethod · 0.45

Tested by

no test coverage detected