| Modifier and Type | Class and Description |
|---|---|
class |
WVObjectsSetAdapter<T extends IViewable>
Provides set of all existing world objects extending some class as observable set.
|
class |
WVVisibleObjectsSetAdapter<T extends IViewable>
Provides set of all visible world objects extending some class as observable set.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
DistanceUtils.VisibleFilter<T extends IViewable>
Accepts only VISIBLE (
isVisible() == TRUE) objects. |
| Modifier and Type | Field and Description |
|---|---|
static DistanceUtils.VisibleFilter<IViewable> |
DistanceUtils.visibleFilter
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends IViewable> |
DistanceUtils.getDistanceSortedVisible(Collection<T> locations,
ILocated target)
Returns visible "locations" sorted according to the distance to "target".
|
static <T extends IViewable> |
DistanceUtils.getNearest2DVisible(Collection<T> locations,
ILocated target)
Returns the nearest object to 'target' that is visible (using
DistanceUtils.VisibleFilter). |
static <T extends IViewable> |
DistanceUtils.getNearestVisible(Collection<T> locations,
ILocated target)
Returns the nearest object to 'target' that is visible (using
DistanceUtils.VisibleFilter). |
static <T extends IViewable> |
DistanceUtils.getSecondNearest2DVisible(Collection<T> locations,
ILocated target)
Returns the second nearest object to 'target' that is visible (using
DistanceUtils.VisibleFilter). |
static <T extends IViewable> |
DistanceUtils.getSecondNearestVisible(Collection<T> locations,
ILocated target)
Returns the second nearest object to 'target' that is visible (using
DistanceUtils.VisibleFilter). |
| Modifier and Type | Method and Description |
|---|---|
<T extends IViewable> |
IVisionWorldView.getAllVisible(Class<T> type)
Returns map of all visible objects (
IViewable instances} - those that the agent can currently see. |
| Modifier and Type | Method and Description |
|---|---|
IViewable |
IVisionWorldView.getVisible(WorldObjectId id)
Returns a visible world object of the specific id (if exists inside the world view and is visible).
|
| Modifier and Type | Method and Description |
|---|---|
Map<Class,Map<WorldObjectId,IViewable>> |
IVisionWorldView.getAllVisible()
Returns map of all visible objects (
IViewable instances} - those that the agent can currently see. |
Map<WorldObjectId,IViewable> |
IVisionWorldView.getVisible()
Returns map of all visible objects (
IViewable instances} organized according to their WorldObjectId -
those that the agent can currently see. |
| Modifier and Type | Method and Description |
|---|---|
void |
Vision.notify(IWorldObjectEvent<IViewable> event) |
| Modifier and Type | Method and Description |
|---|---|
<T extends IViewable> |
VisionWorldView.getAllVisible(Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
IViewable |
VisionWorldView.getVisible(WorldObjectId id) |
| Modifier and Type | Method and Description |
|---|---|
Map<Class,Map<WorldObjectId,IViewable>> |
VisionWorldView.getAllVisible() |
Map<WorldObjectId,IViewable> |
VisionWorldView.getVisible() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
VisionWorldView.addVisibleObject(IViewable worldObject)
Method that adds a world object to the visible object maps.
|
protected void |
VisionWorldView.objectAppeared(IViewable obj)
Called whenever the object appears in the agent's FOV.
|
protected void |
BatchAwareWorldView.objectAppeared(IViewable obj) |
protected void |
VisionWorldView.objectDisappeared(IViewable obj)
Called whenever the object disappears from the agent's FOV.
|
protected void |
BatchAwareWorldView.objectDisappeared(IViewable obj) |
protected void |
VisionWorldView.removeVisibleObject(IViewable worldObject)
Removes world object from the visible world maps.
|
protected abstract void |
BatchAwareWorldView.setDisappearedFlag(IViewable obj)
Sets the visible flag to true on
IViewable objects. |
| Modifier and Type | Class and Description |
|---|---|
class |
WorldObjectAppearedEvent<T extends IViewable>
This event is raised when the object becomes visible.
|
class |
WorldObjectDisappearedEvent<T extends IViewable>
* This event is raised when the object leaves field of view.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends IViewable> |
IVisionLocalWorldView.getAllVisible(Class<T> type)
Returns map of all visible objects (
IViewable instances} - those that the agent can currently see. |
| Modifier and Type | Method and Description |
|---|---|
IViewable |
IVisionLocalWorldView.getVisible(WorldObjectId id)
Returns a visible world object of the specific id (if exists inside the world view and is visible).
|
| Modifier and Type | Method and Description |
|---|---|
Map<Class,Map<WorldObjectId,IViewable>> |
IVisionLocalWorldView.getAllVisible()
Returns map of all visible objects (
IViewable instances} - those that the agent can currently see. |
Map<WorldObjectId,IViewable> |
IVisionLocalWorldView.getVisible()
Returns map of all visible objects (
IViewable instances} organized according to their WorldObjectId -
those that the agent can currently see. |
| Modifier and Type | Field and Description |
|---|---|
protected Map<TimeKey,Map<Class,Map<WorldObjectId,IViewable>>> |
VisionLocalWorldView.syncVisibleClassMap
Synchronized version of visible objects sorted according to class.
|
protected Map<TimeKey,Map<WorldObjectId,IViewable>> |
VisionLocalWorldView.syncVisibleMap
Synchronized version of visible objects.
|
protected Map<TimeKey,Map<Class,Map<WorldObjectId,IViewable>>> |
VisionLocalWorldView.visibleClassMap
Map of all currently visible objects, sorted according to their classes.
|
protected Map<TimeKey,Map<WorldObjectId,IViewable>> |
VisionLocalWorldView.visibleMap
Map of all currently visible objects.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends IViewable> |
VisionLocalWorldView.getAllVisible(Class<T> type) |
<T extends IViewable> |
LocalWorldViewAdapter.getAllVisible(Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
IViewable |
VisionLocalWorldView.getVisible(WorldObjectId id) |
IViewable |
LocalWorldViewAdapter.getVisible(WorldObjectId id) |
| Modifier and Type | Method and Description |
|---|---|
Map<Class,Map<WorldObjectId,IViewable>> |
VisionLocalWorldView.getAllVisible() |
Map<Class,Map<WorldObjectId,IViewable>> |
LocalWorldViewAdapter.getAllVisible() |
Map<WorldObjectId,IViewable> |
VisionLocalWorldView.getVisible() |
Map<WorldObjectId,IViewable> |
LocalWorldViewAdapter.getVisible() |
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.