Inviwo 0.9.12-pre
Inviwo documentation
|
Responsible for the main AnimationController and saving it in the workspace. More...
#include <mainanimation.h>
Public Member Functions | |
MainAnimation (InviwoApplication *app, Animation &animation, AnimationModule &animationModule) | |
Animation & | get () |
const Animation & | get () const |
AnimationController & | getController () |
const AnimationController & | getController () const |
Friends | |
class | WorkspaceAnimations |
Responsible for the main AnimationController and saving it in the workspace.
This class is intented to be owned by WorkspaceAnimations, which is responsible for animations stored in the workspace. The main Animation can only be changed through WorkspaceAnimations.
The controller is cleared, saved, and loaded when the workspace is cleared, saved, or loaded.
The MainAnimation also manages the ModuleCallback actions used to create property tracks from the context menu of properties.
This object is not intended to be used from within the Network, e.g. in a Processor, but rather from the outside. See the for AnimationQt module for examples.