mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-24 13:50:49 +03:00
0025773: Visualization - remove AIS_Drawer class and transfer its Link() logic to Prs3d_Drawer
This commit is contained in:
@@ -72,7 +72,6 @@
|
||||
# pragma comment (lib,"TKernel.lib")
|
||||
*/
|
||||
|
||||
#include <AIS_Drawer.hxx>
|
||||
#include <AIS_Circle.hxx>
|
||||
#include <AIS_Line.hxx>
|
||||
#include <AIS_InteractiveContext.hxx>
|
||||
@@ -121,6 +120,7 @@
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <OSD_Environment.hxx>
|
||||
#include <Precision.hxx>
|
||||
#include <Prs3d_Drawer.hxx>
|
||||
#include <Prs3d_LineAspect.hxx>
|
||||
#include <Prs3d_PlaneAspect.hxx>
|
||||
#include <Prs3d_Presentation.hxx>
|
||||
|
@@ -197,7 +197,7 @@ void CViewer2dDoc::OnBUTTONTestLine()
|
||||
TopoDS_Face F = BRepBuilderAPI_MakeFace(W);
|
||||
Handle_AIS_Shape aRect = new AIS_Shape(F);
|
||||
//set attributes of boundaries
|
||||
Handle(AIS_Drawer) aDrawer = new AIS_Drawer();
|
||||
Handle(Prs3d_Drawer) aDrawer = new Prs3d_Drawer();
|
||||
Handle(Prs3d_LineAspect) aLineAttrib =
|
||||
new Prs3d_LineAspect(Quantity_NOC_YELLOW,
|
||||
(Aspect_TypeOfLine)(Aspect_TOL_SOLID+j),1);
|
||||
|
Reference in New Issue
Block a user