org.wilmascope.fastlayout
Class DensityMatrix

java.lang.Object
  extended by org.wilmascope.fastlayout.DensityMatrix

public class DensityMatrix
extends java.lang.Object

Description: Class abstracting the storing of the node densities for FastLayout.

Version:
1.2
Author:
James Cwling

Constructor Summary
DensityMatrix(int width, boolean threeD)
           
 
Method Summary
 void expand()
           
 double get(javax.vecmath.Point3f pos)
           
 double getStandard()
           
 void reset()
           
 void set(Node node)
           
 void set(NodeList nodes)
           
 void set(javax.vecmath.Point3f pos, float mass)
           
 void setFootprint(int footprint)
           
 void setRadius(int val)
           
 void setRes(int res)
           
 void setZero()
           
 void update(javax.vecmath.Point3f oldPos, javax.vecmath.Point3f newPos, Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DensityMatrix

public DensityMatrix(int width,
                     boolean threeD)
Method Detail

setFootprint

public void setFootprint(int footprint)

setRes

public void setRes(int res)

setRadius

public void setRadius(int val)

setZero

public void setZero()

get

public double get(javax.vecmath.Point3f pos)

getStandard

public double getStandard()

set

public void set(javax.vecmath.Point3f pos,
                float mass)

set

public void set(NodeList nodes)

set

public void set(Node node)

update

public void update(javax.vecmath.Point3f oldPos,
                   javax.vecmath.Point3f newPos,
                   Node node)

expand

public void expand()

reset

public void reset()