27 #include "transformation-matrix.hh"
28 #include "geometry.hh"
30 using namespace GMap3d;
32 CParameterObjectPonderation::CParameterObjectPonderation(
int ANbRef) :
35 FPonderationCenter (ORIGIN),
36 FPonderationVector (OZ),
37 FPonderationStretchIn (false),
38 FPonderationStretchInMin (0.0),
39 FPonderationStretchInMax (1.0),
40 FPonderationFunctionType (FUNCTION_LIN),
41 FPonderationStretchOut (false),
42 FPonderationStretchOutMin(0.75),
43 FPonderationStretchOutMax(1.50)
49 FPonderationType (AParam.FPonderationType),
50 FPonderationCenter (AParam.FPonderationCenter),
51 FPonderationVector (AParam.FPonderationVector),
52 FPonderationStretchIn (AParam.FPonderationStretchIn),
53 FPonderationStretchInMin (AParam.FPonderationStretchInMin),
54 FPonderationStretchInMax (AParam.FPonderationStretchInMax),
55 FPonderationFunctionType (AParam.FPonderationFunctionType),
56 FPonderationStretchOut (AParam.FPonderationStretchOut),
57 FPonderationStretchOutMin(AParam.FPonderationStretchOutMin),
58 FPonderationStretchOutMax(AParam.FPonderationStretchOutMax)
84 if (FPonderationType != APonderationType)
87 FPonderationType = APonderationType;
93 return FPonderationType;
99 if (FPonderationCenter != APonderationCenter)
102 FPonderationCenter = APonderationCenter;
108 return FPonderationCenter;
114 if (FPonderationVector != APonderationVector)
117 FPonderationVector = APonderationVector;
123 return FPonderationVector;
128 FPonderationStretchIn = AActive;
133 return FPonderationStretchIn;
138 FPonderationStretchInMin = AMin;
143 return FPonderationStretchInMin;
148 FPonderationStretchInMax = AMax;
153 return FPonderationStretchInMax;
159 FPonderationFunctionType = AFunctionType;
165 return FPonderationFunctionType;
170 FPonderationStretchOut = AActive;
175 return FPonderationStretchOut;
180 FPonderationStretchOutMin = AMin;
185 return FPonderationStretchOutMin;
190 FPonderationStretchOutMax = AMax;
195 return FPonderationStretchOutMax;