public abstract class PixOutliner extends java.lang.Object implements Outliner
create2DPainter
method.
If no clever shortcut presents itself, this is a reasonable way to do it.Constructor and Description |
---|
PixOutliner() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
calculateBinPlan(Surface surface,
DataGeom geom,
java.util.Map<AuxScale,Range> auxRanges,
DataStore dataStore,
DataSpec dataSpec,
java.lang.Object[] knownPlans)
Calculates an opaque object which contains the drawing of this
outliner represented as an array of bins, one per pixel.
|
int[] |
getBinCounts(java.lang.Object binPlan)
Returns the bin contents for a given bin plan produced by
this object.
|
long |
getPointCount(java.lang.Object binPlan)
Returns the number of data positions which contributed to
a BinPlan generated by this object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create2DPainter, create3DPainter, getAuxRangers, getLegendIcon
public java.lang.Object calculateBinPlan(Surface surface, DataGeom geom, java.util.Map<AuxScale,Range> auxRanges, DataStore dataStore, DataSpec dataSpec, java.lang.Object[] knownPlans)
Outliner
Outliner.getBinCounts(java.lang.Object)
and Outliner.getPointCount(java.lang.Object)
methods.
If one of the supplied knowPlans fits the bill, it will be returned without further calculation.
calculateBinPlan
in interface Outliner
surface
- plot surfacegeom
- coordinate geometryauxRanges
- map of scale information required for plotdataStore
- data storagedataSpec
- coordinate specificationknownPlans
- list of existing plansknownPlans
public int[] getBinCounts(java.lang.Object binPlan)
Outliner
getBinCounts
in interface Outliner
binPlan
- bin plan returned from calculateBinPlan
public long getPointCount(java.lang.Object binPlan)
Outliner
getPointCount
in interface Outliner
binPlan
- bin plan returned from calculateBinPlan
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.