0022048: Visualization, AIS_InteractiveContext - single object selection should alway...
[occt.git] / src / D3DHost / D3DHost_GraphicDriver.hxx
1 // Created on: 2015-06-10
2 // Created by: Kirill Gavrilov
3 // Copyright (c) 2015 OPEN CASCADE SAS
4 //
5 // This file is part of Open CASCADE Technology software library.
6 //
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
12 //
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
15
16 #ifndef _D3DHost_GraphicDriver_HeaderFile
17 #define _D3DHost_GraphicDriver_HeaderFile
18
19 #include <OpenGl_GraphicDriver.hxx>
20
21 //! This class defines D3D host for an OpenGl graphic driver
22 class D3DHost_GraphicDriver : public OpenGl_GraphicDriver
23 {
24 public:
25
26   //! Constructor.
27   Standard_EXPORT D3DHost_GraphicDriver();
28
29   //! Destructor.
30   Standard_EXPORT virtual ~D3DHost_GraphicDriver();
31
32   //! Create instance of D3D host view.
33   Standard_EXPORT virtual Handle(Graphic3d_CView) CreateView (const Handle(Graphic3d_StructureManager)& theMgr) Standard_OVERRIDE;
34
35 public:
36
37   DEFINE_STANDARD_RTTIEXT(D3DHost_GraphicDriver,OpenGl_GraphicDriver)
38
39 };
40
41 DEFINE_STANDARD_HANDLE(D3DHost_GraphicDriver, OpenGl_GraphicDriver)
42
43 #endif // _D3DHost_GraphicDriver_HeaderFile