0022962: Invalid realization of reading and writing material in STEP.
[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::GraduatedTrihedronDisplay(const Graphic3d_CView&,
111                                                         const Graphic3d_CGraduatedTrihedron&)
112 {
113 }
114
115 void Graphic3d_GraphicDriver::GraduatedTrihedronErase(const Graphic3d_CView&)
116 {
117 }
118
119 void Graphic3d_GraphicDriver::GraduatedTrihedronMinMaxValues(const Standard_ShortReal,
120                                                              const Standard_ShortReal,
121                                                              const Standard_ShortReal,
122                                                              const Standard_ShortReal,
123                                                              const Standard_ShortReal,
124                                                              const Standard_ShortReal)
125 {
126 }