org.processmining.mining.cloudchamber
Class CloudChamberFastRenderer

java.lang.Object
  extended by org.processmining.mining.cloudchamber.CloudChamberFastRenderer

public class CloudChamberFastRenderer
extends java.lang.Object

Author:
christian

Field Summary
protected  javax.swing.JComponent component
           
protected  java.awt.Image image
           
protected  java.awt.image.MemoryImageSource imageSource
           
protected  int imgHeight
           
protected  int imgWidth
           
protected  int oldX
           
protected  int oldY
           
protected  int[] pixels
           
protected  int size
           
protected  CloudChamberStats stats
           
 
Constructor Summary
CloudChamberFastRenderer(CloudChamberStats ccStats, javax.swing.JComponent aComponent)
           
 
Method Summary
static int encodeColor(double value)
           
static java.awt.image.BufferedImage getGradient(int width, int height)
           
 java.awt.Image getSection(int x, int y, int width, int height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

component

protected javax.swing.JComponent component

stats

protected CloudChamberStats stats

size

protected int size

oldX

protected int oldX

oldY

protected int oldY

imgWidth

protected int imgWidth

imgHeight

protected int imgHeight

pixels

protected int[] pixels

imageSource

protected java.awt.image.MemoryImageSource imageSource

image

protected java.awt.Image image
Constructor Detail

CloudChamberFastRenderer

public CloudChamberFastRenderer(CloudChamberStats ccStats,
                                javax.swing.JComponent aComponent)
Method Detail

getSection

public java.awt.Image getSection(int x,
                                 int y,
                                 int width,
                                 int height)

encodeColor

public static int encodeColor(double value)

getGradient

public static java.awt.image.BufferedImage getGradient(int width,
                                                       int height)