2 // animation.hxx - classes to manage model animation.
3 // Written by David Megginson, started 2002.
5 // This file is in the Public Domain, and comes with no warranty.
7 #ifndef _SG_MATERIALANIMATION_HXX
8 #define _SG_MATERIALANIMATION_HXX 1
11 # error This library requires C++
14 #include "animation.hxx"
16 //////////////////////////////////////////////////////////////////////
18 //////////////////////////////////////////////////////////////////////
20 class SGMaterialAnimation : public SGAnimation {
22 SGMaterialAnimation(const SGPropertyNode* configNode,
23 SGPropertyNode* modelRoot);
24 virtual osg::Group* createAnimationGroup(osg::Group& parent);
25 virtual void install(osg::Node& node);
29 class MaterialVisitor;
33 #endif // _SG_MATERIALANIMATION_HXX