cz.cuni.amis.pogamut.ut2004.agent.module.sensomotoric
Class RaycastingBSP

Package class diagram package RaycastingBSP
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.agent.module.AgentModule<AGENT>
      extended by cz.cuni.amis.pogamut.base.agent.module.SensomotoricModule<UT2004Bot>
          extended by cz.cuni.amis.pogamut.ut2004.agent.module.sensomotoric.RaycastingBSP
All Implemented Interfaces:
IComponent

public class RaycastingBSP
extends SensomotoricModule<UT2004Bot>


Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.SensomotoricModule
act, worldView
 
Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.AgentModule
agent, controller, eventBus, log
 
Constructor Summary
RaycastingBSP(UT2004Bot bot)
           
RaycastingBSP(UT2004Bot bot, Logger log)
           
 
Method Summary
 void clear()
          Deletes all previous rays and makes this instance ready for setting up new rays.
 Future<AutoTraceRay> createRay(String id, javax.vecmath.Vector3d direction, int length, boolean floorCorrection)
           
 Future<AutoTraceRay> createRay(javax.vecmath.Vector3d direction, int length, boolean floorCorrection)
           
 boolean isUsable()
          Whether we have BSP data for raycasting.
protected  void selfUpdate(Self self)
           
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.module.AgentModule
cleanUp, getComponentId, getLog, getState, initComponentId, isRunning, kill, pause, reset, resume, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RaycastingBSP

public RaycastingBSP(UT2004Bot bot)

RaycastingBSP

public RaycastingBSP(UT2004Bot bot,
                     Logger log)
Method Detail

isUsable

public boolean isUsable()
Whether we have BSP data for raycasting.

Returns:

clear

public void clear()
Deletes all previous rays and makes this instance ready for setting up new rays.


createRay

public Future<AutoTraceRay> createRay(javax.vecmath.Vector3d direction,
                                      int length,
                                      boolean floorCorrection)

createRay

public Future<AutoTraceRay> createRay(String id,
                                      javax.vecmath.Vector3d direction,
                                      int length,
                                      boolean floorCorrection)

selfUpdate

protected void selfUpdate(Self self)


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.