Integration of OCCT 6.5.0 from SVN
[occt.git] / samples / mfc / occtdemo / Simplify / Simplify_Presentation.h
CommitLineData
7fd59977 1// Simplify_Presentation.h: interface for the Simplify_Presentation class.
2// Simplify shape -> create a new shape based on triangulation of a given shape
3//////////////////////////////////////////////////////////////////////
4
5#if !defined(AFX_Simplify_PRESENTATION_H__790EED7F_7BA2_11D5_BA4A_0060B0EE18EA__INCLUDED_)
6#define AFX_Simplify_PRESENTATION_H__790EED7F_7BA2_11D5_BA4A_0060B0EE18EA__INCLUDED_
7
8#if _MSC_VER > 1000
9#pragma once
10#endif // _MSC_VER > 1000
11
12#include <OCCDemo_Presentation.h>
13
14class Simplify_Presentation : public OCCDemo_Presentation
15{
16public:
17 // Construction
18 Simplify_Presentation();
19
20public:
21 // Iteration on samples
22 virtual void DoSample();
23 // one phase of iterations
24
25private:
26 void simplify(const TopoDS_Shape& aShape);
27
28 // Sample functions
29 void sample(const Standard_CString aFileName);
30
31};
32
33#endif