0024166: Unable to create file with "Save" menu of voxeldemo Qt sample
[occt.git] / src / AppParCurves / AppParCurves_SmoothCriterion.cdl
CommitLineData
b311480e 1-- Created on: 1997-09-11
2-- Created by: Philippe MANGIN
3-- Copyright (c) 1997-1999 Matra Datavision
4-- Copyright (c) 1999-2012 OPEN CASCADE SAS
5--
6-- The content of this file is subject to the Open CASCADE Technology Public
7-- License Version 6.5 (the "License"). You may not use the content of this file
8-- except in compliance with the License. Please obtain a copy of the License
9-- at http://www.opencascade.org and read it completely before using this file.
10--
11-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13--
14-- The Original Code and all software distributed under the License is
15-- distributed on an "AS IS" basis, without warranty of any kind, and the
16-- Initial Developer hereby disclaims all such warranties, including without
17-- limitation, any warranties of merchantability, fitness for a particular
18-- purpose or non-infringement. Please see the License for the specific terms
19-- and conditions governing the rights and limitations under the License.
20
7fd59977 21
22
23deferred class SmoothCriterion from AppParCurves
24inherits TShared from MMgt
25
26 ---Purpose: defined criterion to smooth points in curve
27
28
29uses
30 Vector from math,
31 Matrix from math,
32 Curve from FEmTool,
33 HAssemblyTable from FEmTool,
34 HArray2OfInteger from TColStd,
35 HArray1OfReal from TColStd,
36 Array1OfReal from TColStd
37
38raises
39 NotImplemented,
40 DomainError
41
42
43
44is
45 SetParameters(me : mutable; Parameters : HArray1OfReal)
46 is deferred;
47
48 SetCurve(me : mutable; C :Curve from FEmTool)
49 is deferred;
50
51 GetCurve(me; C : out Curve from FEmTool)
52 is deferred;
53
54 SetEstimation(me : mutable; E1, E2, E3 : Real)
55 is deferred;
56
57 EstLength(me : mutable)
58 ---C++: return &
59 returns Real is deferred;
60
61 GetEstimation(me; E1, E2, E3 : out Real)
62 is deferred;
63
64 AssemblyTable(me)
65 returns HAssemblyTable from FEmTool
66 is deferred;
67
68 DependenceTable(me)
69 returns HArray2OfInteger from TColStd
70 is deferred;
71
72 QualityValues (me : mutable; J1min, J2min, J3min : Real;
73 J1, J2, J3 : out Real)
74 returns Integer is deferred;
75
76 ErrorValues(me : mutable;
77 MaxError, QuadraticError, AverageError : out Real)
78 is deferred;
79
80 Hessian(me : mutable ;
81 Element : Integer;
82 Dimension1 : Integer;
83 Dimension2 : Integer;
84 H : out Matrix from math)
85 raises DomainError -- If DependenceTable(Dimension1,Dimension2) is False
86 is deferred;
87
88
89 Gradient(me : mutable;
90 Element : Integer;
91 Dimension : Integer;
92 G : out Vector from math)
93 is deferred;
94
95 InputVector(me : mutable; X : Vector from math;
96 AssTable : HAssemblyTable from FEmTool)
97 ---Purpose: Convert the assembly Vector in an Curve;
98 --
99 raises DomainError is deferred;
100
101 SetWeight(me: mutable;
102 QuadraticWeight, QualityWeight : Real;
103 percentJ1, percentJ2, percentJ3 : Real)
104 is deferred;
105
106 GetWeight(me; QuadraticWeight, QualityWeight : out Real)
107 is deferred;
108
109 SetWeight(me: mutable;
110 Weight : Array1OfReal)
111 is deferred;
112
113end SmoothCriterion;
114
115
116
117
118
119
120
121
122
123
124
125