Integration of OCCT 6.5.0 from SVN
[occt.git] / samples / java / inc / ISession_Point.hxx
1 // File generated by CPPExt (Transient)
2 //
3 //                     Copyright (C) 1991,1995 by
4 //  
5 //                      MATRA DATAVISION, FRANCE
6 //  
7 // This software is furnished in accordance with the terms and conditions
8 // of the contract and with the inclusion of the above copyright notice.
9 // This software or any other copy thereof may not be provided or otherwise
10 // be made available to any other person. No title to an ownership of the
11 // software is hereby transferred.
12 //  
13 // At the termination of the contract, the software and all copies of this
14 // software must be deleted.
15 //
16 #ifndef _ISession_Point_HeaderFile
17 #define _ISession_Point_HeaderFile
18
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
21 #endif
22 #ifndef _Handle_ISession_Point_HeaderFile
23 #include <Handle_ISession_Point.hxx>
24 #endif
25
26 #ifndef _gp_Pnt_HeaderFile
27 #include <gp_Pnt.hxx>
28 #endif
29 #ifndef _AIS_InteractiveObject_HeaderFile
30 #include <AIS_InteractiveObject.hxx>
31 #endif
32 #ifndef _Standard_Real_HeaderFile
33 #include <Standard_Real.hxx>
34 #endif
35 #ifndef _Handle_PrsMgr_PresentationManager3d_HeaderFile
36 #include <Handle_PrsMgr_PresentationManager3d.hxx>
37 #endif
38 #ifndef _Handle_Prs3d_Presentation_HeaderFile
39 #include <Handle_Prs3d_Presentation.hxx>
40 #endif
41 #ifndef _Standard_Integer_HeaderFile
42 #include <Standard_Integer.hxx>
43 #endif
44 #ifndef _Handle_Prs3d_Projector_HeaderFile
45 #include <Handle_Prs3d_Projector.hxx>
46 #endif
47 #ifndef _Handle_PrsMgr_PresentationManager2d_HeaderFile
48 #include <Handle_PrsMgr_PresentationManager2d.hxx>
49 #endif
50 #ifndef _Handle_Graphic2d_GraphicObject_HeaderFile
51 #include <Handle_Graphic2d_GraphicObject.hxx>
52 #endif
53 #ifndef _Handle_SelectMgr_Selection_HeaderFile
54 #include <Handle_SelectMgr_Selection.hxx>
55 #endif
56 class gp_Pnt2d;
57 class gp_Pnt;
58 class PrsMgr_PresentationManager3d;
59 class Prs3d_Presentation;
60 class Prs3d_Projector;
61 class PrsMgr_PresentationManager2d;
62 class Graphic2d_GraphicObject;
63 class SelectMgr_Selection;
64
65
66 class ISession_Point : public AIS_InteractiveObject {
67
68 public:
69
70     void* operator new(size_t,void* anAddress) 
71       {
72         return anAddress;
73       }
74     void* operator new(size_t size) 
75       { 
76         return Standard::Allocate(size); 
77       }
78     void  operator delete(void *anAddress) 
79       { 
80         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
81       }
82  // Methods PUBLIC
83  // 
84 Standard_EXPORT ISession_Point();
85 Standard_EXPORT ISession_Point(const Standard_Real X,const Standard_Real Y,const Standard_Real Z);
86 Standard_EXPORT ISession_Point(const gp_Pnt2d& aPoint,const Standard_Real Elevation = 0);
87 Standard_EXPORT ISession_Point(const gp_Pnt& aPoint);
88 Standard_EXPORT ~ISession_Point();
89
90
91
92
93  // Type management
94  //
95  Standard_EXPORT friend Handle_Standard_Type& ISession_Point_Type_();
96  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
97  Standard_EXPORT Standard_Boolean              IsKind(const Handle(Standard_Type)&) const;
98
99 protected:
100
101  // Methods PROTECTED
102  // 
103
104
105  // Fields PROTECTED
106  //
107
108
109 private: 
110
111  // Methods PRIVATE
112  // 
113 Standard_EXPORT virtual  void Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer aMode) ;
114 Standard_EXPORT virtual  void Compute(const Handle(Prs3d_Projector)& aProjector,const Handle(Prs3d_Presentation)& aPresentation) ;
115 Standard_EXPORT virtual  void Compute(const Handle(PrsMgr_PresentationManager2d)& aPresentationManager,const Handle(Graphic2d_GraphicObject)& aGrObj,const Standard_Integer aMode = 0) ;
116 Standard_EXPORT virtual  void ComputeSelection(const Handle(SelectMgr_Selection)& aSelection,const Standard_Integer unMode) ;
117
118
119  // Fields PRIVATE
120  //
121 gp_Pnt myPoint;
122
123
124 };
125
126
127
128
129
130 // other Inline functions and methods (like "C++: function call" methods)
131 //
132
133
134 #endif