0024002: Overall code and build procedure refactoring - samples
[occt.git] / samples / mfc / standard / 01_Geometry / src / ISession2D / ISession_Surface.h
1 // ISession_Surface.h: interface for the ISession_Surface class.
2 //
3 //////////////////////////////////////////////////////////////////////
4
5 #if !defined(AFX_ISESSION_SURFACE_H__27F86F5A_A6A4_11D1_8DA4_0800369C8A03__INCLUDED_)
6 #define AFX_ISESSION_SURFACE_H__27F86F5A_A6A4_11D1_8DA4_0800369C8A03__INCLUDED_
7
8 #if _MSC_VER >= 1000
9 #pragma once
10 #endif // _MSC_VER >= 1000
11
12 #include <Standard_Macro.hxx>
13 #include <Standard_DefineHandle.hxx>
14 class ISession_Surface;
15 DEFINE_STANDARD_HANDLE(ISession_Surface,AIS_InteractiveObject)
16 class ISession_Surface : public AIS_InteractiveObject  
17 {
18 public:
19         ISession_Surface();
20         ISession_Surface(Handle(Geom_Surface)& aSurface);
21         virtual ~ISession_Surface();
22
23 DEFINE_STANDARD_RTTI(ISession_Surface,AIS_InteractiveObject)
24 private:
25
26 Standard_EXPORT virtual  void Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer aMode = 0);
27 Standard_EXPORT virtual  void Compute(const Handle(Prs3d_Projector)& aProjector,const Handle(Prs3d_Presentation)& aPresentation);
28 void ComputeSelection(const Handle(SelectMgr_Selection)& aSelection,const Standard_Integer aMode);
29
30 Handle(Geom_Surface) mySurface;
31
32 };
33
34 #endif // !defined(AFX_ISESSION_SURFACE_H__27F86F5A_A6A4_11D1_8DA4_0800369C8A03__INCLUDED_)