material
Class IsotropicPhongMaterial

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

public class IsotropicPhongMaterial
extends java.lang.Object
implements IMaterial

isotropic phong material


Constructor Summary
IsotropicPhongMaterial(IPainter Rd, IPainter Rs, IPainter exp)
          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

IsotropicPhongMaterial

public IsotropicPhongMaterial(IPainter Rd,
                              IPainter Rs,
                              IPainter exp)
constructor

Parameters:
Rd - [in] diffuse reflection
Rs - [in] specular reflection
exp - [in] phong exponent
Method Detail

getBSDF

public IBSDF getBSDF()
Specified by:
getBSDF in interface IMaterial
Returns:
the BRDF for this material

getSPF

public ISPF getSPF()
Specified by:
getSPF in interface IMaterial
Returns:
the SPF for this material

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