0031445: Advanced wrappers, C# wrapper - provide device info in About dialog of WPF...
[occt.git] / samples / mfc / occtdemo / ThruSections / ThruSections_Presentation.h
1 // ThruSections_Presentation.h: interface for the ThruSections_Presentation class.
2 // Building shapes passed through sections.
3 //////////////////////////////////////////////////////////////////////
4
5 #if !defined(AFX_ThruSections_Presentation_H__790EED7F_7BA2_11D5_BA4A_0060B0EE18EA__INCLUDED_)
6 #define AFX_ThruSections_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 #include <TopTools_SequenceOfShape.hxx>
14 //class TCollection_AsciiString;
15
16 class ThruSections_Presentation : public OCCDemo_Presentation
17 {
18 public:
19   // Construction
20   ThruSections_Presentation();
21
22 public:
23   // Iteration on samples
24   virtual void DoSample();
25   // one phase of iterations
26
27 private:
28   // Sample functions
29   void sample1();
30   void sample2();
31   TopoDS_Shape CreateShape(TopTools_SequenceOfShape& aWires,
32                            Standard_Boolean IsSolid = Standard_False,
33                            Standard_Boolean IsRuled = Standard_False,
34                            Standard_Real aPrec = 1.0e-06);
35   
36 private:
37   // Array of pointers to sample functions
38   typedef void (ThruSections_Presentation::*PSampleFuncType)();
39   static const PSampleFuncType SampleFuncs[];
40
41 };
42
43 #endif // !defined(AFX_ThruSections_Presentation_H__790EED7F_7BA2_11D5_BA4A_0060B0EE18EA__INCLUDED_)