0031431: Visualization, PrsMgr_PresentableObject - simplify HLR computing interface
[occt.git] / samples / mfc / standard / Common / User_Cylinder.hxx
index 9021d7d..16eb7a6 100755 (executable)
@@ -8,7 +8,6 @@
 #include <Standard_DefineHandle.hxx>
 #include <Standard_Macro.hxx>
 #include <Graphic3d_AspectFillArea3d.hxx>
-#include <Prs3d_Projector.hxx>
 // Handle definition
 //
 class User_Cylinder;
@@ -31,7 +30,7 @@ private:
                                 const Standard_Integer aMode = 0) ;
        void ComputeSelection(const Handle(SelectMgr_Selection)& aSelection,
                                                  const Standard_Integer aMode) ;
-       void Compute(const Handle(Prs3d_Projector)& aProjector,const Handle(Prs3d_Presentation)& aPresentation);
+       void computeHLR (const Handle(Graphic3d_Camera)& aProjector, const Handle(Geom_Transformation)& theTrsf, const Handle(Prs3d_Presentation)& aPresentation);
        Standard_Boolean TriangleIsValid(const gp_Pnt& P1,const gp_Pnt& P2,const gp_Pnt& P3) const;
        Quantity_Color Color(gp_Pnt& thePoint,Standard_Real AltMin,Standard_Real AltMax, const Standard_Integer ColorizationMode) ;