Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-09 09:16:36

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   //! Create empty structure
0027   Standard_EXPORT OpenGl_StructureShadow(const Handle(Graphic3d_StructureManager)& theManager,
0028                                          const Handle(OpenGl_Structure)&           theStructure);
0029 
0030 public:
0031   //! Raise exception on API misuse.
0032   Standard_EXPORT virtual void Connect(Graphic3d_CStructure&) Standard_OVERRIDE;
0033 
0034   //! Raise exception on API misuse.
0035   Standard_EXPORT virtual void Disconnect(Graphic3d_CStructure&) Standard_OVERRIDE;
0036 
0037 private:
0038   Handle(OpenGl_Structure) myParent;
0039 
0040 public:
0041   DEFINE_STANDARD_RTTIEXT(OpenGl_StructureShadow, OpenGl_Structure) // Type definition
0042 };
0043 
0044 DEFINE_STANDARD_HANDLE(OpenGl_StructureShadow, OpenGl_Structure)
0045 
0046 #endif // OpenGl_StructureShadow_Header