mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0028832: MMgt_TShared can be replaced by Standard_Transient
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
#include <gp_Vec.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_Boundary,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_Boundary,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : GeomFill_Boundary
|
||||
|
@@ -21,14 +21,14 @@
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <Standard_Real.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
class gp_Pnt;
|
||||
class gp_Vec;
|
||||
|
||||
|
||||
class GeomFill_Boundary;
|
||||
DEFINE_STANDARD_HANDLE(GeomFill_Boundary, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(GeomFill_Boundary, Standard_Transient)
|
||||
|
||||
//! Root class to define a boundary which will form part of a
|
||||
//! contour around a gap requiring filling.
|
||||
@@ -38,7 +38,7 @@ DEFINE_STANDARD_HANDLE(GeomFill_Boundary, MMgt_TShared)
|
||||
//! - GeomFill_BoundWithSurf to define a boundary attached to a surface.
|
||||
//! These objects are used to define the boundaries for a
|
||||
//! GeomFill_ConstrainedFilling framework.
|
||||
class GeomFill_Boundary : public MMgt_TShared
|
||||
class GeomFill_Boundary : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -73,7 +73,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(GeomFill_Boundary,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(GeomFill_Boundary,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#include <Law_Linear.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_CoonsAlgPatch,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_CoonsAlgPatch,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : GeomFill_CoonsAlgPatch
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <gp_Pnt.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
class GeomFill_Boundary;
|
||||
@@ -31,12 +31,12 @@ class gp_Vec;
|
||||
|
||||
|
||||
class GeomFill_CoonsAlgPatch;
|
||||
DEFINE_STANDARD_HANDLE(GeomFill_CoonsAlgPatch, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(GeomFill_CoonsAlgPatch, Standard_Transient)
|
||||
|
||||
//! Provides evaluation methods on an algorithmic
|
||||
//! patch (based on 4 Curves) defined by its boundaries and blending
|
||||
//! functions.
|
||||
class GeomFill_CoonsAlgPatch : public MMgt_TShared
|
||||
class GeomFill_CoonsAlgPatch : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -80,7 +80,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(GeomFill_CoonsAlgPatch,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(GeomFill_CoonsAlgPatch,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -18,7 +18,7 @@
|
||||
#include <GeomFill_Line.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_Line,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_Line,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : GeomFill_Line
|
||||
|
@@ -21,14 +21,14 @@
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
|
||||
|
||||
class GeomFill_Line;
|
||||
DEFINE_STANDARD_HANDLE(GeomFill_Line, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(GeomFill_Line, Standard_Transient)
|
||||
|
||||
//! class for instantiation of AppBlend
|
||||
class GeomFill_Line : public MMgt_TShared
|
||||
class GeomFill_Line : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -45,7 +45,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(GeomFill_Line,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(GeomFill_Line,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_LocationLaw,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_LocationLaw,Standard_Transient)
|
||||
|
||||
Standard_Boolean GeomFill_LocationLaw::D1(const Standard_Real, gp_Mat&, gp_Vec&,gp_Mat&, gp_Vec&,TColgp_Array1OfPnt2d&,TColgp_Array1OfVec2d&)
|
||||
{
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
#include <TColgp_Array1OfPnt2d.hxx>
|
||||
@@ -38,12 +38,12 @@ class gp_Pnt;
|
||||
|
||||
|
||||
class GeomFill_LocationLaw;
|
||||
DEFINE_STANDARD_HANDLE(GeomFill_LocationLaw, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(GeomFill_LocationLaw, Standard_Transient)
|
||||
|
||||
//! To define location law in Sweeping location is --
|
||||
//! defined by an Matrix M and an Vector V, and
|
||||
//! transform an point P in MP+V.
|
||||
class GeomFill_LocationLaw : public MMgt_TShared
|
||||
class GeomFill_LocationLaw : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -157,7 +157,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(GeomFill_LocationLaw,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(GeomFill_LocationLaw,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_SectionLaw,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_SectionLaw,Standard_Transient)
|
||||
|
||||
Standard_Boolean GeomFill_SectionLaw::D1(const Standard_Real,TColgp_Array1OfPnt&,TColgp_Array1OfVec&,TColStd_Array1OfReal&,TColStd_Array1OfReal& )
|
||||
{
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
#include <TColgp_Array1OfPnt.hxx>
|
||||
@@ -38,10 +38,10 @@ class Geom_Curve;
|
||||
|
||||
|
||||
class GeomFill_SectionLaw;
|
||||
DEFINE_STANDARD_HANDLE(GeomFill_SectionLaw, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(GeomFill_SectionLaw, Standard_Transient)
|
||||
|
||||
//! To define section law in sweeping
|
||||
class GeomFill_SectionLaw : public MMgt_TShared
|
||||
class GeomFill_SectionLaw : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -160,7 +160,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(GeomFill_SectionLaw,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(GeomFill_SectionLaw,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#include <Law_BSpline.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_TgtField,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_TgtField,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : IsScalable
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
class Law_BSpline;
|
||||
@@ -28,11 +28,11 @@ class gp_Vec;
|
||||
|
||||
|
||||
class GeomFill_TgtField;
|
||||
DEFINE_STANDARD_HANDLE(GeomFill_TgtField, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(GeomFill_TgtField, Standard_Transient)
|
||||
|
||||
//! Root class defining the methods we need to make an
|
||||
//! algorithmic tangents field.
|
||||
class GeomFill_TgtField : public MMgt_TShared
|
||||
class GeomFill_TgtField : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -57,7 +57,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(GeomFill_TgtField,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(GeomFill_TgtField,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -22,7 +22,7 @@
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_TrihedronLaw,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(GeomFill_TrihedronLaw,Standard_Transient)
|
||||
|
||||
void GeomFill_TrihedronLaw::SetCurve(const Handle(Adaptor3d_HCurve)& C)
|
||||
{
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <GeomFill_PipeError.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
@@ -34,10 +34,10 @@ class gp_Vec;
|
||||
|
||||
|
||||
class GeomFill_TrihedronLaw;
|
||||
DEFINE_STANDARD_HANDLE(GeomFill_TrihedronLaw, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(GeomFill_TrihedronLaw, Standard_Transient)
|
||||
|
||||
//! To define Trihedron along one Curve
|
||||
class GeomFill_TrihedronLaw : public MMgt_TShared
|
||||
class GeomFill_TrihedronLaw : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -101,7 +101,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(GeomFill_TrihedronLaw,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(GeomFill_TrihedronLaw,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user