A work unit specifying a range of some quantity to be processed. More...
#include <mitsuba/render/range.h>
Public Member Functions | |
void | set (const WorkUnit *wu) |
Copy the content of another work unit of the same type. More... | |
void | load (Stream *stream) |
Fill the work unit with content acquired from a binary data stream. More... | |
void | save (Stream *stream) const |
Serialize a work unit to a binary data stream. More... | |
std::string | toString () const |
Return a string representation. More... | |
void | setRange (size_t start, size_t end) |
size_t | getRangeStart () const |
size_t | getRangeEnd () const |
size_t | getSize () const |
virtual const Class * | getClass () 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... | |
Static Public Attributes | |
static Class * | m_theClass |
Static Public Attributes inherited from mitsuba::WorkUnit | |
static Class * | m_theClass |
Static Public Attributes inherited from Object | |
static Class * | m_theClass |
Pointer to the object's class descriptor. 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... | |
Protected Member Functions inherited from mitsuba::WorkUnit | |
virtual | ~WorkUnit () |
Virtual destructor. More... | |
Protected Member Functions inherited from Object | |
virtual | ~Object () |
Virtual private deconstructor. (Will only be called by ref) More... | |
A work unit specifying a range of some quantity to be processed.
An example usage is in ParticleProcess, where this class specifies sequences of particles to be traced.
|
virtual |
Retrieve this object's class.
Reimplemented from mitsuba::WorkUnit.
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Fill the work unit with content acquired from a binary data stream.
Implements mitsuba::WorkUnit.
|
inlinevirtual |
Serialize a work unit to a binary data stream.
Implements mitsuba::WorkUnit.
|
inlinevirtual |
Copy the content of another work unit of the same type.
Implements mitsuba::WorkUnit.
|
inline |
|
inlinevirtual |
Return a string representation.
Implements mitsuba::WorkUnit.
|
static |