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

#include <cameralinearinterpolation.h>

+ Inheritance diagram for inviwo::animation::CameraLinearInterpolation:

Public Member Functions

virtual CameraLinearInterpolationclone () const override
 
virtual std::string getName () const override
 
virtual std::string 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 classIdentifier ()
 

Additional Inherited Members

- Public Types inherited from inviwo::animation::InterpolationTyped< CameraKeyframe, CameraKeyframe::value_type >
using key_type
 
using result_type
 

Detailed Description

Perfoms linear interpolation between lookFrom and lookTo of two neighboring key frames. lookUp is rotated between the two neighboring keyframes. Generally, you do not want to linearly interpolate lookFrom/lookTo - use CameraSphericalInterpolation instead.

Note
Only considers lookFrom, lookAt, lookUp in Camera
See also
CameraSphericalInterpolation

Member Function Documentation

◆ clone()

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

◆ deserialize()

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

◆ equal()

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

◆ getClassIdentifier()

virtual std::string inviwo::animation::CameraLinearInterpolation::getClassIdentifier ( ) const
overridevirtual

◆ getName()

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

◆ operator()()

virtual void inviwo::animation::CameraLinearInterpolation::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::CameraLinearInterpolation::serialize ( Serializer & s) const
overridevirtual

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