Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::animation::TrackFactory Class Reference
Inheritance diagram for inviwo::animation::TrackFactory:

Public Member Functions

 TrackFactory (ProcessorNetwork *network)
virtual bool hasKey (std::string_view key) const override
virtual std::unique_ptr< Trackcreate (std::string_view key) const override
virtual std::unique_ptr< Trackcreate (Property *property) const
void registerPropertyTrackConnection (std::string_view propertyClassID, std::string_view trackClassID)
Public Member Functions inherited from inviwo::Factory< Track >
Factory & operator= (const Factory &)=delete
virtual std::unique_ptr< Track > create (std::string_view key, Args... args) const=0
virtual std::shared_ptr< Track > createShared (std::string_view key, Args... args) const

Public Attributes

ProcessorNetworknetwork_

Protected Attributes

std::map< std::string, std::string, std::less<> > propertyToTrackMap_

Member Function Documentation

◆ hasKey()

virtual bool inviwo::animation::TrackFactory::hasKey ( std::string_view key) const
overridevirtual

◆ registerPropertyTrackConnection()

void inviwo::animation::TrackFactory::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:
  • trackfactory.h