public class LocalLightOp extends java.lang.Object implements PixelTransformOp
Constructor and Description |
---|
LocalLightOp() |
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
Clear cache.
|
void |
createLengthLookup()
Creates the length lookup.
|
void |
forceUpdate()
Force update.
|
void |
release()
Release.
|
void |
setFlashlight(boolean b)
Sets the flashlight.
|
void |
transformPixels(int[] pixels,
PTM ptm)
Transform pixels.
|
void |
transformPixels(int[] pixels,
PTM ptm,
int mouseX,
int mouseY)
Transform pixels.
|
public void clearCache()
PixelTransformOp
clearCache
in interface PixelTransformOp
public void createLengthLookup()
public void forceUpdate()
PixelTransformOp
forceUpdate
in interface PixelTransformOp
public void release()
PixelTransformOp
release
in interface PixelTransformOp
public void setFlashlight(boolean b)
b
- the new flashlightpublic void transformPixels(int[] pixels, PTM ptm)
PixelTransformOp
transformPixels
in interface PixelTransformOp
pixels
- the pixelsptm
- the ptmpublic void transformPixels(int[] pixels, PTM ptm, int mouseX, int mouseY)
PixelTransformOp
transformPixels
in interface PixelTransformOp
pixels
- the pixelsptm
- the ptmmouseX
- the mouse xmouseY
- the mouse y