42cf5bc1 |
1 | // Created by: CAL |
2 | // Copyright (c) 1995-1999 Matra Datavision |
3 | // Copyright (c) 1999-2014 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 _Graphic3d_DataStructureManager_HeaderFile |
17 | #define _Graphic3d_DataStructureManager_HeaderFile |
18 | |
19 | #include <Standard.hxx> |
20 | #include <Standard_Type.hxx> |
21 | |
25e59720 |
22 | #include <Standard_Transient.hxx> |
42cf5bc1 |
23 | |
b5163d2f |
24 | class Graphic3d_Camera; |
42cf5bc1 |
25 | |
26 | class Graphic3d_DataStructureManager; |
25e59720 |
27 | DEFINE_STANDARD_HANDLE(Graphic3d_DataStructureManager, Standard_Transient) |
42cf5bc1 |
28 | |
29 | //! This class allows the definition of a manager to |
30 | //! which the graphic objects are associated. |
31 | //! It allows them to be globally manipulated. |
32 | //! It defines the global attributes. |
25e59720 |
33 | class Graphic3d_DataStructureManager : public Standard_Transient |
42cf5bc1 |
34 | { |
25e59720 |
35 | DEFINE_STANDARD_RTTIEXT(Graphic3d_DataStructureManager,Standard_Transient) |
42cf5bc1 |
36 | protected: |
37 | |
42cf5bc1 |
38 | //! Initializes the manager <me>. |
39 | Standard_EXPORT Graphic3d_DataStructureManager(); |
40 | |
b5163d2f |
41 | //! Returns camera object of the view. |
42 | virtual const Handle(Graphic3d_Camera)& Camera() const = 0; |
42cf5bc1 |
43 | |
44 | }; |
45 | |
42cf5bc1 |
46 | #endif // _Graphic3d_DataStructureManager_HeaderFile |