org.marvinproject.image.transform.rotate
Class Rotate

java.lang.Object
  extended by marvin.plugin.MarvinAbstractImagePlugin
      extended by org.marvinproject.image.transform.rotate.Rotate
All Implemented Interfaces:
marvin.plugin.MarvinImagePlugin, marvin.plugin.MarvinPlugin

public class Rotate
extends marvin.plugin.MarvinAbstractImagePlugin

Rotate the image by a user-defined angle.


Constructor Summary
Rotate()
           
 
Method Summary
 void initialiseLookUpArray(int[][][] a_LookUpArray, int[] dimensions, int a_InitialisationValue)
          Create a LookUpArray to see if pixels have been assigned a value
 void load()
           
 void process(marvin.image.MarvinImage a_imageIn, marvin.image.MarvinImage a_imageOut, marvin.util.MarvinAttributes a_attributesOut, marvin.image.MarvinImageMask a_mask, boolean a_previewMode)
          Initiate the rotate process and determine the angle of rotation
 void show()
           
 
Methods inherited from class marvin.plugin.MarvinAbstractImagePlugin
getAttribute, getAttributes, getImagePanel, setAttribute, setImagePanel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rotate

public Rotate()
Method Detail

load

public void load()

show

public void show()

process

public void process(marvin.image.MarvinImage a_imageIn,
                    marvin.image.MarvinImage a_imageOut,
                    marvin.util.MarvinAttributes a_attributesOut,
                    marvin.image.MarvinImageMask a_mask,
                    boolean a_previewMode)
Initiate the rotate process and determine the angle of rotation

Parameters:
MarvinImage - - the image to be rotated
boolean - - to display a preview

initialiseLookUpArray

public void initialiseLookUpArray(int[][][] a_LookUpArray,
                                  int[] dimensions,
                                  int a_InitialisationValue)
Create a LookUpArray to see if pixels have been assigned a value

Parameters:
a_LookUpArray - - the values to be filled in
dimensions - - the size of the array
a_InitialisationValue - - what value to assign.