Click here to Skip to main content
Click here to Skip to main content
Articles » Multimedia » OpenGL » General » Downloads
 
Add your own
alternative version

Tesselation of Mono Connected Non Convex Polygon

, 6 Feb 2002 CPOL
Tesselation of mono connected non convex polygon
polytry.zip
PolyTry
PolyTry.clw
PolyTry.dsp
PolyTry.dsw
PolyTry.mak
PolyTry.opt
PolyTry.plg
PolyTry.ver
Release
PolyTry.exe
res
PolyTry.ico
PolyTryDoc.ico
Toolbar.bmp
// View.h : interface of the CPolyTryView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_VIEW_H__8F69AD48_8F50_45C4_BE9B_BF3B9C19E017__INCLUDED_)
#define AFX_VIEW_H__8F69AD48_8F50_45C4_BE9B_BF3B9C19E017__INCLUDED_

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


class CPolyTryView : public CView
{
protected: // create from serialization only
	CPolyTryView();
	DECLARE_DYNCREATE(CPolyTryView)

// Attributes
public:
	CPolyTryDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPolyTryView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CPolyTryView)
	afx_msg void OnUpdateEditPolygonalize(CCmdUI* pCmdUI);
	afx_msg void OnEditPolygonalize();
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
   //
protected:
   int      m_nPoints      ;
   CPoint   m_points[100]  ;
   bool     m_bFlushFaces  ;
};

#ifndef _DEBUG  // debug version in View.cpp
inline CPolyTryDoc* CPolyTryView::GetDocument()
   { return (CPolyTryDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_VIEW_H__8F69AD48_8F50_45C4_BE9B_BF3B9C19E017__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Peppino Sbargzeguti

United States United States
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.141223.1 | Last Updated 7 Feb 2002
Article Copyright 2002 by Peppino Sbargzeguti
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid