public interface IPointResampler<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>>
Modifier and Type | Method and Description |
---|---|
void |
execute(Point2DSeries resampledSeries,
ISciList<TX> xColumn,
ISciList<TY> yColumn,
ResamplingMode resamplingMode,
IndexRange pointRange,
boolean isCategoryData,
boolean isSortedData,
boolean isEvenlySpacedData,
int viewportWidth,
double minXInclusive,
double maxXInclusive)
Transforms the input X and Y series into an
Point2DSeries , a resampled, reduced dataset for rendering on screen. |
void execute(Point2DSeries resampledSeries, ISciList<TX> xColumn, ISciList<TY> yColumn, ResamplingMode resamplingMode, IndexRange pointRange, boolean isCategoryData, boolean isSortedData, boolean isEvenlySpacedData, int viewportWidth, double minXInclusive, double maxXInclusive) throws java.lang.Exception
Point2DSeries
, a resampled, reduced dataset for rendering on screen.resampledSeries
- The point series where results of resampling should be stored.xColumn
- The input x values.yColumn
- The input y values.resamplingMode
- The ResamplingMode
to use.pointRange
- The indices of the x and y input data to use (clips by indices).isCategoryData
- Specifies whether xAxis is a category axis. It allows performance optimization in avoiding copying the x values.isSortedData
- Specifies whether the data is sorted in the x direction.isEvenlySpacedData
- Specifies whether the data is evenly spaced in the x direction.viewportWidth
- The current width of the viewport.minXInclusive
- The VisibleRange.Min for xAxis at the time of resampling.maxXInclusive
- The VisibleRange.Max for xAxis at the time of resampling.java.lang.Exception
- The Exception
thrown is resampling mode has not been handled.