Search in sources :

Example 1 with OPTICSProjection

use of de.lmu.ifi.dbs.elki.visualization.projections.OPTICSProjection in project elki by elki-project.

the class OPTICSProjector method arrange.

@Override
public Collection<PlotItem> arrange(VisualizerContext context) {
    List<PlotItem> col = new ArrayList<>(1);
    List<VisualizationTask> tasks = context.getVisTasks(this);
    if (!tasks.isEmpty()) {
        final PlotItem it = new PlotItem(4., 1., new OPTICSProjection(this));
        it.tasks = tasks;
        col.add(it);
    }
    return col;
}
Also used : VisualizationTask(de.lmu.ifi.dbs.elki.visualization.VisualizationTask) OPTICSProjection(de.lmu.ifi.dbs.elki.visualization.projections.OPTICSProjection) ArrayList(java.util.ArrayList) PlotItem(de.lmu.ifi.dbs.elki.visualization.gui.overview.PlotItem)

Aggregations

VisualizationTask (de.lmu.ifi.dbs.elki.visualization.VisualizationTask)1 PlotItem (de.lmu.ifi.dbs.elki.visualization.gui.overview.PlotItem)1 OPTICSProjection (de.lmu.ifi.dbs.elki.visualization.projections.OPTICSProjection)1 ArrayList (java.util.ArrayList)1