java.lang.Object
de.grogra.ray2.tracing.RadiationModel
de.grogra.ray2.tracing.ParallelRadiationModelByOrder
- All Implemented Interfaces:
Cloneable
Multi-threaded radiation model that records results per scattering order.
Delegates tracing to
LightModelProcessorByOrder via
RadiationModelTaskByOrder.-
Nested Class Summary
Nested classes/interfaces inherited from class de.grogra.ray2.tracing.RadiationModel
RadiationModel.RayPoint -
Constructor Summary
ConstructorsConstructorDescriptionParallelRadiationModelByOrder(Scene scene, int[] idToIndex, int threadCount, ObjectList<ObjectList<RadiationModel.RayPoint>> rays) -
Method Summary
Modifier and TypeMethodDescriptionvoidcompute(long rayCount, long seed, ProgressMonitor progress, int depth, double minPower) Methods inherited from class de.grogra.ray2.tracing.RadiationModel
getAbsorbedPower, getAbsorbedPowerCollector, getAbsorbedPowerD, getHitCount, getHitCountD, getReceivedPower, getReceivedPowerD, getReflectedPower, getReflectedPowerD, getSensedIrradiance, getSensedIrradianceCollector, getSensedIrradianceD, getTracedRays, getTransmittedPower, getTransmittedPowerD
-
Constructor Details
-
ParallelRadiationModelByOrder
public ParallelRadiationModelByOrder(Scene scene, int[] idToIndex, int threadCount, ObjectList<ObjectList<RadiationModel.RayPoint>> rays)
-
-
Method Details
-
compute
- Specified by:
computein classRadiationModel
-