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

Method SetDataObjectXComponent

Rendering/Annotation/vtkXYPlotActor.cxx:2592–2601  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2590
2591//------------------------------------------------------------------------------
2592void vtkXYPlotActor::SetDataObjectXComponent(int i, int comp)
2593{
2594 i = std::min(std::max(i, 0), VTK_MAX_PLOTS - 1);
2595 int val = this->XComponent->GetValue(i);
2596 if (val != comp)
2597 {
2598 this->Modified();
2599 this->XComponent->SetValue(i, comp);
2600 }
2601}
2602
2603//------------------------------------------------------------------------------
2604int vtkXYPlotActor::GetDataObjectXComponent(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