com.partnersoft.maps.model
Class RasterImage

java.lang.Object
  extended by com.partnersoft.maps.model.RasterImage

public class RasterImage
extends java.lang.Object

A single raster image, as provided by a RasterSet.

Author:
Paul Reavis Copyright 2005 Partner Software, Inc.

Field Summary
 double originX
           
 double originY
           
 java.lang.String path
           
 int pixelHeight
           
 int pixelWidth
           
 double scale
           
 
Constructor Summary
RasterImage(java.lang.String path, double originX, double originY, double scale, int pixelWidth, int pixelHeight)
           
 
Method Summary
 byte[] getGLPixels()
           
 GLTexture getGLTexture()
           
 java.awt.Image getImage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

path

public java.lang.String path

originX

public double originX

originY

public double originY

scale

public double scale

pixelWidth

public int pixelWidth

pixelHeight

public int pixelHeight
Constructor Detail

RasterImage

public RasterImage(java.lang.String path,
                   double originX,
                   double originY,
                   double scale,
                   int pixelWidth,
                   int pixelHeight)
Method Detail

getImage

public java.awt.Image getImage()

getGLPixels

public byte[] getGLPixels()

getGLTexture

public GLTexture getGLTexture()