Public Member Functions | |
StripAnimation (Animation *animation, double blendInDuration, double blendOutDuration, double blendInWeightTarget=1.0) | |
ActionAnimation * | getActionAnimation () |
BlendIn * | getBlendIn () |
BlendOut * | getBlendOut () |
const ActionAnimation * | getActionAnimation () const |
const BlendIn * | getBlendIn () const |
const BlendOut * | getBlendOut () const |
unsigned int | getLoop () const |
void | setLoop (unsigned int loop) |
virtual void | evaluate (unsigned int frame) |
Protected Types | |
typedef std::pair< unsigned int, osg::ref_ptr< Action > > | FrameAction |
Protected Attributes | |
osg::ref_ptr< BlendIn > | _blendIn |
FrameAction | _blendOut |
osg::ref_ptr< ActionAnimation > | _animation |
typedef std::pair<unsigned int, osg::ref_ptr<Action> > osgAnimation::StripAnimation::FrameAction [protected] |
osgAnimation::StripAnimation::StripAnimation | ( | Animation * | animation, | |
double | blendInDuration, | |||
double | blendOutDuration, | |||
double | blendInWeightTarget = 1.0 | |||
) | [inline] |
virtual void osgAnimation::StripAnimation::evaluate | ( | unsigned int | frame | ) | [inline, virtual] |
Reimplemented from osgAnimation::Action.
References _animation, _blendIn, _blendOut, and osgAnimation::Action::getNumFrames().
const ActionAnimation* osgAnimation::StripAnimation::getActionAnimation | ( | ) | const [inline] |
References _animation, and osg::ref_ptr< T >::get().
ActionAnimation* osgAnimation::StripAnimation::getActionAnimation | ( | ) | [inline] |
References _animation, and osg::ref_ptr< T >::get().
const BlendIn* osgAnimation::StripAnimation::getBlendIn | ( | ) | const [inline] |
References _blendIn, and osg::ref_ptr< T >::get().
BlendIn* osgAnimation::StripAnimation::getBlendIn | ( | ) | [inline] |
References _blendIn, and osg::ref_ptr< T >::get().
unsigned int osgAnimation::StripAnimation::getLoop | ( | ) | const [inline, virtual] |
void osgAnimation::StripAnimation::setLoop | ( | unsigned int | loop | ) | [inline] |
Referenced by evaluate(), getActionAnimation(), getLoop(), setLoop(), and StripAnimation().
osg::ref_ptr<BlendIn> osgAnimation::StripAnimation::_blendIn [protected] |
Referenced by evaluate(), getBlendIn(), and StripAnimation().
FrameAction osgAnimation::StripAnimation::_blendOut [protected] |
Referenced by evaluate(), getBlendOut(), setLoop(), and StripAnimation().
![]() | Generated at Thu Mar 19 23:36:54 2009 for the OpenSceneGraph by doxygen 1.5.8. |