material
Class LambertianMaterial

java.lang.Object
  extended by material.LambertianMaterial
All Implemented Interfaces:
IMaterial

public class LambertianMaterial
extends java.lang.Object
implements IMaterial

lambertian material


Constructor Summary
LambertianMaterial(IPainter reflectance)
          constructor
 
Method Summary
 IBSDF getBSDF()
           
 IMaterial getCopy()
           
 IEmitter getEmitter()
           
 ISPF getSPF()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LambertianMaterial

public LambertianMaterial(IPainter reflectance)
constructor

Parameters:
reflectance - [in] diffuse reflection
Method Detail

getBSDF

public IBSDF getBSDF()
Specified by:
getBSDF in interface IMaterial
Returns:
the BRDF for this material
null if there is no BRDF

getSPF

public ISPF getSPF()
Specified by:
getSPF in interface IMaterial
Returns:
the SPF for this material
null if there is no SPF

getEmitter

public IEmitter getEmitter()
Specified by:
getEmitter in interface IMaterial
Returns:
the emission properties for this material
null if there is not an emitter

getCopy

public IMaterial getCopy()
Specified by:
getCopy in interface IMaterial
Returns:
a copy of the material