|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot2.layer.MarkForm.MarkOutliner
public static class MarkForm.MarkOutliner
Outliner implementation for use with MarkForm.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface uk.ac.starlink.ttools.plot2.layer.Outliner |
---|
Outliner.ShapePainter |
Constructor Summary | |
---|---|
MarkForm.MarkOutliner(MarkShape shape,
int size)
Constructor. |
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. |
boolean |
equals(Object o)
|
Map<AuxScale,AuxReader> |
getAuxRangers(DataGeom geom)
Defines what non-axis ranging information is required by this outliner. |
int[] |
getBinCounts(Object plan)
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 plan)
Returns the number of data positions which contributed to a BinPlan generated by this object. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MarkForm.MarkOutliner(MarkShape shape, int size)
shape
- marker shapesize
- marker size in pixelsMethod Detail |
---|
public Icon getLegendIcon()
Outliner
getLegendIcon
in interface Outliner
public Map<AuxScale,AuxReader> getAuxRangers(DataGeom geom)
Outliner
getAuxRangers
in interface Outliner
geom
- data geometry
public Outliner.ShapePainter create2DPainter(Surface surface, DataGeom geom, Map<AuxScale,Range> auxRanges, PaperType2D paperType)
Outliner
create2DPainter
in interface Outliner
surface
- plot surfacegeom
- coordinate geometryauxRanges
- map of scale information required for plotpaperType
- 2-d paper type
public Outliner.ShapePainter create3DPainter(CubeSurface surface, DataGeom geom, Map<AuxScale,Range> auxRanges, PaperType3D paperType)
Outliner
create3DPainter
in interface Outliner
surface
- 3-d plot surfacegeom
- coordinate geometryauxRanges
- map of scale information required for plotpaperType
- 3-d paper type
public Object calculateBinPlan(Surface surface, DataGeom geom, Map<AuxScale,Range> auxRanges, DataStore dataStore, DataSpec dataSpec, 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 plans
knownPlans
public int[] getBinCounts(Object plan)
Outliner
getBinCounts
in interface Outliner
plan
- bin plan returned from calculateBinPlan
public long getPointCount(Object plan)
Outliner
getPointCount
in interface Outliner
plan
- bin plan returned from calculateBinPlan
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |