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

Method SetAxisRange

Rendering/Annotation/vtkSpiderPlotActor.cxx:844–857  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

842
843//------------------------------------------------------------------------------
844void vtkSpiderPlotActor::SetAxisRange(int i, double min, double max)
845{
846 if (i < 0)
847 {
848 return;
849 }
850
851 if (static_cast<unsigned int>(i) >= this->Ranges->size())
852 {
853 this->Ranges->resize(i + 1);
854 }
855 (*this->Ranges)[i] = vtkAxisRange(min, max);
856 this->Modified();
857}
858
859//------------------------------------------------------------------------------
860void vtkSpiderPlotActor::SetAxisRange(int i, double range[2])

Callers 1

TestSpiderPlotActorFunction · 0.45

Calls 4

vtkAxisRangeClass · 0.85
sizeMethod · 0.45
resizeMethod · 0.45
ModifiedMethod · 0.45

Tested by 1

TestSpiderPlotActorFunction · 0.36