|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.biology.lsystems.growing.AnimationGroup
public class AnimationGroup
AnimationGroup is made as collection of scaling and translation transformgroups which belong together. Also the start and end times of the animation of this group are stored in here.
| Field Summary | |
|---|---|
float |
m_fAge
The age of the objects. |
float |
m_fEndTime
The time when to stop animation |
float |
m_fStartTime
The start time of animation of this objects. |
javax.media.j3d.TransformGroup |
m_tgScale
The transformgroup which represents the scaling of a shape. |
javax.media.j3d.TransformGroup |
m_tgTrans
The transformgroup where to make the translation of the subtree following the scaled element. |
| Constructor Summary | |
|---|---|
AnimationGroup(float fStartTime,
float fEndTime,
javax.media.j3d.TransformGroup tgScale)
Constructor for leafs. |
|
AnimationGroup(float fStartTime,
float fEndTime,
javax.media.j3d.TransformGroup tgScale,
javax.media.j3d.TransformGroup tgTrans)
Constructor for branches. |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object obj)
Override this method for the comparable interface which is used to sort the list. |
java.lang.String |
toString()
Makes a string representation of this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public float m_fStartTime
public float m_fEndTime
public float m_fAge
public javax.media.j3d.TransformGroup m_tgScale
public javax.media.j3d.TransformGroup m_tgTrans
| Constructor Detail |
|---|
public AnimationGroup(float fStartTime,
float fEndTime,
javax.media.j3d.TransformGroup tgScale)
fStartTime - The time when to start the animation.fEndTime - The time when to stop the animation.tgScale - The transformgroup of the shape which has to be scaled.
public AnimationGroup(float fStartTime,
float fEndTime,
javax.media.j3d.TransformGroup tgScale,
javax.media.j3d.TransformGroup tgTrans)
fStartTime - The time when to start the animation.fEndTime - The time when to stop the animation.tgScale - The transformgroup of the shape which has to be scaled.tgTrans - The transformgroup for the translation of the subtree.| Method Detail |
|---|
public int compareTo(java.lang.Object obj)
compareTo in interface java.lang.Comparableobj - DOCUMENT ME!
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||