File indexing completed on 2025-01-18 10:04:58
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _ShapeUpgrade_SplitSurface_HeaderFile
0018 #define _ShapeUpgrade_SplitSurface_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <TColStd_HSequenceOfReal.hxx>
0024 #include <Standard_Integer.hxx>
0025 #include <Standard_Transient.hxx>
0026 #include <ShapeExtend_Status.hxx>
0027 class Geom_Surface;
0028 class ShapeExtend_CompositeSurface;
0029
0030
0031 #ifdef Status
0032 #undef Status
0033 #endif
0034
0035 class ShapeUpgrade_SplitSurface;
0036 DEFINE_STANDARD_HANDLE(ShapeUpgrade_SplitSurface, Standard_Transient)
0037
0038
0039 class ShapeUpgrade_SplitSurface : public Standard_Transient
0040 {
0041
0042 public:
0043
0044
0045
0046 Standard_EXPORT ShapeUpgrade_SplitSurface();
0047
0048
0049 Standard_EXPORT void Init (const Handle(Geom_Surface)& S);
0050
0051
0052 Standard_EXPORT void Init (const Handle(Geom_Surface)& S,
0053 const Standard_Real UFirst, const Standard_Real ULast,
0054 const Standard_Real VFirst, const Standard_Real VLast,
0055 const Standard_Real theArea = 0.);
0056
0057
0058 Standard_EXPORT void SetUSplitValues (const Handle(TColStd_HSequenceOfReal)& UValues);
0059
0060
0061 Standard_EXPORT void SetVSplitValues (const Handle(TColStd_HSequenceOfReal)& VValues);
0062
0063
0064
0065
0066
0067
0068
0069
0070
0071
0072
0073 Standard_EXPORT virtual void Build (const Standard_Boolean Segment);
0074
0075
0076 Standard_EXPORT virtual void Compute (const Standard_Boolean Segment = Standard_True);
0077
0078
0079
0080 Standard_EXPORT void Perform (const Standard_Boolean Segment = Standard_True);
0081
0082
0083
0084 Standard_EXPORT const Handle(TColStd_HSequenceOfReal)& USplitValues() const;
0085
0086
0087
0088 Standard_EXPORT const Handle(TColStd_HSequenceOfReal)& VSplitValues() const;
0089
0090
0091
0092
0093
0094
0095 Standard_EXPORT Standard_Boolean Status (const ShapeExtend_Status status) const;
0096
0097
0098 Standard_EXPORT const Handle(ShapeExtend_CompositeSurface)& ResSurfaces() const;
0099
0100
0101
0102
0103 DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_SplitSurface,Standard_Transient)
0104
0105 protected:
0106
0107
0108 Handle(TColStd_HSequenceOfReal) myUSplitValues;
0109 Handle(TColStd_HSequenceOfReal) myVSplitValues;
0110 Standard_Integer myNbResultingRow;
0111 Standard_Integer myNbResultingCol;
0112 Handle(Geom_Surface) mySurface;
0113 Standard_Integer myStatus;
0114 Handle(ShapeExtend_CompositeSurface) myResSurfaces;
0115 Standard_Real myArea;
0116 Standard_Real myUsize;
0117 Standard_Real myVsize;
0118
0119
0120 private:
0121
0122
0123
0124
0125 };
0126
0127
0128
0129
0130
0131
0132
0133 #endif