uk.ac.starlink.ttools.plot2.layer
Class FloatingCoordAuxReader
java.lang.Object
uk.ac.starlink.ttools.plot2.layer.FloatingCoordAuxReader
- All Implemented Interfaces:
- AuxReader
public class FloatingCoordAuxReader
- extends Object
- implements AuxReader
AuxReader implementation that extends ranges simply by sampling
a given scalar floating coordinate for all plottable points.
- Since:
- 16 Jan 2015
- Author:
- Mark Taylor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FloatingCoordAuxReader
public FloatingCoordAuxReader(FloatingCoord coord,
int icol,
DataGeom geom,
boolean visibleOnly)
- Constructor.
- Parameters:
coord
- coordinate readericol
- column index in tuple sequence corresponding to valuegeom
- converts data to graphics coordinatesvisibleOnly
- true to include only points visible in the
current plot bounds, false for all potentially
plottable points
updateAuxRange
public void updateAuxRange(Surface surface,
TupleSequence tseq,
Range range)
- Description copied from interface:
AuxReader
- Called once for each applicable row of a tuple sequence.
Each call may extend the given range.
- Specified by:
updateAuxRange
in interface AuxReader
- Parameters:
surface
- plot data destination surfacetseq
- plot data supplierrange
- range object to be updated with range information
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.