mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0026936: Drawbacks of inlining in new type system in OCCT 7.0 -- automatic
Automatic restore of IMPLEMENT_STANDARD_RTTIEXT macro (upgrade -rtti)
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
#include <Standard_ErrorHandler.hxx>
|
||||
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRepMesh_DataStructureOfDelaun,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : BRepMesh_DataStructureOfDelaun
|
||||
//purpose :
|
||||
|
@@ -260,7 +260,7 @@ public: //! @name Auxilary API
|
||||
clearDeletedNodes();
|
||||
}
|
||||
|
||||
DEFINE_STANDARD_RTTI(BRepMesh_DataStructureOfDelaun, Standard_Transient)
|
||||
DEFINE_STANDARD_RTTIEXT(BRepMesh_DataStructureOfDelaun,Standard_Transient)
|
||||
|
||||
private:
|
||||
|
||||
|
@@ -16,6 +16,8 @@
|
||||
#include <BRepMesh_DiscretRoot.hxx>
|
||||
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRepMesh_DiscretRoot,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : BRepMesh_DiscretRoot
|
||||
//purpose :
|
||||
|
@@ -49,7 +49,7 @@ public:
|
||||
Standard_EXPORT virtual void Perform() = 0;
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(BRepMesh_DiscretRoot, Standard_Transient)
|
||||
DEFINE_STANDARD_RTTIEXT(BRepMesh_DiscretRoot,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -25,7 +25,7 @@
|
||||
class gp_Pnt;
|
||||
class TopoDS_Edge;
|
||||
class TopoDS_Face;
|
||||
class TColStd_HArray1OfReal;
|
||||
#include <TColStd_HArray1OfReal.hxx>
|
||||
|
||||
//! Auxiliary class provides correct parameters
|
||||
//! on curve regarding SameParameter flag.
|
||||
|
@@ -20,6 +20,8 @@
|
||||
#include <BRepMesh_ShapeTool.hxx>
|
||||
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRepMesh_EdgeTessellationExtractor,BRepMesh_IEdgeTool)
|
||||
|
||||
//=======================================================================
|
||||
//function : Constructor
|
||||
//purpose :
|
||||
|
@@ -62,7 +62,7 @@ public:
|
||||
gp_Pnt& thePoint,
|
||||
gp_Pnt2d& theUV) Standard_OVERRIDE;
|
||||
|
||||
DEFINE_STANDARD_RTTI(BRepMesh_EdgeTessellationExtractor, BRepMesh_IEdgeTool)
|
||||
DEFINE_STANDARD_RTTIEXT(BRepMesh_EdgeTessellationExtractor,BRepMesh_IEdgeTool)
|
||||
|
||||
private:
|
||||
|
||||
|
@@ -32,6 +32,8 @@
|
||||
#include <TColStd_Array1OfReal.hxx>
|
||||
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRepMesh_EdgeTessellator,BRepMesh_IEdgeTool)
|
||||
|
||||
//=======================================================================
|
||||
//function : Constructor
|
||||
//purpose :
|
||||
|
@@ -63,7 +63,7 @@ public:
|
||||
gp_Pnt& thePoint,
|
||||
gp_Pnt2d& theUV) Standard_OVERRIDE;
|
||||
|
||||
DEFINE_STANDARD_RTTI(BRepMesh_EdgeTessellator, BRepMesh_IEdgeTool)
|
||||
DEFINE_STANDARD_RTTIEXT(BRepMesh_EdgeTessellator,BRepMesh_IEdgeTool)
|
||||
|
||||
private:
|
||||
|
||||
|
@@ -26,6 +26,8 @@
|
||||
#include <BRep_Tool.hxx>
|
||||
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRepMesh_FaceAttribute,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : Constructor
|
||||
//purpose :
|
||||
|
@@ -317,7 +317,7 @@ public: //! @name Auxiliary methods
|
||||
Standard_EXPORT gp_XY Scale(const gp_XY& thePoint2d,
|
||||
const Standard_Boolean isToFaceBasis);
|
||||
|
||||
DEFINE_STANDARD_RTTI(BRepMesh_FaceAttribute, Standard_Transient)
|
||||
DEFINE_STANDARD_RTTIEXT(BRepMesh_FaceAttribute,Standard_Transient)
|
||||
|
||||
private:
|
||||
|
||||
|
@@ -71,6 +71,8 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRepMesh_FastDiscret,Standard_Transient)
|
||||
|
||||
#define UVDEFLECTION 1.e-05
|
||||
|
||||
//=======================================================================
|
||||
|
@@ -167,7 +167,7 @@ public:
|
||||
return myBoundaryPoints->Extent();
|
||||
}
|
||||
|
||||
DEFINE_STANDARD_RTTI(BRepMesh_FastDiscret, Standard_Transient)
|
||||
DEFINE_STANDARD_RTTIEXT(BRepMesh_FastDiscret,Standard_Transient)
|
||||
|
||||
private:
|
||||
|
||||
|
@@ -57,6 +57,8 @@
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRepMesh_FastDiscretFace,Standard_Transient)
|
||||
|
||||
static Standard_Real FUN_CalcAverageDUV(TColStd_Array1OfReal& P, const Standard_Integer PLen)
|
||||
{
|
||||
Standard_Integer i, j, n = 0;
|
||||
|
@@ -62,7 +62,7 @@ public:
|
||||
|
||||
Standard_EXPORT void Perform(const Handle(BRepMesh_FaceAttribute)& theAttribute);
|
||||
|
||||
DEFINE_STANDARD_RTTI(BRepMesh_FastDiscretFace, Standard_Transient)
|
||||
DEFINE_STANDARD_RTTIEXT(BRepMesh_FastDiscretFace,Standard_Transient)
|
||||
|
||||
private:
|
||||
|
||||
|
@@ -16,3 +16,5 @@
|
||||
#include <BRepMesh_IEdgeTool.hxx>
|
||||
|
||||
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRepMesh_IEdgeTool,Standard_Transient)
|
@@ -38,7 +38,7 @@ public:
|
||||
gp_Pnt& thePoint,
|
||||
gp_Pnt2d& theUV) = 0;
|
||||
|
||||
DEFINE_STANDARD_RTTI(BRepMesh_IEdgeTool, Standard_Transient)
|
||||
DEFINE_STANDARD_RTTIEXT(BRepMesh_IEdgeTool,Standard_Transient)
|
||||
};
|
||||
|
||||
DEFINE_STANDARD_HANDLE(BRepMesh_IEdgeTool, Standard_Transient)
|
||||
|
@@ -53,6 +53,8 @@
|
||||
|
||||
#include <GCPnts_TangentialDeflection.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRepMesh_IncrementalMesh,BRepMesh_DiscretRoot)
|
||||
|
||||
namespace
|
||||
{
|
||||
//! Default flag to control parallelization for BRepMesh_IncrementalMesh
|
||||
|
@@ -117,7 +117,7 @@ public: //! @name plugin API
|
||||
//! Discret() static method (thus applied only to Mesh Factories).
|
||||
Standard_EXPORT static void SetParallelDefault(const Standard_Boolean isInParallel);
|
||||
|
||||
DEFINE_STANDARD_RTTI(BRepMesh_IncrementalMesh, BRepMesh_DiscretRoot)
|
||||
DEFINE_STANDARD_RTTIEXT(BRepMesh_IncrementalMesh,BRepMesh_DiscretRoot)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user