OpenIG  2.0.4
cross-platform open-source OpenSceneGraph Image Generator
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
OpenIG::Base::Animations::Animation Struct Reference

The Animation struct. More...

#include <Animation.h>

Inheritance diagram for OpenIG::Base::Animations::Animation:

Classes

struct  Sequence
 The Sequence struct. More...
 

Public Types

typedef std::map< std::string, osg::ref_ptr< Sequence > > SequencesMap
 Name std::string based map of Sequence.
 
typedef std::map< std::string, osg::ref_ptr< Sequence > >::iterator SequencesMapIterator
 
typedef std::map< std::string, osg::ref_ptr< Sequence > >::const_iterator SequencesMapConstIterator
 

Public Member Functions

 Animation (const std::string &name, double duration)
 

Public Attributes

SequencesMap _sequences
 Name std::string based map of Sequence.
 
std::string _name
 Name of the Animation.
 
double _duration
 Duration of the animation in seconds.
 

Detailed Description

The Animation struct.

This is the struct used to define simple animation. The core is doing linear update of positions and/or orientations of the players. See ModelCompositionPlugin how the XML definitions are converted to this kind of simple Animations

Author
Trajce Nikolov Nick openi.nosp@m.g@co.nosp@m.mpro..nosp@m.net
Date
Sun Jan 11 2015

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