databionics.io
Class ColorStatistics

java.lang.Object
  extended by databionics.io.ColorStatistics

public class ColorStatistics
extends java.lang.Object

Statistics about colors used in rendering ESOM.

Author:
stammi, mart

Field Summary
protected static org.apache.log4j.Logger log
           
 
Constructor Summary
ColorStatistics(int steps)
           
 
Method Summary
 void addEntry(int pos, double height)
           
 double getCount(int pos)
           
 double getMax(int pos)
           
 int getMaxCount()
           
 double getMaxPercentage()
           
 double getMin(int pos)
           
 double getPercentage(int pos)
           
 int getTotalCount()
           
 double getTotalMax()
           
protected  void incCount(int pos)
           
protected  void setMax(int pos, double value)
           
protected  void setMin(int pos, double value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected static org.apache.log4j.Logger log
Constructor Detail

ColorStatistics

public ColorStatistics(int steps)
Method Detail

setMin

protected void setMin(int pos,
                      double value)

setMax

protected void setMax(int pos,
                      double value)

incCount

protected void incCount(int pos)

addEntry

public void addEntry(int pos,
                     double height)

getMin

public double getMin(int pos)

getMax

public double getMax(int pos)

getTotalMax

public double getTotalMax()

getCount

public double getCount(int pos)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getTotalCount

public int getTotalCount()
Returns:
Returns the totalCount.

getPercentage

public double getPercentage(int pos)

getMaxPercentage

public double getMaxPercentage()

getMaxCount

public int getMaxCount()


Copyright © 2005-2006 Databionics Research Group. All Rights Reserved.