|
Boeing Simulation 3.1 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--worldsimulator.SimulatorImage
| Field Summary | |
private Long |
ID
The ID of the UAV that took this image. |
private Map |
image
The image as a 2D int array. |
private objects.Location |
loc
The location at which this image was taken. |
private double |
radius
The radius after which the image is not significant. |
private objects.Location |
sourceLoc
The Location of the object in the image that
took this image. |
| Constructor Summary | |
SimulatorImage(Map image,
objects.Location loc,
double radius,
Long ID,
objects.Location sourceLoc)
|
|
| Method Summary | |
void |
clear()
The clear method is necessary to null out the int[][] representing the image. |
long |
getImageSourceID()
Returns the ID of the UAV that took this image. |
objects.Location |
getLocation()
Returns the location at which this picture was taken. |
Map |
getObjectMap()
Returns a mapping of Location to Integer
objects that denote their type. |
double |
getRadius()
Returns the radius of the unit square in which this image's data is significant. |
Object |
getSourceObjectLocation()
Returns the Location of the object in the image
that took this image. |
private void |
readObject(ObjectInputStream in)
|
String |
toString()
|
private void |
writeObject(ObjectOutputStream out)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private transient Map image
private final objects.Location loc
private final double radius
private final Long ID
private final objects.Location sourceLoc
Location of the object in the image that
took this image.
| Constructor Detail |
public SimulatorImage(Map image,
objects.Location loc,
double radius,
Long ID,
objects.Location sourceLoc)
| Method Detail |
public void clear()
public Map getObjectMap()
UAVImageLocation to Integer
objects that denote their type.
getObjectMap in interface UAVImageObjectLocater,
ComponentizedSimulatorpublic objects.Location getLocation()
UAVImage
getLocation in interface UAVImagepublic double getRadius()
UAVImage
getRadius in interface UAVImagepublic long getImageSourceID()
UAVImageUAV that took this image.
getImageSourceID in interface UAVImagepublic Object getSourceObjectLocation()
UAVImageLocation of the object in the image
that took this image.
getSourceObjectLocation in interface UAVImagepublic String toString()
toString in class Object
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out)
throws IOException
IOException
|
Boeing Simulation 3.1 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||