blob: a9f28a3397ab83bff6954657182535a7a489eb80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _Graphic3d_GraphicDevice_HeaderFile
#define _Graphic3d_GraphicDevice_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_Graphic3d_GraphicDevice_HeaderFile
#include <Handle_Graphic3d_GraphicDevice.hxx>
#endif
#ifndef _Handle_Graphic3d_GraphicDriver_HeaderFile
#include <Handle_Graphic3d_GraphicDriver.hxx>
#endif
#ifndef _Xw_GraphicDevice_HeaderFile
#include <Xw_GraphicDevice.hxx>
#endif
#ifndef _Standard_CString_HeaderFile
#include <Standard_CString.hxx>
#endif
#ifndef _Xw_TypeOfMapping_HeaderFile
#include <Xw_TypeOfMapping.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Aspect_Display_HeaderFile
#include <Aspect_Display.hxx>
#endif
#ifndef _Handle_Aspect_GraphicDriver_HeaderFile
#include <Handle_Aspect_GraphicDriver.hxx>
#endif
class Graphic3d_GraphicDriver;
class Aspect_GraphicDeviceDefinitionError;
class Aspect_GraphicDriver;
//! This class allows the definition of the Advanced <br>
//! Graphic Device <br>
//! Warning: An Graphic Device is defined by a connexion <br>
//! "host:server.screen" <br>
class Graphic3d_GraphicDevice : public Xw_GraphicDevice {
public:
//! Creates a GraphicDevice <br>
Standard_EXPORT Graphic3d_GraphicDevice(const Standard_CString Connexion,const Xw_TypeOfMapping Mapping = Xw_TOM_COLORCUBE,const Standard_Integer Ncolors = 0,const Standard_Boolean UseDefault = Standard_True);
//! Creates a GraphicDevice from the Display structure <br>
Standard_EXPORT Graphic3d_GraphicDevice(const Aspect_Display DisplayHandle);
//! Deletes the GraphicDevice <me>. <br>
Standard_EXPORT void Destroy() ;
~Graphic3d_GraphicDevice()
{
Destroy();
}
//! Returns the GraphicDriver. <br>
Standard_EXPORT Handle_Aspect_GraphicDriver GraphicDriver() const;
DEFINE_STANDARD_RTTI(Graphic3d_GraphicDevice)
protected:
private:
//! Sets the GraphicDriver. <br>
Standard_EXPORT void SetGraphicDriver() ;
//! Returns Standard_True if the shared library <br>
//! is defined by the environment. <br>
//! (variables : CSF_GraphicShr, CSF_Graphic3dLib, GRAPHICHOME) <br>
Standard_EXPORT Standard_Boolean ShrIsDefined(Standard_CString& aShr) const;
Handle_Graphic3d_GraphicDriver MyGraphicDriver;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|