SteeringProperties
Class SteeringProperties

Package class diagram package SteeringProperties
java.lang.Object
  extended by SteeringProperties.SteeringProperties
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LeaderFollowingProperties, ObstacleAvoidanceProperties, PathFollowingProperties, PeopleAvoidanceProperties, StickToPathProperties, TargetApproachingProperties, TriangleSteeringProperties, WalkAlongProperties, WallFollowingProperties

public abstract class SteeringProperties
extends Object
implements Serializable

All the specific steering properties extend this class.

Author:
Marki
See Also:
Serialized Form

Nested Class Summary
static class SteeringProperties.BehaviorType
          These types are especially for SteeringGui or other similar aplication.
 
Field Summary
protected  boolean active
          Whether the steering is active.
protected  SteeringProperties.BehaviorType behaviorType
          The behavior type.
protected  SteeringType type
          The type of the steering.
protected  double weight
          The weight of the steering.
 
Constructor Summary
SteeringProperties(SteeringType type)
           
SteeringProperties(SteeringType type, boolean active, double weight)
           
SteeringProperties(SteeringType type, boolean active, double weight, SteeringProperties.BehaviorType behaviorType)
           
SteeringProperties(SteeringType type, SteeringProperties.BehaviorType behaviorType)
           
 
Method Summary
 SteeringProperties.BehaviorType getBehaviorType()
           
abstract  String getSpecialText()
           
 String getText()
           
 SteeringType getType()
           
 double getWeight()
           
 boolean isActive()
           
 void setActive(boolean active)
           
 void setBehaviorType(SteeringProperties.BehaviorType behaviorType)
           
protected abstract  void setNewBehaviorType(SteeringProperties.BehaviorType behaviorType)
           
abstract  void setProperties(SteeringProperties newProperties)
           
 void setType(SteeringType type)
           
 void setWeight(double weight)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected SteeringType type
The type of the steering.


active

protected boolean active
Whether the steering is active. Steering manager doesn't use this value, but the user can.


weight

protected double weight
The weight of the steering. The return steering force will be multiplied by this value in the combination of the steerings forces.


behaviorType

protected SteeringProperties.BehaviorType behaviorType
The behavior type. Steering manager doesn't use this value, but user can.

Constructor Detail

SteeringProperties

public SteeringProperties(SteeringType type)

SteeringProperties

public SteeringProperties(SteeringType type,
                          SteeringProperties.BehaviorType behaviorType)

SteeringProperties

public SteeringProperties(SteeringType type,
                          boolean active,
                          double weight)

SteeringProperties

public SteeringProperties(SteeringType type,
                          boolean active,
                          double weight,
                          SteeringProperties.BehaviorType behaviorType)
Method Detail

getType

public SteeringType getType()

setType

public void setType(SteeringType type)

isActive

public boolean isActive()

setActive

public void setActive(boolean active)

getWeight

public double getWeight()

setWeight

public void setWeight(double weight)

getBehaviorType

public SteeringProperties.BehaviorType getBehaviorType()

setBehaviorType

public void setBehaviorType(SteeringProperties.BehaviorType behaviorType)

getText

public String getText()

setNewBehaviorType

protected abstract void setNewBehaviorType(SteeringProperties.BehaviorType behaviorType)

setProperties

public abstract void setProperties(SteeringProperties newProperties)

getSpecialText

public abstract String getSpecialText()


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