00001 #if !defined(AFX_MYALGOOPTDIALOG_H__727DC1C2_4B18_445B_A1A6_BCE4C9DB647C__INCLUDED_)
00002 #define AFX_MYALGOOPTDIALOG_H__727DC1C2_4B18_445B_A1A6_BCE4C9DB647C__INCLUDED_
00003
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007
00008
00009
00011
00012
00013 #include "EulerOp.h"
00014 #include "RungeKutta2Op.h"
00015 #include "RungeKutta4Op.h"
00016
00017 #include "NearestNeighbour.h"
00018 #include "Trilinear.h"
00019 #include "TrilinearVLength.h"
00020 #include "RectTrilinear.h"
00021 #include "RectTrilinVLength.h"
00022 #include "Defines.h"
00023
00025 class MyAlgoOptDialog : public CDialog
00026 {
00027
00028 public:
00030 int GetIntegratorType();
00032 int GetInterpolatorType();
00034 void InitAlgoOptDlg(float dSepPerc,float dTest,float dT,
00035 int caPerSP,int maxIterations,int integrator,
00036 int interpolator);
00037
00039 static CInterpolator * CreateInterpolator(int interpolatorType);
00041 static CIntegrator * CreateIntegrator(int integratorType,CVectorField *vectorField,
00042 float dt, CInterpolator *interpolator);
00043
00045 int GetCaPerSP();
00047 int GetMaxIterations();
00049 float GetDt();
00051 float GetDTest();
00053 float GetDSepPerc();
00054 MyAlgoOptDialog(CWnd* pParent = NULL);
00055
00056
00057
00058 enum { IDD = IDD_ALGOPTDIALOG };
00059 int m_IntegratorType;
00060 int m_InterpolatorType;
00061 float m_DSepPerc;
00062 float m_DT;
00063 float m_DTest;
00064 int m_MaxIterations;
00065 int m_CaPerSP;
00066
00067
00068
00069
00070
00071
00072 protected:
00073 virtual void DoDataExchange(CDataExchange* pDX);
00074
00075
00076
00077 protected:
00078
00079
00080
00081
00082 DECLARE_MESSAGE_MAP()
00083 };
00084
00085
00086
00087
00088 #endif // !defined(AFX_MYALGOOPTDIALOG_H__727DC1C2_4B18_445B_A1A6_BCE4C9DB647C__INCLUDED_)