00001 #ifndef X3DTK_X3D_ORIENTATIONINTERPOLATOR 00002 #define X3DTK_X3D_ORIENTATIONINTERPOLATOR 00003 00004 #include "X3DTypes.h" 00005 #include "X3D_X3DInterpolatorNode.h" 00006 00007 namespace X3DTK { 00008 namespace X3D { 00009 00018 class OrientationInterpolator : public X3DInterpolatorNode 00019 { 00020 public: 00022 OrientationInterpolator(); 00023 00025 void setKeyValue(const MFRotation &keyValue); 00026 00028 inline const MFRotation &getKeyValue() const {return _keyValue;}; 00029 00030 private: 00032 MFRotation _keyValue; 00033 }; 00034 00035 } 00036 } 00037 00038 #endif