edu.stanford.rsl.konrad.geometry.motion
Interface MotionField

All Known Implementing Classes:
BreathingScene, CombinedBreathingHeartScene, CompressionMotionField, ConstantMotionField, DualMotionField, HeartScene, MovingCenterRotationMotionField, PlanarMotionField, PointBasedMotionField, RotationMotionField, SimpleMotionField, SquatScene, WholeBodyScene, XCatScene

public interface MotionField


Method Summary
 PointND getPosition(PointND initialPosition, double initialTime, double time)
          Determines the position at a given initialPosition and a given time where time = 0 is the initial position and time = 1 is the end position.
 java.util.ArrayList<PointND> getPositions(PointND initialPosition, double initialTime, double... times)
           
 TimeWarper getTimeWarper()
           
 void setTimeWarper(TimeWarper warp)
           
 

Method Detail

getPosition

PointND getPosition(PointND initialPosition,
                    double initialTime,
                    double time)
Determines the position at a given initialPosition and a given time where time = 0 is the initial position and time = 1 is the end position.

Parameters:
initialPosition -
initialTime -
time -
Returns:
the position at the time

setTimeWarper

void setTimeWarper(TimeWarper warp)

getTimeWarper

TimeWarper getTimeWarper()

getPositions

java.util.ArrayList<PointND> getPositions(PointND initialPosition,
                                          double initialTime,
                                          double... times)