endrov.typeLineage
Class Lineage.Particle

java.lang.Object
  extended by endrov.typeLineage.Lineage.Particle
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
Lineage

public class Lineage.Particle
extends java.lang.Object
implements java.lang.Cloneable

One particle


Field Summary
 java.util.TreeSet<java.lang.String> child
          Name of children
 java.lang.String description
          Description of cell.
 java.util.SortedMap<EvDecimal,java.lang.String> events
          Events
 java.util.SortedMap<java.lang.String,LineageExp> exp
          Expression key frames
 java.lang.String fate
          Fate
 java.util.SortedMap<EvDecimal,Mesh3D> meshs
           
 EvDecimal overrideEnd
          Override start frame of existence
 java.awt.Color overrideMeshColor
           
 java.awt.Color overrideNucColor
          Display settings.
 EvDecimal overrideStart
          Override first frame of existence
 Lineage.MeshRenderMode overrrideRenderMode
           
 java.util.TreeSet<java.lang.String> parents
          Name of parents
 java.util.SortedMap<EvDecimal,Lineage.ParticlePos> pos
          Pos key frames
 
Constructor Summary
Lineage.Particle()
           
 
Method Summary
 Lineage.Particle clone()
          Make a deep copy
 LineageExp getCreateExp(java.lang.String n)
          Get expression level, create if it does not exist
 Lineage.ParticlePos getCreatePos(EvDecimal frame)
          Get position, create if it does not exist
 EvDecimal getFirstFrame()
          Get the first frame accounting for override
 EvDecimal getLastFrame()
          Get the last frame, accounting for override.
 EvDecimal getPosFrameAfter(EvDecimal frame)
          Get position frame >= , not including override
 EvDecimal getPosFrameBefore(EvDecimal frame)
          Get position frame <= , not including override
 Lineage.InterpolatedParticle interpolatePos(EvDecimal frame)
          Interpolate frame information.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

child

public final java.util.TreeSet<java.lang.String> child
Name of children


parents

public final java.util.TreeSet<java.lang.String> parents
Name of parents


pos

public final java.util.SortedMap<EvDecimal,Lineage.ParticlePos> pos
Pos key frames


exp

public final java.util.SortedMap<java.lang.String,LineageExp> exp
Expression key frames


events

public java.util.SortedMap<EvDecimal,java.lang.String> events
Events


meshs

public java.util.SortedMap<EvDecimal,Mesh3D> meshs

overrideStart

public EvDecimal overrideStart
Override first frame of existence


overrideEnd

public EvDecimal overrideEnd
Override start frame of existence


fate

public java.lang.String fate
Fate


description

public java.lang.String description
Description of cell. null if none


overrideNucColor

public java.awt.Color overrideNucColor
Display settings. Not stored to disk, but kept here so the color is the same in all windows


overrideMeshColor

public java.awt.Color overrideMeshColor

overrrideRenderMode

public Lineage.MeshRenderMode overrrideRenderMode
Constructor Detail

Lineage.Particle

public Lineage.Particle()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

clone

public Lineage.Particle clone()
Make a deep copy

Overrides:
clone in class java.lang.Object

getPosFrameBefore

public EvDecimal getPosFrameBefore(EvDecimal frame)
Get position frame <= , not including override


getPosFrameAfter

public EvDecimal getPosFrameAfter(EvDecimal frame)
Get position frame >= , not including override


getCreatePos

public Lineage.ParticlePos getCreatePos(EvDecimal frame)
Get position, create if it does not exist


getCreateExp

public LineageExp getCreateExp(java.lang.String n)
Get expression level, create if it does not exist


getLastFrame

public EvDecimal getLastFrame()
Get the last frame, accounting for override. null if it exists to infinity.


getFirstFrame

public EvDecimal getFirstFrame()
Get the first frame accounting for override


interpolatePos

public Lineage.InterpolatedParticle interpolatePos(EvDecimal frame)
Interpolate frame information. If the particle does not exist at this time then null will be returned