Integration of OCCT 6.5.0 from SVN
[occt.git] / samples / mfc / occtdemo / DCA / DCA_Presentation.h
1 // DCA_Presentation.h: interface for the DCA_Presentation class.
2 // Geometry Direct Construction Algorithms
3 //////////////////////////////////////////////////////////////////////
4
5 #if !defined(AFX_DCA_PRESENTATION_H__790EED7F_7BA2_11D5_BA4A_0060B0EE18EA__INCLUDED_)
6 #define AFX_DCA_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
14 class DCA_Presentation : public OCCDemo_Presentation
15 {
16 public:
17   // Construction
18   DCA_Presentation();
19
20 public:
21   // Iteration on samples
22   virtual void DoSample();
23   // one phase of iterations
24
25 private:
26   // Sample functions
27   void sampleLine();
28   void sampleParabola();
29   void sampleHyperbola();
30   void sampleCircle();
31   void sampleEllipse();
32   void samplePlane();
33   void sampleCylindricalSurface();
34   void sampleToroidalSurface();
35   void sampleConicalSurface(); 
36   void sampleSphericalSurface(); 
37
38   void Comment(const Standard_CString theTitle,TCollection_AsciiString& theText);
39
40 private:
41   // Array of pointers to sample functions
42   typedef void (DCA_Presentation::*PSampleFuncType)();
43   static const PSampleFuncType SampleFuncs[];
44
45 };
46
47 #endif // !defined(AFX_DCA_PRESENTATION_H__790EED7F_7BA2_11D5_BA4A_0060B0EE18EA__INCLUDED_)