|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PixelTransformOp
The pixel transform operator provides the contract for operators which read the PTM data and modify it for display
| Method Summary | |
|---|---|
void |
clearCache()
For operators that cache information, this method clears the contents of the cache |
void |
forceUpdate()
For operators that cache or otherwise try to be smart about performance, this method will bypass optimizations. |
void |
release()
Releases all resources associated with this object |
void |
transformPixels(int[] pixels,
PTM ptm)
Transforms pixels using the default mouse location |
void |
transformPixels(int[] pixels,
PTM ptm,
int mouseX,
int mouseY)
Transforms pixels using the given mouse location |
| Method Detail |
|---|
void transformPixels(int[] pixels,
PTM ptm)
pixels - the pixel buffer for displayptm - the source ptm
void transformPixels(int[] pixels,
PTM ptm,
int mouseX,
int mouseY)
pixels - the pixel buffer for displayptm - the source ptm objectmouseX - x mouse offsetmouseY - y mouse offsetvoid forceUpdate()
void release()
void clearCache()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||