|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Equality public interface Outliner
Paints the shape of per-point markers. When painting, this object will not manipulate the colours; any colouring is done externally.
This interface provides two ways of drawing the same thing:
with a Outliner.ShapePainter
, which does it a point at a time,
and with a BinPlan, which accumulates all the pixel values for the
whole grid ready to paint in one go. They should represent the same
data, it's up to the caller which it uses.
Nested Class Summary | |
---|---|
static interface |
Outliner.ShapePainter
Interface to define the actual shape drawing. |
Method Summary | |
---|---|
Object |
calculateBinPlan(Surface surface,
DataGeom geom,
Map<AuxScale,Range> auxRanges,
DataStore dataStore,
DataSpec dataSpec,
Object[] knownPlans)
Calculates an opaque object which contains the drawing of this outliner represented as an array of bins, one per pixel. |
Outliner.ShapePainter |
create2DPainter(Surface surface,
DataGeom geom,
Map<AuxScale,Range> auxRanges,
PaperType2D paperType)
Creates a ShapePainter object for plotting onto 2-dimensional surfaces. |
Outliner.ShapePainter |
create3DPainter(CubeSurface surface,
DataGeom geom,
Map<AuxScale,Range> auxRanges,
PaperType3D paperType)
Creates a ShapePainter object for plotting onto 3-dimensional surfaces. |
Map<AuxScale,AuxReader> |
getAuxRangers(DataGeom geom)
Defines what non-axis ranging information is required by this outliner. |
int[] |
getBinCounts(Object binPlan)
Returns the bin contents for a given bin plan produced by this object. |
Icon |
getLegendIcon()
Returns an icon suitable for identifying points painted by this object in a plot legend. |
long |
getPointCount(Object binPlan)
Returns the number of data positions which contributed to a BinPlan generated by this object. |
Method Detail |
---|
Icon getLegendIcon()
Map<AuxScale,AuxReader> getAuxRangers(DataGeom geom)
geom
- data geometry
Outliner.ShapePainter create2DPainter(Surface surface, DataGeom geom, Map<AuxScale,Range> auxRanges, PaperType2D paperType)
surface
- plot surfacegeom
- coordinate geometryauxRanges
- map of scale information required for plotpaperType
- 2-d paper type
Outliner.ShapePainter create3DPainter(CubeSurface surface, DataGeom geom, Map<AuxScale,Range> auxRanges, PaperType3D paperType)
surface
- 3-d plot surfacegeom
- coordinate geometryauxRanges
- map of scale information required for plotpaperType
- 3-d paper type
Object calculateBinPlan(Surface surface, DataGeom geom, Map<AuxScale,Range> auxRanges, DataStore dataStore, DataSpec dataSpec, Object[] knownPlans)
getBinCounts(java.lang.Object)
and getPointCount(java.lang.Object)
methods.
If one of the supplied knowPlans fits the bill, it will be returned without further calculation.
surface
- plot surfacegeom
- coordinate geometryauxRanges
- map of scale information required for plotdataStore
- data storagedataSpec
- coordinate specificationknownPlans
- list of existing plans
knownPlans
int[] getBinCounts(Object binPlan)
binPlan
- bin plan returned from calculateBinPlan
long getPointCount(Object binPlan)
binPlan
- bin plan returned from calculateBinPlan
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |