20 #if !defined(__MITSUBA_RENDER_SPIRAL_H_)
21 #define __MITSUBA_RENDER_SPIRAL_H_
26 #define MTS_BLOCK_SIZE 32
37 virtual void acquireBlockEvent(
const ImageBlock *block) = 0;
40 virtual void releaseBlockEvent(
const ImageBlock *block) = 0;
43 virtual void filmChangedEvent() = 0;
46 virtual void finishEvent() = 0;
94 void notifyFilmChanged();
97 std::vector<ImageBlock *> getActiveBlocks()
const;
100 int getMaxBlockSize()
const;
Block listener callback for use with the Spiral class.
Definition: spiral.h:34
Generates a spiral of blocks to be rendered.
Definition: spiral.h:62
#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
Storage for an image sub-block (a.k.a render bucket)
Definition: imageblock.h:40
Parent of all Mitsuba classes.
Definition: object.h:38
virtual ~BlockListener()
Definition: spiral.h:48
Thin wrapper around the recursive boost thread lock.
Definition: lock.h:34