DESY ACOP Beans Home
com.cosylab.gui.components.ledder
Class LedRendererOld
java.lang.Object
com.cosylab.gui.components.ledder.LedRendererOld
public class LedRendererOld
- extends java.lang.Object
This is a specialized class for rendering LED icons. It is implemented as a
minimal ray-tracer with specular lighting overlay rendering.
NOTE: Due to performance reasons this class is not thread-safe and should
not be shared in multiple instances.
- Version:
- $id$
- Author:
- Ales Pucelj
Method Summary |
double[] |
getLight(double x,
double y,
double[] v)
|
int[] |
renderSection(int x,
int y,
int w,
int h)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LedRendererOld
public LedRendererOld(int x,
int y,
int r,
LedPaintParameters lpp)
- Parameters:
x
- inty
- intr
- intlpp
- LedPaintParameters
getLight
public double[] getLight(double x,
double y,
double[] v)
- Parameters:
x
- doubley
- doublev
- double[]
- Returns:
- double[]
renderSection
public final int[] renderSection(int x,
int y,
int w,
int h)
- Parameters:
x
- inty
- intw
- inth
- int
- Returns:
- int[]
Copyright © 2010. All Rights Reserved.