pqAnimationManager manages the Animation sub-system.
More...
#include <pqAnimationManager.h>
Inherits QObject.
pqAnimationManager manages the Animation sub-system.
It encapsulates the initialization of animation scene per server connection i.e. this class basically keeps track of the active animation scene.
Definition at line 53 of file pqAnimationManager.h.
◆ pqAnimationManager()
pqAnimationManager::pqAnimationManager |
( |
QObject * |
parent = 0 | ) |
|
◆ ~pqAnimationManager()
virtual pqAnimationManager::~pqAnimationManager |
( |
| ) |
|
|
virtual |
◆ getActiveScene()
Returns the scene for the active server connection, if any.
◆ getScene()
Returns the scene on the server connection, if any.
◆ getCue()
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.
◆ saveAnimation()
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.
◆ saveGeometry()
bool pqAnimationManager::saveGeometry |
( |
const QString & |
filename, |
|
|
pqView * |
view |
|
) |
| |
Saves the animation geometry from the active scene as visible in the given view.
◆ saveSettings()
void pqAnimationManager::saveSettings |
( |
| ) |
|
Save the settings of "save animation" with QSettings.
◆ restoreSettings()
void pqAnimationManager::restoreSettings |
( |
| ) |
|
Apply the settings from QSettings to "save animation".
◆ animationPlaying()
bool pqAnimationManager::animationPlaying |
( |
| ) |
const |
Query whether or not an animation is currently playing.
◆ activeSceneChanged
emitted when the active scene changes (scene
may be NULL).
◆ activeServerChanged
void pqAnimationManager::activeServerChanged |
( |
pqServer * |
scene | ) |
|
|
signal |
emitted when the active server changes and updated active scene.
◆ saveProgress
void pqAnimationManager::saveProgress |
( |
const QString & |
, |
|
|
int |
|
|
) |
| |
|
signal |
emitted with the current save progress.
◆ beginNonUndoableChanges
void pqAnimationManager::beginNonUndoableChanges |
( |
| ) |
|
|
signal |
emitted when the manager begins changes that should not get recorded on the undo stack.
◆ endNonUndoableChanges
void pqAnimationManager::endNonUndoableChanges |
( |
| ) |
|
|
signal |
emitted when the manager is done with changes that should not get recorded on the undo stack.
◆ disconnectServer
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.
◆ writeAnimation
void pqAnimationManager::writeAnimation |
( |
const QString & |
filename, |
|
|
int |
magnification, |
|
|
double |
frameRate |
|
) |
| |
|
signal |
emitted to indicate an animation is being written out to a file.
◆ beginPlay
void pqAnimationManager::beginPlay |
( |
| ) |
|
|
signal |
Emitted when the active animation scene begins playing.
◆ endPlay
void pqAnimationManager::endPlay |
( |
| ) |
|
|
signal |
Emitted when the active animation scene finishes playing.
◆ onActiveServerChanged
void pqAnimationManager::onActiveServerChanged |
( |
pqServer * |
| ) |
|
|
slot |
◆ onProxyAdded
void pqAnimationManager::onProxyAdded |
( |
pqProxy * |
| ) |
|
|
protectedslot |
◆ onProxyRemoved
void pqAnimationManager::onProxyRemoved |
( |
pqProxy * |
| ) |
|
|
protectedslot |
◆ updateGUI
void pqAnimationManager::updateGUI |
( |
| ) |
|
|
protectedslot |
◆ updateViewModules
void pqAnimationManager::updateViewModules |
( |
| ) |
|
|
protectedslot |
Update the ViewModules property in the active scene.
◆ onTick
void pqAnimationManager::onTick |
( |
int |
| ) |
|
|
protectedslot |
Called on every tick while saving animation.
◆ onBeginPlay
void pqAnimationManager::onBeginPlay |
( |
| ) |
|
|
protectedslot |
Called to demarcate the start and end of an animation.
◆ onEndPlay
void pqAnimationManager::onEndPlay |
( |
| ) |
|
|
protectedslot |
◆ onWidthEdited
void pqAnimationManager::onWidthEdited |
( |
| ) |
|
|
protectedslot |
Manages locking the aspect ratio.
◆ onHeightEdited
void pqAnimationManager::onHeightEdited |
( |
| ) |
|
|
protectedslot |
◆ onLockAspectRatio
void pqAnimationManager::onLockAspectRatio |
( |
bool |
lock | ) |
|
|
protectedslot |
The documentation for this class was generated from the following file: