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

#include <camerasphericalinterpolation.h>

+ Inheritance diagram for inviwo::animation::CameraSphericalInterpolation:

Public Member Functions

virtual CameraSphericalInterpolationclone () const override
 
virtual std::string getName () const override
 
virtual std::string_view getClassIdentifier () const override
 
virtual bool equal (const Interpolation &other) const override
 
virtual void serialize (Serializer &s) const override
 
virtual void deserialize (Deserializer &d) override
 
virtual void operator() (const std::vector< std::unique_ptr< CameraKeyframe > > &keys, Seconds from, Seconds to, easing::EasingType easing, CameraKeyframe::value_type &out) const override
 
- Public Member Functions inherited from inviwo::animation::InterpolationTyped< CameraKeyframe, CameraKeyframe::value_type >
- Public Member Functions inherited from inviwo::animation::Interpolation
- Public Member Functions inherited from inviwo::Serializable

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
 

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

◆ equal()

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

◆ getClassIdentifier()

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

◆ getName()

virtual std::string inviwo::animation::CameraSphericalInterpolation::getName ( ) const
overridevirtual

◆ operator()()

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

◆ serialize()

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

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