mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0024750: Replace instantiations of TCollection generic classes by NCollection templates -- manual changes
Forward declaration of TCollection instances as classes are replaced by inclusion of corresponding header. Cyclic dependencies between declaration of collection class and its item are resolved by forward declaring a class in collection header.
This commit is contained in:
@@ -19,17 +19,14 @@
|
||||
#include <NCollection_Vector.hxx>
|
||||
|
||||
#include <Handle_SelectBasics_EntityOwner.hxx>
|
||||
#include <Handle_TColgp_HArray1OfPnt.hxx>
|
||||
#include <Handle_TColStd_HArray1OfInteger.hxx>
|
||||
#include <TColgp_HArray1OfPnt.hxx>
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
|
||||
#include <Select3D_SensitivePoly.hxx>
|
||||
#include <Select3D_SensitiveSet.hxx>
|
||||
|
||||
class gp_Pnt;
|
||||
class SelectBasics_EntityOwner;
|
||||
class TColgp_Array1OfPnt;
|
||||
class TColgp_HArray1OfPnt;
|
||||
class TColStd_HArray1OfInteger;
|
||||
|
||||
typedef NCollection_Vector<Handle(Select3D_SensitivePoly)> Select3D_VectorOfHPoly;
|
||||
|
||||
|
@@ -27,7 +27,7 @@
|
||||
#include <Select3D_Pnt.hxx>
|
||||
#include <Handle_Geom_Circle.hxx>
|
||||
#include <Handle_SelectBasics_EntityOwner.hxx>
|
||||
#include <Handle_TColgp_HArray1OfPnt.hxx>
|
||||
#include <TColgp_HArray1OfPnt.hxx>
|
||||
#include <SelectMgr_SelectingVolumeManager.hxx>
|
||||
#include <Select3D_TypeOfSensitivity.hxx>
|
||||
|
||||
@@ -35,8 +35,6 @@ class Geom_Circle;
|
||||
class Standard_ConstructionError;
|
||||
class Standard_OutOfRange;
|
||||
class SelectBasics_EntityOwner;
|
||||
class TColgp_HArray1OfPnt;
|
||||
class TColgp_Array1OfPnt;
|
||||
class gp_Pnt;
|
||||
class TopLoc_Location;
|
||||
|
||||
|
@@ -25,7 +25,7 @@
|
||||
#include <Handle_Geom_Curve.hxx>
|
||||
#include <Select3D_SensitivePoly.hxx>
|
||||
#include <Handle_SelectBasics_EntityOwner.hxx>
|
||||
#include <Handle_TColgp_HArray1OfPnt.hxx>
|
||||
#include <TColgp_HArray1OfPnt.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <SelectMgr_SelectingVolumeManager.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
@@ -35,8 +35,6 @@ class Geom_Curve;
|
||||
class Standard_ConstructionError;
|
||||
class Standard_OutOfRange;
|
||||
class SelectBasics_EntityOwner;
|
||||
class TColgp_HArray1OfPnt;
|
||||
class TColgp_Array1OfPnt;
|
||||
class Select3D_SensitiveEntity;
|
||||
class TopLoc_Location;
|
||||
|
||||
|
@@ -26,7 +26,7 @@
|
||||
#include <Select3D_TypeOfSensitivity.hxx>
|
||||
#include <Select3D_SensitiveSet.hxx>
|
||||
#include <Handle_SelectBasics_EntityOwner.hxx>
|
||||
#include <Handle_TColgp_HArray1OfPnt.hxx>
|
||||
#include <TColgp_HArray1OfPnt.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <SelectBasics_SelectingVolumeManager.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
@@ -35,8 +35,6 @@
|
||||
class Standard_ConstructionError;
|
||||
class Standard_OutOfRange;
|
||||
class SelectBasics_EntityOwner;
|
||||
class TColgp_Array1OfPnt;
|
||||
class TColgp_HArray1OfPnt;
|
||||
class TopLoc_Location;
|
||||
|
||||
|
||||
|
@@ -21,8 +21,7 @@
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
#include <Handle_TColgp_HArray1OfPnt.hxx>
|
||||
#include <Handle_TColStd_HArray1OfInteger.hxx>
|
||||
#include <TColgp_HArray1OfPnt.hxx>
|
||||
|
||||
#include <Select3D_PointData.hxx>
|
||||
#include <Select3D_Pnt.hxx>
|
||||
@@ -34,8 +33,6 @@
|
||||
class Standard_ConstructionError;
|
||||
class Standard_OutOfRange;
|
||||
class SelectBasics_EntityOwner;
|
||||
class TColgp_Array1OfPnt;
|
||||
class TColgp_HArray1OfPnt;
|
||||
|
||||
//! Sensitive Entity to make a face selectable.
|
||||
//! In some cases this class can raise Standard_ConstructionError and
|
||||
|
@@ -32,8 +32,6 @@
|
||||
class SelectBasics_EntityOwner;
|
||||
class gp_Pnt;
|
||||
class TopLoc_Location;
|
||||
class TColgp_Array1OfPnt2d;
|
||||
|
||||
|
||||
//! A framework to define sensitive zones along a segment
|
||||
//! One gives the 3D start and end point
|
||||
|
@@ -32,7 +32,6 @@ class Standard_ConstructionError;
|
||||
class Standard_OutOfRange;
|
||||
class SelectBasics_EntityOwner;
|
||||
class gp_Pnt;
|
||||
class TColgp_Array1OfPnt2d;
|
||||
class Select3D_SensitiveEntity;
|
||||
class TopLoc_Location;
|
||||
|
||||
|
@@ -30,7 +30,7 @@
|
||||
#include <gp_Trsf.hxx>
|
||||
#include <gp_Pnt.hxx>
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
#include <Handle_TColStd_HArray1OfInteger.hxx>
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <TColgp_HArray1OfPnt.hxx>
|
||||
#include <Select3D_SensitiveEntity.hxx>
|
||||
@@ -41,13 +41,11 @@
|
||||
#include <NCollection_Handle.hxx>
|
||||
|
||||
class Poly_Triangulation;
|
||||
class TColStd_HArray1OfInteger;
|
||||
class SelectBasics_EntityOwner;
|
||||
class TopLoc_Location;
|
||||
class gp_Pnt;
|
||||
class Select3D_SensitiveEntity;
|
||||
class Handle(Select3D_SensitiveEntity);
|
||||
class TColgp_Array1OfPnt2d;
|
||||
|
||||
//! A framework to define selection of a sensitive entity made of a set of triangles.
|
||||
class Select3D_SensitiveTriangulation : public Select3D_SensitiveSet
|
||||
|
Reference in New Issue
Block a user