OpenSceneGraph  3.0.1
Public Types | Public Member Functions | Protected Attributes
osgAnimation::TemplateChannel Class Reference
Inheritance diagram for osgAnimation::TemplateChannel:
Inheritance graph
[legend]

List of all members.

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

Member Typedef Documentation

typedef SamplerType::UsingType osgAnimation::TemplateChannel::UsingType

Constructor & Destructor Documentation

osgAnimation::TemplateChannel::TemplateChannel ( const TemplateChannel &  channel) [inline]
osgAnimation::TemplateChannel::TemplateChannel ( SamplerType *  s = 0,
TargetType *  target = 0 
) [inline]

References _target, and _sampler.

virtual osgAnimation::TemplateChannel::~TemplateChannel ( ) [inline, virtual]

Member Function Documentation

Channel* osgAnimation::TemplateChannel::clone ( ) const [inline, virtual]

Implements osgAnimation::Channel.

virtual bool osgAnimation::TemplateChannel::createKeyframeContainerFromTargetValue ( ) [inline, virtual]
virtual double osgAnimation::TemplateChannel::getEndTime ( ) const [inline, virtual]

Implements osgAnimation::Channel.

References _sampler.

SamplerType* osgAnimation::TemplateChannel::getOrCreateSampler ( ) [inline]
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.

References _sampler, and _target.


Member Data Documentation


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

osg logo
Generated at Mon Oct 3 2011 12:39:45 for the OpenSceneGraph by doxygen 1.7.5.