0031431: Visualization, PrsMgr_PresentableObject - simplify HLR computing interface
[occt.git] / src / PrsMgr / PrsMgr_Presentation.hxx
index 8576346..6e27895 100644 (file)
 class PrsMgr_PresentationManager;
 class PrsMgr_PresentableObject;
 class Quantity_Color;
+class Graphic3d_Camera;
 class Geom_Transformation;
 class Prs3d_Drawer;
 class Graphic3d_Structure;
 class Graphic3d_DataStructureManager;
-class Prs3d_Projector;
 
 DEFINE_STANDARD_HANDLE(PrsMgr_Presentation, Graphic3d_Structure)
 
@@ -93,20 +93,8 @@ protected:
   //! Displays myStructure.
   Standard_EXPORT void display (const Standard_Boolean theIsHighlight);
 
-  Standard_EXPORT virtual Handle(Graphic3d_Structure) Compute (const Handle(Graphic3d_DataStructureManager)& theProjector) Standard_OVERRIDE;
-
-  Standard_EXPORT virtual Handle(Graphic3d_Structure) Compute (const Handle(Graphic3d_DataStructureManager)& theProjector,
-                                                               const Handle(Geom_Transformation)& theTrsf) Standard_OVERRIDE;
-
-  Standard_EXPORT virtual void Compute (const Handle(Graphic3d_DataStructureManager)& theProjector,
-                                        Handle(Graphic3d_Structure)& theGivenStruct) Standard_OVERRIDE;
-
-  Standard_EXPORT virtual void Compute (const Handle(Graphic3d_DataStructureManager)& theProjector,
-                                        const Handle(Geom_Transformation)& theTrsf,
-                                        Handle(Graphic3d_Structure)& theGivenStruct) Standard_OVERRIDE;
-
-  Standard_EXPORT static Handle(Prs3d_Projector) Projector (const Handle(Graphic3d_DataStructureManager)& theProjector);
-
+  Standard_EXPORT virtual void computeHLR (const Handle(Graphic3d_Camera)& theProjector,
+                                           Handle(Graphic3d_Structure)& theGivenStruct) Standard_OVERRIDE;
 protected:
 
   Handle(PrsMgr_PresentationManager) myPresentationManager;