footfall.generators
Class FootModel

java.lang.Object
  extended byfootfall.generators.FootModel

public class FootModel
extends java.lang.Object

Generates the footfall movements on the fly using a base footprint. Renders footfalls based on the walking speed and weight.


Constructor Summary
FootModel()
          Setup footfalls for one foot.
FootModel(int currentPosition)
          Setup footfalls from a specific foot position.
 
Method Summary
 float[][] getFoot(int speed, float maxp)
          Generate footfall pressure/position incrementally.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FootModel

public FootModel()
Setup footfalls for one foot.


FootModel

public FootModel(int currentPosition)
Setup footfalls from a specific foot position.

Parameters:
currentPosition - Starting position for the current footstep. Can be positive or negative.
Method Detail

getFoot

public float[][] getFoot(int speed,
                         float maxp)
Generate footfall pressure/position incrementally.

Parameters:
speed - Speed (25-75fps)
maxp - Maximum Pressure (approx. 0-50)