Inviwo 0.9.12-pre
Inviwo documentation
|
#include <animationmanager.h>
Public Member Functions | |
AnimationManager (InviwoApplication *app) | |
TrackFactory & | getTrackFactory () |
const TrackFactory & | getTrackFactory () const |
InterpolationFactory & | getInterpolationFactory () |
const InterpolationFactory & | getInterpolationFactory () const |
RecorderFactories & | getRecorderFactories () |
const RecorderFactories & | getRecorderFactories () const |
void | registerPropertyTrackConnection (std::string_view propertyClassID, std::string_view trackClassID) |
std::vector< Animation > | import (Deserializer &d) |
The AnimationManager is responsible for managing the factories related to animations.
The modules that wish to extend the Animation with a new functionality ( Track or Interpolation ) will do so through the AnimationSuppliers and will register those with the factories here.
std::vector< Animation > inviwo::animation::AnimationManager::import | ( | Deserializer & | d | ) |
Extracts each "Animation" in "Animations" in the Deserializer stream. This AnimationManager is passed to the Animation constructor to enable its Property-based adding convenience functions.
d | stream |
void inviwo::animation::AnimationManager::registerPropertyTrackConnection | ( | std::string_view | propertyClassID, |
std::string_view | trackClassID ) |
Register connection between a property and a track. Used to create typed tracks for a property.
propertyClassID | Property::getClassIdentifier |
trackClassID | PropertyTrack::getIdentifier() |