public class RaycastingManager extends Object
Modifier and Type | Field and Description |
---|---|
cz.cuni.amis.pogamut.ut2004.agent.module.sensomotoric.Raycasting |
raycasting |
Constructor and Description |
---|
RaycastingManager(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot botself,
cz.cuni.amis.pogamut.ut2004.agent.module.sensomotoric.Raycasting raycasting)
Creates the new RaycastingManager of the botself with the raycasting module.
|
Modifier and Type | Method and Description |
---|---|
void |
addRayFlagChangedListener(SteeringType type,
IRaysFlagChanged listener)
Adds new ISteeringPropertiesChangedListener - he will listen for changes in some steering properties.
|
void |
addRays(SteeringType type,
LinkedList<SteeringRay> rayList,
IRaysFlagChanged listener)
Adds rays of the type.
|
HashMap<String,Future<cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AutoTraceRay>> |
getMyFutureRays(SteeringType type)
Returns the futureRays of the type.
|
void |
notifyRayFlagChangedListeners()
Notify the listneres, that the steering properties were changed.
|
boolean |
raysAreReady()
Returns whether the rays are ready (the flag of getAllRaysInitialized).
|
void |
removeRays(SteeringType type)
The rays of the type will be removed.
|
public cz.cuni.amis.pogamut.ut2004.agent.module.sensomotoric.Raycasting raycasting
public RaycastingManager(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot botself, cz.cuni.amis.pogamut.ut2004.agent.module.sensomotoric.Raycasting raycasting)
public void addRayFlagChangedListener(SteeringType type, IRaysFlagChanged listener)
public void notifyRayFlagChangedListeners()
public void addRays(SteeringType type, LinkedList<SteeringRay> rayList, IRaysFlagChanged listener)
public void removeRays(SteeringType type)
public HashMap<String,Future<cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AutoTraceRay>> getMyFutureRays(SteeringType type)
public boolean raysAreReady()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.