00001 // SL_Inter_Euler.h: interface for the SL_Inter_Euler class. 00002 // 00004 00005 #if !defined(AFX_SL_INTER_EULER_H__9419B285_F3A7_4C21_BCAF_B334927E9067__INCLUDED_) 00006 #define AFX_SL_INTER_EULER_H__9419B285_F3A7_4C21_BCAF_B334927E9067__INCLUDED_ 00007 00008 #if _MSC_VER > 1000 00009 #pragma once 00010 #endif // _MSC_VER > 1000 00011 00012 #include "SL_Interpolation.h" 00013 #include "GlobalState.h" 00014 00015 class SL_Inter_Euler : public SL_Interpolation 00016 { 00017 public: 00018 SL_Inter_Euler(); 00019 SL_Inter_Euler(CGlobalState* refState); 00020 virtual ~SL_Inter_Euler(); 00021 00022 /* 00023 virtual bool interpolate2(const Vec2f* PointNow, Vec2f* &PointOut, 00024 int iVectorIndex, bool followFlow ); 00025 */ 00026 virtual bool interpolate(const Vec2f PointNow, 00027 Vec2f &PointOut, 00028 //Vec2f &SpeedOut, 00029 int iVectorIndex, bool followFlow ); 00030 00031 //virtual void SetD_Test( float fSet) { m_SL_Dtest = fSet;}; 00032 protected: 00033 CGlobalState* refState; 00034 float m_SL_Dtest; 00035 }; 00036 00037 #endif // !defined(AFX_SL_INTER_EULER_H__9419B285_F3A7_4C21_BCAF_B334927E9067__INCLUDED_)