20 #if !defined(__MITSUBA_RENDER_RENDERPROC_H_)
21 #define __MITSUBA_RENDER_RENDERPROC_H_
63 int channelCount = -1,
bool warnInvalid =
false);
virtual EStatus generateWork(WorkUnit *unit, int worker)
Generate a piece of work.
General-purpose bitmap class with read and write support for several common file formats.
Definition: bitmap.h:50
virtual void processResult(const WorkResult *result, bool cancelled)=0
Called whenever a work unit has been completed.
Definition: imageproc.h:35
EStatus
Return codes used by generateWork() and getReturnStatus()
Definition: sched.h:204
Principal scene data structure.
Definition: scene.h:49
Render queue - used to keep track of a number of scenes that are simultaneously being rendered...
Definition: renderqueue.h:65
EPixelFormat
Definition: bitmap.h:61
Parallel process for rendering with sampling-based integrators.
Definition: renderproc.h:38
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
#define MTS_DECLARE_CLASS()
This macro must be used in the initial definition in classes that derive from Object.
Definition: class.h:158
Abstract film base class - used to store samples generated by Integrator implementations.
Definition: film.h:37
Reference counting helper.
Definition: ref.h:40
General-purpose progress reporter.
Definition: statistics.h:287
virtual ref< WorkProcessor > createWorkProcessor() const =0
Create an instance of the algorithm responsible for executing the work units of this parallel process...
Coordinates the process of rendering a single image.
Definition: renderjob.h:37
virtual void bindResource(const std::string &name, int id)
Bind a resource to this parallel process.
Thin wrapper around the recursive boost thread lock.
Definition: lock.h:34