cz.cuni.amis.pogamut.unreal.communication.worldview.map
Class MapInfo

java.lang.Object
  extended by cz.cuni.amis.pogamut.unreal.communication.worldview.map.MapInfo
All Implemented Interfaces:
IUnrealMapInfo, java.io.Serializable

public class MapInfo
extends java.lang.Object
implements IUnrealMapInfo

Info for visualization of maps background

See Also:
Serialized Form

Field Summary
 int height
           
 Location[] imagePoints
           
 byte[] imgData
           
 int width
           
 Location[] worldPoints
           
 
Constructor Summary
MapInfo()
           
 
Method Summary
 int getHeight()
           
 Location[] getImagePoints()
           
 byte[] getImgRGBData()
           
 java.lang.String getName()
           
 int getWidth()
           
 Location[] getWorldPoints()
           
 void setImage(java.lang.String path)
           
 void setImagePoint(int i, Location l)
           
 void setName(java.lang.String name)
           
 void setWorldPos(int i, Location l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

imagePoints

public Location[] imagePoints

worldPoints

public Location[] worldPoints

width

public int width

height

public int height

imgData

public byte[] imgData
Constructor Detail

MapInfo

public MapInfo()
Method Detail

getHeight

public int getHeight()
Specified by:
getHeight in interface IUnrealMapInfo

getName

public java.lang.String getName()
Specified by:
getName in interface IUnrealMapInfo

getWidth

public int getWidth()
Specified by:
getWidth in interface IUnrealMapInfo

getImgRGBData

public byte[] getImgRGBData()
Specified by:
getImgRGBData in interface IUnrealMapInfo

setImage

public void setImage(java.lang.String path)
              throws java.io.IOException
Specified by:
setImage in interface IUnrealMapInfo
Throws:
java.io.IOException

setImagePoint

public void setImagePoint(int i,
                          Location l)
Specified by:
setImagePoint in interface IUnrealMapInfo

setName

public void setName(java.lang.String name)
Specified by:
setName in interface IUnrealMapInfo

setWorldPos

public void setWorldPos(int i,
                        Location l)
Specified by:
setWorldPos in interface IUnrealMapInfo

getImagePoints

public Location[] getImagePoints()
Specified by:
getImagePoints in interface IUnrealMapInfo

getWorldPoints

public Location[] getWorldPoints()
Specified by:
getWorldPoints in interface IUnrealMapInfo