apps.userdefinedgestures.transform
Class TranslationTransformer

java.lang.Object
  extended by com.jme.scene.Controller
      extended by com.jme.animation.SpatialTransformer
          extended by apps.userdefinedgestures.transform.Transformer
              extended by apps.userdefinedgestures.transform.TranslationTransformer
All Implemented Interfaces:
com.jme.util.export.Savable, java.io.Serializable

public class TranslationTransformer
extends Transformer

The Class TranslationTransformer.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.jme.animation.SpatialTransformer
com.jme.animation.SpatialTransformer.PointInTime
 
Field Summary
static com.jme.math.Vector3f INSIDE
          The Constant INSIDE.
static com.jme.math.Vector3f RIGHT
          The Constant RIGHT.
static com.jme.math.Vector3f TOPRIGHTINSIDE
          The Constant TOPRIGHTINSIDE.
static com.jme.math.Vector3f TOPRIGHTOUTSIDE
          The Constant TOPRIGHTOUTSIDE.
static com.jme.math.Vector3f UP
          The Constant UP.
 
Fields inherited from class com.jme.animation.SpatialTransformer
keyframes, parentIndexes, toChange
 
Fields inherited from class com.jme.scene.Controller
RT_CLAMP, RT_CYCLE, RT_WRAP
 
Constructor Summary
TranslationTransformer()
          Instantiates a new translation transformer.
 
Method Summary
 void SetTargetPosition(com.jme.math.Vector3f targetPosition)
          Sets the target position.
 
Methods inherited from class apps.userdefinedgestures.transform.Transformer
setObject
 
Methods inherited from class com.jme.animation.SpatialTransformer
getCurTime, getNumObjects, interpolateMissing, read, setCurTime, setMaxTime, setMinTime, setNewAnimationTimes, setObject, setPosition, setRotation, setScale, update, write
 
Methods inherited from class com.jme.scene.Controller
getClassTag, getControllerValues, getMaxTime, getMinTime, getRepeatType, getSpeed, isActive, setActive, setControllerValues, setRepeatType, setSpeed
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSIDE

public static final com.jme.math.Vector3f INSIDE
The Constant INSIDE.


RIGHT

public static final com.jme.math.Vector3f RIGHT
The Constant RIGHT.


TOPRIGHTINSIDE

public static final com.jme.math.Vector3f TOPRIGHTINSIDE
The Constant TOPRIGHTINSIDE.


TOPRIGHTOUTSIDE

public static final com.jme.math.Vector3f TOPRIGHTOUTSIDE
The Constant TOPRIGHTOUTSIDE.


UP

public static final com.jme.math.Vector3f UP
The Constant UP.

Constructor Detail

TranslationTransformer

public TranslationTransformer()
Instantiates a new translation transformer.

Method Detail

SetTargetPosition

public void SetTargetPosition(com.jme.math.Vector3f targetPosition)
Sets the target position.

Parameters:
targetPosition - the target position