![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
#include <progressbar.h>
Public Member Functions | |
| float | getProgress () const |
| void | resetProgress () |
| void | finishProgress () |
| void | updateProgress (float progress) |
| void | show () |
| void | hide () |
| void | setVisible (bool visible) |
| bool | isVisible () const |
| Public Member Functions inherited from inviwo::ActivityIndicator | |
| void | setActive (bool active) |
| bool | isActive () const |
| Public Member Functions inherited from inviwo::Observable< ActivityIndicatorObserver > | |
| Observable< ActivityIndicatorObserver > & | operator= (const Observable< ActivityIndicatorObserver > &other) |
| void | addObserver (ActivityIndicatorObserver *observer) |
| void | removeObserver (ActivityIndicatorObserver *observer) |
| bool | isObservedBy (ActivityIndicatorObserver *observer) const |
| virtual void | startBlockingNotifications () override final |
| virtual void | stopBlockingNotifications () override final |
| Public Member Functions inherited from inviwo::Observable< ProgressBarObserver > | |
| Observable< ProgressBarObserver > & | operator= (const Observable< ProgressBarObserver > &other) |
| void | addObserver (ProgressBarObserver *observer) |
| void | removeObserver (ProgressBarObserver *observer) |
| bool | isObservedBy (ProgressBarObserver *observer) const |
| virtual void | startBlockingNotifications () override final |
| virtual void | stopBlockingNotifications () override final |
Additional Inherited Members | |
| Protected Member Functions inherited from inviwo::Observable< ActivityIndicatorObserver > | |
| void | forEachObserver (C callback) |
| Protected Member Functions inherited from inviwo::ObservableInterface | |
| virtual void | addObserver (Observer *observer)=0 |
| virtual void | removeObserver (Observer *observer)=0 |
| 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] |