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

Method SetRangeAtPosition

Views/Infovis/vtkParallelCoordinatesRepresentation.cxx:1862–1874  ·  view source on GitHub ↗

------------------------------------------------------------------------------ set the value range of an axis

Source from the content-addressed store, hash-verified

1860//------------------------------------------------------------------------------
1861// set the value range of an axis
1862int vtkParallelCoordinatesRepresentation::SetRangeAtPosition(int position, double range[2])
1863{
1864 if (position < 0 || position >= this->NumberOfAxes)
1865 {
1866 return -1;
1867 }
1868
1869 // int axis = this->AxisOrder[position];
1870 this->MinOffsets[position] = range[0] - this->Mins[position];
1871 this->MaxOffsets[position] = range[1] - this->Maxs[position];
1872 this->Modified();
1873 return 1;
1874}
1875
1876//------------------------------------------------------------------------------
1877void vtkParallelCoordinatesRepresentation::ResetAxes()

Callers 1

ManipulateAxesMethod · 0.45

Calls 1

ModifiedMethod · 0.45

Tested by

no test coverage detected