1 // File generated by CPPExt (Value)
2 // Copyright (C) 1991,1995 by
4 // MATRA DATAVISION, FRANCE
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.
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
15 #ifndef _OCCViewer_VService_HeaderFile
16 #define _OCCViewer_VService_HeaderFile
18 #ifndef _Handle_V3d_View_HeaderFile
19 #include <Handle_V3d_View.hxx>
21 #ifndef _Handle_V2d_View_HeaderFile
22 #include <Handle_V2d_View.hxx>
24 #ifndef _Handle_V2d_Viewer_HeaderFile
25 #include <Handle_V2d_Viewer.hxx>
27 #ifndef _Standard_Integer_HeaderFile
28 #include <Standard_Integer.hxx>
30 #ifndef _Xw_WindowQuality_HeaderFile
31 #include <Xw_WindowQuality.hxx>
33 #ifndef _Handle_V3d_Viewer_HeaderFile
34 #include <Handle_V3d_Viewer.hxx>
36 #ifndef _Standard_CString_HeaderFile
37 #include <Standard_CString.hxx>
39 #ifndef _Standard_ExtString_HeaderFile
40 #include <Standard_ExtString.hxx>
42 #ifndef _Quantity_Length_HeaderFile
43 #include <Quantity_Length.hxx>
45 #ifndef _Quantity_NameOfColor_HeaderFile
46 #include <Quantity_NameOfColor.hxx>
48 #ifndef _V3d_TypeOfOrientation_HeaderFile
49 #include <V3d_TypeOfOrientation.hxx>
51 #ifndef _Standard_Boolean_HeaderFile
52 #include <Standard_Boolean.hxx>
54 #ifndef _Handle_Graphic2d_View_HeaderFile
55 #include <Handle_Graphic2d_View.hxx>
57 #ifndef _Handle_Aspect_WindowDriver_HeaderFile
58 #include <Handle_Aspect_WindowDriver.hxx>
67 class Aspect_WindowDriver;
69 #ifndef _Standard_HeaderFile
70 #include <Standard.hxx>
72 #ifndef _Standard_Macro_HeaderFile
73 #include <Standard_Macro.hxx>
76 class OCCViewer_VService {
80 inline void* operator new(size_t,void* anAddress)
84 inline void* operator new(size_t size)
86 return Standard::Allocate(size);
88 inline void operator delete(void *anAddress)
90 if (anAddress) Standard::Free((Standard_Address&)anAddress);
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) ;
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) ;
134 // other inline functions and methods (like "C++: function call" methods)