Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:04:35

0001 // Created on: 2014-09-01
0002 // Created by: Ivan SAZONOV
0003 // Copyright (c) 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 OpenGl_StructureShadow_Header
0017 #define OpenGl_StructureShadow_Header
0018 
0019 #include <OpenGl_Structure.hxx>
0020 
0021 //! Dummy structure which just redirects to groups of another structure.
0022 class OpenGl_StructureShadow : public OpenGl_Structure
0023 {
0024 
0025 public:
0026 
0027   //! Create empty structure
0028   Standard_EXPORT OpenGl_StructureShadow (const Handle(Graphic3d_StructureManager)& theManager,
0029                                           const Handle(OpenGl_Structure)&           theStructure);
0030 
0031 public:
0032 
0033   //! Raise exception on API misuse.
0034   Standard_EXPORT virtual void Connect (Graphic3d_CStructure& ) Standard_OVERRIDE;
0035 
0036   //! Raise exception on API misuse.
0037   Standard_EXPORT virtual void Disconnect (Graphic3d_CStructure& ) Standard_OVERRIDE;
0038 
0039 private:
0040 
0041   Handle(OpenGl_Structure) myParent;
0042 
0043 public:
0044 
0045   DEFINE_STANDARD_RTTIEXT(OpenGl_StructureShadow,OpenGl_Structure) // Type definition
0046 
0047 };
0048 
0049 DEFINE_STANDARD_HANDLE(OpenGl_StructureShadow, OpenGl_Structure)
0050 
0051 #endif // OpenGl_StructureShadow_Header