]> SALOME platform Git repositories - modules/kernel.git/blob - src/OCCViewer/OCCViewer_VService.h
Salome HOME
NRI : KERNEL is now defined in KERNELCatalog.
[modules/kernel.git] / src / OCCViewer / OCCViewer_VService.h
1 // File generated by CPPExt (Value)
2 //                     Copyright (C) 1991,1995 by
3 //  
4 //                      MATRA DATAVISION, FRANCE
5 //  
6 // This software is furnished in accordance with the terms and conditions
7 // of the contract and with the inclusion of the above copyright notice.
8 // This software or any other copy thereof may not be provided or otherwise
9 // be made available to any other person. No title to an ownership of the
10 // software is hereby transferred.
11 //  
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
14
15 #ifndef _OCCViewer_VService_HeaderFile
16 #define _OCCViewer_VService_HeaderFile
17
18 #ifndef _Handle_V3d_View_HeaderFile
19 #include <Handle_V3d_View.hxx>
20 #endif
21 #ifndef _Handle_V2d_View_HeaderFile
22 #include <Handle_V2d_View.hxx>
23 #endif
24 #ifndef _Handle_V2d_Viewer_HeaderFile
25 #include <Handle_V2d_Viewer.hxx>
26 #endif
27 #ifndef _Standard_Integer_HeaderFile
28 #include <Standard_Integer.hxx>
29 #endif
30 #ifndef _Xw_WindowQuality_HeaderFile
31 #include <Xw_WindowQuality.hxx>
32 #endif
33 #ifndef _Handle_V3d_Viewer_HeaderFile
34 #include <Handle_V3d_Viewer.hxx>
35 #endif
36 #ifndef _Standard_CString_HeaderFile
37 #include <Standard_CString.hxx>
38 #endif
39 #ifndef _Standard_ExtString_HeaderFile
40 #include <Standard_ExtString.hxx>
41 #endif
42 #ifndef _Quantity_Length_HeaderFile
43 #include <Quantity_Length.hxx>
44 #endif
45 #ifndef _Quantity_NameOfColor_HeaderFile
46 #include <Quantity_NameOfColor.hxx>
47 #endif
48 #ifndef _V3d_TypeOfOrientation_HeaderFile
49 #include <V3d_TypeOfOrientation.hxx>
50 #endif
51 #ifndef _Standard_Boolean_HeaderFile
52 #include <Standard_Boolean.hxx>
53 #endif
54 #ifndef _Handle_Graphic2d_View_HeaderFile
55 #include <Handle_Graphic2d_View.hxx>
56 #endif
57 #ifndef _Handle_Aspect_WindowDriver_HeaderFile
58 #include <Handle_Aspect_WindowDriver.hxx>
59 #endif
60
61 class V3d_View;
62 class V3d_Viewer;
63
64 class V2d_View;
65 class V2d_Viewer;
66 class Graphic2d_View;
67 class Aspect_WindowDriver;
68
69 #ifndef _Standard_HeaderFile
70 #include <Standard.hxx>
71 #endif
72 #ifndef _Standard_Macro_HeaderFile
73 #include <Standard_Macro.hxx>
74 #endif
75
76 class OCCViewer_VService  {
77
78 public:
79
80     inline void* operator new(size_t,void* anAddress) 
81       {
82         return anAddress;
83       }
84     inline void* operator new(size_t size) 
85       { 
86         return Standard::Allocate(size); 
87       }
88     inline void  operator delete(void *anAddress) 
89       { 
90         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
91       }
92
93 // Methods PUBLIC
94 // 
95 Standard_EXPORT static  void SetWindow(const Handle(V3d_View)& aView,const Standard_Integer hiwin,const Standard_Integer lowin,const Xw_WindowQuality aQuality = Xw_WQ_3DQUALITY) ;
96 Standard_EXPORT static  void SetMagnify(const Handle(V3d_View)& aView,const Standard_Integer hiwin,const Standard_Integer lowin,const Handle(V3d_View)& aPreviousView,const Standard_Integer x1,const Standard_Integer y1,const Standard_Integer x2,const Standard_Integer y2,const Xw_WindowQuality aQuality = Xw_WQ_3DQUALITY) ;
97 Standard_EXPORT static  Handle_V3d_Viewer Viewer(const Standard_CString aDisplay,const Standard_ExtString aName,const Standard_CString aDomain = "",const Quantity_Length ViewSize = 1000.0,const V3d_TypeOfOrientation ViewProj = V3d_XposYnegZpos,const Standard_Boolean ComputedMode = Standard_True,const Standard_Boolean DefaultComputedMode = Standard_True) ;
98
99 Standard_EXPORT static  Handle_V2d_View XView(const Handle(V2d_Viewer)& aViewer,const Standard_Integer hiwin,const Standard_Integer lowin,const Xw_WindowQuality aQuality = Xw_WQ_DRAWINGQUALITY,const Standard_Boolean Update = Standard_True,const Quantity_NameOfColor BackColor = Quantity_NOC_MATRAGRAY) ;
100 Standard_EXPORT static  Handle_V2d_View XdpsView(const Handle(V2d_Viewer)& aViewer,const Standard_Integer hiwin,const Standard_Integer lowin,const Xw_WindowQuality aQuality = Xw_WQ_DRAWINGQUALITY,const Standard_Boolean Update = Standard_True,const Quantity_NameOfColor BackColor = Quantity_NOC_MATRAGRAY) ;
101 Standard_EXPORT static  Handle_V2d_Viewer Viewer(const Standard_CString aDisplay,const Standard_ExtString aName,const Standard_CString aDomain = "") ;
102 Standard_EXPORT static  Handle_V2d_Viewer Viewer(const Standard_CString aDisplay,const Handle(Graphic2d_View)& aView,const Standard_ExtString aName,const Standard_CString aDomain = "") ;
103 Standard_EXPORT static  Handle_Aspect_WindowDriver WindowDriver(const Standard_CString aDisplay,const Standard_Integer ahiwin,const Standard_Integer alowin,const Quantity_NameOfColor aColor = Quantity_NOC_GRAY69) ;
104 Standard_EXPORT static  Handle_Aspect_WindowDriver XdpsDriver(const Standard_CString aDisplay,const Standard_Integer ahiwin,const Standard_Integer alowin,const Quantity_NameOfColor aColor = Quantity_NOC_GRAY69) ;
105 Standard_EXPORT static  Handle_Aspect_WindowDriver ImageDriver(const Standard_CString aDisplay,const Standard_Integer ahiwin,const Standard_Integer alowin,const Quantity_NameOfColor aColor = Quantity_NOC_GRAY69) ;
106
107
108 protected:
109
110  // Methods PROTECTED
111  // 
112
113
114  // Fields PROTECTED
115  //
116
117
118 private: 
119
120  // Methods PRIVATE
121  // 
122
123
124  // Fields PRIVATE
125  //
126
127
128 };
129
130
131
132
133
134 // other inline functions and methods (like "C++: function call" methods)
135 //
136
137
138 #endif
139