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

Method GetRangeAtPosition

Views/Infovis/vtkParallelCoordinatesRepresentation.cxx:1846–1858  ·  view source on GitHub ↗

------------------------------------------------------------------------------ get the value range of an axis

Source from the content-addressed store, hash-verified

1844//------------------------------------------------------------------------------
1845// get the value range of an axis
1846int vtkParallelCoordinatesRepresentation::GetRangeAtPosition(int position, double range[2])
1847{
1848 if (position < 0 || position >= this->NumberOfAxes)
1849 {
1850 return -1;
1851 }
1852
1853 // int axis = this->AxisOrder[position];
1854 range[0] = this->Mins[position] + this->MinOffsets[position];
1855 range[1] = this->Maxs[position] + this->MaxOffsets[position];
1856
1857 return 1;
1858}
1859
1860//------------------------------------------------------------------------------
1861// set the value range of an axis

Callers 5

GetHoverStringMethod · 0.95
LassoSelectInternalMethod · 0.95
AngleSelectMethod · 0.95
FunctionSelectMethod · 0.95
ManipulateAxesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected