Package toxi.sim.dla

Class DLA

java.lang.Object
toxi.sim.dla.DLA

public class DLA extends Object
  • Constructor Details

  • Method Details

    • addListener

      public DLA addListener(DLAEventListener l)
    • addParticle

      public void addParticle(Vec3D p)
    • clear

      public void clear()
    • getConfig

      public DLAConfiguration getConfig()
      Returns:
      the config
    • getCurrentCurvePoint

      public Vec3D getCurrentCurvePoint()
      Returns:
      the currCurvePoint
    • getCurrentParticle

      public DLAParticle getCurrentParticle()
      Returns:
      the currParticle
    • getGuidelines

      public DLAGuideLines getGuidelines()
      Returns:
      the guidelines
    • getGuideOctree

      public PointOctree getGuideOctree()
      Returns:
      the octreeGuides
    • getNumActiveSegments

      public int getNumActiveSegments()
      Returns:
      the numActiveSegments
    • getNumParticles

      public int getNumParticles()
      Returns:
      the numParticles
    • getParticleOctree

      public PointOctree getParticleOctree()
    • getParticles

      public List<Vec3D> getParticles()
      Returns:
      the octree
    • removeListener

      public DLA removeListener(DLAEventListener l)
    • reset

      public void reset()
    • save

      public void save(String fname, boolean isCentered)
    • saveAsText

      public void saveAsText(String fname, boolean isCentered)
    • setConfig

      public void setConfig(DLAConfiguration config)
      Parameters:
      config - the config to set
    • setGuidelines

      public void setGuidelines(DLAGuideLines guidelines)
      Parameters:
      guidelines - the guidelines to set
    • update

      public void update()
    • update

      public void update(int numIterations)