Public Types | |
| typedef F::KeyframeType | KeyframeType |
| typedef TemplateKeyframeContainer < KeyframeType > | KeyframeContainerType |
| typedef F::UsingType | UsingType |
| typedef F | FunctorType |
Public Member Functions | |
| TemplateSampler () | |
| ~TemplateSampler () | |
| void | getValueAt (float time, UsingType &result) const |
| void | setKeyframeContainer (KeyframeContainerType *kf) |
| virtual KeyframeContainer * | getKeyframeContainer () |
| virtual const KeyframeContainer * | getKeyframeContainer () const |
| KeyframeContainerType * | getKeyframeContainerTyped () |
| const KeyframeContainerType * | getKeyframeContainerTyped () const |
| KeyframeContainerType * | getOrCreateKeyframeContainer () |
| float | getStartTime () const |
| float | getEndTime () const |
Protected Attributes | |
| FunctorType | _functor |
| osg::ref_ptr < KeyframeContainerType > | _keyframes |
| typedef F osgAnimation::TemplateSampler< F >::FunctorType |
| typedef TemplateKeyframeContainer<KeyframeType> osgAnimation::TemplateSampler< F >::KeyframeContainerType |
| typedef F::KeyframeType osgAnimation::TemplateSampler< F >::KeyframeType |
| typedef F::UsingType osgAnimation::TemplateSampler< F >::UsingType |
| osgAnimation::TemplateSampler< F >::TemplateSampler | ( | ) | [inline] |
| osgAnimation::TemplateSampler< F >::~TemplateSampler | ( | ) | [inline] |
| float osgAnimation::TemplateSampler< F >::getEndTime | ( | ) | const [inline] |
References osgAnimation::TemplateSampler< F >::_keyframes.
| virtual KeyframeContainer* osgAnimation::TemplateSampler< F >::getKeyframeContainer | ( | ) | [inline, virtual] |
Implements osgAnimation::Sampler.
References osgAnimation::TemplateSampler< F >::_keyframes, and osg::ref_ptr< T >::get().
| virtual const KeyframeContainer* osgAnimation::TemplateSampler< F >::getKeyframeContainer | ( | ) | const [inline, virtual] |
Implements osgAnimation::Sampler.
References osgAnimation::TemplateSampler< F >::_keyframes, and osg::ref_ptr< T >::get().
| KeyframeContainerType* osgAnimation::TemplateSampler< F >::getKeyframeContainerTyped | ( | ) | [inline] |
References osgAnimation::TemplateSampler< F >::_keyframes, and osg::ref_ptr< T >::get().
| const KeyframeContainerType* osgAnimation::TemplateSampler< F >::getKeyframeContainerTyped | ( | ) | const [inline] |
References osgAnimation::TemplateSampler< F >::_keyframes, and osg::ref_ptr< T >::get().
| KeyframeContainerType* osgAnimation::TemplateSampler< F >::getOrCreateKeyframeContainer | ( | ) | [inline] |
References osgAnimation::TemplateSampler< F >::_keyframes, and osg::ref_ptr< T >::get().
| float osgAnimation::TemplateSampler< F >::getStartTime | ( | ) | const [inline] |
References osgAnimation::TemplateSampler< F >::_keyframes.
| void osgAnimation::TemplateSampler< F >::getValueAt | ( | float | time, | |
| UsingType & | result | |||
| ) | const [inline] |
| void osgAnimation::TemplateSampler< F >::setKeyframeContainer | ( | KeyframeContainerType * | kf | ) | [inline] |
References osgAnimation::TemplateSampler< F >::_keyframes.
FunctorType osgAnimation::TemplateSampler< F >::_functor [protected] |
Referenced by osgAnimation::TemplateSampler< F >::getValueAt().
osg::ref_ptr<KeyframeContainerType> osgAnimation::TemplateSampler< F >::_keyframes [protected] |
Referenced by osgAnimation::TemplateSampler< F >::getEndTime(), osgAnimation::TemplateSampler< F >::getKeyframeContainer(), osgAnimation::TemplateSampler< F >::getKeyframeContainerTyped(), osgAnimation::TemplateSampler< F >::getOrCreateKeyframeContainer(), osgAnimation::TemplateSampler< F >::getStartTime(), osgAnimation::TemplateSampler< F >::getValueAt(), and osgAnimation::TemplateSampler< F >::setKeyframeContainer().
1.7.1