|
ParaView
|
#include <pqAnimationManager.h>
Public Slots | |
| void | onActiveServerChanged (pqServer *) |
| void | updateApplicationSettings () |
| Refreshes state of scenes to the current application settings. | |
Signals | |
| void | activeSceneChanged (pqAnimationScene *scene) |
emitted when the active scene changes (scene may be NULL). | |
| void | saveProgress (const QString &, int) |
| emitted with the current save progress. | |
| void | beginNonUndoableChanges () |
| emitted when the manager begins changes that should not get recorded on the undo stack. | |
| void | endNonUndoableChanges () |
| emitted when the manager is done with changes that should not get recorded on the undo stack. | |
| void | disconnectServer () |
| emitted to request the application to disconnect from the server connection. | |
| void | writeAnimation (const QString &filename, int magnification, double frameRate) |
| emitted to indicate an animation is being written out to a file. | |
Public Member Functions | |
| pqAnimationManager (QObject *parent=0) | |
| virtual | ~pqAnimationManager () |
| pqAnimationScene * | getActiveScene () const |
| Returns the scene for the active server connection, if any. | |
| pqAnimationScene * | getScene (pqServer *server) const |
| Returns the scene on the server connection, if any. | |
| pqAnimationScene * | createActiveScene () |
| Creates a new scene for the active server connection, if possible, and returns it. | |
| pqAnimationCue * | getCue (pqAnimationScene *scene, vtkSMProxy *proxy, const char *propertyname, int index) const |
In the given scene, returns the cue that animates the given index of the given property on the proxy. | |
| bool | saveAnimation () |
| Saves the animation from the active scene. | |
| bool | saveGeometry (const QString &filename, pqView *view) |
| Saves the animation geometry from the active scene as visible in the given view. | |
| void | saveSettings () |
| Save the settings of "save animation" with QSettings. | |
| void | restoreSettings () |
| Apply the settings from QSettings to "save animation". | |
Protected Slots | |
| void | onProxyAdded (pqProxy *) |
| void | onProxyRemoved (pqProxy *) |
| void | updateGUI () |
| void | updateViewModules () |
| Update the ViewModules property in the active scene. | |
| void | onTick (int) |
| Called on every tick while saving animation. | |
| void | onWidthEdited () |
| Manages locking the aspect ratio. | |
| void | onHeightEdited () |
| void | onLockAspectRatio (bool lock) |
Definition at line 51 of file pqAnimationManager.h.
| pqAnimationManager::pqAnimationManager | ( | QObject * | parent = 0 | ) |
| virtual pqAnimationManager::~pqAnimationManager | ( | ) | [virtual] |
| pqAnimationScene* pqAnimationManager::getActiveScene | ( | ) | const |
Returns the scene for the active server connection, if any.
| pqAnimationScene* pqAnimationManager::getScene | ( | pqServer * | server | ) | const |
Returns the scene on the server connection, if any.
| pqAnimationScene* pqAnimationManager::createActiveScene | ( | ) |
Creates a new scene for the active server connection, if possible, and returns it.
| pqAnimationCue* pqAnimationManager::getCue | ( | pqAnimationScene * | scene, |
| vtkSMProxy * | proxy, | ||
| const char * | propertyname, | ||
| int | index | ||
| ) | const |
In the given scene, returns the cue that animates the given index of the given property on the proxy.
This method simply calls getCue() on the pqAnimationScene instance.
| bool pqAnimationManager::saveAnimation | ( | ) |
Saves the animation from the active scene.
The active scene is determined using the active server. Returns true if the save was successful.
| bool pqAnimationManager::saveGeometry | ( | const QString & | filename, |
| pqView * | view | ||
| ) |
Saves the animation geometry from the active scene as visible in the given view.
| void pqAnimationManager::saveSettings | ( | ) |
Save the settings of "save animation" with QSettings.
| void pqAnimationManager::restoreSettings | ( | ) |
Apply the settings from QSettings to "save animation".
| void pqAnimationManager::activeSceneChanged | ( | pqAnimationScene * | scene | ) | [signal] |
emitted when the active scene changes (scene may be NULL).
| void pqAnimationManager::saveProgress | ( | const QString & | , |
| int | |||
| ) | [signal] |
emitted with the current save progress.
| void pqAnimationManager::beginNonUndoableChanges | ( | ) | [signal] |
emitted when the manager begins changes that should not get recorded on the undo stack.
| void pqAnimationManager::endNonUndoableChanges | ( | ) | [signal] |
emitted when the manager is done with changes that should not get recorded on the undo stack.
| void pqAnimationManager::disconnectServer | ( | ) | [signal] |
emitted to request the application to disconnect from the server connection.
This is done when the user requested to save animation after disconnecting from the server.
| void pqAnimationManager::writeAnimation | ( | const QString & | filename, |
| int | magnification, | ||
| double | frameRate | ||
| ) | [signal] |
emitted to indicate an animation is being written out to a file.
| void pqAnimationManager::onActiveServerChanged | ( | pqServer * | ) | [slot] |
| void pqAnimationManager::updateApplicationSettings | ( | ) | [slot] |
Refreshes state of scenes to the current application settings.
Should be called when the application settings change.
| void pqAnimationManager::onProxyAdded | ( | pqProxy * | ) | [protected, slot] |
| void pqAnimationManager::onProxyRemoved | ( | pqProxy * | ) | [protected, slot] |
| void pqAnimationManager::updateGUI | ( | ) | [protected, slot] |
| void pqAnimationManager::updateViewModules | ( | ) | [protected, slot] |
Update the ViewModules property in the active scene.
| void pqAnimationManager::onTick | ( | int | ) | [protected, slot] |
Called on every tick while saving animation.
| void pqAnimationManager::onWidthEdited | ( | ) | [protected, slot] |
Manages locking the aspect ratio.
| void pqAnimationManager::onHeightEdited | ( | ) | [protected, slot] |
| void pqAnimationManager::onLockAspectRatio | ( | bool | lock | ) | [protected, slot] |
1.7.5.1