00001 // SL_Inter_RungeKutter2.h: interface for the SL_Inter_Euler class. 00002 // 00004 00005 #if !defined(AFX_SL_INTER_RUNGEKUTTER2_H__9419B285_F3A7_4C21_BCAF_B334927E9067__INCLUDED_) 00006 #define AFX_SL_INTER_RUNGEKUTTER2_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_RungeKutter2 : public SL_Interpolation 00016 { 00017 public: 00018 SL_Inter_RungeKutter2(); 00019 SL_Inter_RungeKutter2(CGlobalState* refState); 00020 virtual ~SL_Inter_RungeKutter2(); 00021 00022 virtual bool interpolate(const Vec2f PointNow, 00023 Vec2f &PointOut, 00024 int iVectorIndex, bool followFlow ); 00025 00026 protected: 00027 CGlobalState* refState; 00028 float m_SL_Dtest; 00029 }; 00030 00031 #endif // !defined(AFX_SL_INTER_RUNGEKUTTER2_H__9419B285_F3A7_4C21_BCAF_B334927E9067__INCLUDED_)