Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

GL_SimpleAnimatorStateVariables.h

Go to the documentation of this file.
00001 #ifndef GLSIMPLEANIMATORGLOBALVARIABLES_H
00002 #define GLSIMPLEANIMATORGLOBALVARIABLES_H
00003 
00004 #include <X3DTK/kernel.h>
00005 
00006 namespace X3DTK {
00007 namespace GL {
00008 
00009 // StateVariables for the SimpleAnimator processor.
00010 
00011 class SimpleAnimatorStateVariables : public StateVariables
00012 {
00013 public:
00014   SimpleAnimatorStateVariables();
00015 
00016   void setBBoxSize(const SFVec3f &size);
00017   void setTime(float time);
00018 
00019   float getTime() const {return _time;};
00020   inline SFVec3f getBBoxSize() const {return _bboxSize;};
00021   
00022 private: 
00023   float _time;
00024   SFVec3f _bboxSize;
00025 };
00026 
00027 }
00028 }
00029 
00030 #endif

Generated on Thu Jun 3 10:12:08 2004 for X3DToolKit by doxygen 1.3.6