Main Page   Compound List   File List   Compound Members  

StreamLine.h

00001 // StreamLine.h: interface for the StreamLine class.
00002 //
00004 
00005 #if !defined(AFX_STREAMLINE_H__7A7A00D9_DA27_4ED5_A9EB_21694C7E8D6E__INCLUDED_)
00006 #define AFX_STREAMLINE_H__7A7A00D9_DA27_4ED5_A9EB_21694C7E8D6E__INCLUDED_
00007 
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011 
00012 #include <vector>       // for linked lists
00013 #include "FlowVis.h"
00014 #include "FlowDataSet.h"
00015 #include "StreamLineSamplePoint.h"
00016 
00017 class StreamLine  
00018 {
00019 public:
00020         StreamLine();
00021     StreamLine(float seedX, float seedY);
00022         virtual ~StreamLine();
00023 
00024     // list of sample points in the streamline for distance calculations
00025     std::vector <StreamLineSamplePoint*> samplePoints;
00026     std::vector <StreamLineSamplePoint*>::iterator samplePointsIterator;
00027 
00028     // instead of keeping a seperate streamline queue for streamline generation we use 
00029     // the application's streamline list as the queue (only the streamlines with the 
00030     // following bool set to true)
00031     bool isInQueue; 
00032 
00033 private:
00034     CFlowVisApp* m_App;
00035 
00036     // shortcuts to reduce often made calls
00037         DistanceMeassureAcceleratioGrid* dGrid;
00038         float dsHeight;
00039         float dsWidth;
00040     
00041         int growStreamLine(float seedX, float seedY);
00042 };
00043 
00044 #endif // !defined(AFX_STREAMLINE_H__7A7A00D9_DA27_4ED5_A9EB_21694C7E8D6E__INCLUDED_)

Generated on Wed Jan 21 13:19:23 2004 for FlowVis by doxygen1.2.18