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

#include <modules/animation/interpolation/camerasphericalinterpolation.h>

Inheritance diagram for inviwo::animation::CameraSphericalInterpolation:

Public Member Functions

 CameraSphericalInterpolation (const CameraSphericalInterpolation &)
 CameraSphericalInterpolation (InviwoApplication *app=nullptr)
virtual CameraSphericalInterpolation * clone () const override
virtual void deserialize (Deserializer &d) override
virtual bool equal (const Interpolation &other) const override
virtual std::string_view getClassIdentifier () const override
virtual std::string_view getDisplayName () const override
virtual std::string_view getIdentifier () const override
virtual void operator() (const std::vector< std::unique_ptr< CameraKeyframe > > &keys, Seconds from, Seconds to, CameraKeyframe::value_type &out) const override
CameraSphericalInterpolation & operator= (const CameraSphericalInterpolation &)=delete
virtual void serialize (Serializer &s) const override
Public Member Functions inherited from inviwo::animation::InterpolationTyped< CameraKeyframe, CameraKeyframe::value_type >
 Interpolation (const Interpolation &rhs)
 Interpolation (InviwoApplication *app)
Public Member Functions inherited from inviwo::animation::Interpolation
virtual InviwoApplicationgetInviwoApplication () override
 Interpolation (InviwoApplication *app)
Public Member Functions inherited from inviwo::PropertyOwner
template<typename... Ts>
void addProperties (Ts &... properties)
void addProperty (Property &property)
void addProperty (Property *property, bool owner=true)
PropertyaddProperty (std::unique_ptr< Property > property)
iterator begin ()
const_iterator begin () const
const_iterator cbegin () const
const_iterator cend () const
virtual void clear ()
 Remove all properties; Owned properties will be deleted.
bool empty () const
iterator end ()
const_iterator end () const
const_iterator find (Property *property) const
const std::vector< CompositeProperty * > & getCompositeProperties () const
InvalidationLevel getInvalidationLevel () const
virtual PropertyOwner * getOwner ()
virtual const PropertyOwner * getOwner () const
virtual ProcessorgetProcessor ()
virtual const ProcessorgetProcessor () const
const std::vector< Property * > & getProperties () const
template<class T>
std::vector< T * > getPropertiesByType (bool recursiveSearch=false) const
std::vector< Property * > getPropertiesRecursive () const
std::vector< Property * > & getPropertiesRecursive (std::vector< Property * > &destination) const
template<std::derived_from< Property > T = Property>
T * getProperty (std::string_view identifier)
PropertygetPropertyByIdentifier (std::string_view identifier, bool recursiveSearch=false) const
PropertygetPropertyByPath (std::string_view path) const
void insertProperty (size_t index, Property &property)
 insert property property at position index If index is not valid, the property is appended.
virtual void insertProperty (size_t index, Property *property, bool owner=true)
 insert property property at position index If index is not valid, the property is appended.
PropertyinsertProperty (size_t index, std::unique_ptr< Property > property)
 insert property property at position index If index is not valid, the property is appended.
virtual void invalidate (InvalidationLevel invalidationLevel, Property *modifiedProperty)
virtual void invokeEvent (Event *event) override
virtual bool isValid () const
virtual bool move (Property *property, size_t newIndex)
PropertyOwner & operator= (const PropertyOwner &that)=delete
Propertyoperator[] (size_t)
const Propertyoperator[] (size_t) const
virtual PropertyremoveProperty (iterator it)
PropertyremoveProperty (Property &property)
PropertyremoveProperty (Property *property)
PropertyremoveProperty (size_t index)
 remove property referred to by index
PropertyremoveProperty (std::string_view identifier)
virtual void resetAllProperties ()
virtual void setAllPropertiesCurrentStateAsDefault ()
virtual void setValid ()
size_t size () const
virtual ~PropertyOwner ()
 Removes all properties and notifies its observers of the removal.
