1 // TopLProps_Presentation.h: interface for the TopLProps_Presentation class.
2 // Presentation class: Determine the local properties of shapes.
3 //////////////////////////////////////////////////////////////////////
5 #if !defined(AFX_TopLProps_PRESENTATION_H__790EED7F_7BA2_11D5_BA4A_0060B0EE18EA__INCLUDED_)
6 #define AFX_TopLProps_PRESENTATION_H__790EED7F_7BA2_11D5_BA4A_0060B0EE18EA__INCLUDED_
10 #endif // _MSC_VER > 1000
12 #include <OCCDemo_Presentation.h>
13 //#include <Geom_BSplineSurface.hxx>
14 #include <TopoDS_Edge.hxx>
15 #include <TopoDS_Face.hxx>
17 class TopLProps_Presentation : public OCCDemo_Presentation
21 TopLProps_Presentation();
24 // Iteration on samples
25 virtual void DoSample();
26 // one phase of iterations
34 void showEdgeLProps(TopoDS_Edge& theEdge,
35 const Standard_Integer theNbPoints,
36 const Standard_Real thePoints[]);
37 void showFaceLProps(TopoDS_Face& theFace,
38 const Standard_Integer theNbPoints,
39 const Standard_Real thePoints[][2]);
42 // Array of pointers to sample functions
43 typedef void (TopLProps_Presentation::*PSampleFuncType)();
44 static const PSampleFuncType SampleFuncs[];
48 #endif // !defined(AFX_TopLProps_PRESENTATION_H__790EED7F_7BA2_11D5_BA4A_0060B0EE18EA__INCLUDED_)