JPBRT 0.5

org.jpbrt.io
Class AreaLightFactory

java.lang.Object
  extended by org.jpbrt.io.AbstractFactory<AreaLight>
      extended by org.jpbrt.io.AreaLightFactory

public class AreaLightFactory
extends AbstractFactory<AreaLight>

AreaLightFactory.

References:
M. Pharr, G. Humphreys. (2004). Physically Based Rendering. Morgan Kaufmann.
Appendix B, Page 896, referred to as "pbrtAreaLightSource".

Version:
$Id: AreaLightFactory.java 7 2010-09-23 18:38:25Z rawcoder $
Author:
Werner Randelshofer

Field Summary
 
Fields inherited from class org.jpbrt.io.AbstractFactory
params
 
Constructor Summary
AreaLightFactory(java.util.HashMap<java.lang.String,java.lang.Object> params)
           
 
Method Summary
 AreaLight create(FactoryContext context)
           
 void verifyParameters()
           
 
Methods inherited from class org.jpbrt.io.AbstractFactory
get, get, getArray, getBoolean, getFloat, getFloatArray, getInt, getIntArray, getString, put, verifyParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AreaLightFactory

public AreaLightFactory(java.util.HashMap<java.lang.String,java.lang.Object> params)
Method Detail

create

public AreaLight create(FactoryContext context)
Overrides:
create in class AbstractFactory<AreaLight>

verifyParameters

public void verifyParameters()
                      throws java.io.IOException
Overrides:
verifyParameters in class AbstractFactory<AreaLight>
Throws:
java.io.IOException

Copyright 2010 © by the authors and contributors of the JPBRT project.
Some rights reserved.