|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisFactory de.lmu.ifi.dbs.elki.visualization.visualizers.vis1d.P1DHistogramVisualizer.Factory<NV>
NV
- Number vector typepublic static class P1DHistogramVisualizer.Factory<NV extends NumberVector<NV,?>>
Visualizer factory for 1D histograms
Nested Class Summary | |
---|---|
static class |
P1DHistogramVisualizer.Factory.Parameterizer<NV extends NumberVector<NV,?>>
Parameterization class. |
Field Summary | |
---|---|
private int |
bins
Number of bins to use in the histogram. |
private boolean |
curves
Internal storage of the curves flag. |
private static int |
DEFAULT_BINS
Number of bins to use in histogram. |
static OptionID |
HISTOGRAM_BINS_ID
Parameter to specify the number of bins to use in histogram. |
static OptionID |
STYLE_CURVES_ID
Flag to specify the "curves" rendering style. |
Constructor Summary | |
---|---|
P1DHistogramVisualizer.Factory(boolean curves,
int bins)
Constructor. |
Method Summary | |
---|---|
boolean |
allowThumbnails(VisualizationTask task)
Test whether to do a thumbnail or a full rendering. |
Visualization |
makeVisualization(VisualizationTask task)
Produce a visualization instance for the given task |
void |
processNewResult(HierarchicalResult baseResult,
Result result)
Add visualizers for the given result (tree) to the context. |
Methods inherited from class de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisFactory |
---|
makeVisualizationOrThumbnail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final OptionID STYLE_CURVES_ID
Key: -histogram.curves
public static final OptionID HISTOGRAM_BINS_ID
Key: -projhistogram.bins
Default: 20
private boolean curves
private static final int DEFAULT_BINS
private int bins
Constructor Detail |
---|
public P1DHistogramVisualizer.Factory(boolean curves, int bins)
curves
- bins
- Method Detail |
---|
public Visualization makeVisualization(VisualizationTask task)
VisFactory
makeVisualization
in interface VisFactory
makeVisualization
in class AbstractVisFactory
task
- Visualization task
public void processNewResult(HierarchicalResult baseResult, Result result)
VisFactory
baseResult
- Context to work withresult
- Result to processpublic boolean allowThumbnails(VisualizationTask task)
AbstractVisFactory
allowThumbnails
in class AbstractVisFactory
task
- Task requested
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |