Integration of OCCT 6.5.0 from SVN
[occt.git] / samples / mfc / standard / 01_Geometry / src / ISession2D / ISession_Point.h
1 // ISession_Point.h: interface for the ISession_Point class.
2 //
3 //////////////////////////////////////////////////////////////////////
4
5 #if !defined(AFX_ISESSION_POINT_H__A9B277C3_A69E_11D1_8DA4_0800369C8A03__INCLUDED_)
6 #define AFX_ISESSION_POINT_H__A9B277C3_A69E_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
15
16 DEFINE_STANDARD_HANDLE(ISession_Point,AIS_InteractiveObject)
17 class ISession_Point : public AIS_InteractiveObject  
18 {
19 public:
20         ISession_Point();
21     ISession_Point(Standard_Real X,Standard_Real Y ,Standard_Real Z);
22     ISession_Point(gp_Pnt2d& aPoint,Standard_Real Elevation = 0);
23     ISession_Point(gp_Pnt& aPoint);
24
25         virtual ~ISession_Point();
26     DEFINE_STANDARD_RTTI(ISession_Point)
27
28 private :
29
30 void Compute          (const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,
31                        const Handle(Prs3d_Presentation)& aPresentation,
32                        const Standard_Integer aMode);
33 void Compute          (const Handle(Prs3d_Projector)& aProjector,
34                        const Handle(Prs3d_Presentation)& aPresentation) ;
35 void Compute          (const Handle(PrsMgr_PresentationManager2d)& aPresentationManager,
36                        const Handle(Graphic2d_GraphicObject)& aGrObj,
37                        const Standard_Integer unMode = 0) ;
38 void ComputeSelection (const Handle(SelectMgr_Selection)& aSelection,
39                        const Standard_Integer unMode) ;
40
41 gp_Pnt myPoint;
42
43 };
44
45 #endif // !defined(AFX_ISESSION_POINT_H__A9B277C3_A69E_11D1_8DA4_0800369C8A03__INCLUDED_)