00001 // SL_Base.h: interface for the CSL_Base class. 00002 // 00004 00005 #if !defined(AFX_SL_BASE_H__D2A17B7E_6DE5_4021_9F5E_C6236572EC88__INCLUDED_) 00006 #define AFX_SL_BASE_H__D2A17B7E_6DE5_4021_9F5E_C6236572EC88__INCLUDED_ 00007 00008 #if _MSC_VER > 1000 00009 #pragma once 00010 #endif // _MSC_VER > 1000 00011 00012 #include "SL_Grid.h" 00013 //#include "SL_GridCell.h" 00014 #include "SL_Interpolation.h" 00015 #include "SL_Inter_Euler.h" 00016 #include "SL_StreamLine.h" 00017 00018 #include "GlobalState.h" 00019 00020 #include <vector> 00021 using namespace std; 00022 00023 class SL_Grid; 00024 00025 class SL_StreamLine; 00026 00027 00028 class CSL_Base 00029 { 00030 public: 00031 CSL_Base(); 00032 CSL_Base(CGlobalState* refGlobalState); 00033 virtual ~CSL_Base(); 00034 00035 virtual void DrawGL(); 00036 00037 bool AllocateGrid(float fDsep); 00038 00039 bool CreateAllStreamLines2(); 00040 00041 // bool CreateAllStreamLines(); 00042 00043 // bool CreateAllStreamLines_NotSpaced( ); 00044 00045 protected: 00046 vector< SL_StreamLine* > vStreamLine; 00047 00048 CGlobalState* refState; 00049 00050 SL_Grid* SLgrid; 00051 }; 00052 00053 #endif // !defined(AFX_SL_BASE_H__D2A17B7E_6DE5_4021_9F5E_C6236572EC88__INCLUDED_)