OpenSceneGraph 2.8.3
|
Public Types | |
typedef SamplerType::UsingType | UsingType |
typedef TemplateTarget< UsingType > | TargetType |
typedef TemplateKeyframeContainer < typename SamplerType::KeyframeType > | KeyframeContainerType |
Public Member Functions | |
Channel * | clone () const |
TemplateChannel (const TemplateChannel &channel) | |
TemplateChannel (SamplerType *s=0, TargetType *target=0) | |
virtual bool | createKeyframeContainerFromTargetValue () |
virtual | ~TemplateChannel () |
virtual void | update (float time, float weight, int priority) |
virtual void | reset () |
virtual Target * | getTarget () |
virtual bool | setTarget (Target *target) |
SamplerType * | getOrCreateSampler () |
Sampler * | getSampler () |
const Sampler * | getSampler () const |
SamplerType * | getSamplerTyped () |
const SamplerType * | getSamplerTyped () const |
void | setSampler (SamplerType *sampler) |
TargetType * | getTargetTyped () |
const TargetType * | getTargetTyped () const |
void | setTarget (TargetType *target) |
virtual float | getStartTime () const |
virtual float | getEndTime () const |
Protected Attributes | |
osg::ref_ptr< TargetType > | _target |
osg::ref_ptr< SamplerType > | _sampler |
typedef TemplateKeyframeContainer<typename SamplerType::KeyframeType> osgAnimation::TemplateChannel< SamplerType >::KeyframeContainerType |
typedef TemplateTarget<UsingType> osgAnimation::TemplateChannel< SamplerType >::TargetType |
typedef SamplerType::UsingType osgAnimation::TemplateChannel< SamplerType >::UsingType |
osgAnimation::TemplateChannel< SamplerType >::TemplateChannel | ( | const TemplateChannel< SamplerType > & | channel | ) | [inline] |
osgAnimation::TemplateChannel< SamplerType >::TemplateChannel | ( | SamplerType * | s = 0 , |
TargetType * | target = 0 |
||
) | [inline] |
virtual osgAnimation::TemplateChannel< SamplerType >::~TemplateChannel | ( | ) | [inline, virtual] |
Channel* osgAnimation::TemplateChannel< SamplerType >::clone | ( | ) | const [inline, virtual] |
Implements osgAnimation::Channel.
virtual bool osgAnimation::TemplateChannel< SamplerType >::createKeyframeContainerFromTargetValue | ( | ) | [inline, virtual] |
virtual float osgAnimation::TemplateChannel< SamplerType >::getEndTime | ( | ) | const [inline, virtual] |
Implements osgAnimation::Channel.
References osgAnimation::TemplateChannel< SamplerType >::_sampler.
SamplerType* osgAnimation::TemplateChannel< SamplerType >::getOrCreateSampler | ( | ) | [inline] |
Sampler* osgAnimation::TemplateChannel< SamplerType >::getSampler | ( | ) | [inline, virtual] |
Implements osgAnimation::Channel.
References osgAnimation::TemplateChannel< SamplerType >::_sampler, and osg::ref_ptr< T >::get().
const Sampler* osgAnimation::TemplateChannel< SamplerType >::getSampler | ( | ) | const [inline, virtual] |
Implements osgAnimation::Channel.
References osgAnimation::TemplateChannel< SamplerType >::_sampler, and osg::ref_ptr< T >::get().
SamplerType* osgAnimation::TemplateChannel< SamplerType >::getSamplerTyped | ( | ) | [inline] |
const SamplerType* osgAnimation::TemplateChannel< SamplerType >::getSamplerTyped | ( | ) | const [inline] |
virtual float osgAnimation::TemplateChannel< SamplerType >::getStartTime | ( | ) | const [inline, virtual] |
Implements osgAnimation::Channel.
References osgAnimation::TemplateChannel< SamplerType >::_sampler.
virtual Target* osgAnimation::TemplateChannel< SamplerType >::getTarget | ( | ) | [inline, virtual] |
Implements osgAnimation::Channel.
References osgAnimation::TemplateChannel< SamplerType >::_target, and osg::ref_ptr< T >::get().
TargetType* osgAnimation::TemplateChannel< SamplerType >::getTargetTyped | ( | ) | [inline] |
const TargetType* osgAnimation::TemplateChannel< SamplerType >::getTargetTyped | ( | ) | const [inline] |
virtual void osgAnimation::TemplateChannel< SamplerType >::reset | ( | ) | [inline, virtual] |
Implements osgAnimation::Channel.
References osgAnimation::TemplateChannel< SamplerType >::_target.
void osgAnimation::TemplateChannel< SamplerType >::setSampler | ( | SamplerType * | sampler | ) | [inline] |
void osgAnimation::TemplateChannel< SamplerType >::setTarget | ( | TargetType * | target | ) | [inline] |
virtual bool osgAnimation::TemplateChannel< SamplerType >::setTarget | ( | Target * | target | ) | [inline, virtual] |
Implements osgAnimation::Channel.
References osgAnimation::TemplateChannel< SamplerType >::_target, and osg::ref_ptr< T >::get().
virtual void osgAnimation::TemplateChannel< SamplerType >::update | ( | float | time, |
float | weight, | ||
int | priority | ||
) | [inline, virtual] |
osg::ref_ptr<SamplerType> osgAnimation::TemplateChannel< SamplerType >::_sampler [protected] |
Referenced by osgAnimation::TemplateChannel< SamplerType >::createKeyframeContainerFromTargetValue(), osgAnimation::TemplateChannel< SamplerType >::getEndTime(), osgAnimation::TemplateChannel< SamplerType >::getOrCreateSampler(), osgAnimation::TemplateChannel< SamplerType >::getSampler(), osgAnimation::TemplateChannel< SamplerType >::getSamplerTyped(), osgAnimation::TemplateChannel< SamplerType >::getStartTime(), osgAnimation::TemplateChannel< SamplerType >::setSampler(), osgAnimation::TemplateChannel< SamplerType >::TemplateChannel(), and osgAnimation::TemplateChannel< SamplerType >::update().
osg::ref_ptr<TargetType> osgAnimation::TemplateChannel< SamplerType >::_target [protected] |
Referenced by osgAnimation::TemplateChannel< SamplerType >::createKeyframeContainerFromTargetValue(), osgAnimation::TemplateChannel< SamplerType >::getTarget(), osgAnimation::TemplateChannel< SamplerType >::getTargetTyped(), osgAnimation::TemplateChannel< SamplerType >::reset(), osgAnimation::TemplateChannel< SamplerType >::setTarget(), osgAnimation::TemplateChannel< SamplerType >::TemplateChannel(), and osgAnimation::TemplateChannel< SamplerType >::update().
![]() | Generated at Tue Mar 22 2011 13:20:24 for the OpenSceneGraph by doxygen 1.7.3. |