Inviwo 0.9.12-pre
Inviwo documentation
|
#include <progressbar.h>
Additional Inherited Members | |
Protected Member Functions inherited from inviwo::Observable< ActivityIndicatorObserver > | |
void | forEachObserver (C callback) |
Protected Member Functions inherited from inviwo::ObservableInterface | |
void | addObservationHelper (Observer *observer) |
void | removeObservationHelper (Observer *observer) |
Protected Member Functions inherited from inviwo::ProgressBarObservable | |
void | notifyProgressChanged (float progress) |
void | notifyVisibilityChanged (bool visible) |
Protected Member Functions inherited from inviwo::Observable< ProgressBarObserver > | |
void | forEachObserver (C callback) |
Simple progressbar to be used in a ProgressBarOwner. Expects progress between [0 1]. Progress 0 means that it starts and 1 it is finished.
void inviwo::ProgressBar::finishProgress | ( | ) |
Set progress to 1 and notify observables if visible.
float inviwo::ProgressBar::getProgress | ( | ) | const |
Return current progress. Progress 0 means that it starts and 1 it is finished.
void inviwo::ProgressBar::resetProgress | ( | ) |
Set progress to 0 and notify observables if visible.
void inviwo::ProgressBar::updateProgress | ( | float | progress | ) |
Set progress in [0 1]. Progress 0 means that it starts and 1 it is finished. Will also notify observables if visible.
progress | between [0 1] |