JPBRT 0.5

org.jpbrt.lights
Class InfiniteAreaCube

java.lang.Object
  extended by org.jpbrt.lights.InfiniteAreaCube
All Implemented Interfaces:
SHProjectCubeFunc

public class InfiniteAreaCube
extends java.lang.Object
implements SHProjectCubeFunc

InfiniteAreaCube.

Version:
Author:
Werner Randelshofer

Field Summary
 boolean computeVis
           
 InfiniteAreaLight light
           
 float pEpsilon
           
 Scene scene
           
 float time
           
 
Constructor Summary
InfiniteAreaCube(InfiniteAreaLight l, Scene s, float t, boolean cv, float pe)
           
 
Method Summary
 Spectrum func(int u, int v, Point p, Vector w)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

light

public InfiniteAreaLight light

scene

public Scene scene

time

public float time

pEpsilon

public float pEpsilon

computeVis

public boolean computeVis
Constructor Detail

InfiniteAreaCube

public InfiniteAreaCube(InfiniteAreaLight l,
                        Scene s,
                        float t,
                        boolean cv,
                        float pe)
Method Detail

func

public Spectrum func(int u,
                     int v,
                     Point p,
                     Vector w)
Specified by:
func in interface SHProjectCubeFunc

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