Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:03:48

0001 // Created by: CAL
0002 // Copyright (c) 1995-1999 Matra Datavision
0003 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 #ifndef _Graphic3d_DataStructureManager_HeaderFile
0017 #define _Graphic3d_DataStructureManager_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021 
0022 #include <Standard_Transient.hxx>
0023 
0024 class Graphic3d_Camera;
0025 
0026 class Graphic3d_DataStructureManager;
0027 DEFINE_STANDARD_HANDLE(Graphic3d_DataStructureManager, Standard_Transient)
0028 
0029 //! This class allows the definition of a manager to
0030 //! which the graphic objects are associated.
0031 //! It allows them to be globally manipulated.
0032 //! It defines the global attributes.
0033 class Graphic3d_DataStructureManager : public Standard_Transient
0034 {
0035 
0036   DEFINE_STANDARD_RTTIEXT(Graphic3d_DataStructureManager,Standard_Transient)
0037 protected:
0038 
0039   //! Initializes the manager <me>.
0040   Standard_EXPORT Graphic3d_DataStructureManager();
0041 
0042   //! Returns camera object of the view.
0043   virtual const Handle(Graphic3d_Camera)& Camera() const = 0;
0044 
0045   //! Dumps the content of me into the stream
0046   Standard_EXPORT virtual void DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth = -1) const;
0047 
0048 };
0049 
0050 #endif // _Graphic3d_DataStructureManager_HeaderFile