Salome HOME
Fix for Bug IPAL9053( 3.0.0: "Check Geometry" and "Load script" functionalities from...
[modules/geom.git] / src / ShHealOper / ShHealOper_SplitCurve3d.hxx
1 // File:      ShHealOper_SplitCurve3d.hxx
2 // Created:   05.05.04 12:28:13
3 // Author:    Galina KULIKOVA
4 //  < MODULE = KERNEL> <PACKAGE = ShHealOper> : <Shape Healing Operations>
5 //  Copyright (C) 2003  CEA
6 //
7 //  This library is free software; you can redistribute it and/or
8 //  modify it under the terms of the GNU Lesser General Public
9 //  License as published by the Free Software Foundation; either
10 //  version 2.1 of the License.
11 //
12
13 //  This library is distributed in the hope that it will be useful,
14 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
15 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 //  Lesser General Public License for more details.
17 //
18 //  You should have received a copy of the GNU Lesser General Public
19 //  License along with this library; if not, write to the Free Software
20 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21 //
22
23
24 #ifndef ShHealOper_SplitCurve3d_HeaderFile
25 #define ShHealOper_SplitCurve3d_HeaderFile
26
27 #include <ShapeUpgrade_SplitCurve3d.hxx>
28 #include <TColStd_HSequenceOfReal.hxx>
29 #include <Standard_DefineHandle.hxx>
30
31 ///  Class ShHealOper_SplitCurve3d
32 //Auxiliary class for class ShHealOper_EdgeDivide
33
34 class ShHealOper_SplitCurve3d : public ShapeUpgrade_SplitCurve3d
35 {
36  public:
37   // ---------- PUBLIC METHODS ----------
38
39   
40   Standard_EXPORT ShHealOper_SplitCurve3d () : ShapeUpgrade_SplitCurve3d() {}
41   // Empty constructor
42
43   Standard_EXPORT virtual void Compute();
44   
45   inline void SetValues(const Handle(TColStd_HSequenceOfReal)& theValues)
46   {
47     myValues = theValues;
48   } 
49
50
51  private:
52   // ---------- PRIVATE FIELDS ----------
53   Handle(TColStd_HSequenceOfReal) myValues;
54
55
56
57  public:
58 // Declaration of CASCADE RTTI
59 DEFINE_STANDARD_RTTI (ShHealOper_SplitCurve3d)
60 };
61
62 // Definition of HANDLE object using Standard_DefineHandle.hxx
63 DEFINE_STANDARD_HANDLE (ShHealOper_SplitCurve3d,ShapeUpgrade_SplitCurve3d)
64
65
66 #endif