www.pudn.com > contour_demo.zip > ListContour.h
// ListContour.h: interface for the CListContour class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_LISTCONTOUR_H__84C3BBC0_6F70_416A_8194_9657813FF3AE__INCLUDED_) #define AFX_LISTCONTOUR_H__84C3BBC0_6F70_416A_8194_9657813FF3AE__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include#include
#include "Contour.h" // a list of point index referring to the secondary grid // Let i the index of a point, // then //typedef CList< int, int > CLineStrip; //typedef CList< CLineStrip*, CLineStrip*> CLineStripList; typedef std::list CLineStrip; typedef std::list CLineStripList; class CListContour : public CContour { public: CListContour(); virtual ~CListContour(); // retreiving list of line strip for the i-th contour CLineStripList* GetLines(int iPlane) { ASSERT(iPlane>=0); ASSERT(iPlane