|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jme.animation.SpatialTransformer.PointInTime
public static class SpatialTransformer.PointInTime
Defines a point in time where at time time, ohject
toChange[i] will assume transformation
look[i]. BitSet's used* specify if the transformation
value was specified by the user, or interpolated
| Field Summary | |
|---|---|
TransformQuaternion[] |
look
toChange[i] looks like look[i] at time. |
float |
time
The time of this TransformationMatrix. |
java.util.BitSet |
usedRot
Bit i is true if look[i].rotation was user defined. |
java.util.BitSet |
usedScale
Bit i is true if look[i].scale was user defined. |
java.util.BitSet |
usedTrans
Bit i is true if look[i].translation was user defined. |
| Constructor Summary | |
|---|---|
SpatialTransformer.PointInTime()
|
|
SpatialTransformer.PointInTime(float time,
int numObjects)
Constructs a new PointInTime with the time time |
|
| Method Summary | |
|---|---|
java.lang.Class |
getClassTag()
|
void |
read(JMEImporter e)
|
(package private) void |
setRotation(int objIndex,
Quaternion rot)
Sets the rotation for objIndex and sets usedRot to true for that index |
(package private) void |
setScale(int objIndex,
Vector3f scale)
Sets the scale for objIndex and sets usedScale to true for that index |
(package private) void |
setTranslation(int objIndex,
Vector3f trans)
Sets the translation for objIndex and sets usedTrans to true for that index |
void |
write(JMEExporter e)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.util.BitSet usedRot
public java.util.BitSet usedTrans
public java.util.BitSet usedScale
public float time
public TransformQuaternion[] look
| Constructor Detail |
|---|
public SpatialTransformer.PointInTime()
public SpatialTransformer.PointInTime(float time,
int numObjects)
time
time - The the for this PointInTime.| Method Detail |
|---|
void setRotation(int objIndex,
Quaternion rot)
objIndex - The object to take the rotation at this point in time.rot - The rotation to take.
void setTranslation(int objIndex,
Vector3f trans)
objIndex - The object to take the translation at this point in time.trans - The translation to take.
void setScale(int objIndex,
Vector3f scale)
objIndex - The object to take the scale at this point in time.scale - The scale to take.
public void write(JMEExporter e)
throws java.io.IOException
write in interface Savablejava.io.IOException
public void read(JMEImporter e)
throws java.io.IOException
read in interface Savablejava.io.IOExceptionpublic java.lang.Class getClassTag()
getClassTag in interface Savable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||