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

#include <animationmanager.h>

Public Member Functions

 AnimationManager (InviwoApplication *app)
TrackFactorygetTrackFactory ()
const TrackFactorygetTrackFactory () const
InterpolationFactorygetInterpolationFactory ()
const InterpolationFactorygetInterpolationFactory () const
RecorderFactoriesgetRecorderFactories ()
const RecorderFactoriesgetRecorderFactories () const
void registerPropertyTrackConnection (std::string_view propertyClassID, std::string_view trackClassID)
std::vector< Animationimport (Deserializer &d)

Detailed Description

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.

See also
Animation
AnimationController
Track

Member Function Documentation

◆ import()

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.

Note
The animations are often tightly coupled to the processors in the workspace.
Parameters
dstream
Returns
All animations found, empty .

◆ registerPropertyTrackConnection()

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.

Parameters
propertyClassIDProperty::getClassIdentifier
trackClassIDPropertyTrack::getIdentifier()

The documentation for this class was generated from the following file:
  • animationmanager.h