|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object databionics.esom.renderer.background.BackgroundRenderer databionics.esom.renderer.background.GapRenderer
public class GapRenderer
Gap background renderer. Inspired by a method proposed by Kaski. The height is the distance to the local centroid. The centroid is calculated by the eight direct neighbors.
Field Summary | |
---|---|
protected static org.apache.log4j.Logger |
log
interface to log4j system |
Fields inherited from class databionics.esom.renderer.background.BackgroundRenderer |
---|
bmChanged, cacheMatrix, lrnChanged, paramChanged, renderer, wtsChanged |
Constructor Summary | |
---|---|
GapRenderer()
Standard constructor |
Method Summary | |
---|---|
void |
init()
Optional initialization of background renderer. |
boolean |
isColorBackground()
Whether this background renderer returns color matrix. |
cern.colt.matrix.DoubleMatrix2D |
render(Renderer renderer)
The heights are calculated as the distance of a prototype to a local centroid. |
Methods inherited from class databionics.esom.renderer.background.BackgroundRenderer |
---|
bmChanged, getCaption, getRenderer, lrnChanged, paramChanged, resetCache, setRenderer, wtsChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.apache.log4j.Logger log
Constructor Detail |
---|
public GapRenderer()
Method Detail |
---|
public cern.colt.matrix.DoubleMatrix2D render(Renderer renderer)
render
in class BackgroundRenderer
renderer
- The invoking Rendererpublic boolean isColorBackground()
BackgroundRenderer
isColorBackground
in class BackgroundRenderer
public void init()
BackgroundRenderer
init
in class BackgroundRenderer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |