de.lmu.ifi.dbs.elki.visualization.opticsplot
Class OPTICSColorStatic

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.visualization.opticsplot.OPTICSColorStatic
All Implemented Interfaces:
OPTICSColorAdapter

public class OPTICSColorStatic
extends Object
implements OPTICSColorAdapter

Pseudo-coloring for OPTICS plot that just uses a static color.


Field Summary
(package private)  int color
          Static color to use
 
Constructor Summary
OPTICSColorStatic(int color)
          Constructor.
 
Method Summary
 int getColorForEntry(ClusterOrderEntry<?> coe)
          Get the color value for a particular cluster order entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

color

int color
Static color to use

Constructor Detail

OPTICSColorStatic

public OPTICSColorStatic(int color)
Constructor.

Parameters:
color - Static color to use.
Method Detail

getColorForEntry

public int getColorForEntry(ClusterOrderEntry<?> coe)
Description copied from interface: OPTICSColorAdapter
Get the color value for a particular cluster order entry.

Specified by:
getColorForEntry in interface OPTICSColorAdapter
Parameters:
coe - Cluster order entry
Returns:
Color value (rgba integer)

Release 0.4.0 (2011-09-20_1324)