Package elki.visualization.style
Interface StylingPolicy
-
- All Superinterfaces:
VisualizationItem
- All Known Subinterfaces:
ClassStylingPolicy
,SingleObjectsStylingPolicy
- All Known Implementing Classes:
ClusterStylingPolicy
,SegmentsStylingPolicy
public interface StylingPolicy extends VisualizationItem
Styling policy.Implementations must implement either
ClassStylingPolicy
orSingleObjectsStylingPolicy
interfaces, as most visualizers will only support these known interfaces.- Since:
- 0.5.0
- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description int
getColorForDBID(DBIDRef id)
Get the color for an individual object.default double
getIntensityForDBID(DBIDRef id)
Get the Intensity for an individual object.-
Methods inherited from interface elki.visualization.VisualizationItem
getMenuName
-
-
-
-
Method Detail
-
getColorForDBID
int getColorForDBID(DBIDRef id)
Get the color for an individual object.Note: if possible, use a class styling policy which can optimize better.
- Parameters:
id
- Object ID- Returns:
- Color value
-
getIntensityForDBID
default double getIntensityForDBID(DBIDRef id)
Get the Intensity for an individual object.Note: if possible, use a class styling policy which can optimize better.
- Parameters:
id
- Object ID- Returns:
- Intensity value
-
-