1 // File Graphic3d_GraphicDriver_8.cxx
2 // Created Mardi 28 janvier 1997
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
10 //-Copyright MatraDatavision 1997
14 //-Design Declaration des variables specifiques aux Drivers
16 //-Warning Un driver encapsule les Pex et OpenGl drivers
25 //SAV 23/12/02 : Added methods to set background image.
28 #include <Graphic3d_GraphicDriver.jxx>
30 #include <Aspect_DriverDefinitionError.hxx>
36 //-Global data definitions
40 Standard_Integer Graphic3d_GraphicDriver::CreateTexture(const Graphic3d_TypeOfTexture ,const Handle_AlienImage_AlienImage &,const Standard_CString,const Handle(TColStd_HArray1OfReal)& TexUpperBounds ) const
46 void Graphic3d_GraphicDriver::DestroyTexture(const Standard_Integer ) const
51 void Graphic3d_GraphicDriver::ModifyTexture(const Standard_Integer ,const Graphic3d_CInitTexture& ) const
55 void Graphic3d_GraphicDriver::Environment(const Graphic3d_CView& )
61 // Triedron methods : the Triedron is a non-zoomable object.
65 void Graphic3d_GraphicDriver::ZBufferTriedronSetup (
66 const Quantity_NameOfColor,
67 const Quantity_NameOfColor,
68 const Quantity_NameOfColor,
71 const Standard_Integer)
75 void Graphic3d_GraphicDriver::TriedronDisplay (
76 const Graphic3d_CView& ,
77 const Aspect_TypeOfTriedronPosition ,
78 const Quantity_NameOfColor ,
80 const Standard_Boolean )
84 void Graphic3d_GraphicDriver::TriedronErase (const Graphic3d_CView& )
89 void Graphic3d_GraphicDriver::TriedronEcho (const Graphic3d_CView& ,const Aspect_TypeOfTriedronEcho )
94 void Graphic3d_GraphicDriver::BackgroundImage( const Standard_CString /*FileName*/,
95 const Graphic3d_CView& /*ACView*/,
96 const Aspect_FillMethod /*FillStyle*/)
100 void Graphic3d_GraphicDriver::SetBgImageStyle( const Graphic3d_CView& /*ACView*/,
101 const Aspect_FillMethod /*FillStyle*/)
105 void Graphic3d_GraphicDriver::SetBgGradientStyle( const Graphic3d_CView& /*ACView*/,
106 const Aspect_GradientFillMethod /*FillStyle*/)
110 void Graphic3d_GraphicDriver::GraduatedTrihedronDisplay(const Graphic3d_CView&,
111 const Graphic3d_CGraduatedTrihedron&)
115 void Graphic3d_GraphicDriver::GraduatedTrihedronErase(const Graphic3d_CView&)
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)