|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.robokind.api.motion.blending.DefaultBlender<MF,FS,PosMap>
MF - MotionFrame type used by this DefaultBlenderFS - FrameSource type used by this DefaultBlenderPosMap - PositionMap type used by this DefaultBlenderpublic class DefaultBlender<MF extends MotionFrame<PosMap>,FS extends FrameSource<PosMap>,PosMap extends JointPositionMap>
Basic implementation of a Blender.
| Constructor Summary | |
|---|---|
DefaultBlender()
|
|
| Method Summary | |
|---|---|
void |
blend(long time,
long interval,
Map<? extends MF,? extends FS> frames)
Uses the FrameCombiner to blend the given Frames, and sends the results to the BlenderOutput. |
FrameCombiner<MF,FS,PosMap> |
getFrameCombiner()
Returns the Blender's FrameCombiner. |
void |
setFrameCombiner(FrameCombiner<MF,FS,PosMap> combiner)
Sets the Blender's FrameCombiner. |
void |
setOutput(BlenderOutput<PosMap> out)
Sets the Blender's BlenderOutput. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultBlender()
| Method Detail |
|---|
public void setFrameCombiner(FrameCombiner<MF,FS,PosMap> combiner)
Blender
setFrameCombiner in interface Blender<MF extends MotionFrame<PosMap>,FS extends FrameSource<PosMap>,PosMap extends JointPositionMap>combiner - FrameCombiner to setpublic FrameCombiner<MF,FS,PosMap> getFrameCombiner()
Blender
getFrameCombiner in interface Blender<MF extends MotionFrame<PosMap>,FS extends FrameSource<PosMap>,PosMap extends JointPositionMap>public void setOutput(BlenderOutput<PosMap> out)
Blender
setOutput in interface Blender<MF extends MotionFrame<PosMap>,FS extends FrameSource<PosMap>,PosMap extends JointPositionMap>out - BlenderOutput to set
public void blend(long time,
long interval,
Map<? extends MF,? extends FS> frames)
Blender
blend in interface Blender<MF extends MotionFrame<PosMap>,FS extends FrameSource<PosMap>,PosMap extends JointPositionMap>time - time of the move requestinterval - time since the previous move requestframes - map of Frames and their FrameSources
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||