00001 #ifndef GLSIMPLEANIMATOR_H 00002 #define GLSIMPLEANIMATOR_H 00003 00004 #include "GL_SimpleAnimatorStateVariables.h" 00005 00006 #include <X3DTK/GL/scenegraph.h> 00007 00008 namespace X3DTK { 00009 namespace GL { 00010 00011 // SimpleAnimator processor. 00012 00013 class SimpleAnimator : public X3DOnePassProcessor 00014 { 00015 public: 00016 SimpleAnimator(); 00017 virtual ~SimpleAnimator(); 00018 00019 void setBBoxSize(const SFVec3f &size); 00020 virtual void animate(SFNode N, float time); 00021 00022 protected: 00023 SimpleAnimatorStateVariables *stateVariables; 00024 }; 00025 00026 } 00027 } 00028 00029 #endif