Integration of OCCT 6.5.0 from SVN
[occt.git] / samples / mfc / standard / 02_Modeling / src / ISession_Direction.h
1 // ISession_Direction.h: interface for the ISession_Direction class.
2 //
3 //////////////////////////////////////////////////////////////////////
4
5 #if !defined(AFX_ISession_Direction_H__767C0DB3_A3B0_11D1_8DA3_0800369C8A03__INCLUDED_)
6 #define AFX_ISession_Direction_H__767C0DB3_A3B0_11D1_8DA3_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 #include "gp_Dir.hxx"
16 #include "gp_Vec.hxx"
17 #include "AIS_InteractiveObject.hxx"
18
19 DEFINE_STANDARD_HANDLE(ISession_Direction,AIS_InteractiveObject)
20 class ISession_Direction : public AIS_InteractiveObject  
21 {
22 public:
23         ISession_Direction();
24     ISession_Direction(gp_Pnt& aPnt,gp_Pnt& aPnt2);
25     ISession_Direction(gp_Pnt& aPnt,gp_Vec& aVec);
26
27     DEFINE_STANDARD_RTTI(ISession_Direction)
28
29 private:
30
31     void Compute         (const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,
32                           const Handle(Prs3d_Presentation)& aPresentation,
33                           const Standard_Integer aMode);
34         void ComputeSelection(const class Handle_SelectMgr_Selection &,const int){};
35     gp_Pnt myStartPnt;
36     gp_Pnt myEndPnt;
37 };
38
39 #endif // !defined(AFX_ISession_Direction_H__767C0DB3_A3B0_11D1_8DA3_0800369C8A03__INCLUDED_)