Part: modernize C++: use equals default
This commit is contained in:
@@ -247,8 +247,6 @@ public:
|
||||
{
|
||||
initialize("This is a module working with the BRepFeat package."); // register with Python
|
||||
}
|
||||
|
||||
~BRepFeatModule() override {}
|
||||
};
|
||||
|
||||
class BRepOffsetAPIModule : public Py::ExtensionModule<BRepOffsetAPIModule>
|
||||
@@ -258,8 +256,6 @@ public:
|
||||
{
|
||||
initialize("This is a module working with the BRepOffsetAPI package."); // register with Python
|
||||
}
|
||||
|
||||
~BRepOffsetAPIModule() override {}
|
||||
};
|
||||
|
||||
class Geom2dModule : public Py::ExtensionModule<Geom2dModule>
|
||||
@@ -269,8 +265,6 @@ public:
|
||||
{
|
||||
initialize("This is a module working with 2d geometries."); // register with Python
|
||||
}
|
||||
|
||||
~Geom2dModule() override {}
|
||||
};
|
||||
|
||||
class GeomPlateModule : public Py::ExtensionModule<GeomPlateModule>
|
||||
@@ -280,8 +274,6 @@ public:
|
||||
{
|
||||
initialize("This is a module working with the GeomPlate framework."); // register with Python
|
||||
}
|
||||
|
||||
~GeomPlateModule() override {}
|
||||
};
|
||||
|
||||
class HLRBRepModule : public Py::ExtensionModule<HLRBRepModule>
|
||||
@@ -291,8 +283,6 @@ public:
|
||||
{
|
||||
initialize("This is a module working with the HLRBRep framework."); // register with Python
|
||||
}
|
||||
|
||||
~HLRBRepModule() override {}
|
||||
};
|
||||
|
||||
class ShapeFixModule : public Py::ExtensionModule<ShapeFixModule>
|
||||
@@ -321,8 +311,6 @@ public:
|
||||
initialize("This is a module working with the ShapeFix framework."); // register with Python
|
||||
}
|
||||
|
||||
~ShapeFixModule() override {}
|
||||
|
||||
private:
|
||||
Py::Object sameParameter(const Py::Tuple& args)
|
||||
{
|
||||
@@ -390,8 +378,6 @@ public:
|
||||
{
|
||||
initialize("This is a module working with the ShapeUpgrade framework."); // register with Python
|
||||
}
|
||||
|
||||
~ShapeUpgradeModule() override {}
|
||||
};
|
||||
|
||||
class ChFi2dModule : public Py::ExtensionModule<ChFi2dModule>
|
||||
@@ -401,8 +387,6 @@ public:
|
||||
{
|
||||
initialize("This is a module working with the ChFi2d framework."); // register with Python
|
||||
}
|
||||
|
||||
~ChFi2dModule() override {}
|
||||
};
|
||||
|
||||
class Module : public Py::ExtensionModule<Module>
|
||||
@@ -649,8 +633,6 @@ public:
|
||||
PyModule_AddObject(m_module, "ChFi2d", chFi2d.module().ptr());
|
||||
}
|
||||
|
||||
~Module() override {}
|
||||
|
||||
private:
|
||||
Py::Object invoke_method_keyword( void *method_def,
|
||||
const Py::Tuple &args, const Py::Dict &keywords ) override
|
||||
|
||||
@@ -49,7 +49,7 @@ public:
|
||||
explicit AttachEngineException(const char * sMessage);
|
||||
explicit AttachEngineException(const std::string& sMessage);
|
||||
/// Destruction
|
||||
~AttachEngineException() noexcept override {}
|
||||
~AttachEngineException() noexcept override = default;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -285,7 +285,7 @@ public: //methods
|
||||
*/
|
||||
void EnableAllSupportedModes();
|
||||
|
||||
~AttachEngine() override{};
|
||||
~AttachEngine() override = default;
|
||||
|
||||
public://helper functions that may be useful outside of the class
|
||||
/**
|
||||
@@ -463,9 +463,9 @@ private:
|
||||
class ExceptionCancel : public Base::Exception
|
||||
{
|
||||
public:
|
||||
ExceptionCancel(){}
|
||||
ExceptionCancel() = default;
|
||||
explicit ExceptionCancel(char* msg){this->setMessage(msg);}
|
||||
~ExceptionCancel() noexcept override {}
|
||||
~ExceptionCancel() noexcept override = default;
|
||||
};
|
||||
|
||||
} // namespace Attacher
|
||||
|
||||
@@ -47,18 +47,14 @@
|
||||
|
||||
using namespace Part;
|
||||
|
||||
BRepOffsetAPI_MakeOffsetFix::BRepOffsetAPI_MakeOffsetFix()
|
||||
{
|
||||
}
|
||||
BRepOffsetAPI_MakeOffsetFix::BRepOffsetAPI_MakeOffsetFix() = default;
|
||||
|
||||
BRepOffsetAPI_MakeOffsetFix::BRepOffsetAPI_MakeOffsetFix(const GeomAbs_JoinType Join, const Standard_Boolean IsOpenResult)
|
||||
{
|
||||
mkOffset.Init(Join, IsOpenResult);
|
||||
}
|
||||
|
||||
BRepOffsetAPI_MakeOffsetFix::~BRepOffsetAPI_MakeOffsetFix()
|
||||
{
|
||||
}
|
||||
BRepOffsetAPI_MakeOffsetFix::~BRepOffsetAPI_MakeOffsetFix() = default;
|
||||
|
||||
void BRepOffsetAPI_MakeOffsetFix::AddWire(const TopoDS_Wire& Spine)
|
||||
{
|
||||
|
||||
@@ -31,13 +31,9 @@ using namespace Part;
|
||||
PROPERTY_SOURCE(Part::CustomFeature, Part::Feature)
|
||||
|
||||
|
||||
CustomFeature::CustomFeature()
|
||||
{
|
||||
}
|
||||
CustomFeature::CustomFeature() = default;
|
||||
|
||||
CustomFeature::~CustomFeature()
|
||||
{
|
||||
}
|
||||
CustomFeature::~CustomFeature() = default;
|
||||
|
||||
short CustomFeature::mustExecute() const
|
||||
{
|
||||
|
||||
@@ -39,9 +39,7 @@ Datum::Datum()
|
||||
touch();
|
||||
}
|
||||
|
||||
Datum::~Datum()
|
||||
{
|
||||
}
|
||||
Datum::~Datum() = default;
|
||||
|
||||
void Datum::onDocumentRestored()
|
||||
{
|
||||
|
||||
@@ -48,9 +48,7 @@
|
||||
|
||||
using namespace Part;
|
||||
|
||||
ExtrusionHelper::ExtrusionHelper()
|
||||
{
|
||||
}
|
||||
ExtrusionHelper::ExtrusionHelper() = default;
|
||||
|
||||
void ExtrusionHelper::makeDraft(const TopoDS_Shape& shape,
|
||||
const gp_Dir& direction,
|
||||
|
||||
@@ -50,8 +50,8 @@ class PartExport FaceMaker: public BRepBuilderAPI_MakeShape, public Base::BaseCl
|
||||
TYPESYSTEM_HEADER_WITH_OVERRIDE();
|
||||
|
||||
public:
|
||||
FaceMaker() {}
|
||||
~FaceMaker() override {}
|
||||
FaceMaker() = default;
|
||||
~FaceMaker() override = default;
|
||||
|
||||
virtual void addWire(const TopoDS_Wire& w);
|
||||
/**
|
||||
|
||||
@@ -38,9 +38,7 @@ using namespace Part;
|
||||
|
||||
PROPERTY_SOURCE(Part::Chamfer, Part::FilletBase)
|
||||
|
||||
Chamfer::Chamfer()
|
||||
{
|
||||
}
|
||||
Chamfer::Chamfer() = default;
|
||||
|
||||
App::DocumentObjectExecReturn *Chamfer::execute()
|
||||
{
|
||||
|
||||
@@ -42,9 +42,7 @@ Compound::Compound()
|
||||
Links.setSize(0);
|
||||
}
|
||||
|
||||
Compound::~Compound()
|
||||
{
|
||||
}
|
||||
Compound::~Compound() = default;
|
||||
|
||||
short Compound::mustExecute() const
|
||||
{
|
||||
|
||||
@@ -40,9 +40,7 @@ using namespace Part;
|
||||
|
||||
PROPERTY_SOURCE(Part::Fillet, Part::FilletBase)
|
||||
|
||||
Fillet::Fillet()
|
||||
{
|
||||
}
|
||||
Fillet::Fillet() = default;
|
||||
|
||||
App::DocumentObjectExecReturn *Fillet::execute()
|
||||
{
|
||||
|
||||
@@ -52,10 +52,7 @@ Offset::Offset()
|
||||
Source.setScope(App::LinkScope::Global);
|
||||
}
|
||||
|
||||
Offset::~Offset()
|
||||
{
|
||||
|
||||
}
|
||||
Offset::~Offset() = default;
|
||||
|
||||
short Offset::mustExecute() const
|
||||
{
|
||||
@@ -108,10 +105,7 @@ Offset2D::Offset2D()
|
||||
this->Mode.setValue(1); //switch to Pipe mode by default, because skin mode does not function properly on closed profiles.
|
||||
}
|
||||
|
||||
Offset2D::~Offset2D()
|
||||
{
|
||||
|
||||
}
|
||||
Offset2D::~Offset2D() = default;
|
||||
|
||||
short Offset2D::mustExecute() const
|
||||
{
|
||||
|
||||
@@ -48,9 +48,7 @@ Circle::Circle()
|
||||
Angle2.setConstraints(&angleRange);
|
||||
}
|
||||
|
||||
Circle::~Circle()
|
||||
{
|
||||
}
|
||||
Circle::~Circle() = default;
|
||||
|
||||
short Circle::mustExecute() const
|
||||
{
|
||||
|
||||
@@ -42,9 +42,7 @@ using namespace Part;
|
||||
PROPERTY_SOURCE(Part::Common, Part::Boolean)
|
||||
|
||||
|
||||
Common::Common()
|
||||
{
|
||||
}
|
||||
Common::Common() = default;
|
||||
|
||||
BRepAlgoAPI_BooleanOperation* Common::makeOperation(const TopoDS_Shape& base, const TopoDS_Shape& tool) const
|
||||
{
|
||||
|
||||
@@ -33,9 +33,7 @@ using namespace Part;
|
||||
PROPERTY_SOURCE(Part::Cut, Part::Boolean)
|
||||
|
||||
|
||||
Cut::Cut()
|
||||
{
|
||||
}
|
||||
Cut::Cut() = default;
|
||||
|
||||
BRepAlgoAPI_BooleanOperation* Cut::makeOperation(const TopoDS_Shape& base, const TopoDS_Shape& tool) const
|
||||
{
|
||||
|
||||
@@ -42,9 +42,7 @@ using namespace Part;
|
||||
PROPERTY_SOURCE(Part::Fuse, Part::Boolean)
|
||||
|
||||
|
||||
Fuse::Fuse()
|
||||
{
|
||||
}
|
||||
Fuse::Fuse() = default;
|
||||
|
||||
BRepAlgoAPI_BooleanOperation* Fuse::makeOperation(const TopoDS_Shape& base, const TopoDS_Shape& tool) const
|
||||
{
|
||||
|
||||
@@ -39,9 +39,7 @@ Part::Polygon::Polygon()
|
||||
ADD_PROPERTY(Close,(false));
|
||||
}
|
||||
|
||||
Part::Polygon::~Polygon()
|
||||
{
|
||||
}
|
||||
Part::Polygon::~Polygon() = default;
|
||||
|
||||
short Part::Polygon::mustExecute() const
|
||||
{
|
||||
|
||||
@@ -30,8 +30,6 @@ using namespace Part;
|
||||
PROPERTY_SOURCE(Part::Spline, Part::Feature)
|
||||
|
||||
|
||||
Spline::Spline()
|
||||
{
|
||||
}
|
||||
Spline::Spline() = default;
|
||||
|
||||
|
||||
|
||||
+45
-136
@@ -192,10 +192,7 @@ Geometry::Geometry()
|
||||
createNewTag();
|
||||
}
|
||||
|
||||
Geometry::~Geometry()
|
||||
{
|
||||
|
||||
}
|
||||
Geometry::~Geometry() = default;
|
||||
|
||||
// Persistence implementer
|
||||
unsigned int Geometry::getMemSize () const
|
||||
@@ -484,9 +481,7 @@ GeomPoint::GeomPoint(const Base::Vector3d& p)
|
||||
this->myPoint = new Geom_CartesianPoint(p.x,p.y,p.z);
|
||||
}
|
||||
|
||||
GeomPoint::~GeomPoint()
|
||||
{
|
||||
}
|
||||
GeomPoint::~GeomPoint() = default;
|
||||
|
||||
const Handle(Geom_Geometry)& GeomPoint::handle() const
|
||||
{
|
||||
@@ -568,13 +563,9 @@ PyObject *GeomPoint::getPyObject()
|
||||
|
||||
TYPESYSTEM_SOURCE_ABSTRACT(Part::GeomCurve,Part::Geometry)
|
||||
|
||||
GeomCurve::GeomCurve()
|
||||
{
|
||||
}
|
||||
GeomCurve::GeomCurve() = default;
|
||||
|
||||
GeomCurve::~GeomCurve()
|
||||
{
|
||||
}
|
||||
GeomCurve::~GeomCurve() = default;
|
||||
|
||||
TopoDS_Shape GeomCurve::toShape() const
|
||||
{
|
||||
@@ -902,13 +893,9 @@ void GeomCurve::reverse()
|
||||
|
||||
TYPESYSTEM_SOURCE_ABSTRACT(Part::GeomBoundedCurve, Part::GeomCurve)
|
||||
|
||||
GeomBoundedCurve::GeomBoundedCurve()
|
||||
{
|
||||
}
|
||||
GeomBoundedCurve::GeomBoundedCurve() = default;
|
||||
|
||||
GeomBoundedCurve::~GeomBoundedCurve()
|
||||
{
|
||||
}
|
||||
GeomBoundedCurve::~GeomBoundedCurve() = default;
|
||||
|
||||
Base::Vector3d GeomBoundedCurve::getStartPoint() const
|
||||
{
|
||||
@@ -959,9 +946,7 @@ GeomBezierCurve::GeomBezierCurve( const std::vector<Base::Vector3d>& poles, cons
|
||||
this->myCurve = new Geom_BezierCurve (p, w);
|
||||
}
|
||||
|
||||
GeomBezierCurve::~GeomBezierCurve()
|
||||
{
|
||||
}
|
||||
GeomBezierCurve::~GeomBezierCurve() = default;
|
||||
|
||||
void GeomBezierCurve::setHandle(const Handle(Geom_BezierCurve)& c)
|
||||
{
|
||||
@@ -1147,9 +1132,7 @@ GeomBSplineCurve::GeomBSplineCurve( const std::vector<Base::Vector3d>& poles, co
|
||||
}
|
||||
|
||||
|
||||
GeomBSplineCurve::~GeomBSplineCurve()
|
||||
{
|
||||
}
|
||||
GeomBSplineCurve::~GeomBSplineCurve() = default;
|
||||
|
||||
void GeomBSplineCurve::setHandle(const Handle(Geom_BSplineCurve)& c)
|
||||
{
|
||||
@@ -1756,13 +1739,9 @@ PyObject *GeomBSplineCurve::getPyObject()
|
||||
|
||||
TYPESYSTEM_SOURCE_ABSTRACT(Part::GeomConic, Part::GeomCurve)
|
||||
|
||||
GeomConic::GeomConic()
|
||||
{
|
||||
}
|
||||
GeomConic::GeomConic() = default;
|
||||
|
||||
GeomConic::~GeomConic()
|
||||
{
|
||||
}
|
||||
GeomConic::~GeomConic() = default;
|
||||
|
||||
Base::Vector3d GeomConic::getLocation() const
|
||||
{
|
||||
@@ -1903,18 +1882,14 @@ GeomBSplineCurve* GeomConic::toNurbs(double first, double last) const
|
||||
|
||||
TYPESYSTEM_SOURCE(Part::GeomTrimmedCurve,Part::GeomBoundedCurve)
|
||||
|
||||
GeomTrimmedCurve::GeomTrimmedCurve()
|
||||
{
|
||||
}
|
||||
GeomTrimmedCurve::GeomTrimmedCurve() = default;
|
||||
|
||||
GeomTrimmedCurve::GeomTrimmedCurve(const Handle(Geom_TrimmedCurve)& c)
|
||||
{
|
||||
setHandle(c);
|
||||
}
|
||||
|
||||
GeomTrimmedCurve::~GeomTrimmedCurve()
|
||||
{
|
||||
}
|
||||
GeomTrimmedCurve::~GeomTrimmedCurve() = default;
|
||||
|
||||
void GeomTrimmedCurve::setHandle(const Handle(Geom_TrimmedCurve)& c)
|
||||
{
|
||||
@@ -1996,13 +1971,9 @@ void GeomTrimmedCurve::setRange(double u, double v)
|
||||
// -------------------------------------------------
|
||||
TYPESYSTEM_SOURCE_ABSTRACT(Part::GeomArcOfConic,Part::GeomTrimmedCurve)
|
||||
|
||||
GeomArcOfConic::GeomArcOfConic()
|
||||
{
|
||||
}
|
||||
GeomArcOfConic::GeomArcOfConic() = default;
|
||||
|
||||
GeomArcOfConic::~GeomArcOfConic()
|
||||
{
|
||||
}
|
||||
GeomArcOfConic::~GeomArcOfConic() = default;
|
||||
|
||||
/*!
|
||||
* \brief GeomArcOfConic::getStartPoint
|
||||
@@ -2215,9 +2186,7 @@ GeomCircle::GeomCircle(const Handle(Geom_Circle)& c)
|
||||
setHandle(c);
|
||||
}
|
||||
|
||||
GeomCircle::~GeomCircle()
|
||||
{
|
||||
}
|
||||
GeomCircle::~GeomCircle() = default;
|
||||
|
||||
const Handle(Geom_Geometry)& GeomCircle::handle() const
|
||||
{
|
||||
@@ -2396,9 +2365,7 @@ GeomArcOfCircle::GeomArcOfCircle(const Handle(Geom_Circle)& c)
|
||||
setHandle(c);
|
||||
}
|
||||
|
||||
GeomArcOfCircle::~GeomArcOfCircle()
|
||||
{
|
||||
}
|
||||
GeomArcOfCircle::~GeomArcOfCircle() = default;
|
||||
|
||||
void GeomArcOfCircle::setHandle(const Handle(Geom_TrimmedCurve)& c)
|
||||
{
|
||||
@@ -2635,9 +2602,7 @@ GeomEllipse::GeomEllipse(const Handle(Geom_Ellipse)& e)
|
||||
setHandle(e);
|
||||
}
|
||||
|
||||
GeomEllipse::~GeomEllipse()
|
||||
{
|
||||
}
|
||||
GeomEllipse::~GeomEllipse() = default;
|
||||
|
||||
const Handle(Geom_Geometry)& GeomEllipse::handle() const
|
||||
{
|
||||
@@ -2887,9 +2852,7 @@ GeomArcOfEllipse::GeomArcOfEllipse(const Handle(Geom_Ellipse)& e)
|
||||
setHandle(e);
|
||||
}
|
||||
|
||||
GeomArcOfEllipse::~GeomArcOfEllipse()
|
||||
{
|
||||
}
|
||||
GeomArcOfEllipse::~GeomArcOfEllipse() = default;
|
||||
|
||||
void GeomArcOfEllipse::setHandle(const Handle(Geom_TrimmedCurve)& c)
|
||||
{
|
||||
@@ -3160,9 +3123,7 @@ GeomHyperbola::GeomHyperbola(const Handle(Geom_Hyperbola)& h)
|
||||
setHandle(h);
|
||||
}
|
||||
|
||||
GeomHyperbola::~GeomHyperbola()
|
||||
{
|
||||
}
|
||||
GeomHyperbola::~GeomHyperbola() = default;
|
||||
|
||||
const Handle(Geom_Geometry)& GeomHyperbola::handle() const
|
||||
{
|
||||
@@ -3321,9 +3282,7 @@ GeomArcOfHyperbola::GeomArcOfHyperbola(const Handle(Geom_Hyperbola)& h)
|
||||
setHandle(h);
|
||||
}
|
||||
|
||||
GeomArcOfHyperbola::~GeomArcOfHyperbola()
|
||||
{
|
||||
}
|
||||
GeomArcOfHyperbola::~GeomArcOfHyperbola() = default;
|
||||
|
||||
void GeomArcOfHyperbola::setHandle(const Handle(Geom_TrimmedCurve)& c)
|
||||
{
|
||||
@@ -3585,9 +3544,7 @@ GeomParabola::GeomParabola(const Handle(Geom_Parabola)& p)
|
||||
setHandle(p);
|
||||
}
|
||||
|
||||
GeomParabola::~GeomParabola()
|
||||
{
|
||||
}
|
||||
GeomParabola::~GeomParabola() = default;
|
||||
|
||||
const Handle(Geom_Geometry)& GeomParabola::handle() const
|
||||
{
|
||||
@@ -3726,9 +3683,7 @@ GeomArcOfParabola::GeomArcOfParabola(const Handle(Geom_Parabola)& h)
|
||||
setHandle(h);
|
||||
}
|
||||
|
||||
GeomArcOfParabola::~GeomArcOfParabola()
|
||||
{
|
||||
}
|
||||
GeomArcOfParabola::~GeomArcOfParabola() = default;
|
||||
|
||||
void GeomArcOfParabola::setHandle(const Handle(Geom_TrimmedCurve)& c)
|
||||
{
|
||||
@@ -3944,9 +3899,7 @@ GeomLine::GeomLine(const Base::Vector3d& Pos, const Base::Vector3d& Dir)
|
||||
}
|
||||
|
||||
|
||||
GeomLine::~GeomLine()
|
||||
{
|
||||
}
|
||||
GeomLine::~GeomLine() = default;
|
||||
|
||||
void GeomLine::setLine(const Base::Vector3d& Pos, const Base::Vector3d& Dir)
|
||||
{
|
||||
@@ -4052,9 +4005,7 @@ GeomLineSegment::GeomLineSegment(const Handle(Geom_Line)& l)
|
||||
setHandle(l);
|
||||
}
|
||||
|
||||
GeomLineSegment::~GeomLineSegment()
|
||||
{
|
||||
}
|
||||
GeomLineSegment::~GeomLineSegment() = default;
|
||||
|
||||
void GeomLineSegment::setHandle(const Handle(Geom_TrimmedCurve)& c)
|
||||
{
|
||||
@@ -4199,9 +4150,7 @@ PyObject *GeomLineSegment::getPyObject()
|
||||
|
||||
TYPESYSTEM_SOURCE(Part::GeomOffsetCurve,Part::GeomCurve)
|
||||
|
||||
GeomOffsetCurve::GeomOffsetCurve()
|
||||
{
|
||||
}
|
||||
GeomOffsetCurve::GeomOffsetCurve() = default;
|
||||
|
||||
GeomOffsetCurve::GeomOffsetCurve(const Handle(Geom_Curve)& c, double offset, const gp_Dir& dir)
|
||||
{
|
||||
@@ -4217,9 +4166,7 @@ GeomOffsetCurve::GeomOffsetCurve(const Handle(Geom_OffsetCurve)& c)
|
||||
setHandle(c);
|
||||
}
|
||||
|
||||
GeomOffsetCurve::~GeomOffsetCurve()
|
||||
{
|
||||
}
|
||||
GeomOffsetCurve::~GeomOffsetCurve() = default;
|
||||
|
||||
Geometry *GeomOffsetCurve::copy() const
|
||||
{
|
||||
@@ -4264,13 +4211,9 @@ PyObject *GeomOffsetCurve::getPyObject()
|
||||
|
||||
TYPESYSTEM_SOURCE_ABSTRACT(Part::GeomSurface,Part::Geometry)
|
||||
|
||||
GeomSurface::GeomSurface()
|
||||
{
|
||||
}
|
||||
GeomSurface::GeomSurface() = default;
|
||||
|
||||
GeomSurface::~GeomSurface()
|
||||
{
|
||||
}
|
||||
GeomSurface::~GeomSurface() = default;
|
||||
|
||||
TopoDS_Shape GeomSurface::toShape() const
|
||||
{
|
||||
@@ -4392,9 +4335,7 @@ GeomBezierSurface::GeomBezierSurface(const Handle(Geom_BezierSurface)& b)
|
||||
setHandle(b);
|
||||
}
|
||||
|
||||
GeomBezierSurface::~GeomBezierSurface()
|
||||
{
|
||||
}
|
||||
GeomBezierSurface::~GeomBezierSurface() = default;
|
||||
|
||||
const Handle(Geom_Geometry)& GeomBezierSurface::handle() const
|
||||
{
|
||||
@@ -4469,9 +4410,7 @@ GeomBSplineSurface::GeomBSplineSurface(const Handle(Geom_BSplineSurface)& b)
|
||||
setHandle(b);
|
||||
}
|
||||
|
||||
GeomBSplineSurface::~GeomBSplineSurface()
|
||||
{
|
||||
}
|
||||
GeomBSplineSurface::~GeomBSplineSurface() = default;
|
||||
|
||||
void GeomBSplineSurface::setHandle(const Handle(Geom_BSplineSurface)& s)
|
||||
{
|
||||
@@ -4564,9 +4503,7 @@ GeomCylinder::GeomCylinder(const Handle(Geom_CylindricalSurface)& c)
|
||||
setHandle(c);
|
||||
}
|
||||
|
||||
GeomCylinder::~GeomCylinder()
|
||||
{
|
||||
}
|
||||
GeomCylinder::~GeomCylinder() = default;
|
||||
|
||||
void GeomCylinder::setHandle(const Handle(Geom_CylindricalSurface)& s)
|
||||
{
|
||||
@@ -4622,9 +4559,7 @@ GeomCone::GeomCone(const Handle(Geom_ConicalSurface)& c)
|
||||
setHandle(c);
|
||||
}
|
||||
|
||||
GeomCone::~GeomCone()
|
||||
{
|
||||
}
|
||||
GeomCone::~GeomCone() = default;
|
||||
|
||||
void GeomCone::setHandle(const Handle(Geom_ConicalSurface)& s)
|
||||
{
|
||||
@@ -4728,9 +4663,7 @@ GeomToroid::GeomToroid(const Handle(Geom_ToroidalSurface)& t)
|
||||
setHandle(t);
|
||||
}
|
||||
|
||||
GeomToroid::~GeomToroid()
|
||||
{
|
||||
}
|
||||
GeomToroid::~GeomToroid() = default;
|
||||
|
||||
void GeomToroid::setHandle(const Handle(Geom_ToroidalSurface)& s)
|
||||
{
|
||||
@@ -4786,9 +4719,7 @@ GeomSphere::GeomSphere(const Handle(Geom_SphericalSurface)& s)
|
||||
setHandle(s);
|
||||
}
|
||||
|
||||
GeomSphere::~GeomSphere()
|
||||
{
|
||||
}
|
||||
GeomSphere::~GeomSphere() = default;
|
||||
|
||||
void GeomSphere::setHandle(const Handle(Geom_SphericalSurface)& s)
|
||||
{
|
||||
@@ -4844,9 +4775,7 @@ GeomPlane::GeomPlane(const Handle(Geom_Plane)& p)
|
||||
setHandle(p);
|
||||
}
|
||||
|
||||
GeomPlane::~GeomPlane()
|
||||
{
|
||||
}
|
||||
GeomPlane::~GeomPlane() = default;
|
||||
|
||||
void GeomPlane::setHandle(const Handle(Geom_Plane)& s)
|
||||
{
|
||||
@@ -4891,9 +4820,7 @@ PyObject *GeomPlane::getPyObject()
|
||||
|
||||
TYPESYSTEM_SOURCE(Part::GeomOffsetSurface,Part::GeomSurface)
|
||||
|
||||
GeomOffsetSurface::GeomOffsetSurface()
|
||||
{
|
||||
}
|
||||
GeomOffsetSurface::GeomOffsetSurface() = default;
|
||||
|
||||
GeomOffsetSurface::GeomOffsetSurface(const Handle(Geom_Surface)& s, double offset)
|
||||
{
|
||||
@@ -4905,9 +4832,7 @@ GeomOffsetSurface::GeomOffsetSurface(const Handle(Geom_OffsetSurface)& s)
|
||||
setHandle(s);
|
||||
}
|
||||
|
||||
GeomOffsetSurface::~GeomOffsetSurface()
|
||||
{
|
||||
}
|
||||
GeomOffsetSurface::~GeomOffsetSurface() = default;
|
||||
|
||||
void GeomOffsetSurface::setHandle(const Handle(Geom_OffsetSurface)& s)
|
||||
{
|
||||
@@ -4951,9 +4876,7 @@ PyObject *GeomOffsetSurface::getPyObject()
|
||||
|
||||
TYPESYSTEM_SOURCE(Part::GeomPlateSurface,Part::GeomSurface)
|
||||
|
||||
GeomPlateSurface::GeomPlateSurface()
|
||||
{
|
||||
}
|
||||
GeomPlateSurface::GeomPlateSurface() = default;
|
||||
|
||||
GeomPlateSurface::GeomPlateSurface(const Handle(Geom_Surface)& s, const Plate_Plate& plate)
|
||||
{
|
||||
@@ -4971,9 +4894,7 @@ GeomPlateSurface::GeomPlateSurface(const Handle(GeomPlate_Surface)& s)
|
||||
setHandle(s);
|
||||
}
|
||||
|
||||
GeomPlateSurface::~GeomPlateSurface()
|
||||
{
|
||||
}
|
||||
GeomPlateSurface::~GeomPlateSurface() = default;
|
||||
|
||||
void GeomPlateSurface::setHandle(const Handle(GeomPlate_Surface)& s)
|
||||
{
|
||||
@@ -5017,18 +4938,14 @@ PyObject *GeomPlateSurface::getPyObject()
|
||||
|
||||
TYPESYSTEM_SOURCE(Part::GeomTrimmedSurface,Part::GeomSurface)
|
||||
|
||||
GeomTrimmedSurface::GeomTrimmedSurface()
|
||||
{
|
||||
}
|
||||
GeomTrimmedSurface::GeomTrimmedSurface() = default;
|
||||
|
||||
GeomTrimmedSurface::GeomTrimmedSurface(const Handle(Geom_RectangularTrimmedSurface)& s)
|
||||
{
|
||||
setHandle(s);
|
||||
}
|
||||
|
||||
GeomTrimmedSurface::~GeomTrimmedSurface()
|
||||
{
|
||||
}
|
||||
GeomTrimmedSurface::~GeomTrimmedSurface() = default;
|
||||
|
||||
void GeomTrimmedSurface::setHandle(const Handle(Geom_RectangularTrimmedSurface)& s)
|
||||
{
|
||||
@@ -5072,9 +4989,7 @@ PyObject *GeomTrimmedSurface::getPyObject()
|
||||
|
||||
TYPESYSTEM_SOURCE(Part::GeomSurfaceOfRevolution,Part::GeomSurface)
|
||||
|
||||
GeomSurfaceOfRevolution::GeomSurfaceOfRevolution()
|
||||
{
|
||||
}
|
||||
GeomSurfaceOfRevolution::GeomSurfaceOfRevolution() = default;
|
||||
|
||||
GeomSurfaceOfRevolution::GeomSurfaceOfRevolution(const Handle(Geom_Curve)& c, const gp_Ax1& a)
|
||||
{
|
||||
@@ -5086,9 +5001,7 @@ GeomSurfaceOfRevolution::GeomSurfaceOfRevolution(const Handle(Geom_SurfaceOfRevo
|
||||
setHandle(s);
|
||||
}
|
||||
|
||||
GeomSurfaceOfRevolution::~GeomSurfaceOfRevolution()
|
||||
{
|
||||
}
|
||||
GeomSurfaceOfRevolution::~GeomSurfaceOfRevolution() = default;
|
||||
|
||||
void GeomSurfaceOfRevolution::setHandle(const Handle(Geom_SurfaceOfRevolution)& c)
|
||||
{
|
||||
@@ -5132,9 +5045,7 @@ PyObject *GeomSurfaceOfRevolution::getPyObject()
|
||||
|
||||
TYPESYSTEM_SOURCE(Part::GeomSurfaceOfExtrusion,Part::GeomSurface)
|
||||
|
||||
GeomSurfaceOfExtrusion::GeomSurfaceOfExtrusion()
|
||||
{
|
||||
}
|
||||
GeomSurfaceOfExtrusion::GeomSurfaceOfExtrusion() = default;
|
||||
|
||||
GeomSurfaceOfExtrusion::GeomSurfaceOfExtrusion(const Handle(Geom_Curve)& c, const gp_Dir& d)
|
||||
{
|
||||
@@ -5146,9 +5057,7 @@ GeomSurfaceOfExtrusion::GeomSurfaceOfExtrusion(const Handle(Geom_SurfaceOfLinear
|
||||
setHandle(s);
|
||||
}
|
||||
|
||||
GeomSurfaceOfExtrusion::~GeomSurfaceOfExtrusion()
|
||||
{
|
||||
}
|
||||
GeomSurfaceOfExtrusion::~GeomSurfaceOfExtrusion() = default;
|
||||
|
||||
void GeomSurfaceOfExtrusion::setHandle(const Handle(Geom_SurfaceOfLinearExtrusion)& c)
|
||||
{
|
||||
|
||||
@@ -86,13 +86,9 @@ extern const char* gce_ErrorStatusText(gce_ErrorType et);
|
||||
|
||||
TYPESYSTEM_SOURCE_ABSTRACT(Part::Geometry2d, Base::Persistence)
|
||||
|
||||
Geometry2d::Geometry2d()
|
||||
{
|
||||
}
|
||||
Geometry2d::Geometry2d() = default;
|
||||
|
||||
Geometry2d::~Geometry2d()
|
||||
{
|
||||
}
|
||||
Geometry2d::~Geometry2d() = default;
|
||||
|
||||
unsigned int Geometry2d::getMemSize () const
|
||||
{
|
||||
@@ -128,9 +124,7 @@ Geom2dPoint::Geom2dPoint(const Base::Vector2d& p)
|
||||
this->myPoint = new Geom2d_CartesianPoint(p.x,p.y);
|
||||
}
|
||||
|
||||
Geom2dPoint::~Geom2dPoint()
|
||||
{
|
||||
}
|
||||
Geom2dPoint::~Geom2dPoint() = default;
|
||||
|
||||
TopoDS_Shape Geom2dPoint::toShape() const
|
||||
{
|
||||
@@ -214,13 +208,9 @@ PyObject *Geom2dPoint::getPyObject()
|
||||
|
||||
TYPESYSTEM_SOURCE_ABSTRACT(Part::Geom2dCurve, Part::Geometry2d)
|
||||
|
||||
Geom2dCurve::Geom2dCurve()
|
||||
{
|
||||
}
|
||||
Geom2dCurve::Geom2dCurve() = default;
|
||||
|
||||
Geom2dCurve::~Geom2dCurve()
|
||||
{
|
||||
}
|
||||
Geom2dCurve::~Geom2dCurve() = default;
|
||||
|
||||
TopoDS_Shape Geom2dCurve::toShape() const
|
||||
{
|
||||
@@ -347,9 +337,7 @@ Geom2dBezierCurve::Geom2dBezierCurve(const Handle(Geom2d_BezierCurve)& b)
|
||||
this->myCurve = Handle(Geom2d_BezierCurve)::DownCast(b->Copy());
|
||||
}
|
||||
|
||||
Geom2dBezierCurve::~Geom2dBezierCurve()
|
||||
{
|
||||
}
|
||||
Geom2dBezierCurve::~Geom2dBezierCurve() = default;
|
||||
|
||||
void Geom2dBezierCurve::setHandle(const Handle(Geom2d_BezierCurve)& c)
|
||||
{
|
||||
@@ -413,9 +401,7 @@ Geom2dBSplineCurve::Geom2dBSplineCurve(const Handle(Geom2d_BSplineCurve)& b)
|
||||
this->myCurve = Handle(Geom2d_BSplineCurve)::DownCast(b->Copy());
|
||||
}
|
||||
|
||||
Geom2dBSplineCurve::~Geom2dBSplineCurve()
|
||||
{
|
||||
}
|
||||
Geom2dBSplineCurve::~Geom2dBSplineCurve() = default;
|
||||
|
||||
void Geom2dBSplineCurve::setHandle(const Handle(Geom2d_BSplineCurve)& c)
|
||||
{
|
||||
@@ -595,13 +581,9 @@ PyObject *Geom2dBSplineCurve::getPyObject()
|
||||
|
||||
TYPESYSTEM_SOURCE_ABSTRACT(Part::Geom2dConic, Part::Geom2dCurve)
|
||||
|
||||
Geom2dConic::Geom2dConic()
|
||||
{
|
||||
}
|
||||
Geom2dConic::Geom2dConic() = default;
|
||||
|
||||
Geom2dConic::~Geom2dConic()
|
||||
{
|
||||
}
|
||||
Geom2dConic::~Geom2dConic() = default;
|
||||
|
||||
Base::Vector2d Geom2dConic::getLocation() const
|
||||
{
|
||||
@@ -672,13 +654,9 @@ void Geom2dConic::RestoreAxis(Base::XMLReader& reader, gp_Ax22d& axis)
|
||||
|
||||
TYPESYSTEM_SOURCE_ABSTRACT(Part::Geom2dArcOfConic, Part::Geom2dCurve)
|
||||
|
||||
Geom2dArcOfConic::Geom2dArcOfConic()
|
||||
{
|
||||
}
|
||||
Geom2dArcOfConic::Geom2dArcOfConic() = default;
|
||||
|
||||
Geom2dArcOfConic::~Geom2dArcOfConic()
|
||||
{
|
||||
}
|
||||
Geom2dArcOfConic::~Geom2dArcOfConic() = default;
|
||||
|
||||
Base::Vector2d Geom2dArcOfConic::getLocation() const
|
||||
{
|
||||
@@ -817,9 +795,7 @@ Geom2dCircle::Geom2dCircle(const Handle(Geom2d_Circle)& c)
|
||||
this->myCurve = Handle(Geom2d_Circle)::DownCast(c->Copy());
|
||||
}
|
||||
|
||||
Geom2dCircle::~Geom2dCircle()
|
||||
{
|
||||
}
|
||||
Geom2dCircle::~Geom2dCircle() = default;
|
||||
|
||||
const Handle(Geom2d_Geometry)& Geom2dCircle::handle() const
|
||||
{
|
||||
@@ -966,9 +942,7 @@ Geom2dArcOfCircle::Geom2dArcOfCircle(const Handle(Geom2d_Circle)& c)
|
||||
this->myCurve = new Geom2d_TrimmedCurve(c, c->FirstParameter(),c->LastParameter());
|
||||
}
|
||||
|
||||
Geom2dArcOfCircle::~Geom2dArcOfCircle()
|
||||
{
|
||||
}
|
||||
Geom2dArcOfCircle::~Geom2dArcOfCircle() = default;
|
||||
|
||||
void Geom2dArcOfCircle::setHandle(const Handle(Geom2d_TrimmedCurve)& c)
|
||||
{
|
||||
@@ -1089,9 +1063,7 @@ Geom2dEllipse::Geom2dEllipse(const Handle(Geom2d_Ellipse)& e)
|
||||
this->myCurve = Handle(Geom2d_Ellipse)::DownCast(e->Copy());
|
||||
}
|
||||
|
||||
Geom2dEllipse::~Geom2dEllipse()
|
||||
{
|
||||
}
|
||||
Geom2dEllipse::~Geom2dEllipse() = default;
|
||||
|
||||
const Handle(Geom2d_Geometry)& Geom2dEllipse::handle() const
|
||||
{
|
||||
@@ -1249,9 +1221,7 @@ Geom2dArcOfEllipse::Geom2dArcOfEllipse(const Handle(Geom2d_Ellipse)& e)
|
||||
this->myCurve = new Geom2d_TrimmedCurve(e, e->FirstParameter(),e->LastParameter());
|
||||
}
|
||||
|
||||
Geom2dArcOfEllipse::~Geom2dArcOfEllipse()
|
||||
{
|
||||
}
|
||||
Geom2dArcOfEllipse::~Geom2dArcOfEllipse() = default;
|
||||
|
||||
void Geom2dArcOfEllipse::setHandle(const Handle(Geom2d_TrimmedCurve)& c)
|
||||
{
|
||||
@@ -1430,9 +1400,7 @@ Geom2dHyperbola::Geom2dHyperbola(const Handle(Geom2d_Hyperbola)& h)
|
||||
this->myCurve = Handle(Geom2d_Hyperbola)::DownCast(h->Copy());
|
||||
}
|
||||
|
||||
Geom2dHyperbola::~Geom2dHyperbola()
|
||||
{
|
||||
}
|
||||
Geom2dHyperbola::~Geom2dHyperbola() = default;
|
||||
|
||||
const Handle(Geom2d_Geometry)& Geom2dHyperbola::handle() const
|
||||
{
|
||||
@@ -1550,9 +1518,7 @@ Geom2dArcOfHyperbola::Geom2dArcOfHyperbola(const Handle(Geom2d_Hyperbola)& h)
|
||||
this->myCurve = new Geom2d_TrimmedCurve(h, h->FirstParameter(),h->LastParameter());
|
||||
}
|
||||
|
||||
Geom2dArcOfHyperbola::~Geom2dArcOfHyperbola()
|
||||
{
|
||||
}
|
||||
Geom2dArcOfHyperbola::~Geom2dArcOfHyperbola() = default;
|
||||
|
||||
void Geom2dArcOfHyperbola::setHandle(const Handle(Geom2d_TrimmedCurve)& c)
|
||||
{
|
||||
@@ -1692,9 +1658,7 @@ Geom2dParabola::Geom2dParabola(const Handle(Geom2d_Parabola)& p)
|
||||
this->myCurve = Handle(Geom2d_Parabola)::DownCast(p->Copy());
|
||||
}
|
||||
|
||||
Geom2dParabola::~Geom2dParabola()
|
||||
{
|
||||
}
|
||||
Geom2dParabola::~Geom2dParabola() = default;
|
||||
|
||||
const Handle(Geom2d_Geometry)& Geom2dParabola::handle() const
|
||||
{
|
||||
@@ -1793,9 +1757,7 @@ Geom2dArcOfParabola::Geom2dArcOfParabola(const Handle(Geom2d_Parabola)& h)
|
||||
this->myCurve = new Geom2d_TrimmedCurve(h, h->FirstParameter(),h->LastParameter());
|
||||
}
|
||||
|
||||
Geom2dArcOfParabola::~Geom2dArcOfParabola()
|
||||
{
|
||||
}
|
||||
Geom2dArcOfParabola::~Geom2dArcOfParabola() = default;
|
||||
|
||||
void Geom2dArcOfParabola::setHandle(const Handle(Geom2d_TrimmedCurve)& c)
|
||||
{
|
||||
@@ -1920,9 +1882,7 @@ Geom2dLine::Geom2dLine(const Base::Vector2d& Pos, const Base::Vector2d& Dir)
|
||||
this->myCurve = new Geom2d_Line(gp_Pnt2d(Pos.x,Pos.y),gp_Dir2d(Dir.x,Dir.y));
|
||||
}
|
||||
|
||||
Geom2dLine::~Geom2dLine()
|
||||
{
|
||||
}
|
||||
Geom2dLine::~Geom2dLine() = default;
|
||||
|
||||
void Geom2dLine::setLine(const Base::Vector2d& Pos, const Base::Vector2d& Dir)
|
||||
{
|
||||
@@ -2022,9 +1982,7 @@ Geom2dLineSegment::Geom2dLineSegment()
|
||||
this->myCurve = new Geom2d_TrimmedCurve(c, 0.0,1.0);
|
||||
}
|
||||
|
||||
Geom2dLineSegment::~Geom2dLineSegment()
|
||||
{
|
||||
}
|
||||
Geom2dLineSegment::~Geom2dLineSegment() = default;
|
||||
|
||||
void Geom2dLineSegment::setHandle(const Handle(Geom2d_TrimmedCurve)& c)
|
||||
{
|
||||
@@ -2148,9 +2106,7 @@ PyObject *Geom2dLineSegment::getPyObject()
|
||||
|
||||
TYPESYSTEM_SOURCE(Part::Geom2dOffsetCurve, Part::Geom2dCurve)
|
||||
|
||||
Geom2dOffsetCurve::Geom2dOffsetCurve()
|
||||
{
|
||||
}
|
||||
Geom2dOffsetCurve::Geom2dOffsetCurve() = default;
|
||||
|
||||
Geom2dOffsetCurve::Geom2dOffsetCurve(const Handle(Geom2d_Curve)& c, double offset)
|
||||
{
|
||||
@@ -2162,9 +2118,7 @@ Geom2dOffsetCurve::Geom2dOffsetCurve(const Handle(Geom2d_OffsetCurve)& c)
|
||||
this->myCurve = Handle(Geom2d_OffsetCurve)::DownCast(c->Copy());
|
||||
}
|
||||
|
||||
Geom2dOffsetCurve::~Geom2dOffsetCurve()
|
||||
{
|
||||
}
|
||||
Geom2dOffsetCurve::~Geom2dOffsetCurve() = default;
|
||||
|
||||
Geometry2d *Geom2dOffsetCurve::clone() const
|
||||
{
|
||||
@@ -2206,18 +2160,14 @@ PyObject *Geom2dOffsetCurve::getPyObject()
|
||||
|
||||
TYPESYSTEM_SOURCE(Part::Geom2dTrimmedCurve, Part::Geom2dCurve)
|
||||
|
||||
Geom2dTrimmedCurve::Geom2dTrimmedCurve()
|
||||
{
|
||||
}
|
||||
Geom2dTrimmedCurve::Geom2dTrimmedCurve() = default;
|
||||
|
||||
Geom2dTrimmedCurve::Geom2dTrimmedCurve(const Handle(Geom2d_TrimmedCurve)& c)
|
||||
{
|
||||
this->myCurve = Handle(Geom2d_TrimmedCurve)::DownCast(c->Copy());
|
||||
}
|
||||
|
||||
Geom2dTrimmedCurve::~Geom2dTrimmedCurve()
|
||||
{
|
||||
}
|
||||
Geom2dTrimmedCurve::~Geom2dTrimmedCurve() = default;
|
||||
|
||||
void Geom2dTrimmedCurve::setHandle(const Handle(Geom2d_TrimmedCurve)& c)
|
||||
{
|
||||
|
||||
@@ -33,9 +33,7 @@ using namespace Part;
|
||||
|
||||
TYPESYSTEM_SOURCE_ABSTRACT(Part::GeometryExtension,Base::BaseClass)
|
||||
|
||||
GeometryExtension::GeometryExtension()
|
||||
{
|
||||
}
|
||||
GeometryExtension::GeometryExtension() = default;
|
||||
|
||||
PyObject* GeometryExtension::copyPyObject() const
|
||||
{
|
||||
|
||||
@@ -79,9 +79,7 @@ Feature::Feature()
|
||||
ADD_PROPERTY(Shape, (TopoDS_Shape()));
|
||||
}
|
||||
|
||||
Feature::~Feature()
|
||||
{
|
||||
}
|
||||
Feature::~Feature() = default;
|
||||
|
||||
short Feature::mustExecute() const
|
||||
{
|
||||
|
||||
@@ -42,9 +42,7 @@ FeatureReference::FeatureReference()
|
||||
ADD_PROPERTY(Reference, (nullptr));
|
||||
}
|
||||
|
||||
FeatureReference::~FeatureReference()
|
||||
{
|
||||
}
|
||||
FeatureReference::~FeatureReference() = default;
|
||||
|
||||
short FeatureReference::mustExecute() const
|
||||
{
|
||||
|
||||
@@ -75,9 +75,7 @@ Primitive::Primitive()
|
||||
touch();
|
||||
}
|
||||
|
||||
Primitive::~Primitive()
|
||||
{
|
||||
}
|
||||
Primitive::~Primitive() = default;
|
||||
|
||||
short Primitive::mustExecute() const
|
||||
{
|
||||
@@ -170,9 +168,7 @@ Vertex::Vertex()
|
||||
ADD_PROPERTY(Z,(0.0f));
|
||||
}
|
||||
|
||||
Vertex::~Vertex()
|
||||
{
|
||||
}
|
||||
Vertex::~Vertex() = default;
|
||||
|
||||
short Vertex::mustExecute() const
|
||||
{
|
||||
@@ -225,9 +221,7 @@ Line::Line()
|
||||
ADD_PROPERTY_TYPE(Z2,(1.0),"Vertex 2 - Finish",App::Prop_None,"Z value of the finish vertex");
|
||||
}
|
||||
|
||||
Line::~Line()
|
||||
{
|
||||
}
|
||||
Line::~Line() = default;
|
||||
|
||||
short Line::mustExecute() const
|
||||
{
|
||||
@@ -988,9 +982,7 @@ Ellipse::Ellipse()
|
||||
Angle2.setConstraints(&angleRange);
|
||||
}
|
||||
|
||||
Ellipse::~Ellipse()
|
||||
{
|
||||
}
|
||||
Ellipse::~Ellipse() = default;
|
||||
|
||||
short Ellipse::mustExecute() const
|
||||
{
|
||||
|
||||
@@ -46,9 +46,7 @@ PrismExtension::PrismExtension()
|
||||
initExtensionType(PrismExtension::getExtensionClassTypeId());
|
||||
}
|
||||
|
||||
PrismExtension::~PrismExtension()
|
||||
{
|
||||
}
|
||||
PrismExtension::~PrismExtension() = default;
|
||||
|
||||
short int PrismExtension::extensionMustExecute()
|
||||
{
|
||||
|
||||
@@ -47,10 +47,7 @@ TYPESYSTEM_SOURCE(Part::PropertyGeometryList, App::PropertyLists)
|
||||
// Construction/Destruction
|
||||
|
||||
|
||||
PropertyGeometryList::PropertyGeometryList()
|
||||
{
|
||||
|
||||
}
|
||||
PropertyGeometryList::PropertyGeometryList() = default;
|
||||
|
||||
PropertyGeometryList::~PropertyGeometryList()
|
||||
{
|
||||
|
||||
@@ -53,13 +53,9 @@ using namespace Part;
|
||||
|
||||
TYPESYSTEM_SOURCE(Part::PropertyPartShape , App::PropertyComplexGeoData)
|
||||
|
||||
PropertyPartShape::PropertyPartShape()
|
||||
{
|
||||
}
|
||||
PropertyPartShape::PropertyPartShape() = default;
|
||||
|
||||
PropertyPartShape::~PropertyPartShape()
|
||||
{
|
||||
}
|
||||
PropertyPartShape::~PropertyPartShape() = default;
|
||||
|
||||
void PropertyPartShape::setValue(const TopoShape& sh)
|
||||
{
|
||||
@@ -412,13 +408,9 @@ void PropertyPartShape::RestoreDocFile(Base::Reader &reader)
|
||||
|
||||
TYPESYSTEM_SOURCE(Part::PropertyShapeHistory , App::PropertyLists)
|
||||
|
||||
PropertyShapeHistory::PropertyShapeHistory()
|
||||
{
|
||||
}
|
||||
PropertyShapeHistory::PropertyShapeHistory() = default;
|
||||
|
||||
PropertyShapeHistory::~PropertyShapeHistory()
|
||||
{
|
||||
}
|
||||
PropertyShapeHistory::~PropertyShapeHistory() = default;
|
||||
|
||||
void PropertyShapeHistory::setValue(const ShapeHistory& sh)
|
||||
{
|
||||
@@ -478,13 +470,9 @@ void PropertyShapeHistory::Paste(const Property &from)
|
||||
|
||||
TYPESYSTEM_SOURCE(Part::PropertyFilletEdges , App::PropertyLists)
|
||||
|
||||
PropertyFilletEdges::PropertyFilletEdges()
|
||||
{
|
||||
}
|
||||
PropertyFilletEdges::PropertyFilletEdges() = default;
|
||||
|
||||
PropertyFilletEdges::~PropertyFilletEdges()
|
||||
{
|
||||
}
|
||||
PropertyFilletEdges::~PropertyFilletEdges() = default;
|
||||
|
||||
void PropertyFilletEdges::setValue(int id, double r1, double r2)
|
||||
{
|
||||
|
||||
@@ -47,14 +47,9 @@ TYPESYSTEM_SOURCE(Part::PropertyTopoShapeList, App::PropertyLists)
|
||||
//**************************************************************************
|
||||
// Construction/Destruction
|
||||
|
||||
PropertyTopoShapeList::PropertyTopoShapeList()
|
||||
{
|
||||
PropertyTopoShapeList::PropertyTopoShapeList() = default;
|
||||
|
||||
}
|
||||
|
||||
PropertyTopoShapeList::~PropertyTopoShapeList()
|
||||
{
|
||||
}
|
||||
PropertyTopoShapeList::~PropertyTopoShapeList() = default;
|
||||
|
||||
void PropertyTopoShapeList::setSize(int newSize)
|
||||
{
|
||||
|
||||
@@ -277,13 +277,9 @@ std::string ShapeSegment::getName() const
|
||||
|
||||
TYPESYSTEM_SOURCE(Part::TopoShape , Data::ComplexGeoData)
|
||||
|
||||
TopoShape::TopoShape()
|
||||
{
|
||||
}
|
||||
TopoShape::TopoShape() = default;
|
||||
|
||||
TopoShape::~TopoShape()
|
||||
{
|
||||
}
|
||||
TopoShape::~TopoShape() = default;
|
||||
|
||||
TopoShape::TopoShape(const TopoDS_Shape& shape)
|
||||
: _Shape(shape)
|
||||
|
||||
@@ -57,7 +57,7 @@ public:
|
||||
explicit NullShapeException(const char * sMessage);
|
||||
explicit NullShapeException(const std::string& sMessage);
|
||||
/// Destruction
|
||||
~NullShapeException() noexcept override {}
|
||||
~NullShapeException() noexcept override = default;
|
||||
};
|
||||
|
||||
/* A special sub-class to indicate boolean failures
|
||||
@@ -70,7 +70,7 @@ public:
|
||||
explicit BooleanException(const char * sMessage);
|
||||
explicit BooleanException(const std::string& sMessage);
|
||||
/// Destruction
|
||||
~BooleanException() noexcept override {}
|
||||
~BooleanException() noexcept override = default;
|
||||
};
|
||||
|
||||
class PartExport ShapeSegment : public Data::Segment
|
||||
@@ -79,7 +79,7 @@ class PartExport ShapeSegment : public Data::Segment
|
||||
|
||||
public:
|
||||
ShapeSegment(const TopoDS_Shape &ShapeIn):Shape(ShapeIn){}
|
||||
ShapeSegment(){}
|
||||
ShapeSegment() = default;
|
||||
std::string getName() const override;
|
||||
|
||||
TopoDS_Shape Shape;
|
||||
|
||||
@@ -42,9 +42,7 @@ Edgecluster::Edgecluster(const std::vector<TopoDS_Edge>& unsorted_edges)
|
||||
m_final_cluster.clear();
|
||||
}
|
||||
|
||||
Edgecluster::~Edgecluster()
|
||||
{
|
||||
}
|
||||
Edgecluster::~Edgecluster() = default;
|
||||
|
||||
tEdgeClusterVector Edgecluster::GetClusters()
|
||||
{
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace ModelRefine
|
||||
class FaceTypedBase
|
||||
{
|
||||
private:
|
||||
FaceTypedBase(){}
|
||||
FaceTypedBase() = default;
|
||||
protected:
|
||||
FaceTypedBase(const GeomAbs_SurfaceType &typeIn){surfaceType = typeIn;}
|
||||
public:
|
||||
@@ -114,7 +114,7 @@ namespace ModelRefine
|
||||
{
|
||||
using SplitMapType = std::map<GeomAbs_SurfaceType, FaceVectorType>;
|
||||
public:
|
||||
FaceTypeSplitter(){}
|
||||
FaceTypeSplitter() = default;
|
||||
void addShell(const TopoDS_Shell &shellIn);
|
||||
void registerType(const GeomAbs_SurfaceType &type);
|
||||
bool hasType(const GeomAbs_SurfaceType &type) const;
|
||||
@@ -134,7 +134,7 @@ namespace ModelRefine
|
||||
const FaceVectorType& getGroup(const std::size_t &index) const {return adjacencyArray[index];}
|
||||
|
||||
private:
|
||||
FaceAdjacencySplitter(){}
|
||||
FaceAdjacencySplitter() = default;
|
||||
void recursiveFind(const TopoDS_Face &face, FaceVectorType &outVector);
|
||||
std::vector<FaceVectorType> adjacencyArray;
|
||||
TopTools_MapOfShape processedMap;
|
||||
@@ -147,7 +147,7 @@ namespace ModelRefine
|
||||
class FaceEqualitySplitter
|
||||
{
|
||||
public:
|
||||
FaceEqualitySplitter(){}
|
||||
FaceEqualitySplitter() = default;
|
||||
void split(const FaceVectorType &faces, FaceTypedBase *object);
|
||||
std::size_t getGroupCount() const {return equalityVector.size();}
|
||||
const FaceVectorType& getGroup(const std::size_t &index) const {return equalityVector[index];}
|
||||
@@ -159,7 +159,7 @@ namespace ModelRefine
|
||||
class FaceUniter
|
||||
{
|
||||
private:
|
||||
FaceUniter(){}
|
||||
FaceUniter() = default;
|
||||
public:
|
||||
FaceUniter(const TopoDS_Shell &shellIn);
|
||||
bool process();
|
||||
|
||||
@@ -100,8 +100,6 @@ public:
|
||||
initialize("This module is the PartGui module."); // register with Python
|
||||
}
|
||||
|
||||
~Module() override {}
|
||||
|
||||
private:
|
||||
};
|
||||
|
||||
|
||||
@@ -57,9 +57,7 @@ public:
|
||||
: Gui::SelectionFilterGate()
|
||||
{
|
||||
}
|
||||
~FaceSelectionGate() override
|
||||
{
|
||||
}
|
||||
~FaceSelectionGate() override = default;
|
||||
bool allow(App::Document*, App::DocumentObject*, const char*sSubName) override
|
||||
{
|
||||
if (!sSubName || sSubName[0] == '\0')
|
||||
@@ -76,10 +74,7 @@ BoxSelection::BoxSelection()
|
||||
|
||||
}
|
||||
|
||||
BoxSelection::~BoxSelection()
|
||||
{
|
||||
|
||||
}
|
||||
BoxSelection::~BoxSelection() = default;
|
||||
|
||||
void BoxSelection::setAutoDelete(bool on)
|
||||
{
|
||||
|
||||
@@ -546,11 +546,6 @@ TaskCrossSections::TaskCrossSections(const Base::BoundBox3d& bb)
|
||||
Content.push_back(taskbox);
|
||||
}
|
||||
|
||||
TaskCrossSections::~TaskCrossSections()
|
||||
{
|
||||
// automatically deleted in the sub-class
|
||||
}
|
||||
|
||||
bool TaskCrossSections::accept()
|
||||
{
|
||||
widget->accept();
|
||||
|
||||
@@ -86,7 +86,6 @@ class TaskCrossSections : public Gui::TaskView::TaskDialog
|
||||
|
||||
public:
|
||||
explicit TaskCrossSections(const Base::BoundBox3d& bb);
|
||||
~TaskCrossSections() override;
|
||||
|
||||
public:
|
||||
bool accept() override;
|
||||
|
||||
@@ -478,11 +478,6 @@ TaskBooleanOperation::TaskBooleanOperation()
|
||||
Content.push_back(taskbox);
|
||||
}
|
||||
|
||||
TaskBooleanOperation::~TaskBooleanOperation()
|
||||
{
|
||||
// automatically deleted in the sub-class
|
||||
}
|
||||
|
||||
void TaskBooleanOperation::clicked(int id)
|
||||
{
|
||||
if (id == QDialogButtonBox::Apply) {
|
||||
|
||||
@@ -73,7 +73,6 @@ class TaskBooleanOperation : public Gui::TaskView::TaskDialog
|
||||
|
||||
public:
|
||||
TaskBooleanOperation();
|
||||
~TaskBooleanOperation() override;
|
||||
|
||||
public:
|
||||
void clicked(int) override;
|
||||
|
||||
@@ -69,10 +69,7 @@ DlgExportStep::DlgExportStep(QWidget* parent)
|
||||
/**
|
||||
* Destroys the object and frees any allocated resources
|
||||
*/
|
||||
DlgExportStep::~DlgExportStep()
|
||||
{
|
||||
// no need to delete child widgets, Qt does it all for us
|
||||
}
|
||||
DlgExportStep::~DlgExportStep() = default;
|
||||
|
||||
void DlgExportStep::saveSettings()
|
||||
{
|
||||
@@ -158,9 +155,7 @@ DlgExportHeaderStep::DlgExportHeaderStep(QWidget* parent)
|
||||
ui->lineEditAuthor->setValidator(authorValidator);
|
||||
}
|
||||
|
||||
DlgExportHeaderStep::~DlgExportHeaderStep()
|
||||
{
|
||||
}
|
||||
DlgExportHeaderStep::~DlgExportHeaderStep() = default;
|
||||
|
||||
void DlgExportHeaderStep::saveSettings()
|
||||
{
|
||||
|
||||
@@ -761,11 +761,6 @@ TaskExtrusion::TaskExtrusion()
|
||||
Content.push_back(taskbox);
|
||||
}
|
||||
|
||||
TaskExtrusion::~TaskExtrusion()
|
||||
{
|
||||
// automatically deleted in the sub-class
|
||||
}
|
||||
|
||||
bool TaskExtrusion::accept()
|
||||
{
|
||||
widget->accept();
|
||||
|
||||
@@ -106,7 +106,6 @@ class TaskExtrusion : public Gui::TaskView::TaskDialog
|
||||
|
||||
public:
|
||||
TaskExtrusion();
|
||||
~TaskExtrusion() override;
|
||||
|
||||
public:
|
||||
bool accept() override;
|
||||
|
||||
@@ -1010,9 +1010,7 @@ FilletEdgesDialog::FilletEdgesDialog(DlgFilletEdges::FilletType type, Part::Fill
|
||||
hboxLayout->addWidget(buttonBox);
|
||||
}
|
||||
|
||||
FilletEdgesDialog::~FilletEdgesDialog()
|
||||
{
|
||||
}
|
||||
FilletEdgesDialog::~FilletEdgesDialog() = default;
|
||||
|
||||
void FilletEdgesDialog::accept()
|
||||
{
|
||||
@@ -1072,9 +1070,7 @@ DlgChamferEdges::DlgChamferEdges(Part::FilletBase* chamfer, QWidget* parent, Qt:
|
||||
/*
|
||||
* Destroys the object and frees any allocated resources
|
||||
*/
|
||||
DlgChamferEdges::~DlgChamferEdges()
|
||||
{
|
||||
}
|
||||
DlgChamferEdges::~DlgChamferEdges() = default;
|
||||
|
||||
const char* DlgChamferEdges::getFilletType() const
|
||||
{
|
||||
|
||||
@@ -50,10 +50,7 @@ DlgImportStep::DlgImportStep(QWidget* parent)
|
||||
/**
|
||||
* Destroys the object and frees any allocated resources
|
||||
*/
|
||||
DlgImportStep::~DlgImportStep()
|
||||
{
|
||||
// no need to delete child widgets, Qt does it all for us
|
||||
}
|
||||
DlgImportStep::~DlgImportStep() = default;
|
||||
|
||||
void DlgImportStep::saveSettings()
|
||||
{
|
||||
|
||||
@@ -43,9 +43,6 @@ DlgPartBoxImp::DlgPartBoxImp(QWidget* parent, Qt::WindowFlags fl)
|
||||
/*
|
||||
* Destroys the object and frees any allocated resources
|
||||
*/
|
||||
DlgPartBoxImp::~DlgPartBoxImp()
|
||||
{
|
||||
// no need to delete child widgets, Qt does it all for us
|
||||
}
|
||||
DlgPartBoxImp::~DlgPartBoxImp() = default;
|
||||
|
||||
#include "moc_DlgPartBoxImp.cpp"
|
||||
|
||||
@@ -36,10 +36,7 @@ DlgPartCylinderImp::DlgPartCylinderImp(QWidget* parent, Qt::WindowFlags fl)
|
||||
/*
|
||||
* Destroys the object and frees any allocated resources
|
||||
*/
|
||||
DlgPartCylinderImp::~DlgPartCylinderImp()
|
||||
{
|
||||
// no need to delete child widgets, Qt does it all for us
|
||||
}
|
||||
DlgPartCylinderImp::~DlgPartCylinderImp() = default;
|
||||
|
||||
Ui_DlgPartCylinderPtr DlgPartCylinderImp::getUi() const
|
||||
{
|
||||
|
||||
@@ -50,10 +50,7 @@ DlgPartImportIgesImp::DlgPartImportIgesImp(QWidget* parent, Qt::WindowFlags fl)
|
||||
/*
|
||||
* Destroys the object and frees any allocated resources
|
||||
*/
|
||||
DlgPartImportIgesImp::~DlgPartImportIgesImp()
|
||||
{
|
||||
// no need to delete child widgets, Qt does it all for us
|
||||
}
|
||||
DlgPartImportIgesImp::~DlgPartImportIgesImp() = default;
|
||||
|
||||
/*
|
||||
* public slot
|
||||
|
||||
@@ -50,10 +50,7 @@ DlgPartImportStepImp::DlgPartImportStepImp( QWidget* parent, Qt::WindowFlags fl
|
||||
/*
|
||||
* Destroys the object and frees any allocated resources
|
||||
*/
|
||||
DlgPartImportStepImp::~DlgPartImportStepImp()
|
||||
{
|
||||
// no need to delete child widgets, Qt does it all for us
|
||||
}
|
||||
DlgPartImportStepImp::~DlgPartImportStepImp() = default;
|
||||
|
||||
/*
|
||||
* public slot
|
||||
|
||||
@@ -1805,9 +1805,7 @@ DlgPrimitives::DlgPrimitives(QWidget* parent, Part::Primitive* feature)
|
||||
/*
|
||||
* Destroys the object and frees any allocated resources
|
||||
*/
|
||||
DlgPrimitives::~DlgPrimitives()
|
||||
{
|
||||
}
|
||||
DlgPrimitives::~DlgPrimitives() = default;
|
||||
|
||||
void DlgPrimitives::activatePage()
|
||||
{
|
||||
@@ -2199,11 +2197,6 @@ TaskPrimitives::TaskPrimitives()
|
||||
Content.push_back(taskbox);
|
||||
}
|
||||
|
||||
TaskPrimitives::~TaskPrimitives()
|
||||
{
|
||||
// automatically deleted in the sub-class
|
||||
}
|
||||
|
||||
QDialogButtonBox::StandardButtons TaskPrimitives::getStandardButtons() const
|
||||
{
|
||||
return QDialogButtonBox::Close|
|
||||
@@ -2247,11 +2240,6 @@ TaskPrimitivesEdit::TaskPrimitivesEdit(Part::Primitive* feature)
|
||||
Content.push_back(taskbox);
|
||||
}
|
||||
|
||||
TaskPrimitivesEdit::~TaskPrimitivesEdit()
|
||||
{
|
||||
// automatically deleted in the sub-class
|
||||
}
|
||||
|
||||
QDialogButtonBox::StandardButtons TaskPrimitivesEdit::getStandardButtons() const
|
||||
{
|
||||
return QDialogButtonBox::Cancel |
|
||||
|
||||
@@ -64,9 +64,7 @@ public:
|
||||
Picker() : exitCode(-1)
|
||||
{
|
||||
}
|
||||
virtual ~Picker()
|
||||
{
|
||||
}
|
||||
virtual ~Picker() = default;
|
||||
|
||||
virtual bool pickedPoint(const SoPickedPoint * point) = 0;
|
||||
virtual QString command(App::Document*) const = 0;
|
||||
@@ -454,7 +452,6 @@ class TaskPrimitives : public Gui::TaskView::TaskDialog
|
||||
|
||||
public:
|
||||
TaskPrimitives();
|
||||
~TaskPrimitives() override;
|
||||
|
||||
public:
|
||||
bool accept() override;
|
||||
@@ -473,7 +470,6 @@ class TaskPrimitivesEdit : public Gui::TaskView::TaskDialog
|
||||
|
||||
public:
|
||||
explicit TaskPrimitivesEdit(Part::Primitive* feature);
|
||||
~TaskPrimitivesEdit() override;
|
||||
|
||||
public:
|
||||
bool accept() override;
|
||||
|
||||
@@ -70,7 +70,7 @@ public:
|
||||
{
|
||||
canSelect = false;
|
||||
}
|
||||
~EdgeSelection() override {}
|
||||
~EdgeSelection() override = default;
|
||||
|
||||
bool allow(App::Document* /*pDoc*/, App::DocumentObject* iPObj, const char* sSubName) override
|
||||
{
|
||||
@@ -104,7 +104,7 @@ public:
|
||||
{
|
||||
canSelect = false;
|
||||
}
|
||||
~FaceSelection() override {}
|
||||
~FaceSelection() override = default;
|
||||
|
||||
bool allow(App::Document* /*pDoc*/, App::DocumentObject* iPObj, const char* sSubName) override
|
||||
{
|
||||
@@ -1107,11 +1107,6 @@ TaskProjectionOnSurface::TaskProjectionOnSurface()
|
||||
Content.push_back(taskbox);
|
||||
}
|
||||
|
||||
TaskProjectionOnSurface::~TaskProjectionOnSurface()
|
||||
{
|
||||
// automatically deleted in the sub-class
|
||||
}
|
||||
|
||||
bool TaskProjectionOnSurface::accept()
|
||||
{
|
||||
widget->apply();
|
||||
|
||||
@@ -151,7 +151,6 @@ class TaskProjectionOnSurface : public Gui::TaskView::TaskDialog
|
||||
|
||||
public:
|
||||
TaskProjectionOnSurface();
|
||||
~TaskProjectionOnSurface() override;
|
||||
|
||||
public:
|
||||
bool accept() override;
|
||||
|
||||
@@ -577,11 +577,6 @@ TaskRevolution::TaskRevolution()
|
||||
Content.push_back(taskbox);
|
||||
}
|
||||
|
||||
TaskRevolution::~TaskRevolution()
|
||||
{
|
||||
// automatically deleted in the sub-class
|
||||
}
|
||||
|
||||
bool TaskRevolution::accept()
|
||||
{
|
||||
widget->accept();
|
||||
|
||||
@@ -89,7 +89,6 @@ class TaskRevolution : public Gui::TaskView::TaskDialog
|
||||
|
||||
public:
|
||||
TaskRevolution();
|
||||
~TaskRevolution() override;
|
||||
|
||||
public:
|
||||
bool accept() override;
|
||||
|
||||
@@ -56,10 +56,7 @@ DlgSettings3DViewPart::DlgSettings3DViewPart(QWidget* parent)
|
||||
/**
|
||||
* Destroys the object and frees any allocated resources
|
||||
*/
|
||||
DlgSettings3DViewPart::~DlgSettings3DViewPart()
|
||||
{
|
||||
// no need to delete child widgets, Qt does it all for us
|
||||
}
|
||||
DlgSettings3DViewPart::~DlgSettings3DViewPart() = default;
|
||||
|
||||
void DlgSettings3DViewPart::onMaxDeviationValueChanged(double v)
|
||||
{
|
||||
|
||||
@@ -52,10 +52,7 @@ DlgSettingsGeneral::DlgSettingsGeneral(QWidget* parent)
|
||||
/**
|
||||
* Destroys the object and frees any allocated resources
|
||||
*/
|
||||
DlgSettingsGeneral::~DlgSettingsGeneral()
|
||||
{
|
||||
// no need to delete child widgets, Qt does it all for us
|
||||
}
|
||||
DlgSettingsGeneral::~DlgSettingsGeneral() = default;
|
||||
|
||||
void DlgSettingsGeneral::saveSettings()
|
||||
{
|
||||
@@ -111,10 +108,7 @@ DlgImportExportIges::DlgImportExportIges(QWidget* parent)
|
||||
/**
|
||||
* Destroys the object and frees any allocated resources
|
||||
*/
|
||||
DlgImportExportIges::~DlgImportExportIges()
|
||||
{
|
||||
// no need to delete child widgets, Qt does it all for us
|
||||
}
|
||||
DlgImportExportIges::~DlgImportExportIges() = default;
|
||||
|
||||
void DlgImportExportIges::saveSettings()
|
||||
{
|
||||
@@ -191,10 +185,7 @@ DlgImportExportStep::DlgImportExportStep(QWidget* parent)
|
||||
/**
|
||||
* Destroys the object and frees any allocated resources
|
||||
*/
|
||||
DlgImportExportStep::~DlgImportExportStep()
|
||||
{
|
||||
// no need to delete child widgets, Qt does it all for us
|
||||
}
|
||||
DlgImportExportStep::~DlgImportExportStep() = default;
|
||||
|
||||
void DlgImportExportStep::saveSettings()
|
||||
{
|
||||
|
||||
@@ -40,10 +40,7 @@ DlgSettingsMeasure::DlgSettingsMeasure(QWidget* parent)
|
||||
/**
|
||||
* Destroys the object and frees any allocated resources
|
||||
*/
|
||||
DlgSettingsMeasure::~DlgSettingsMeasure()
|
||||
{
|
||||
// no need to delete child widgets, Qt does it all for us
|
||||
}
|
||||
DlgSettingsMeasure::~DlgSettingsMeasure() = default;
|
||||
|
||||
void DlgSettingsMeasure::saveSettings()
|
||||
{
|
||||
|
||||
@@ -45,10 +45,7 @@ DlgSettingsObjectColor::DlgSettingsObjectColor(QWidget* parent)
|
||||
/**
|
||||
* Destroys the object and frees any allocated resources
|
||||
*/
|
||||
DlgSettingsObjectColor::~DlgSettingsObjectColor()
|
||||
{
|
||||
// no need to delete child widgets, Qt does it all for us
|
||||
}
|
||||
DlgSettingsObjectColor::~DlgSettingsObjectColor() = default;
|
||||
|
||||
void DlgSettingsObjectColor::saveSettings()
|
||||
{
|
||||
|
||||
@@ -80,10 +80,7 @@ Mirroring::Mirroring(QWidget* parent)
|
||||
/*
|
||||
* Destroys the object and frees any allocated resources
|
||||
*/
|
||||
Mirroring::~Mirroring()
|
||||
{
|
||||
// no need to delete child widgets, Qt does it all for us
|
||||
}
|
||||
Mirroring::~Mirroring() = default;
|
||||
|
||||
void Mirroring::changeEvent(QEvent *e)
|
||||
{
|
||||
@@ -201,11 +198,6 @@ TaskMirroring::TaskMirroring()
|
||||
Content.push_back(taskbox);
|
||||
}
|
||||
|
||||
TaskMirroring::~TaskMirroring()
|
||||
{
|
||||
// automatically deleted in the sub-class
|
||||
}
|
||||
|
||||
bool TaskMirroring::accept()
|
||||
{
|
||||
return widget->accept();
|
||||
|
||||
@@ -61,7 +61,6 @@ class TaskMirroring : public Gui::TaskView::TaskDialog
|
||||
|
||||
public:
|
||||
TaskMirroring();
|
||||
~TaskMirroring() override;
|
||||
|
||||
public:
|
||||
bool accept() override;
|
||||
|
||||
@@ -40,9 +40,7 @@ using namespace PartGui;
|
||||
|
||||
PROPERTYITEM_SOURCE(PartGui::PropertyEnumAttacherItem)
|
||||
|
||||
PropertyEnumAttacherItem::PropertyEnumAttacherItem()
|
||||
{
|
||||
}
|
||||
PropertyEnumAttacherItem::PropertyEnumAttacherItem() = default;
|
||||
|
||||
QWidget* PropertyEnumAttacherItem::createEditor(QWidget* parent, const QObject* receiver, const char* method) const
|
||||
{
|
||||
|
||||
@@ -56,10 +56,7 @@ ShapeFromMesh::ShapeFromMesh(QWidget* parent, Qt::WindowFlags fl)
|
||||
ui->doubleSpinBox->setDecimals(decimals);
|
||||
}
|
||||
|
||||
ShapeFromMesh::~ShapeFromMesh()
|
||||
{
|
||||
|
||||
}
|
||||
ShapeFromMesh::~ShapeFromMesh() = default;
|
||||
|
||||
void ShapeFromMesh::perform()
|
||||
{
|
||||
|
||||
@@ -46,7 +46,7 @@ public:
|
||||
SoBrepEdgeSet();
|
||||
|
||||
protected:
|
||||
~SoBrepEdgeSet() override {}
|
||||
~SoBrepEdgeSet() override = default;
|
||||
void GLRender(SoGLRenderAction *action) override;
|
||||
void GLRenderBelowPath(SoGLRenderAction * action) override;
|
||||
void doAction(SoAction* action) override;
|
||||
|
||||
@@ -173,9 +173,7 @@ SoBrepFaceSet::SoBrepFaceSet()
|
||||
pimpl = std::make_unique<VBO>();
|
||||
}
|
||||
|
||||
SoBrepFaceSet::~SoBrepFaceSet()
|
||||
{
|
||||
}
|
||||
SoBrepFaceSet::~SoBrepFaceSet() = default;
|
||||
|
||||
void SoBrepFaceSet::doAction(SoAction* action)
|
||||
{
|
||||
|
||||
@@ -46,7 +46,7 @@ public:
|
||||
SoBrepPointSet();
|
||||
|
||||
protected:
|
||||
~SoBrepPointSet() override {}
|
||||
~SoBrepPointSet() override = default;
|
||||
void GLRender(SoGLRenderAction *action) override;
|
||||
void GLRenderBelowPath(SoGLRenderAction * action) override;
|
||||
void doAction(SoAction* action) override;
|
||||
|
||||
@@ -47,7 +47,7 @@ public:
|
||||
SoSFColor lineColor;
|
||||
|
||||
protected:
|
||||
~SoFCControlPoints() override {};
|
||||
~SoFCControlPoints() override = default;;
|
||||
void GLRender(SoGLRenderAction *action) override;
|
||||
void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er) override;
|
||||
void generatePrimitives(SoAction *action) override;
|
||||
|
||||
@@ -1064,10 +1064,7 @@ TaskDlgAttacher::TaskDlgAttacher(Gui::ViewProviderDocumentObject *ViewProvider,
|
||||
}
|
||||
}
|
||||
|
||||
TaskDlgAttacher::~TaskDlgAttacher()
|
||||
{
|
||||
|
||||
}
|
||||
TaskDlgAttacher::~TaskDlgAttacher() = default;
|
||||
|
||||
//==== calls from the TaskView ===============================================================
|
||||
|
||||
|
||||
@@ -417,10 +417,7 @@ PartGui::DimensionLinear::DimensionLinear()
|
||||
SO_NODE_ADD_FIELD(dColor, (1.0, 0.0, 0.0));//dimension color.
|
||||
}
|
||||
|
||||
PartGui::DimensionLinear::~DimensionLinear()
|
||||
{
|
||||
|
||||
}
|
||||
PartGui::DimensionLinear::~DimensionLinear() = default;
|
||||
|
||||
SbBool PartGui::DimensionLinear::affectsState() const
|
||||
{
|
||||
@@ -1179,10 +1176,7 @@ PartGui::DimensionAngular::DimensionAngular()
|
||||
0.0, 0.0, 0.0, 1.0));
|
||||
}
|
||||
|
||||
PartGui::DimensionAngular::~DimensionAngular()
|
||||
{
|
||||
|
||||
}
|
||||
PartGui::DimensionAngular::~DimensionAngular() = default;
|
||||
|
||||
SbBool PartGui::DimensionAngular::affectsState() const
|
||||
{
|
||||
|
||||
@@ -185,7 +185,7 @@ public:
|
||||
protected:
|
||||
void evaluate() override;
|
||||
private:
|
||||
~ArcEngine() override{}
|
||||
~ArcEngine() override = default;
|
||||
void defaultValues(); //some non error values if something goes wrong.
|
||||
};
|
||||
|
||||
|
||||
@@ -457,9 +457,7 @@ TaskFaceColors::TaskFaceColors(ViewProviderPartExt* vp)
|
||||
Content.push_back(taskbox);
|
||||
}
|
||||
|
||||
TaskFaceColors::~TaskFaceColors()
|
||||
{
|
||||
}
|
||||
TaskFaceColors::~TaskFaceColors() = default;
|
||||
|
||||
void TaskFaceColors::open()
|
||||
{
|
||||
|
||||
@@ -56,12 +56,8 @@ class LoftWidget::Private
|
||||
public:
|
||||
Ui_TaskLoft ui;
|
||||
std::string document;
|
||||
Private()
|
||||
{
|
||||
}
|
||||
~Private()
|
||||
{
|
||||
}
|
||||
Private() = default;
|
||||
~Private() = default;
|
||||
};
|
||||
|
||||
/* TRANSLATOR PartGui::LoftWidget */
|
||||
@@ -259,9 +255,7 @@ TaskLoft::TaskLoft()
|
||||
Content.push_back(taskbox);
|
||||
}
|
||||
|
||||
TaskLoft::~TaskLoft()
|
||||
{
|
||||
}
|
||||
TaskLoft::~TaskLoft() = default;
|
||||
|
||||
void TaskLoft::open()
|
||||
{
|
||||
|
||||
@@ -50,9 +50,7 @@ public:
|
||||
Private() : offset(nullptr)
|
||||
{
|
||||
}
|
||||
~Private()
|
||||
{
|
||||
}
|
||||
~Private() = default;
|
||||
};
|
||||
|
||||
/* TRANSLATOR PartGui::OffsetWidget */
|
||||
@@ -251,9 +249,7 @@ TaskOffset::TaskOffset(Part::Offset* offset)
|
||||
Content.push_back(taskbox);
|
||||
}
|
||||
|
||||
TaskOffset::~TaskOffset()
|
||||
{
|
||||
}
|
||||
TaskOffset::~TaskOffset() = default;
|
||||
|
||||
Part::Offset* TaskOffset::getObject() const
|
||||
{
|
||||
|
||||
@@ -98,9 +98,7 @@ public:
|
||||
Gui::Command::runCommand(Gui::Command::App, "from FreeCAD import Base");
|
||||
Gui::Command::runCommand(Gui::Command::App, "import Part");
|
||||
}
|
||||
~Private()
|
||||
{
|
||||
}
|
||||
~Private() = default;
|
||||
};
|
||||
|
||||
/* TRANSLATOR PartGui::ShapeBuilderWidget */
|
||||
@@ -608,9 +606,7 @@ TaskShapeBuilder::TaskShapeBuilder()
|
||||
Content.push_back(taskbox);
|
||||
}
|
||||
|
||||
TaskShapeBuilder::~TaskShapeBuilder()
|
||||
{
|
||||
}
|
||||
TaskShapeBuilder::~TaskShapeBuilder() = default;
|
||||
|
||||
void TaskShapeBuilder::open()
|
||||
{
|
||||
|
||||
@@ -64,12 +64,8 @@ public:
|
||||
Ui_TaskSweep ui;
|
||||
QString buttonText;
|
||||
std::string document;
|
||||
Private()
|
||||
{
|
||||
}
|
||||
~Private()
|
||||
{
|
||||
}
|
||||
Private() = default;
|
||||
~Private() = default;
|
||||
|
||||
class EdgeSelection : public Gui::SelectionFilterGate
|
||||
{
|
||||
|
||||
@@ -55,9 +55,7 @@ public:
|
||||
Private() : thickness(nullptr)
|
||||
{
|
||||
}
|
||||
~Private()
|
||||
{
|
||||
}
|
||||
~Private() = default;
|
||||
|
||||
class FaceSelection : public Gui::SelectionFilterGate
|
||||
{
|
||||
@@ -309,10 +307,6 @@ TaskThickness::TaskThickness(Part::Thickness* offset)
|
||||
Content.push_back(taskbox);
|
||||
}
|
||||
|
||||
TaskThickness::~TaskThickness()
|
||||
{
|
||||
}
|
||||
|
||||
Part::Thickness* TaskThickness::getObject() const
|
||||
{
|
||||
return widget->getObject();
|
||||
|
||||
@@ -66,7 +66,6 @@ class TaskThickness : public Gui::TaskView::TaskDialog
|
||||
|
||||
public:
|
||||
explicit TaskThickness(Part::Thickness*);
|
||||
~TaskThickness() override;
|
||||
|
||||
public:
|
||||
void open() override;
|
||||
|
||||
@@ -39,13 +39,9 @@ using namespace PartGui;
|
||||
PROPERTY_SOURCE(PartGui::ViewProviderPart, PartGui::ViewProviderPartExt)
|
||||
|
||||
|
||||
ViewProviderPart::ViewProviderPart()
|
||||
{
|
||||
}
|
||||
ViewProviderPart::ViewProviderPart() = default;
|
||||
|
||||
ViewProviderPart::~ViewProviderPart()
|
||||
{
|
||||
}
|
||||
ViewProviderPart::~ViewProviderPart() = default;
|
||||
|
||||
bool ViewProviderPart::doubleClicked()
|
||||
{
|
||||
|
||||
@@ -36,8 +36,8 @@ namespace PartGui {
|
||||
class ViewProviderShapeBuilder : public Gui::ViewProviderBuilder
|
||||
{
|
||||
public:
|
||||
ViewProviderShapeBuilder(){}
|
||||
~ViewProviderShapeBuilder() override{}
|
||||
ViewProviderShapeBuilder() = default;
|
||||
~ViewProviderShapeBuilder() override = default;
|
||||
void buildNodes(const App::Property*, std::vector<SoNode*>&) const override;
|
||||
void createShape(const App::Property*, SoSeparator*) const;
|
||||
};
|
||||
|
||||
@@ -318,13 +318,9 @@ void ViewProvider2DObjectGrid::updateGridExtent(float minx, float maxx, float mi
|
||||
|
||||
PROPERTY_SOURCE(PartGui::ViewProvider2DObject, PartGui::ViewProviderPart)
|
||||
|
||||
ViewProvider2DObject::ViewProvider2DObject()
|
||||
{
|
||||
}
|
||||
ViewProvider2DObject::ViewProvider2DObject() = default;
|
||||
|
||||
ViewProvider2DObject::~ViewProvider2DObject()
|
||||
{
|
||||
}
|
||||
ViewProvider2DObject::~ViewProvider2DObject() = default;
|
||||
|
||||
std::vector<std::string> ViewProvider2DObject::getDisplayModes() const
|
||||
{
|
||||
|
||||
@@ -39,13 +39,9 @@ using namespace PartGui;
|
||||
|
||||
PROPERTY_SOURCE(PartGui::ViewProviderBoolean,PartGui::ViewProviderPart)
|
||||
|
||||
ViewProviderBoolean::ViewProviderBoolean()
|
||||
{
|
||||
}
|
||||
ViewProviderBoolean::ViewProviderBoolean() = default;
|
||||
|
||||
ViewProviderBoolean::~ViewProviderBoolean()
|
||||
{
|
||||
}
|
||||
ViewProviderBoolean::~ViewProviderBoolean() = default;
|
||||
|
||||
std::vector<App::DocumentObject*> ViewProviderBoolean::claimChildren()const
|
||||
{
|
||||
@@ -161,13 +157,9 @@ bool ViewProviderBoolean::onDelete(const std::vector<std::string> &)
|
||||
|
||||
PROPERTY_SOURCE(PartGui::ViewProviderMultiFuse,PartGui::ViewProviderPart)
|
||||
|
||||
ViewProviderMultiFuse::ViewProviderMultiFuse()
|
||||
{
|
||||
}
|
||||
ViewProviderMultiFuse::ViewProviderMultiFuse() = default;
|
||||
|
||||
ViewProviderMultiFuse::~ViewProviderMultiFuse()
|
||||
{
|
||||
}
|
||||
ViewProviderMultiFuse::~ViewProviderMultiFuse() = default;
|
||||
|
||||
std::vector<App::DocumentObject*> ViewProviderMultiFuse::claimChildren()const
|
||||
{
|
||||
@@ -300,13 +292,9 @@ void ViewProviderMultiFuse::dropObject(App::DocumentObject* obj)
|
||||
|
||||
PROPERTY_SOURCE(PartGui::ViewProviderMultiCommon,PartGui::ViewProviderPart)
|
||||
|
||||
ViewProviderMultiCommon::ViewProviderMultiCommon()
|
||||
{
|
||||
}
|
||||
ViewProviderMultiCommon::ViewProviderMultiCommon() = default;
|
||||
|
||||
ViewProviderMultiCommon::~ViewProviderMultiCommon()
|
||||
{
|
||||
}
|
||||
ViewProviderMultiCommon::~ViewProviderMultiCommon() = default;
|
||||
|
||||
std::vector<App::DocumentObject*> ViewProviderMultiCommon::claimChildren()const
|
||||
{
|
||||
|
||||
@@ -39,10 +39,7 @@ ViewProviderBox::ViewProviderBox()
|
||||
sPixmap = "Part_Box_Parametric";
|
||||
}
|
||||
|
||||
ViewProviderBox::~ViewProviderBox()
|
||||
{
|
||||
|
||||
}
|
||||
ViewProviderBox::~ViewProviderBox() = default;
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -39,10 +39,7 @@ ViewProviderCircleParametric::ViewProviderCircleParametric()
|
||||
sPixmap = "Part_Circle_Parametric";
|
||||
}
|
||||
|
||||
ViewProviderCircleParametric::~ViewProviderCircleParametric()
|
||||
{
|
||||
|
||||
}
|
||||
ViewProviderCircleParametric::~ViewProviderCircleParametric() = default;
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -42,9 +42,7 @@ ViewProviderCompound::ViewProviderCompound()
|
||||
sPixmap = "Part_Compound.svg";
|
||||
}
|
||||
|
||||
ViewProviderCompound::~ViewProviderCompound()
|
||||
{
|
||||
}
|
||||
ViewProviderCompound::~ViewProviderCompound() = default;
|
||||
|
||||
std::vector<App::DocumentObject*> ViewProviderCompound::claimChildren() const
|
||||
{
|
||||
|
||||
@@ -39,10 +39,7 @@ ViewProviderConeParametric::ViewProviderConeParametric()
|
||||
sPixmap = "Part_Cone_Parametric";
|
||||
}
|
||||
|
||||
ViewProviderConeParametric::~ViewProviderConeParametric()
|
||||
{
|
||||
|
||||
}
|
||||
ViewProviderConeParametric::~ViewProviderConeParametric() = default;
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -72,10 +72,7 @@ ViewProviderCurveNet::ViewProviderCurveNet()
|
||||
*/
|
||||
}
|
||||
|
||||
ViewProviderCurveNet::~ViewProviderCurveNet()
|
||||
{
|
||||
|
||||
}
|
||||
ViewProviderCurveNet::~ViewProviderCurveNet() = default;
|
||||
|
||||
void ViewProviderCurveNet::attach(App::DocumentObject *pcFeat)
|
||||
{
|
||||
|
||||
@@ -39,10 +39,7 @@ ViewProviderCylinderParametric::ViewProviderCylinderParametric()
|
||||
sPixmap = "Part_Cylinder_Parametric";
|
||||
}
|
||||
|
||||
ViewProviderCylinderParametric::~ViewProviderCylinderParametric()
|
||||
{
|
||||
|
||||
}
|
||||
ViewProviderCylinderParametric::~ViewProviderCylinderParametric() = default;
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -39,10 +39,7 @@ ViewProviderEllipseParametric::ViewProviderEllipseParametric()
|
||||
sPixmap = "Part_Ellipse_Parametric";
|
||||
}
|
||||
|
||||
ViewProviderEllipseParametric::~ViewProviderEllipseParametric()
|
||||
{
|
||||
|
||||
}
|
||||
ViewProviderEllipseParametric::~ViewProviderEllipseParametric() = default;
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -36,9 +36,7 @@ ViewProviderExtrusion::ViewProviderExtrusion()
|
||||
sPixmap = "Part_Extrude.svg";
|
||||
}
|
||||
|
||||
ViewProviderExtrusion::~ViewProviderExtrusion()
|
||||
{
|
||||
}
|
||||
ViewProviderExtrusion::~ViewProviderExtrusion() = default;
|
||||
|
||||
std::vector<App::DocumentObject*> ViewProviderExtrusion::claimChildren()const
|
||||
{
|
||||
|
||||
@@ -433,8 +433,7 @@ ViewProviderGridExtension::ViewProviderGridExtension()
|
||||
|
||||
}
|
||||
|
||||
ViewProviderGridExtension::~ViewProviderGridExtension()
|
||||
{}
|
||||
ViewProviderGridExtension::~ViewProviderGridExtension() = default;
|
||||
|
||||
void ViewProviderGridExtension::setGridEnabled(bool enable)
|
||||
{
|
||||
|
||||
@@ -41,10 +41,7 @@ ViewProviderHelixParametric::ViewProviderHelixParametric()
|
||||
extension.initExtension(this);
|
||||
}
|
||||
|
||||
ViewProviderHelixParametric::~ViewProviderHelixParametric()
|
||||
{
|
||||
|
||||
}
|
||||
ViewProviderHelixParametric::~ViewProviderHelixParametric() = default;
|
||||
|
||||
std::vector<std::string> ViewProviderHelixParametric::getDisplayModes() const
|
||||
{
|
||||
@@ -72,10 +69,7 @@ ViewProviderSpiralParametric::ViewProviderSpiralParametric()
|
||||
extension.initExtension(this);
|
||||
}
|
||||
|
||||
ViewProviderSpiralParametric::~ViewProviderSpiralParametric()
|
||||
{
|
||||
|
||||
}
|
||||
ViewProviderSpiralParametric::~ViewProviderSpiralParametric() = default;
|
||||
|
||||
std::vector<std::string> ViewProviderSpiralParametric::getDisplayModes() const
|
||||
{
|
||||
|
||||
@@ -37,10 +37,7 @@ ViewProviderImport::ViewProviderImport()
|
||||
sPixmap = "Part_FeatureImport";
|
||||
}
|
||||
|
||||
ViewProviderImport::~ViewProviderImport()
|
||||
{
|
||||
|
||||
}
|
||||
ViewProviderImport::~ViewProviderImport() = default;
|
||||
|
||||
// **********************************************************************************
|
||||
|
||||
|
||||
@@ -39,10 +39,7 @@ ViewProviderLineParametric::ViewProviderLineParametric()
|
||||
sPixmap = "Part_Line_Parametric";
|
||||
}
|
||||
|
||||
ViewProviderLineParametric::~ViewProviderLineParametric()
|
||||
{
|
||||
|
||||
}
|
||||
ViewProviderLineParametric::~ViewProviderLineParametric() = default;
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -226,9 +226,7 @@ ViewProviderFillet::ViewProviderFillet()
|
||||
sPixmap = "Part_Fillet";
|
||||
}
|
||||
|
||||
ViewProviderFillet::~ViewProviderFillet()
|
||||
{
|
||||
}
|
||||
ViewProviderFillet::~ViewProviderFillet() = default;
|
||||
|
||||
void ViewProviderFillet::updateData(const App::Property* prop)
|
||||
{
|
||||
@@ -338,9 +336,7 @@ ViewProviderChamfer::ViewProviderChamfer()
|
||||
sPixmap = "Part_Chamfer";
|
||||
}
|
||||
|
||||
ViewProviderChamfer::~ViewProviderChamfer()
|
||||
{
|
||||
}
|
||||
ViewProviderChamfer::~ViewProviderChamfer() = default;
|
||||
|
||||
void ViewProviderChamfer::updateData(const App::Property* prop)
|
||||
{
|
||||
@@ -450,9 +446,7 @@ ViewProviderRevolution::ViewProviderRevolution()
|
||||
sPixmap = "Part_Revolve";
|
||||
}
|
||||
|
||||
ViewProviderRevolution::~ViewProviderRevolution()
|
||||
{
|
||||
}
|
||||
ViewProviderRevolution::~ViewProviderRevolution() = default;
|
||||
|
||||
std::vector<App::DocumentObject*> ViewProviderRevolution::claimChildren() const
|
||||
{
|
||||
@@ -481,9 +475,7 @@ ViewProviderLoft::ViewProviderLoft()
|
||||
sPixmap = "Part_Loft";
|
||||
}
|
||||
|
||||
ViewProviderLoft::~ViewProviderLoft()
|
||||
{
|
||||
}
|
||||
ViewProviderLoft::~ViewProviderLoft() = default;
|
||||
|
||||
std::vector<App::DocumentObject*> ViewProviderLoft::claimChildren() const
|
||||
{
|
||||
@@ -504,9 +496,7 @@ ViewProviderSweep::ViewProviderSweep()
|
||||
sPixmap = "Part_Sweep";
|
||||
}
|
||||
|
||||
ViewProviderSweep::~ViewProviderSweep()
|
||||
{
|
||||
}
|
||||
ViewProviderSweep::~ViewProviderSweep() = default;
|
||||
|
||||
std::vector<App::DocumentObject*> ViewProviderSweep::claimChildren() const
|
||||
{
|
||||
@@ -531,9 +521,7 @@ ViewProviderOffset::ViewProviderOffset()
|
||||
sPixmap = "Part_Offset";
|
||||
}
|
||||
|
||||
ViewProviderOffset::~ViewProviderOffset()
|
||||
{
|
||||
}
|
||||
ViewProviderOffset::~ViewProviderOffset() = default;
|
||||
|
||||
void ViewProviderOffset::setupContextMenu(QMenu* menu, QObject* receiver, const char* member)
|
||||
{
|
||||
@@ -615,9 +603,7 @@ ViewProviderThickness::ViewProviderThickness()
|
||||
sPixmap = "Part_Thickness";
|
||||
}
|
||||
|
||||
ViewProviderThickness::~ViewProviderThickness()
|
||||
{
|
||||
}
|
||||
ViewProviderThickness::~ViewProviderThickness() = default;
|
||||
|
||||
void ViewProviderThickness::setupContextMenu(QMenu* menu, QObject* receiver, const char* member)
|
||||
{
|
||||
@@ -694,9 +680,7 @@ ViewProviderRefine::ViewProviderRefine()
|
||||
sPixmap = "Part_Refine_Shape";
|
||||
}
|
||||
|
||||
ViewProviderRefine::~ViewProviderRefine()
|
||||
{
|
||||
}
|
||||
ViewProviderRefine::~ViewProviderRefine() = default;
|
||||
|
||||
// ---------------------------------------
|
||||
|
||||
@@ -708,6 +692,4 @@ ViewProviderReverse::ViewProviderReverse()
|
||||
//sPixmap = "Part_Reverse_Shape";
|
||||
}
|
||||
|
||||
ViewProviderReverse::~ViewProviderReverse()
|
||||
{
|
||||
}
|
||||
ViewProviderReverse::~ViewProviderReverse() = default;
|
||||
|
||||
@@ -40,10 +40,7 @@ ViewProviderPlaneParametric::ViewProviderPlaneParametric()
|
||||
sPixmap = "Part_Plane_Parametric";
|
||||
}
|
||||
|
||||
ViewProviderPlaneParametric::~ViewProviderPlaneParametric()
|
||||
{
|
||||
|
||||
}
|
||||
ViewProviderPlaneParametric::~ViewProviderPlaneParametric() = default;
|
||||
|
||||
std::vector<std::string> ViewProviderPlaneParametric::getDisplayModes() const
|
||||
{
|
||||
@@ -64,13 +61,9 @@ std::vector<std::string> ViewProviderPlaneParametric::getDisplayModes() const
|
||||
PROPERTY_SOURCE(PartGui::ViewProviderFace, PartGui::ViewProviderPlaneParametric)
|
||||
|
||||
|
||||
ViewProviderFace::ViewProviderFace()
|
||||
{
|
||||
}
|
||||
ViewProviderFace::ViewProviderFace() = default;
|
||||
|
||||
ViewProviderFace::~ViewProviderFace()
|
||||
{
|
||||
}
|
||||
ViewProviderFace::~ViewProviderFace() = default;
|
||||
|
||||
std::vector<App::DocumentObject*> ViewProviderFace::claimChildren() const
|
||||
{
|
||||
|
||||
@@ -39,10 +39,7 @@ ViewProviderPointParametric::ViewProviderPointParametric()
|
||||
sPixmap = "Part_Point_Parametric";
|
||||
}
|
||||
|
||||
ViewProviderPointParametric::~ViewProviderPointParametric()
|
||||
{
|
||||
|
||||
}
|
||||
ViewProviderPointParametric::~ViewProviderPointParametric() = default;
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -45,10 +45,7 @@ ViewProviderPrimitive::ViewProviderPrimitive()
|
||||
extension.setIgnoreOverlayIcon(true);
|
||||
}
|
||||
|
||||
ViewProviderPrimitive::~ViewProviderPrimitive()
|
||||
{
|
||||
|
||||
}
|
||||
ViewProviderPrimitive::~ViewProviderPrimitive() = default;
|
||||
|
||||
void ViewProviderPrimitive::setupContextMenu(QMenu* menu, QObject* receiver, const char* member)
|
||||
{
|
||||
|
||||
@@ -39,10 +39,7 @@ ViewProviderPrism::ViewProviderPrism()
|
||||
sPixmap = "Part_Prism_Parametric";
|
||||
}
|
||||
|
||||
ViewProviderPrism::~ViewProviderPrism()
|
||||
{
|
||||
|
||||
}
|
||||
ViewProviderPrism::~ViewProviderPrism() = default;
|
||||
|
||||
// **********************************************************************************
|
||||
|
||||
@@ -71,10 +68,7 @@ ViewProviderWedge::ViewProviderWedge()
|
||||
sPixmap = "Part_Wedge_Parametric";
|
||||
}
|
||||
|
||||
ViewProviderWedge::~ViewProviderWedge()
|
||||
{
|
||||
|
||||
}
|
||||
ViewProviderWedge::~ViewProviderWedge() = default;
|
||||
|
||||
// **********************************************************************************
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ using namespace PartGui;
|
||||
|
||||
PROPERTY_SOURCE(PartGui::ViewProviderCustom, PartGui::ViewProviderPart)
|
||||
|
||||
ViewProviderCustom::ViewProviderCustom()
|
||||
{
|
||||
}
|
||||
ViewProviderCustom::ViewProviderCustom() = default;
|
||||
|
||||
ViewProviderCustom::~ViewProviderCustom()
|
||||
{
|
||||
}
|
||||
ViewProviderCustom::~ViewProviderCustom() = default;
|
||||
|
||||
void ViewProviderCustom::onChanged(const App::Property* prop)
|
||||
{
|
||||
|
||||
@@ -39,11 +39,7 @@ ViewProviderRegularPolygon::ViewProviderRegularPolygon()
|
||||
sPixmap = "Part_Polygon_Parametric";
|
||||
}
|
||||
|
||||
ViewProviderRegularPolygon::~ViewProviderRegularPolygon()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
ViewProviderRegularPolygon::~ViewProviderRegularPolygon() = default;
|
||||
|
||||
|
||||
// **********************************************************************************
|
||||
|
||||
@@ -42,10 +42,7 @@ ViewProviderRuledSurface::ViewProviderRuledSurface()
|
||||
sPixmap = "Part_RuledSurface.svg";
|
||||
}
|
||||
|
||||
ViewProviderRuledSurface::~ViewProviderRuledSurface()
|
||||
{
|
||||
|
||||
}
|
||||
ViewProviderRuledSurface::~ViewProviderRuledSurface() = default;
|
||||
|
||||
std::vector<App::DocumentObject*> ViewProviderRuledSurface::claimChildren() const
|
||||
{
|
||||
|
||||
@@ -37,10 +37,7 @@ ViewProviderSphereParametric::ViewProviderSphereParametric()
|
||||
sPixmap = "Part_Sphere_Parametric";
|
||||
}
|
||||
|
||||
ViewProviderSphereParametric::~ViewProviderSphereParametric()
|
||||
{
|
||||
|
||||
}
|
||||
ViewProviderSphereParametric::~ViewProviderSphereParametric() = default;
|
||||
|
||||
std::vector<std::string> ViewProviderSphereParametric::getDisplayModes() const
|
||||
{
|
||||
@@ -64,9 +61,7 @@ ViewProviderEllipsoid::ViewProviderEllipsoid()
|
||||
sPixmap = "Part_Ellipsoid_Parametric";
|
||||
}
|
||||
|
||||
ViewProviderEllipsoid::~ViewProviderEllipsoid()
|
||||
{
|
||||
}
|
||||
ViewProviderEllipsoid::~ViewProviderEllipsoid() = default;
|
||||
|
||||
std::vector<std::string> ViewProviderEllipsoid::getDisplayModes() const
|
||||
{
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user