Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::animation::MainAnimation Class Reference

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)
 
Animationget ()
 
const Animationget () const
 
AnimationControllergetController ()
 
const AnimationControllergetController () const
 

Friends

class WorkspaceAnimations
 

Detailed Description

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.

See also
AnimationWorkspaces
Animation
AnimationController
Track

The documentation for this class was generated from the following file: