Mitsuba Renderer  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mitsuba::RenderListener Class Reference

Abstract render listener - can be used to react to progress messages (e.g. in a GUI) More...

#include <mitsuba/render/renderqueue.h>

+ Inheritance diagram for mitsuba::RenderListener:

Public Member Functions

virtual void workBeginEvent (const RenderJob *job, const RectangularWorkUnit *wu, int worker)
 Called when work has begun in a rectangular image region. More...
 
virtual void workEndEvent (const RenderJob *job, const ImageBlock *wr, bool cancelled)
 Called when work has finished in a rectangular image region. More...
 
virtual void workCanceledEvent (const RenderJob *job, const Point2i &offset, const Vector2i &size)
 Called when work has been canceled in a rectangular image region. More...
 
virtual void refreshEvent (const RenderJob *job)
 Called when the whole target image has been altered in some way. More...
 
virtual void finishJobEvent (const RenderJob *job, bool cancelled)
 Called when a render job has completed successfully or unsuccessfully. More...
 
virtual const ClassgetClass () const
 Retrieve this object's class. More...
 
- Public Member Functions inherited from Object
 Object ()
 Construct a new object. More...
 
int getRefCount () const
 Return the current reference count. More...
 
void incRef () const
 Increase the reference count of the object by one. More...
 
void decRef (bool autoDeallocate=true) const
 Decrease the reference count of the object and possibly deallocate it. More...
 
virtual std::string toString () const
 Return a human-readable string representation of the object's contents. More...
 

Static Public Attributes

static Classm_theClass
 
- Static Public Attributes inherited from Object
static Classm_theClass
 Pointer to the object's class descriptor. More...
 

Protected Member Functions

virtual ~RenderListener ()
 
- Protected Member Functions inherited from Object
virtual ~Object ()
 Virtual private deconstructor. (Will only be called by ref) More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Object
static void staticInitialization ()
 Initializes the built-in reference count debugger (if enabled) More...
 
static void staticShutdown ()
 Free the memory taken by staticInitialization() More...
 

Detailed Description

Abstract render listener - can be used to react to progress messages (e.g. in a GUI)

Constructor & Destructor Documentation

virtual mitsuba::RenderListener::~RenderListener ( )
inlineprotectedvirtual

Member Function Documentation

virtual void mitsuba::RenderListener::finishJobEvent ( const RenderJob job,
bool  cancelled 
)
virtual

Called when a render job has completed successfully or unsuccessfully.

virtual const Class* mitsuba::RenderListener::getClass ( ) const
virtual

Retrieve this object's class.

Reimplemented from Object.

virtual void mitsuba::RenderListener::refreshEvent ( const RenderJob job)
virtual

Called when the whole target image has been altered in some way.

virtual void mitsuba::RenderListener::workBeginEvent ( const RenderJob job,
const RectangularWorkUnit wu,
int  worker 
)
virtual

Called when work has begun in a rectangular image region.

virtual void mitsuba::RenderListener::workCanceledEvent ( const RenderJob job,
const Point2i offset,
const Vector2i size 
)
virtual

Called when work has been canceled in a rectangular image region.

virtual void mitsuba::RenderListener::workEndEvent ( const RenderJob job,
const ImageBlock wr,
bool  cancelled 
)
virtual

Called when work has finished in a rectangular image region.

Member Data Documentation

Class* mitsuba::RenderListener::m_theClass
static

The documentation for this class was generated from the following file: