mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0025773: Visualization - remove AIS_Drawer class and transfer its Link() logic to Prs3d_Drawer
This commit is contained in:
@@ -38,7 +38,8 @@ uses
|
||||
TDataXtd,
|
||||
Geom,
|
||||
TopoDS,
|
||||
gp
|
||||
gp,
|
||||
Prs3d
|
||||
|
||||
|
||||
is
|
||||
|
@@ -43,7 +43,7 @@ uses GUID from Standard,
|
||||
NameOfColor from Quantity,
|
||||
PlaneAngle from Quantity,
|
||||
NameOfMaterial from Graphic3d,
|
||||
Drawer from AIS
|
||||
Drawer from Prs3d
|
||||
is
|
||||
|
||||
GetID (myclass) returns GUID from Standard;
|
||||
|
@@ -17,7 +17,6 @@
|
||||
#include <TDataXtd_Axis.hxx>
|
||||
#include <TDataXtd_Geometry.hxx>
|
||||
#include <AIS_Axis.hxx>
|
||||
#include <AIS_Drawer.hxx>
|
||||
#include <AIS_InteractiveContext.hxx>
|
||||
#include <Geom_Line.hxx>
|
||||
#include <gp_Lin.hxx>
|
||||
|
@@ -20,7 +20,6 @@
|
||||
#include <Standard_GUID.hxx>
|
||||
#include <TDataStd_Real.hxx>
|
||||
#include <TDataXtd_Position.hxx>
|
||||
#include <AIS_Drawer.hxx>
|
||||
#include <AIS_InteractiveContext.hxx>
|
||||
#include <AIS_Relation.hxx>
|
||||
|
||||
|
@@ -47,7 +47,6 @@
|
||||
#include <AIS_SymmetricRelation.hxx>
|
||||
#include <AIS_MidPointRelation.hxx>
|
||||
#include <AIS_InteractiveContext.hxx>
|
||||
#include <AIS_Drawer.hxx>
|
||||
#include <AIS_EqualRadiusRelation.hxx>
|
||||
#include <AIS_EqualDistanceRelation.hxx>
|
||||
#include <AIS_MinRadiusDimension.hxx>
|
||||
@@ -90,6 +89,7 @@
|
||||
#include <Standard_ErrorHandler.hxx>
|
||||
|
||||
#include <TopTools_IndexedMapOfShape.hxx>
|
||||
#include <Prs3d_Drawer.hxx>
|
||||
|
||||
static Standard_Boolean CheckShapesPair(const TopoDS_Shape& , const TopoDS_Shape& ); //ota
|
||||
|
||||
@@ -312,7 +312,7 @@ void TPrsStd_ConstraintTools::ComputeDistance (const Handle(TDataXtd_Constraint)
|
||||
Standard_Boolean isEdge = Standard_False;
|
||||
|
||||
Standard_Boolean SaveDrw = Standard_False;
|
||||
Handle(AIS_Drawer) aDrawer;
|
||||
Handle(Prs3d_Drawer) aDrawer;
|
||||
Handle(AIS_LengthDimension) aDim;
|
||||
|
||||
if (!theAIS.IsNull())
|
||||
@@ -1810,7 +1810,7 @@ void TPrsStd_ConstraintTools::ComputeOffset (const Handle(TDataXtd_Constraint)&
|
||||
Standard_Real val1;
|
||||
TCollection_ExtendedString txt;
|
||||
Handle(AIS_LengthDimension) ais;
|
||||
//Handle(AIS_Drawer) aDrawer;
|
||||
//Handle(Prs3d_Drawer) aDrawer;
|
||||
|
||||
if (nbgeom == 1)
|
||||
{
|
||||
|
@@ -27,7 +27,6 @@
|
||||
#include <AIS_Point.hxx>
|
||||
#include <AIS_Circle.hxx>
|
||||
#include <AIS_Shape.hxx>
|
||||
#include <AIS_Drawer.hxx>
|
||||
#include <AIS_InteractiveContext.hxx>
|
||||
#include <gp_Pnt.hxx>
|
||||
#include <gp_Lin.hxx>
|
||||
|
@@ -18,7 +18,6 @@
|
||||
//#include <TDataStd_Datum.hxx>
|
||||
#include <TDataXtd_Geometry.hxx>
|
||||
#include <AIS_Plane.hxx>
|
||||
#include <AIS_Drawer.hxx>
|
||||
#include <AIS_InteractiveContext.hxx>
|
||||
#include <TNaming_NamedShape.hxx>
|
||||
#include <TNaming_Tool.hxx>
|
||||
|
@@ -18,7 +18,6 @@
|
||||
#include <TDataXtd_Geometry.hxx>
|
||||
//#include <TDataStd_Datum.hxx>
|
||||
#include <AIS_Point.hxx>
|
||||
#include <AIS_Drawer.hxx>
|
||||
#include <AIS_InteractiveContext.hxx>
|
||||
#include <Geom_Point.hxx>
|
||||
#include <Geom_CartesianPoint.hxx>
|
||||
|
Reference in New Issue
Block a user