Integration of OCCT 6.5.0 from SVN
[occt.git] / samples / java / inc / ISession_Curve.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_Curve_HeaderFile
17 #define _ISession_Curve_HeaderFile
18
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
21 #endif
22 #ifndef _Handle_ISession_Curve_HeaderFile
23 #include <Handle_ISession_Curve.hxx>
24 #endif
25
26 #ifndef _Handle_Geom_Curve_HeaderFile
27 #include <Handle_Geom_Curve.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_Curve;
48 class PrsMgr_PresentationManager3d;
49 class Prs3d_Presentation;
50 class Prs3d_Projector;
51 class SelectMgr_Selection;
52
53
54 class ISession_Curve : 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_Curve(const Handle(Geom_Curve)& aCurve);
73 Standard_EXPORT ~ISession_Curve();
74
75
76
77
78  // Type management
79  //
80  Standard_EXPORT friend Handle_Standard_Type& ISession_Curve_Type_();
81  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
82  Standard_EXPORT Standard_Boolean              IsKind(const Handle(Standard_Type)&) const;
83
84 protected:
85
86  // Methods PROTECTED
87  // 
88
89
90  // Fields PROTECTED
91  //
92
93
94 private: 
95
96  // Methods PRIVATE
97  // 
98 Standard_EXPORT virtual  void Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer aMode = 0) ;
99 Standard_EXPORT virtual  void Compute(const Handle(Prs3d_Projector)& aProjector,const Handle(Prs3d_Presentation)& aPresentation) ;
100 Standard_EXPORT virtual  void ComputeSelection(const Handle(SelectMgr_Selection)& aSelection,const Standard_Integer aMode) ;
101
102
103  // Fields PRIVATE
104  //
105 Handle_Geom_Curve myCurve;
106
107
108 };
109
110
111
112
113
114 // other Inline functions and methods (like "C++: function call" methods)
115 //
116
117
118 #endif