de.grogra.ray2.tracing
Class ParallelRadiationModel

java.lang.Object
  extended by de.grogra.ray2.tracing.RadiationModel
      extended by de.grogra.ray2.tracing.ParallelRadiationModel
All Implemented Interfaces:
java.lang.Cloneable

public class ParallelRadiationModel
extends RadiationModel


Field Summary
 
Fields inherited from class de.grogra.ray2.tracing.RadiationModel
BUNDLE_SIZE
 
Constructor Summary
ParallelRadiationModel(Scene scene, int[] idToIndex, int threadCount)
           
 
Method Summary
 void compute(long rayCount, long seed, ProgressMonitor progress, int depth, double minPower)
           
 
Methods inherited from class de.grogra.ray2.tracing.RadiationModel
getAbsorbedPower, getAbsorbedPowerCollector, getSensedIrradiance, getSensedIrradianceCollector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParallelRadiationModel

public ParallelRadiationModel(Scene scene,
                              int[] idToIndex,
                              int threadCount)
Method Detail

compute

public void compute(long rayCount,
                    long seed,
                    ProgressMonitor progress,
                    int depth,
                    double minPower)
Specified by:
compute in class RadiationModel