| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthmi.animation.VObjectTransformCopier
public class VObjectTransformCopier
Copies transformations from a list of source VObject to a list of destination VObjects
| Field Summary | |
|---|---|
private  float[] | 
buf
 | 
private  String | 
configType
 | 
private  VObject[] | 
dstParts
 | 
private static VObject[] | 
emptyParts
 | 
private  boolean | 
hasAngularVelocity
 | 
private  boolean | 
hasRootTranslation
 | 
private  boolean | 
hasRotation
 | 
private  boolean | 
hasScale
 | 
private  boolean | 
hasTranslation
 | 
private  boolean | 
hasVelocity
 | 
private  VObject[] | 
srcParts
 | 
| Constructor Summary | |
|---|---|
protected  | 
VObjectTransformCopier(VObject[] srcParts,
                       VObject[] dstParts,
                       String type)
 | 
| Method Summary | ||
|---|---|---|
 void | 
copyConfig()
Copies translation, rotation and,  | 
|
private static boolean | 
equiv(VObject src,
      VObject dst)
 | 
|
 String | 
getConfigType()
 | 
|
static
 | 
newInstanceFromMatchingVObjectLists(List<T> srcList,
                                    List<T> dstList,
                                    String type)
Creates a new VObject copier from lists of VObjects WITHOUT CHECKING, assuming that the one who calls the constructor makes sure that src and dst match  | 
|
static VObjectTransformCopier | 
newInstanceFromVJointTree(VJoint sourceRoot,
                          VJoint destinationRoot,
                          String type)
Creates a new VObject copier from two VJoint root objects  | 
|
static
 | 
newInstanceFromVObjectLists(List<T> srcList,
                            List<T> dstList,
                            String type)
Creates a new VObject copier from lists of VObjects  | 
|
 void | 
setConfigType(String configType)
 | 
|
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
private final VObject[] srcParts
private final VObject[] dstParts
private String configType
private boolean hasRootTranslation
private boolean hasTranslation
private boolean hasRotation
private boolean hasScale
private boolean hasVelocity
private boolean hasAngularVelocity
private float[] buf
private static final VObject[] emptyParts
| Constructor Detail | 
|---|
protected VObjectTransformCopier(VObject[] srcParts,
                                 VObject[] dstParts,
                                 String type)
| Method Detail | 
|---|
public static <T extends VObject> VObjectTransformCopier newInstanceFromMatchingVObjectLists(List<T> srcList,
                                                                                             List<T> dstList,
                                                                                             String type)
public static <T extends VObject> VObjectTransformCopier newInstanceFromVObjectLists(List<T> srcList,
                                                                                     List<T> dstList,
                                                                                     String type)
public static VObjectTransformCopier newInstanceFromVJointTree(VJoint sourceRoot,
                                                               VJoint destinationRoot,
                                                               String type)
private static boolean equiv(VObject src,
                             VObject dst)
public void setConfigType(String configType)
public void copyConfig()
public String getConfigType()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||