0031568: Data Exchange - invalid model produced after STEP import
[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 class ISession_Point;
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(const gp_Pnt2d& aPoint,Standard_Real Elevation = 0);
23   ISession_Point(const gp_Pnt& aPoint);
24   virtual ~ISession_Point();
25   DEFINE_STANDARD_RTTIEXT(ISession_Point,AIS_InteractiveObject)
26
27 private :
28
29   void Compute (const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,
30                 const Handle(Prs3d_Presentation)& aPresentation,
31                 const Standard_Integer aMode);
32
33   void ComputeSelection (const Handle(SelectMgr_Selection)& aSelection,
34                         const Standard_Integer unMode);
35
36   gp_Pnt myPoint;
37
38 };
39
40 #endif // !defined(AFX_ISESSION_POINT_H__A9B277C3_A69E_11D1_8DA4_0800369C8A03__INCLUDED_)