SocialSteeringsBeta
Class SocialSteeringManager

Package class diagram package SocialSteeringManager
java.lang.Object
  extended by SteeringStuff.SteeringManager
      extended by SocialSteeringsBeta.SocialSteeringManager

public class SocialSteeringManager
extends SteeringManager

Author:
Petr

Field Summary
protected  IAnimationEngine animationEngine
           
 
Fields inherited from class SteeringStuff.SteeringManager
BASIC_LOCATION, botself, DEBUG, drawRaycasting, locomotion, MAX_FORCE, multiplier, myNextVelocity, rayManager, steeringWeights, Thomas, WALK_VELOCITY_LENGTH
 
Constructor Summary
SocialSteeringManager(UT2004Bot bot, Raycasting raycasting, AdvancedLocomotion locomotion, IAnimationEngine engine)
           
SocialSteeringManager(UT2004Bot bot, Raycasting raycasting, AdvancedLocomotion locomotion, IAnimationEngine engine, double multiplier)
           
 
Method Summary
 void moveTheBot(javax.vecmath.Vector3d nextVelocity, boolean everyoneWantsToGoFaster, cz.cuni.amis.pogamut.base3d.worldview.object.Location focusLocation)
          DOCASNY komentar v CZ Pridana funkcionalita by mela byt schopna
a)zastavit pohyb pokud bude animationEngine prehravat neprerusitelnou animaci
b)pouzivat 3 rychlosti pohybu misto puvodnich 2
c)treti rychlost pohybu nechava postavu natocenou do focus celou dobu pohybu, tedy je vhodne pouzit "animaci slapani zeli"
protected  cz.cuni.amis.pogamut.base3d.worldview.object.Location setFocusSpecific(SteeringType steeringType, boolean wantsToStop, cz.cuni.amis.pogamut.base3d.worldview.object.Location newFocus, cz.cuni.amis.pogamut.base3d.worldview.object.Location focusLoc)
           
protected  javax.vecmath.Vector3d setVelocitySpecific(ISteering steering, RefBoolean wantsToGoFaster, RefBoolean wantsToStop, RefLocation newFocus)
          When owerriden can provide different behaviour of steering computation i.e.
 
Methods inherited from class SteeringStuff.SteeringManager
addLeaderFollowingSteering, addObstacleAvoidanceSteering, addPathFollowingSteering, addPeopleAvoidanceSteering, addSteering, addSteering, addStickToPathSteering, addTargetApproachingSteering, addWalkAlongSteering, addWallFollowingSteering, clearSteerings, getLeaderFollowingProperties, getMyActualVelocity, getMyNextVelocity, getObstacleAvoidanceProperties, getPathFollowingProperties, getPeopleAvoidanceProperties, getRandomStartLocation, getRandomStartRotation, getSteeringForces, getTargetApproachingProperties, getWalkAlongProperties, getWallFollowingProperties, hasSteering, isCanEnlargeVelocity, isDrawRaycasting, isLeaderFollowingActive, isNavigating, isObstacleAvoidanceActive, isPathFollowingActive, isPeopleAvoidanceActive, isStickToPathSteeringActive, isTargetApproachingActive, isWalkAlongActive, isWallFollowingActive, removeLeaderFollowingSteering, removeObstacleAvoidanceSteering, removePathFollowingSteering, removePeopleAvoidanceSteering, removeSteering, removeStickToPathSteering, removeTargetApproachingSteering, removeWalkAlongSteering, removeWallFollowingSteering, run, setCanEnlargeVelocity, setDrawRaycasting, setLastVeloWeight, setLeaderFollowingSteering, setMultiplier, setObstacleAvoidanceSteering, setPathFollowingSteering, setPeopleAvoidanceSteering, setSteeringProperties, setStickToPathSteering, setTargetApproachingSteering, setUseLastVeloWeight, setWalkAlongSteering, setWallFollowingSteering, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

animationEngine

protected IAnimationEngine animationEngine
Constructor Detail

SocialSteeringManager

public SocialSteeringManager(UT2004Bot bot,
                             Raycasting raycasting,
                             AdvancedLocomotion locomotion,
                             IAnimationEngine engine,
                             double multiplier)

SocialSteeringManager

public SocialSteeringManager(UT2004Bot bot,
                             Raycasting raycasting,
                             AdvancedLocomotion locomotion,
                             IAnimationEngine engine)
Method Detail

moveTheBot

public void moveTheBot(javax.vecmath.Vector3d nextVelocity,
                       boolean everyoneWantsToGoFaster,
                       cz.cuni.amis.pogamut.base3d.worldview.object.Location focusLocation)
DOCASNY komentar v CZ Pridana funkcionalita by mela byt schopna
a)zastavit pohyb pokud bude animationEngine prehravat neprerusitelnou animaci
b)pouzivat 3 rychlosti pohybu misto puvodnich 2
c)treti rychlost pohybu nechava postavu natocenou do focus celou dobu pohybu, tedy je vhodne pouzit "animaci slapani zeli"

Overrides:
moveTheBot in class SteeringManager
Parameters:
nextVelocity -
everyoneWantsToGoFaster -
focusLocation -

setFocusSpecific

protected cz.cuni.amis.pogamut.base3d.worldview.object.Location setFocusSpecific(SteeringType steeringType,
                                                                                 boolean wantsToStop,
                                                                                 cz.cuni.amis.pogamut.base3d.worldview.object.Location newFocus,
                                                                                 cz.cuni.amis.pogamut.base3d.worldview.object.Location focusLoc)
Overrides:
setFocusSpecific in class SteeringManager

setVelocitySpecific

protected javax.vecmath.Vector3d setVelocitySpecific(ISteering steering,
                                                     RefBoolean wantsToGoFaster,
                                                     RefBoolean wantsToStop,
                                                     RefLocation newFocus)
Description copied from class: SteeringManager
When owerriden can provide different behaviour of steering computation i.e. can tunnel some other information like true distance to target place it is used for the social steerings...

Overrides:
setVelocitySpecific in class SteeringManager


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