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

List of all members.

Public Types

typedef F::KeyframeType KeyframeType
typedef
TemplateKeyframeContainer
< KeyframeType
KeyframeContainerType
typedef F::UsingType UsingType
typedef F FunctorType

Public Member Functions

 TemplateSampler ()
 ~TemplateSampler ()
void getValueAt (double time, UsingType &result) const
void setKeyframeContainer (KeyframeContainerType *kf)
virtual KeyframeContainergetKeyframeContainer ()
virtual const KeyframeContainergetKeyframeContainer () const
KeyframeContainerTypegetKeyframeContainerTyped ()
const KeyframeContainerTypegetKeyframeContainerTyped () const
KeyframeContainerTypegetOrCreateKeyframeContainer ()
double getStartTime () const
double getEndTime () const

Protected Attributes

FunctorType _functor
osg::ref_ptr
< KeyframeContainerType
_keyframes

Member Typedef Documentation


Constructor & Destructor Documentation

osgAnimation::TemplateSampler::TemplateSampler ( ) [inline]
osgAnimation::TemplateSampler::~TemplateSampler ( ) [inline]

Member Function Documentation

double osgAnimation::TemplateSampler::getEndTime ( ) const [inline]

References _keyframes.

virtual KeyframeContainer* osgAnimation::TemplateSampler::getKeyframeContainer ( ) [inline, virtual]
virtual const KeyframeContainer* osgAnimation::TemplateSampler::getKeyframeContainer ( ) const [inline, virtual]
KeyframeContainerType* osgAnimation::TemplateSampler::getKeyframeContainerTyped ( ) [inline]

References _keyframes, and osg::ref_ptr::get().

const KeyframeContainerType* osgAnimation::TemplateSampler::getKeyframeContainerTyped ( ) const [inline]

References _keyframes, and osg::ref_ptr::get().

KeyframeContainerType* osgAnimation::TemplateSampler::getOrCreateKeyframeContainer ( ) [inline]

References _keyframes, and osg::ref_ptr::get().

double osgAnimation::TemplateSampler::getStartTime ( ) const [inline]

References _keyframes.

void osgAnimation::TemplateSampler::getValueAt ( double  time,
UsingType result 
) const [inline]

References _functor, and _keyframes.

void osgAnimation::TemplateSampler::setKeyframeContainer ( KeyframeContainerType kf) [inline]

References _keyframes.


Member Data Documentation

Referenced by getValueAt().


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

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