jpview.transforms
Class EnvironmentMapOp

java.lang.Object
  extended by jpview.transforms.EnvironmentMapOp
All Implemented Interfaces:
PixelTransformOp

public class EnvironmentMapOp
extends java.lang.Object
implements PixelTransformOp

Author:
clyon

Constructor Summary
EnvironmentMapOp()
          Creates a new instance of ColorChannelOp
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnvironmentMapOp

public EnvironmentMapOp()
Creates a new instance of ColorChannelOp

Method Detail

transformPixels

public void transformPixels(int[] pixels,
                            PTM ptm)
Transforms pixels using the default mouse location

Specified by:
transformPixels in interface PixelTransformOp
Parameters:
pixels - the pixel buffer for display
ptm - the source ptm

transformPixels

public void transformPixels(int[] pixels,
                            PTM ptm,
                            int mouseX,
                            int mouseY)
Description copied from interface: PixelTransformOp
Transforms pixels using the given mouse location

Specified by:
transformPixels in interface PixelTransformOp
Parameters:
pixels - the pixel buffer for display
ptm - the source ptm object
mouseX - x mouse offset
mouseY - y mouse offset

release

public void release()
Releases all resources associated with this object

Specified by:
release in interface PixelTransformOp

forceUpdate

public void forceUpdate()
Description copied from interface: PixelTransformOp
For operators that cache or otherwise try to be smart about performance, this method will bypass optimizations.

Specified by:
forceUpdate in interface PixelTransformOp

clearCache

public void clearCache()
Description copied from interface: PixelTransformOp
For operators that cache information, this method clears the contents of the cache

Specified by:
clearCache in interface PixelTransformOp