0030748: Visualization - Marker displayed in immediate layer ruins QT Quick view...
[occt.git] / src / OpenGl / OpenGl_StructureShadow.hxx
index 04c70b1..a325f17 100644 (file)
@@ -28,22 +28,13 @@ public:
   Standard_EXPORT OpenGl_StructureShadow (const Handle(Graphic3d_StructureManager)& theManager,
                                           const Handle(OpenGl_Structure)&           theStructure);
 
-  //! Return groups of parent structure.
-  virtual const Graphic3d_SequenceOfGroup& DrawGroups() const Standard_OVERRIDE
-  { return myParent->DrawGroups(); }
-
-  //! Renders groups of parent structure.
-  virtual void renderGeometry (const Handle(OpenGl_Workspace)& theWorkspace,
-                               bool&                           theHasClosed) const Standard_OVERRIDE
-  {
-    myParent->renderGeometry (theWorkspace, theHasClosed);
-  }
-
-  //! Renders closed groups of parent structure.
-  virtual void renderClosedGeometry (const Handle(OpenGl_Workspace)& theWorkspace) const Standard_OVERRIDE
-  {
-    myParent->renderClosedGeometry (theWorkspace);
-  }
+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:
 
@@ -51,7 +42,7 @@ private:
 
 public:
 
-  DEFINE_STANDARD_RTTI(OpenGl_StructureShadow, OpenGl_Structure) // Type definition
+  DEFINE_STANDARD_RTTIEXT(OpenGl_StructureShadow,OpenGl_Structure) // Type definition
 
 };