1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +03:00

0028832: MMgt_TShared can be replaced by Standard_Transient

This commit is contained in:
kgv
2017-07-06 10:38:18 +03:00
committed by bugmaster
parent e958a649c6
commit 25e59720d6
980 changed files with 2451 additions and 2539 deletions

View File

@@ -28,7 +28,7 @@
#include <Prs3d_VertexDrawMode.hxx>
#include <Prs3d_DimensionUnits.hxx>
#include <Prs3d_TypeOfHLR.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
class Prs3d_IsoAspect;
class Prs3d_LineAspect;

View File

@@ -21,7 +21,7 @@
#include <Prs3d_Projector.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Prs3d_Projector,MMgt_TShared)
IMPLEMENT_STANDARD_RTTIEXT(Prs3d_Projector,Standard_Transient)
Prs3d_Projector::Prs3d_Projector (const HLRAlgo_Projector& HLPr): MyProjector(HLPr)
{}

View File

@@ -21,17 +21,17 @@
#include <Standard_Type.hxx>
#include <HLRAlgo_Projector.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Boolean.hxx>
class Prs3d_Projector;
DEFINE_STANDARD_HANDLE(Prs3d_Projector, MMgt_TShared)
DEFINE_STANDARD_HANDLE(Prs3d_Projector, Standard_Transient)
//! A projector object.
//! This object defines the parameters of a view for a
//! visualization algorithm. It is, for example, used by the
//! hidden line removal algorithms.
class Prs3d_Projector : public MMgt_TShared
class Prs3d_Projector : public Standard_Transient
{
public:
@@ -53,7 +53,7 @@ public:
//! Returns a projector object for use in a hidden line removal algorithm.
Standard_EXPORT HLRAlgo_Projector Projector() const;
DEFINE_STANDARD_RTTIEXT(Prs3d_Projector,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Prs3d_Projector,Standard_Transient)
private: