cz.cuni.amis.nb.pogamut.unreal.timeline.map
Class TLFadeLine

Package class diagram package TLFadeLine
java.lang.Object
  extended by cz.cuni.amis.nb.pogamut.unreal.timeline.map.TLFadeLine
All Implemented Interfaces:
IFadeLine

public class TLFadeLine
extends Object
implements IFadeLine

More or less dummy class representing fade line for entity.

Author:
Honza

Constructor Summary
protected TLFadeLine(TLEntity entity, long time)
          Create a new fade line for entity ending at time time.
 
Method Summary
 long getDuration()
          Fade line is not of infinite length.
 cz.cuni.amis.pogamut.base3d.worldview.object.Location getPosition(long time)
          Get position where was fadeline
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TLFadeLine

protected TLFadeLine(TLEntity entity,
                     long time)
Create a new fade line for entity ending at time time.

Parameters:
entity - entity that this fade line represents
time - time when fade line ended, in ms
Method Detail

getPosition

public cz.cuni.amis.pogamut.base3d.worldview.object.Location getPosition(long time)
Description copied from interface: IFadeLine
Get position where was fadeline

Specified by:
getPosition in interface IFadeLine
Parameters:
time - how long in past do we want to know the position (higher number = longer in past)
Returns:
Position of fade line at specified time in past

getDuration

public long getDuration()
Description copied from interface: IFadeLine
Fade line is not of infinite length. How big interval does it represents?

Specified by:
getDuration in interface IFadeLine
Returns:
What time duration does fade line represents, in ms


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