#include <pbrt.h>
Public Member Functions | |
| ProgressReporter (int totalWork, const string &title, int barLength=58) | |
| ~ProgressReporter () | |
| void | Update (int num=1) const |
| void | Done () const |
| ProgressReporter (int totalWork, const string &title, int barLength=58) | |
| ~ProgressReporter () | |
| void | Update (int num=1) const |
| void | Done () const |
Public Attributes | |
| const int | totalPlusses |
| float | frequency |
| float | count |
| int | plussesPrinted |
| Timer * | timer |
| FILE * | outFile |
| char * | buf |
| char * | curSpace |
Definition at line 271 of file pbrt.h.
| ProgressReporter::ProgressReporter | ( | int | totalWork, | |
| const string & | title, | |||
| int | barLength = 58 | |||
| ) |
Definition at line 403 of file util.cpp.
References buf, count, curSpace, frequency, outFile, plussesPrinted, Timer::Start(), timer, and totalPlusses.
| ProgressReporter::~ProgressReporter | ( | ) |
| ProgressReporter::ProgressReporter | ( | int | totalWork, | |
| const string & | title, | |||
| int | barLength = 58 | |||
| ) |
| ProgressReporter::~ProgressReporter | ( | ) |
| void ProgressReporter::Update | ( | int | num = 1 |
) | const |
Definition at line 426 of file util.cpp.
References buf, count, curSpace, frequency, outFile, plussesPrinted, Timer::Time(), timer, and totalPlusses.
Referenced by ApplyImagingPipeline(), BestCandidate2D(), main(), HighContrastOp::Map(), PhotonIntegrator::Preprocess(), ExPhotonIntegrator::Preprocess(), and Redistribute2D().
| void ProgressReporter::Done | ( | ) | const |
Definition at line 448 of file util.cpp.
References buf, curSpace, outFile, plussesPrinted, Timer::Time(), timer, and totalPlusses.
Referenced by ApplyImagingPipeline(), BestCandidate2D(), main(), HighContrastOp::Map(), PhotonIntegrator::Preprocess(), ExPhotonIntegrator::Preprocess(), and Redistribute2D().
| void ProgressReporter::Update | ( | int | num = 1 |
) | const |
| void ProgressReporter::Done | ( | ) | const |
| const int ProgressReporter::totalPlusses |
float ProgressReporter::count [mutable] |
int ProgressReporter::plussesPrinted [mutable] |
Timer * ProgressReporter::timer [mutable] |
Definition at line 283 of file pbrt.h.
Referenced by Done(), ProgressReporter(), Update(), and ~ProgressReporter().
| FILE * ProgressReporter::outFile |
| char * ProgressReporter::buf |
Definition at line 285 of file pbrt.h.
Referenced by Done(), ProgressReporter(), Update(), and ~ProgressReporter().
char * ProgressReporter::curSpace [mutable] |
1.5.6