File indexing completed on 2025-01-18 10:04:57
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _ShapeUpgrade_ConvertCurve3dToBezier_HeaderFile
0018 #define _ShapeUpgrade_ConvertCurve3dToBezier_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <TColGeom_HSequenceOfCurve.hxx>
0024 #include <ShapeUpgrade_SplitCurve3d.hxx>
0025
0026
0027 class ShapeUpgrade_ConvertCurve3dToBezier;
0028 DEFINE_STANDARD_HANDLE(ShapeUpgrade_ConvertCurve3dToBezier, ShapeUpgrade_SplitCurve3d)
0029
0030
0031 class ShapeUpgrade_ConvertCurve3dToBezier : public ShapeUpgrade_SplitCurve3d
0032 {
0033
0034 public:
0035
0036
0037 Standard_EXPORT ShapeUpgrade_ConvertCurve3dToBezier();
0038
0039
0040 void SetLineMode (const Standard_Boolean mode);
0041
0042
0043 Standard_Boolean GetLineMode() const;
0044
0045
0046 void SetCircleMode (const Standard_Boolean mode);
0047
0048
0049 Standard_Boolean GetCircleMode() const;
0050
0051
0052 void SetConicMode (const Standard_Boolean mode);
0053
0054
0055 Standard_Boolean GetConicMode() const;
0056
0057
0058
0059 Standard_EXPORT virtual void Compute() Standard_OVERRIDE;
0060
0061
0062
0063 Standard_EXPORT virtual void Build (const Standard_Boolean Segment) Standard_OVERRIDE;
0064
0065
0066 Standard_EXPORT Handle(TColStd_HSequenceOfReal) SplitParams() const;
0067
0068 DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_ConvertCurve3dToBezier,ShapeUpgrade_SplitCurve3d)
0069
0070 private:
0071
0072
0073
0074 Standard_EXPORT Handle(TColGeom_HSequenceOfCurve) Segments() const;
0075
0076 Handle(TColGeom_HSequenceOfCurve) mySegments;
0077 Handle(TColStd_HSequenceOfReal) mySplitParams;
0078 Standard_Boolean myLineMode;
0079 Standard_Boolean myCircleMode;
0080 Standard_Boolean myConicMode;
0081
0082 };
0083
0084 #include <ShapeUpgrade_ConvertCurve3dToBezier.lxx>
0085
0086 #endif