| 
  | 
|||||||||||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.visualization.opticsplot.OPTICSPlot<D>
D - Distance typepublic class OPTICSPlot<D extends Distance<?>>
Class to produce an OPTICS plot image.
| Field Summary | |
|---|---|
(package private)  ClusterOrderResult<D> | 
co
The result to plot  | 
(package private)  OPTICSColorAdapter | 
colors
Color adapter to use  | 
(package private)  OPTICSDistanceAdapter<D> | 
distanceAdapter
The mapping from cluster order entry to value  | 
(package private)  int | 
height
Height of plot  | 
protected  Logging | 
logger
Logger  | 
protected  RenderedImage | 
plot
The Optics plot.  | 
(package private)  LinearScale | 
scale
Scale to use  | 
(package private)  int | 
width
Width of plot  | 
| Constructor Summary | |
|---|---|
OPTICSPlot(ClusterOrderResult<D> co,
           OPTICSColorAdapter colors,
           OPTICSDistanceAdapter<D> distanceAdapter)
Constructor.  | 
|
| Method Summary | |
|---|---|
protected  LinearScale | 
computeScale(List<ClusterOrderEntry<D>> order)
Compute the scale (value range)  | 
 int | 
getHeight()
 | 
 RenderedImage | 
getPlot()
Get the OPTICS plot.  | 
 double | 
getRatio()
Get width-to-height ratio of image.  | 
 LinearScale | 
getScale()
 | 
 int | 
getWidth()
 | 
 void | 
replot()
Trigger a redraw of the OPTICS plot  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected Logging logger
LinearScale scale
int width
int height
final ClusterOrderResult<D extends Distance<?>> co
final OPTICSColorAdapter colors
final OPTICSDistanceAdapter<D extends Distance<?>> distanceAdapter
protected RenderedImage plot
| Constructor Detail | 
|---|
public OPTICSPlot(ClusterOrderResult<D> co,
                  OPTICSColorAdapter colors,
                  OPTICSDistanceAdapter<D> distanceAdapter)
co - Cluster order to plot.colors - Colorization strategydistanceAdapter - Distance adapter| Method Detail | 
|---|
public void replot()
protected LinearScale computeScale(List<ClusterOrderEntry<D>> order)
order - Cluster order to process
public LinearScale getScale()
public int getWidth()
public int getHeight()
public double getRatio()
width / heightpublic RenderedImage getPlot()
  | 
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||