Public Member Functions inherited from inviwo::PropertyOwnerObservable
void notifyObserversDidAddProperty (Property *property, size_t index)
void notifyObserversDidRemoveProperty (PropertyOwner *owner, Property *property, size_t index)
void notifyObserversWillAddProperty (PropertyOwner *owner, Property *property, size_t index)
void notifyObserversWillRemoveProperty (Property *property, size_t index)
Public Member Functions inherited from inviwo::Observable< PropertyOwnerObserver >
void addObserver (PropertyOwnerObserver *observer)
bool isObservedBy (PropertyOwnerObserver *observer) const
Observable< PropertyOwnerObserver > & operator= (const Observable< PropertyOwnerObserver > &other)
void removeObserver (PropertyOwnerObserver *observer)
virtual void startBlockingNotifications () override final
virtual void stopBlockingNotifications () override final

Static Public Member Functions

static std::string_view classIdentifier ()

Additional Inherited Members

Public Types inherited from inviwo::animation::InterpolationTyped< CameraKeyframe, CameraKeyframe::value_type >
using key_type
using result_type
Public Types inherited from inviwo::PropertyOwner
using const_iterator = std::vector<Property*>::const_iterator
using iterator = std::vector<Property*>::iterator
Protected Member Functions inherited from inviwo::animation::InterpolationTyped< CameraKeyframe, CameraKeyframe::value_type >
 InterpolationTyped (const InterpolationTyped &rhs)
Protected Member Functions inherited from inviwo::animation::Interpolation
 Interpolation (const Interpolation &rhs)
Protected Member Functions inherited from inviwo::PropertyOwner
void forEachProperty (std::function< void(Property &)> callback, bool recursiveSearch=false) const
PropertyOwner & operator= (PropertyOwner &&that)
 PropertyOwner (const PropertyOwner &rhs)
 PropertyOwner (PropertyOwner &&rhs)
Protected Member Functions inherited from inviwo::Observable< PropertyOwnerObserver >
void forEachObserver (C callback)
Protected Member Functions inherited from inviwo::ObservableInterface
void addObservationHelper (Observer *observer)
virtual void addObserver (Observer *observer)=0
void removeObservationHelper (Observer *observer)
virtual void removeObserver (Observer *observer)=0
Protected Attributes inherited from inviwo::animation::Interpolation
InviwoApplicationapp_
Protected Attributes inherited from inviwo::PropertyOwner
std::vector< CompositeProperty * > compositeProperties_
std::vector< EventProperty * > eventProperties_
std::vector< std::unique_ptr< Property > > ownedProperties_
std::vector< Property * > properties_

Detailed Description

Spherical interpolation between two neighboring key frames.

  1. Orbit around lookAt if lookFrom's are different between key frames.
  2. Pan/tilt (rotate lookAt between key frames) otherwise.
Note
Only modifies lookFrom, lookAt, lookUp.
See also
CameraPanTiltInterpolation

Member Function Documentation

◆ clone()

virtual CameraSphericalInterpolation * inviwo::animation::CameraSphericalInterpolation::clone ( ) const
overridevirtual

◆ deserialize()

virtual void inviwo::animation::CameraSphericalInterpolation::deserialize ( Deserializer & d)
overridevirtual

Reimplemented from inviwo::animation::Interpolation.

◆ equal()

virtual bool inviwo::animation::CameraSphericalInterpolation::equal ( const Interpolation & other) const
overridevirtual

◆ getClassIdentifier()

virtual std::string_view inviwo::animation::CameraSphericalInterpolation::getClassIdentifier ( ) const
overridevirtual

◆ getDisplayName()

virtual std::string_view inviwo::animation::CameraSphericalInterpolation::getDisplayName ( ) const
overridevirtual

◆ getIdentifier()

virtual std::string_view inviwo::animation::CameraSphericalInterpolation::getIdentifier ( ) const
inlineoverridevirtual

Implements inviwo::PropertyOwner.

◆ operator()()

virtual void inviwo::animation::CameraSphericalInterpolation::operator() ( const std::vector< std::unique_ptr< CameraKeyframe > > & keys,
Seconds from,
Seconds to,
CameraKeyframe::value_type & out ) const
overridevirtual

◆ serialize()

virtual void inviwo::animation::CameraSphericalInterpolation::serialize ( Serializer & s) const
overridevirtual

Reimplemented from inviwo::animation::Interpolation.


The documentation for this class was generated from the following file:
  • modules/animation/include/modules/animation/interpolation/camerasphericalinterpolation.h