8c19d2bf6cdae1146876513f874d8b53eef14914
[occt.git] / src / Graphic3d / Graphic3d_GraphicDriver_9.cxx
1 // File   Graphic3d_GraphicDriver_8.cxx
2 // Created  Mardi 28 janvier 1997
3 // Author CAL
4 // modified:    1/07/97 ; PCT : ajout texture mapping
5 //    16-09-98 ; BGN : Points d'entree du Triedre (S3819, Phase 1)
6 //    22-09-98 ; BGN : S3989 (anciennement S3819)
7 //                               TypeOfTriedron* from Aspect (pas Graphic3d)
8 //      02.15.100 : JR : Clutter
9
10 //-Copyright  MatraDatavision 1997
11
12 //-Version  
13
14 //-Design Declaration des variables specifiques aux Drivers
15
16 //-Warning  Un driver encapsule les Pex et OpenGl drivers
17
18 //-References 
19
20 //-Language C++ 2.0
21
22 //-Declarations
23
24
25 //SAV 23/12/02 : Added methods to set background image.
26
27 // for the class
28 #include <Graphic3d_GraphicDriver.jxx>
29
30 #include <Aspect_DriverDefinitionError.hxx>
31
32 #include <stdlib.h>
33
34 //-Aliases
35
36 //-Global data definitions
37
38 //-Methods, in order
39
40 Standard_Integer Graphic3d_GraphicDriver::CreateTexture(const Graphic3d_TypeOfTexture ,const Handle_AlienImage_AlienImage &,const Standard_CString,const Handle(TColStd_HArray1OfReal)& TexUpperBounds ) const
41 {
42   return -1;
43
44 }
45
46 void Graphic3d_GraphicDriver::DestroyTexture(const Standard_Integer ) const
47 {
48 }
49
50
51 void Graphic3d_GraphicDriver::ModifyTexture(const Standard_Integer ,const Graphic3d_CInitTexture& ) const
52 {
53 }
54     
55 void Graphic3d_GraphicDriver::Environment(const Graphic3d_CView& )
56 {
57 }
58
59
60 //
61 // Triedron methods : the Triedron is a non-zoomable object.
62 //
63
64
65 void Graphic3d_GraphicDriver::ZBufferTriedronSetup (
66   const Quantity_NameOfColor,
67   const Quantity_NameOfColor,
68   const Quantity_NameOfColor,
69   const Standard_Real,
70   const Standard_Real,
71   const Standard_Integer)
72 {
73 }
74      
75 void Graphic3d_GraphicDriver::TriedronDisplay (
76   const Graphic3d_CView& ,
77   const Aspect_TypeOfTriedronPosition ,
78   const Quantity_NameOfColor , 
79   const Standard_Real,
80   const Standard_Boolean   )
81 {
82 }
83    
84 void Graphic3d_GraphicDriver::TriedronErase (const Graphic3d_CView& ) 
85 {
86 }
87
88
89 void Graphic3d_GraphicDriver::TriedronEcho (const Graphic3d_CView& ,const Aspect_TypeOfTriedronEcho  )
90 {
91 }
92
93
94 void Graphic3d_GraphicDriver::BackgroundImage( const Standard_CString /*FileName*/, 
95                                               const Graphic3d_CView& /*ACView*/,
96                                               const Aspect_FillMethod /*FillStyle*/)
97 {
98 }
99
100 void Graphic3d_GraphicDriver::SetBgImageStyle( const Graphic3d_CView& /*ACView*/,
101                                               const Aspect_FillMethod /*FillStyle*/)
102 {
103 }
104
105 void Graphic3d_GraphicDriver::SetBgGradientStyle( const Graphic3d_CView& /*ACView*/,
106                                                   const Aspect_GradientFillMethod /*FillStyle*/)
107 {
108 }
109
110 void Graphic3d_GraphicDriver::GetGraduatedTrihedron(const Graphic3d_CView&,
111                                                     /* Names of axes */
112                                                     Standard_CString&, 
113                                                     Standard_CString&, 
114                                                     Standard_CString&,
115                                                     /* Draw names */
116                                                     Standard_Boolean&, 
117                                                     Standard_Boolean&, 
118                                                     Standard_Boolean&,
119                                                     /* Draw values */
120                                                     Standard_Boolean&, 
121                                                     Standard_Boolean&, 
122                                                     Standard_Boolean&,
123                                                     /* Draw grid */
124                                                     Standard_Boolean&,
125                                                     /* Draw axes */
126                                                     Standard_Boolean&,
127                                                     /* Number of splits along axes */
128                                                     Standard_Integer&, 
129                                                     Standard_Integer&, 
130                                                     Standard_Integer&,
131                                                     /* Offset for drawing values */
132                                                     Standard_Integer&, 
133                                                     Standard_Integer&, 
134                                                     Standard_Integer&,
135                                                     /* Offset for drawing names of axes */
136                                                     Standard_Integer&, 
137                                                     Standard_Integer&, 
138                                                     Standard_Integer&,
139                                                     /* Draw tickmarks */
140                                                     Standard_Boolean&, 
141                                                     Standard_Boolean&, 
142                                                     Standard_Boolean&,
143                                                     /* Length of tickmarks */
144                                                     Standard_Integer&, 
145                                                     Standard_Integer&, 
146                                                     Standard_Integer&,
147                                                     /* Grid color */
148                                                     Quantity_Color&,
149                                                     /* X name color */
150                                                     Quantity_Color&,
151                                                     /* Y name color */
152                                                     Quantity_Color&,
153                                                     /* Z name color */
154                                                     Quantity_Color&,
155                                                     /* X color of axis and values */
156                                                     Quantity_Color&,
157                                                     /* Y color of axis and values */
158                                                     Quantity_Color&,
159                                                     /* Z color of axis and values */
160                                                     Quantity_Color&,
161                                                     /* Name of font for names of axes */
162                                                     Standard_CString&,
163                                                     /* Style of names of axes */
164                                                     OSD_FontAspect&,
165                                                     /* Size of names of axes */
166                                                     Standard_Integer&,
167                                                     /* Name of font for values */
168                                                     Standard_CString&,
169                                                     /* Style of values */
170                                                     OSD_FontAspect&,
171                                                     /* Size of values */
172                                                     Standard_Integer&) const
173 {
174 }
175
176 void Graphic3d_GraphicDriver::GraduatedTrihedronDisplay(const Graphic3d_CView&,
177                                                         Graphic3d_CGraduatedTrihedron&,
178                                                         /* Names of axes */
179                                                         const Standard_CString, 
180                                                         const Standard_CString, 
181                                                         const Standard_CString,
182                                                         /* Draw names */
183                                                         const Standard_Boolean, 
184                                                         const Standard_Boolean, 
185                                                         const Standard_Boolean,
186                                                         /* Draw values */
187                                                         const Standard_Boolean, 
188                                                         const Standard_Boolean, 
189                                                         const Standard_Boolean,
190                                                         /* Draw grid */
191                                                         const Standard_Boolean,
192                                                         /* Draw axes */
193                                                         const Standard_Boolean,
194                                                         /* Number of splits along axes */
195                                                         const Standard_Integer, 
196                                                         const Standard_Integer, 
197                                                         const Standard_Integer,
198                                                         /* Offset for drawing values */
199                                                         const Standard_Integer, 
200                                                         const Standard_Integer, 
201                                                         const Standard_Integer,
202                                                         /* Offset for drawing names of axes */
203                                                         const Standard_Integer, 
204                                                         const Standard_Integer, 
205                                                         const Standard_Integer,
206                                                         /* Draw tickmarks */
207                                                         const Standard_Boolean, 
208                                                         const Standard_Boolean, 
209                                                         const Standard_Boolean,
210                                                         /* Length of tickmarks */
211                                                         const Standard_Integer, 
212                                                         const Standard_Integer, 
213                                                         const Standard_Integer,
214                                                         /* Grid color */
215                                                         const Quantity_Color&,
216                                                         /* X name color */
217                                                         const Quantity_Color&,
218                                                         /* Y name color */
219                                                         const Quantity_Color&,
220                                                         /* Z name color */
221                                                         const Quantity_Color&,
222                                                         /* X color of axis and values */
223                                                         const Quantity_Color&,
224                                                         /* Y color of axis and values */
225                                                         const Quantity_Color&,
226                                                         /* Z color of axis and values */
227                                                         const Quantity_Color&,
228                                                         /* Name of font for names of axes */
229                                                         const Standard_CString,
230                                                         /* Style of names of axes */
231                                                         const OSD_FontAspect,
232                                                         /* Size of names of axes */
233                                                         const Standard_Integer,
234                                                         /* Name of font for values */
235                                                         const Standard_CString,
236                                                         /* Style of values */
237                                                         const OSD_FontAspect,
238                                                         /* Size of values */
239                                                         const Standard_Integer)
240 {
241 }
242
243 void Graphic3d_GraphicDriver::GraduatedTrihedronErase(const Graphic3d_CView&)
244 {
245 }
246
247 void Graphic3d_GraphicDriver::GraduatedTrihedronMinMaxValues(const Standard_ShortReal,
248                                                              const Standard_ShortReal,
249                                                              const Standard_ShortReal,
250                                                              const Standard_ShortReal,
251                                                              const Standard_ShortReal,
252                                                              const Standard_ShortReal)
253 {
254 }