0031431: Visualization, PrsMgr_PresentableObject - simplify HLR computing interface
[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 #pragma once
6
7 #include <Standard_Macro.hxx>
8 #include <Standard_DefineHandle.hxx>
9
10 class ISession_Surface : public AIS_InteractiveObject  
11 {
12   DEFINE_STANDARD_RTTIEXT(ISession_Surface,AIS_InteractiveObject)
13 public:
14
15   ISession_Surface (const Handle(Geom_Surface)& theSurface) : mySurface (theSurface) {}
16   virtual ~ISession_Surface() {}
17
18 private:
19
20   Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer aMode = 0);
21   virtual void ComputeSelection (const Handle(SelectMgr_Selection)& ,const Standard_Integer ) {}
22
23 private:
24
25   Handle(Geom_Surface) mySurface;
26
27 };
28
29 DEFINE_STANDARD_HANDLE(ISession_Surface, AIS_InteractiveObject)