1 // ThruSections_Presentation.h: interface for the ThruSections_Presentation class.
2 // Building shapes passed through sections.
3 //////////////////////////////////////////////////////////////////////
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_
10 #endif // _MSC_VER > 1000
12 #include <OCCDemo_Presentation.h>
13 #include <TopTools_SequenceOfShape.hxx>
14 //class TCollection_AsciiString;
16 class ThruSections_Presentation : public OCCDemo_Presentation
20 ThruSections_Presentation();
23 // Iteration on samples
24 virtual void DoSample();
25 // one phase of iterations
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);
37 // Array of pointers to sample functions
38 typedef void (ThruSections_Presentation::*PSampleFuncType)();
39 static const PSampleFuncType SampleFuncs[];
43 #endif // !defined(AFX_ThruSections_Presentation_H__790EED7F_7BA2_11D5_BA4A_0060B0EE18EA__INCLUDED_)