Class AbstractOPTICSVisualization
- java.lang.Object
-
- elki.visualization.visualizers.AbstractVisualization
-
- elki.visualization.visualizers.optics.AbstractOPTICSVisualization
-
- All Implemented Interfaces:
DataStoreListener
,ResultListener
,VisualizationListener
,Visualization
,java.util.EventListener
- Direct Known Subclasses:
OPTICSClusterVisualization.Instance
,OPTICSPlotCutVisualization.Instance
,OPTICSPlotSelectionVisualization.Instance
,OPTICSPlotVisualizer.Instance
,OPTICSSteepAreaVisualization.Instance
public abstract class AbstractOPTICSVisualization extends AbstractVisualization
Abstract base class for OPTICS visualizer- Since:
- 0.4.0
- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected OPTICSProjection
optics
The plotprotected double
plotheight
Height of plot (in display units)protected double
plotwidth
Width of plot (in display units)-
Fields inherited from class elki.visualization.visualizers.AbstractVisualization
context, layer, svgp, task
-
-
Constructor Summary
Constructors Constructor Description AbstractOPTICSVisualization(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClusterOrder
getClusterOrder()
Access the raw cluster orderprotected void
makeLayerElement()
Produce a new layer element.-
Methods inherited from class elki.visualization.visualizers.AbstractVisualization
addListeners, contentChanged, destroy, fullRedraw, getHeight, getLayer, getWidth, incrementalRedraw, resultChanged, visualizationChanged
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.result.ResultListener
resultAdded, resultRemoved
-
-
-
-
Field Detail
-
optics
protected final OPTICSProjection optics
The plot
-
plotwidth
protected double plotwidth
Width of plot (in display units)
-
plotheight
protected double plotheight
Height of plot (in display units)
-
-
Constructor Detail
-
AbstractOPTICSVisualization
public AbstractOPTICSVisualization(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
Constructor.- Parameters:
context
- Visualizer contexttask
- Visualization task.plot
- Plot to draw towidth
- Embedding widthheight
- Embedding heightproj
- Projection
-
-
Method Detail
-
makeLayerElement
protected void makeLayerElement()
Produce a new layer element.
-
getClusterOrder
protected ClusterOrder getClusterOrder()
Access the raw cluster order- Returns:
- Cluster order
-
-