0023776: Redesign of MFC samples after V2d viewer removing
[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
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
15DEFINE_STANDARD_HANDLE(ISession_Surface,AIS_InteractiveObject)
16class ISession_Surface : public AIS_InteractiveObject
17{
18public:
19 ISession_Surface();
20 ISession_Surface(Handle(Geom_Surface)& aSurface);
21 virtual ~ISession_Surface();
22
23DEFINE_STANDARD_RTTI(ISession_Surface)
24private:
25
5c1f974e 26Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer aMode = 0);
27Standard_EXPORT virtual void Compute(const Handle(Prs3d_Projector)& aProjector,const Handle(Prs3d_Presentation)& aPresentation);
28void ComputeSelection(const Handle(SelectMgr_Selection)& aSelection,const Standard_Integer aMode);
7fd59977 29
30Handle(Geom_Surface) mySurface;
31
32};
33
34#endif // !defined(AFX_ISESSION_SURFACE_H__27F86F5A_A6A4_11D1_8DA4_0800369C8A03__INCLUDED_)