0030748: Visualization - Marker displayed in immediate layer ruins QT Quick view...
[occt.git] / src / OpenGl / OpenGl_StructureShadow.hxx
index e9d2c58..a325f17 100644 (file)
@@ -28,8 +28,13 @@ public:
   Standard_EXPORT OpenGl_StructureShadow (const Handle(Graphic3d_StructureManager)& theManager,
                                           const Handle(OpenGl_Structure)&           theStructure);
 
-  virtual const Graphic3d_SequenceOfGroup& DrawGroups() const Standard_OVERRIDE
-  { return myParent->DrawGroups(); }
+public:
+
+  //! Raise exception on API misuse.
+  virtual void Connect (Graphic3d_CStructure& ) Standard_OVERRIDE;
+
+  //! Raise exception on API misuse.
+  virtual void Disconnect (Graphic3d_CStructure& ) Standard_OVERRIDE;
 
 private:
 
@@ -37,7 +42,7 @@ private:
 
 public:
 
-  DEFINE_STANDARD_RTTI(OpenGl_StructureShadow, OpenGl_Structure) // Type definition
+  DEFINE_STANDARD_RTTIEXT(OpenGl_StructureShadow,OpenGl_Structure) // Type definition
 
 };