edu.stanford.rsl.konrad.physics.materials
Class Material

java.lang.Object
  extended by edu.stanford.rsl.konrad.physics.materials.Material
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
Compound, Element, Mixture

public class Material
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

This class models an arbitrary material. Materials are defined by density and their characteristic attenuation of XRays of different energies.

Note. A material without a defined energy dependent attenuation cannot be used in polychromatic XRay projection modeling

.

Author:
Rotimi X Ojo
See Also:
Serialized Form

Constructor Summary
Material()
           
Material(double density)
           
 
Method Summary
 java.lang.Object clone()
           
 NumberInterpolatingTreeMap getAttenuation()
           
 double getAttenuation(double energy)
          Energy dependent attenuation of material
 double getCTValue()
           
 double getDensity()
           
 java.lang.String getName()
           
 void setAttenuation(NumberInterpolatingTreeMap attCoef)
           
 void setDensity(double density)
           
 void setName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Material

public Material()

Material

public Material(double density)
Method Detail

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()

getCTValue

public double getCTValue()

getAttenuation

public double getAttenuation(double energy)
Energy dependent attenuation of material

Returns:

setDensity

public void setDensity(double density)

getDensity

public double getDensity()

setAttenuation

public void setAttenuation(NumberInterpolatingTreeMap attCoef)

getAttenuation

public NumberInterpolatingTreeMap getAttenuation()

toString

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

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object