pqLiveSourceManager is the manager that handle all live sources in ParaView It is usually instantiated by the pqLiveSourceBehavior. More...
#include <pqLiveSourceManager.h>
Inherits QObject.
Signals | |
void | emulatedTimeStateChanged (bool isPaused) |
Triggered when emulated time shared timer is paused / resumed. More... | |
Public Member Functions | |
pqLiveSourceManager (QObject *parent=nullptr) | |
~pqLiveSourceManager () override | |
bool | isPaused () |
Returns true if all live source updates is paused. More... | |
pqLiveSourceItem * | getLiveSourceItem (vtkSMProxy *) |
Returns the pqLiveSourceItem corresponding to the proxy. More... | |
bool | isEmulatedTimePaused () |
Returns true if the emulated time timer is paused. More... | |
void | pause () |
Pause / Resume live updates for all live sources. More... | |
void | resume () |
Pause / Resume live updates for all live sources. More... | |
void | pauseEmulatedTime () |
Pause / Resume internal emulated time shared timer. More... | |
void | resumeEmulatedTime () |
Pause / Resume internal emulated time shared timer. More... | |
void | setEmulatedSpeedMultiplier (double speed) |
Set/get playing speed for emulated time algorithms (in seconds). More... | |
double | getEmulatedSpeedMultiplier () |
Set/get playing speed for emulated time algorithms (in seconds). More... | |
void | setEmulatedCurrentTime (double time) |
Set/get current global time for emulated time algorithms. More... | |
double | getEmulatedCurrentTime () |
Set/get current global time for emulated time algorithms. More... | |
pqLiveSourceManager is the manager that handle all live sources in ParaView It is usually instantiated by the pqLiveSourceBehavior.
It provide feature to control live sources.
Definition at line 21 of file pqLiveSourceManager.h.
pqLiveSourceManager::pqLiveSourceManager | ( | QObject * | parent = nullptr | ) |
|
override |
void pqLiveSourceManager::pause | ( | ) |
Pause / Resume live updates for all live sources.
Also pause / resume emulated time timer.
void pqLiveSourceManager::resume | ( | ) |
Pause / Resume live updates for all live sources.
Also pause / resume emulated time timer.
bool pqLiveSourceManager::isPaused | ( | ) |
Returns true if all live source updates is paused.
pqLiveSourceItem* pqLiveSourceManager::getLiveSourceItem | ( | vtkSMProxy * | ) |
Returns the pqLiveSourceItem corresponding to the proxy.
void pqLiveSourceManager::pauseEmulatedTime | ( | ) |
Pause / Resume internal emulated time shared timer.
void pqLiveSourceManager::resumeEmulatedTime | ( | ) |
Pause / Resume internal emulated time shared timer.
bool pqLiveSourceManager::isEmulatedTimePaused | ( | ) |
Returns true if the emulated time timer is paused.
void pqLiveSourceManager::setEmulatedSpeedMultiplier | ( | double | speed | ) |
Set/get playing speed for emulated time algorithms (in seconds).
Default to 1.
double pqLiveSourceManager::getEmulatedSpeedMultiplier | ( | ) |
Set/get playing speed for emulated time algorithms (in seconds).
Default to 1.
void pqLiveSourceManager::setEmulatedCurrentTime | ( | double | time | ) |
Set/get current global time for emulated time algorithms.
double pqLiveSourceManager::getEmulatedCurrentTime | ( | ) |
Set/get current global time for emulated time algorithms.
|
signal |
Triggered when emulated time shared timer is paused / resumed.