Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.modama.jaiutil.operators
Class MosaicOpImage  view MosaicOpImage download MosaicOpImage.java

java.lang.Object
  extended byOpImage
      extended byorg.modama.jaiutil.operators.MosaicOpImage

class MosaicOpImage
extends OpImage

The MosaicOpImage class.


Field Summary
private  int cols
          The number of columns in the mosaic.
private  int height
          The image height.
private  int majorTileHeight
          The height of the source tiles.
private  int majorTileWidth
          The width of the source tiles.
private  int rows
          The number of rows in the mosaic.
private  int tileHeight
          The image tile height.
private  int tilesX
          The number of tiles across the image.
private  int tilesY
          The number of tiles down the image.
private  int tileWidth
          The image tile width.
private  int width
          The image width.
 
Constructor Summary
MosaicOpImage(int rows, int cols, java.util.Vector sources)
           
 
Method Summary
 java.awt.image.Raster computeTile(int x, int y)
           
 java.awt.Rectangle mapDestRect(java.awt.Rectangle rectangle, int i)
           
 java.awt.Rectangle mapSourceRect(java.awt.Rectangle rectangle, int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rows

private int rows
The number of rows in the mosaic.


cols

private int cols
The number of columns in the mosaic.


tileWidth

private int tileWidth
The image tile width.


tileHeight

private int tileHeight
The image tile height.


width

private int width
The image width.


height

private int height
The image height.


tilesX

private int tilesX
The number of tiles across the image.


tilesY

private int tilesY
The number of tiles down the image.


majorTileWidth

private int majorTileWidth
The width of the source tiles.


majorTileHeight

private int majorTileHeight
The height of the source tiles.

Constructor Detail

MosaicOpImage

public MosaicOpImage(int rows,
                     int cols,
                     java.util.Vector sources)
Method Detail

computeTile

public java.awt.image.Raster computeTile(int x,
                                         int y)

mapDestRect

public java.awt.Rectangle mapDestRect(java.awt.Rectangle rectangle,
                                      int i)

mapSourceRect

public java.awt.Rectangle mapSourceRect(java.awt.Rectangle rectangle,
                                        int i)