20 #if !defined(__MITSUBA_RENDER_PARTICLEPROC_H_)
21 #define __MITSUBA_RENDER_PARTICLEPROC_H_
103 size_t granularity, const std::
string &progressText,
104 const
void *progressReporterPayload);
106 void increaseResultCount(
size_t resultCount);
114 size_t m_numGenerated;
115 size_t m_granularity;
117 size_t m_receivedResultCount;
135 virtual void prepare();
171 virtual void handleNewParticle();
198 virtual void handleSurfaceInteraction(
int depth,
int nullInteractions,
226 virtual void handleMediumInteraction(
int depth,
int nullInteractions,
int m_rrDepth
Definition: particleproc.h:242
Abstract participating medium.
Definition: medium.h:103
Trace message, for extremely verbose debugging.
Definition: formatter.h:29
virtual EStatus generateWork(WorkUnit *unit, int worker)=0
Generate a piece of work.
Generic sampling record for positions.
Definition: common.h:82
Abstract parallelizable task.
Definition: sched.h:197
Abstract particle tracer implementation.
Definition: particleproc.h:128
bool m_emissionEvents
Definition: particleproc.h:243
EMode
The particle tracer supports two principal modes of operation.
Definition: particleproc.h:48
Abstract work result – represents the result of a processed WorkUnit instance.
Definition: sched.h:80
Abstract work unit – represents a small amount of information that encodes part of a larger processin...
Definition: sched.h:47
Data record for sampling a point on the in-scattering integral of the RTE.
Definition: medium.h:34
Abstract seekable stream class.
Definition: stream.h:58
#define MTS_DECLARE_CLASS()
This macro must be used in the initial definition in classes that derive from Object.
Definition: class.h:158
Reference counting helper.
Definition: ref.h:40
int m_maxDepth
Definition: particleproc.h:241
General-purpose progress reporter.
Definition: statistics.h:287
ref< Scene > m_scene
Definition: particleproc.h:239
Abstract parallel particle tracing process.
Definition: particleproc.h:45
Container for all information related to a surface intersection.
Definition: shape.h:36
Coordinates the serialization and unserialization of object graphs.
Definition: serialization.h:65
Discrete spectral power distribution based on a number of wavelength bins over the 360-830 nm range...
Definition: spectrum.h:663
ref< Sampler > m_sampler
Definition: particleproc.h:240
Thin wrapper around the recursive boost thread lock.
Definition: lock.h:34
Abstract work processor – takes work units and turns them into WorkResult instances.
Definition: sched.h:118