0031431: Visualization, PrsMgr_PresentableObject - simplify HLR computing interface
[occt.git] / samples / mfc / standard / 01_Geometry / src / ISession2D / ISession_Surface.h
CommitLineData
7fd59977 1// ISession_Surface.h: interface for the ISession_Surface class.
2//
3//////////////////////////////////////////////////////////////////////
4
7fd59977 5#pragma once
7fd59977 6
7#include <Standard_Macro.hxx>
8#include <Standard_DefineHandle.hxx>
0e5ef926 9
7fd59977 10class ISession_Surface : public AIS_InteractiveObject
11{
0e5ef926 12 DEFINE_STANDARD_RTTIEXT(ISession_Surface,AIS_InteractiveObject)
7fd59977 13public:
7fd59977 14
0e5ef926 15 ISession_Surface (const Handle(Geom_Surface)& theSurface) : mySurface (theSurface) {}
16 virtual ~ISession_Surface() {}
17
7fd59977 18private:
19
0e5ef926 20 Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer aMode = 0);
0e5ef926 21 virtual void ComputeSelection (const Handle(SelectMgr_Selection)& ,const Standard_Integer ) {}
22
23private:
7fd59977 24
0e5ef926 25 Handle(Geom_Surface) mySurface;
7fd59977 26
27};
28
0e5ef926 29DEFINE_STANDARD_HANDLE(ISession_Surface, AIS_InteractiveObject)