Integration of OCCT 6.5.0 from SVN
[occt.git] / samples / java / inc / ISession_Surface.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_Surface_HeaderFile
17 #define _ISession_Surface_HeaderFile
18
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
21 #endif
22 #ifndef _Handle_ISession_Surface_HeaderFile
23 #include <Handle_ISession_Surface.hxx>
24 #endif
25
26 #ifndef _Handle_Geom_Surface_HeaderFile
27 #include <Handle_Geom_Surface.hxx>
28 #endif
29 #ifndef _AIS_InteractiveObject_HeaderFile
30 #include <AIS_InteractiveObject.hxx>
31 #endif
32 #ifndef _Handle_PrsMgr_PresentationManager3d_HeaderFile
33 #include <Handle_PrsMgr_PresentationManager3d.hxx>
34 #endif
35 #ifndef _Handle_Prs3d_Presentation_HeaderFile
36 #include <Handle_Prs3d_Presentation.hxx>
37 #endif
38 #ifndef _Standard_Integer_HeaderFile
39 #include <Standard_Integer.hxx>
40 #endif
41 #ifndef _Handle_Prs3d_Projector_HeaderFile
42 #include <Handle_Prs3d_Projector.hxx>
43 #endif
44 #ifndef _Handle_SelectMgr_Selection_HeaderFile
45 #include <Handle_SelectMgr_Selection.hxx>
46 #endif
47 class Geom_Surface;
48 class PrsMgr_PresentationManager3d;
49 class Prs3d_Presentation;
50 class Prs3d_Projector;
51 class SelectMgr_Selection;
52
53
54 class ISession_Surface : public AIS_InteractiveObject {
55
56 public:
57
58     void* operator new(size_t,void* anAddress) 
59       {
60         return anAddress;
61       }
62     void* operator new(size_t size) 
63       { 
64         return Standard::Allocate(size); 
65       }
66     void  operator delete(void *anAddress) 
67       { 
68         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
69       }
70  // Methods PUBLIC
71  // 
72 Standard_EXPORT ISession_Surface();
73 Standard_EXPORT ISession_Surface(const Handle(Geom_Surface)& aSurface);
74 Standard_EXPORT ~ISession_Surface();
75
76
77
78
79  // Type management
80  //
81  Standard_EXPORT friend Handle_Standard_Type& ISession_Surface_Type_();
82  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
83  Standard_EXPORT Standard_Boolean              IsKind(const Handle(Standard_Type)&) const;
84
85 protected:
86
87  // Methods PROTECTED
88  // 
89
90
91  // Fields PROTECTED
92  //
93
94
95 private: 
96
97  // Methods PRIVATE
98  // 
99 Standard_EXPORT virtual  void Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer aMode = 0) ;
100 Standard_EXPORT virtual  void Compute(const Handle(Prs3d_Projector)& aProjector,const Handle(Prs3d_Presentation)& aPresentation) ;
101 Standard_EXPORT virtual  void ComputeSelection(const Handle(SelectMgr_Selection)& aSelection,const Standard_Integer aMode) ;
102
103
104  // Fields PRIVATE
105  //
106 Handle_Geom_Surface mySurface;
107
108
109 };
110
111
112
113
114
115 // other Inline functions and methods (like "C++: function call" methods)
116 //
117
118
119 #endif