Inviwo 0.9.12-pre
Inviwo documentation
|
Typedefs | |
using | Seconds = std::chrono::duration<double, std::ratio<1>> |
using | ButtonTrack = PropertyTrack<ButtonProperty, ButtonKeyframe, ButtonKeyframeSequence> |
using | CameraKeyframeSequence = KeyframeSequenceTyped<CameraKeyframe> |
using | CameraTrack = PropertyTrack<CameraProperty, CameraKeyframe> |
Functions | |
template<typename Iterator > | |
AnimationTimeState | animateRange (Iterator begin, Iterator end, Seconds from, Seconds to, AnimationState state) |
IVW_MODULE_ANIMATION_API bool | operator== (const CameraKeyframe &a, const CameraKeyframe &b) |
IVW_MODULE_ANIMATION_API bool | operator!= (const CameraKeyframe &a, const CameraKeyframe &b) |
template<typename Prop , typename Key , typename Seq > | |
bool | operator== (const PropertyTrack< Prop, Key, Seq > &a, const PropertyTrack< Prop, Key, Seq > &b) |
template<typename Prop , typename Key , typename Seq > | |
bool | operator!= (const PropertyTrack< Prop, Key, Seq > &a, const PropertyTrack< Prop, Key, Seq > &b) |
template<typename T > | |
bool | operator== (const ValueKeyframe< T > &a, const ValueKeyframe< T > &b) |
template<typename T > | |
bool | operator!= (const ValueKeyframe< T > &a, const ValueKeyframe< T > &b) |
IVW_MODULE_ANIMATION_API bool | operator== (const Interpolation &a, const Interpolation &b) |
IVW_MODULE_ANIMATION_API bool | operator!= (const Interpolation &a, const Interpolation &b) |
IVW_MODULE_ANIMATIONQT_API qreal | getSnapTime (const qreal &actualTime, const qreal &scale) |
constexpr double | timeToScenePos (Seconds time) |
constexpr Seconds | scenePosToTime (double pos) |
IVW_MODULE_ANIMATIONQT_API FindDivisionsResult | findDivisions (double start, double stop, int divisions) |
animation
IVW_MODULE_ANIMATIONQT_API qreal inviwo::animation::getSnapTime | ( | const qreal & | actualTime, |
const qreal & | scale ) |
We snap to certain times depending on the scale (zoom) level and keyboard modifiers. It is important to supply scene coordinates to this function!