A work unit specifying a range of some quantity to be processed.
More...
#include <mitsuba/render/range.h>
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 const Class* mitsuba::RangeWorkUnit::getClass |
( |
| ) |
const |
|
virtual |
size_t mitsuba::RangeWorkUnit::getRangeEnd |
( |
| ) |
const |
|
inline |
size_t mitsuba::RangeWorkUnit::getRangeStart |
( |
| ) |
const |
|
inline |
size_t mitsuba::RangeWorkUnit::getSize |
( |
| ) |
const |
|
inline |
void mitsuba::RangeWorkUnit::load |
( |
Stream * |
stream | ) |
|
|
inlinevirtual |
Fill the work unit with content acquired from a binary data stream.
Implements mitsuba::WorkUnit.
void mitsuba::RangeWorkUnit::save |
( |
Stream * |
stream | ) |
const |
|
inlinevirtual |
void mitsuba::RangeWorkUnit::set |
( |
const WorkUnit * |
workUnit | ) |
|
|
inlinevirtual |
Copy the content of another work unit of the same type.
Implements mitsuba::WorkUnit.
void mitsuba::RangeWorkUnit::setRange |
( |
size_t |
start, |
|
|
size_t |
end |
|
) |
| |
|
inline |
std::string mitsuba::RangeWorkUnit::toString |
( |
| ) |
const |
|
inlinevirtual |
Class* mitsuba::RangeWorkUnit::m_theClass |
|
static |
The documentation for this class was generated from the following file: