OpenSceneGraph
3.0.1
|
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 (double 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 double | getStartTime () const |
virtual double | getEndTime () const |
Protected Attributes | |
osg::ref_ptr< TargetType > | _target |
osg::ref_ptr< SamplerType > | _sampler |
typedef TemplateKeyframeContainer<typename SamplerType::KeyframeType> osgAnimation::TemplateChannel::KeyframeContainerType |
typedef SamplerType::UsingType osgAnimation::TemplateChannel::UsingType |
osgAnimation::TemplateChannel::TemplateChannel | ( | const TemplateChannel & | channel | ) | [inline] |
References getTargetTyped(), _target, getSamplerTyped(), and _sampler.
osgAnimation::TemplateChannel::TemplateChannel | ( | SamplerType * | s = 0 , |
TargetType * | target = 0 |
||
) | [inline] |
virtual osgAnimation::TemplateChannel::~TemplateChannel | ( | ) | [inline, virtual] |
Channel* osgAnimation::TemplateChannel::clone | ( | ) | const [inline, virtual] |
Implements osgAnimation::Channel.
virtual bool osgAnimation::TemplateChannel::createKeyframeContainerFromTargetValue | ( | ) | [inline, virtual] |
Implements osgAnimation::Channel.
References _target, osg::ref_ptr::valid(), getOrCreateSampler(), and _sampler.
virtual double osgAnimation::TemplateChannel::getEndTime | ( | ) | const [inline, virtual] |
Implements osgAnimation::Channel.
References _sampler.
SamplerType* osgAnimation::TemplateChannel::getOrCreateSampler | ( | ) | [inline] |
References _sampler, osg::ref_ptr::valid(), and osg::ref_ptr::get().
Referenced by createKeyframeContainerFromTargetValue().
Sampler* osgAnimation::TemplateChannel::getSampler | ( | ) | [inline, virtual] |
Implements osgAnimation::Channel.
References _sampler, and osg::ref_ptr::get().
const Sampler* osgAnimation::TemplateChannel::getSampler | ( | ) | const [inline, virtual] |
Implements osgAnimation::Channel.
References _sampler, and osg::ref_ptr::get().
SamplerType* osgAnimation::TemplateChannel::getSamplerTyped | ( | ) | [inline] |
References _sampler, and osg::ref_ptr::get().
Referenced by TemplateChannel().
const SamplerType* osgAnimation::TemplateChannel::getSamplerTyped | ( | ) | const [inline] |
References _sampler, and osg::ref_ptr::get().
virtual double osgAnimation::TemplateChannel::getStartTime | ( | ) | const [inline, virtual] |
Implements osgAnimation::Channel.
References _sampler.
virtual Target* osgAnimation::TemplateChannel::getTarget | ( | ) | [inline, virtual] |
Implements osgAnimation::Channel.
References _target, and osg::ref_ptr::get().
TargetType* osgAnimation::TemplateChannel::getTargetTyped | ( | ) | [inline] |
References _target, and osg::ref_ptr::get().
Referenced by TemplateChannel().
const TargetType* osgAnimation::TemplateChannel::getTargetTyped | ( | ) | const [inline] |
References _target, and osg::ref_ptr::get().
virtual void osgAnimation::TemplateChannel::reset | ( | ) | [inline, virtual] |
Implements osgAnimation::Channel.
References _target.
void osgAnimation::TemplateChannel::setSampler | ( | SamplerType * | sampler | ) | [inline] |
References _sampler.
virtual bool osgAnimation::TemplateChannel::setTarget | ( | Target * | target | ) | [inline, virtual] |
Implements osgAnimation::Channel.
References _target, and osg::ref_ptr::get().
void osgAnimation::TemplateChannel::setTarget | ( | TargetType * | target | ) | [inline] |
References _target.
virtual void osgAnimation::TemplateChannel::update | ( | double | time, |
float | weight, | ||
int | priority | ||
) | [inline, virtual] |
Implements osgAnimation::Channel.
osg::ref_ptr<SamplerType> osgAnimation::TemplateChannel::_sampler [protected] |
osg::ref_ptr<TargetType> osgAnimation::TemplateChannel::_target [protected] |
Referenced by TemplateChannel(), createKeyframeContainerFromTargetValue(), update(), reset(), getTarget(), setTarget(), and getTargetTyped().
![]() | Generated at Mon Oct 3 2011 12:39:45 for the OpenSceneGraph by doxygen 1.7.5. |