public class DefaultDataReducer extends Object implements RendererDataReducer
| Type | Property and Description |
|---|---|
IntegerProperty |
minPointPixelDistance |
| Modifier and Type | Field and Description |
|---|---|
protected IntegerProperty |
minPointPixelDistance |
| Constructor and Description |
|---|
DefaultDataReducer() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMinPointPixelDistance() |
IntegerProperty |
minPointPixelDistanceProperty() |
int |
reducePoints(double[] xValues,
double[] yValues,
double[] xPointErrorsPos,
double[] xPointErrorsNeg,
double[] yPointErrorsPos,
double[] yPointErrorsNeg,
String[] styles,
boolean[] pointSelected,
int indexMin,
int indexMax)
Internal function to the ErrorDataSetRenderer arrays are cached copies and operations are assumed to be performed
in-place (<-> for performance reasons/minimisation of memory allocation)
|
void |
setMinPointPixelDistance(int minPixelDistance)
Sets the
minPointPixelDistance to the specified value. |
public final IntegerProperty minPointPixelDistanceProperty
protected IntegerProperty minPointPixelDistance
public final int getMinPointPixelDistance()
minPointPixelDistance.public final IntegerProperty minPointPixelDistanceProperty()
public int reducePoints(double[] xValues,
double[] yValues,
double[] xPointErrorsPos,
double[] xPointErrorsNeg,
double[] yPointErrorsPos,
double[] yPointErrorsNeg,
String[] styles,
boolean[] pointSelected,
int indexMin,
int indexMax)
reducePoints in interface RendererDataReducerxValues - array of x coordinatesyValues - array of y coordinatesxPointErrorsPos - array of coordinates containing x+expxPointErrorsNeg - array of coordinates containing x-exnyPointErrorsPos - array of coordinates containing x+eypyPointErrorsNeg - array of coordinates containing x+eynpointSelected - array containing the points that have been specially selected by the userindexMin - minimum index of those array that shall be consideredindexMax - maximum index of those array that shall be consideredstyles - point stylespublic final void setMinPointPixelDistance(int minPixelDistance)
minPointPixelDistance to the specified value.minPixelDistance - the minimum distance between two adjacent points.Copyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.