motris.data
Class MotrisImage

java.lang.Object
  extended bymotris.data.MotrisImage
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
DerivativeImage, GrayImage, OFImage

public abstract class MotrisImage
extends java.lang.Object
implements java.lang.Cloneable

Abstract superclass of all Motris image data types

Author:
ottlik

Field Summary
(package private)  java.awt.Rectangle Clipping
           
static int COLOR
           
static int DERIVATION
           
(package private)  int frameNr
           
static int GRAY
           
static int OF
           
(package private)  int type
           
 
Constructor Summary
MotrisImage(int _type, int width, int height)
           
MotrisImage(int _type, int width, int height, int framenum)
           
MotrisImage(int _type, int x, int y, int width, int height)
           
MotrisImage(int _type, int x, int y, int width, int height, int framenum)
           
 
Method Summary
 java.awt.Rectangle getClipping()
           
 double[] getDoubleDataArray()
           
 int getFrameNr()
           
 int getHeight()
           
 int[] getIntDataArray()
           
 int getType()
           
 int getWidth()
           
 int getX()
           
 int getY()
           
 void setFrameNr(int n)
           
 void setType(int t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GRAY

public static final int GRAY
See Also:
Constant Field Values

COLOR

public static final int COLOR
See Also:
Constant Field Values

DERIVATION

public static final int DERIVATION
See Also:
Constant Field Values

OF

public static final int OF
See Also:
Constant Field Values

frameNr

int frameNr

type

int type

Clipping

java.awt.Rectangle Clipping
Constructor Detail

MotrisImage

public MotrisImage(int _type,
                   int width,
                   int height,
                   int framenum)

MotrisImage

public MotrisImage(int _type,
                   int width,
                   int height)

MotrisImage

public MotrisImage(int _type,
                   int x,
                   int y,
                   int width,
                   int height,
                   int framenum)

MotrisImage

public MotrisImage(int _type,
                   int x,
                   int y,
                   int width,
                   int height)
Method Detail

getDoubleDataArray

public double[] getDoubleDataArray()

getIntDataArray

public int[] getIntDataArray()

getFrameNr

public int getFrameNr()

getType

public int getType()

getX

public int getX()

getY

public int getY()

getHeight

public int getHeight()

getWidth

public int getWidth()

setFrameNr

public void setFrameNr(int n)

setType

public void setType(int t)

getClipping

public java.awt.Rectangle getClipping()