Скачиваний:
16
Добавлен:
01.05.2014
Размер:
1.84 Кб
Скачать
// ConvexHullDoc.h : interface of the CConvexHullDoc class
//
/////////////////////////////////////////////////////////////////////////////



#if !defined(AFX_CONVEXHULLDOC_H__94730881_92E9_4FED_A629_1FCAB0A43B1F__INCLUDED_)
#define AFX_CONVEXHULLDOC_H__94730881_92E9_4FED_A629_1FCAB0A43B1F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


#include "preproc.h"



class CConvexHullDoc : public CDocument
{
protected: // create from serialization only
	CConvexHullDoc();
	DECLARE_DYNCREATE(CConvexHullDoc)
	CWinThread* thread;

// Attributes
public:
	GenInfo gen_info;
	TMergeHull Alg;
	TGVectorCollect InputData, IntermedData, OutputData;
	TGVector   IntermedPolygons,   IntermedUpBriges, IntermedDownBriges,/*IntermedData,*/ ResultPolygon;
	//Tpolygon Pol1, Pol2;
	TGVectorCollect Scene;
	//TGVector UserPoints;
	CPointData pointdata;

	
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CConvexHullDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	virtual void OnCloseDocument();
	//}}AFX_VIRTUAL

// Implementation
public:
	void ClearMem();
	virtual ~CConvexHullDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CConvexHullDoc)
	afx_msg void OnSsvertical();
	afx_msg void OnButtonplay();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CONVEXHULLDOC_H__94730881_92E9_4FED_A629_1FCAB0A43B1F__INCLUDED_)
Соседние файлы в папке ConvexHull_1