ZFFramework
 
Loading...
Searching...
No Matches
ZFCurve_common.h
Go to the documentation of this file.
1
5
6#ifndef _ZFI_ZFCurve_common_h_
7#define _ZFI_ZFCurve_common_h_
8
9#include "ZFBezier.h"
11
12// ============================================================
16zfclass ZFLIB_ZFAlgorithm ZFCurveEaseIn : zfextend ZFCurve {
17 ZFOBJECT_DECLARE(ZFCurveEaseIn, ZFCurve)
18
19protected:
22 return ZFBezierEaseIn().y_by_x(time);
23 }
25 virtual ZFCompareResult objectCompareImpl(ZF_IN ZFObject *anotherObj) {
26 if(this == anotherObj) {return ZFCompareEqual;}
27 zfself *another = zfcast(zfself *, anotherObj);
28 if(another == zfnull) {return ZFCompareUncomparable;}
29 return ZFCompareEqual;
30 }
32 virtual inline void objectInfoImpl(ZF_IN_OUT zfstring &ret) {
33 ret = zfself::ClassData()->className();
34 }
35};
36
39zfclass ZFLIB_ZFAlgorithm ZFCurveEaseOut : zfextend ZFCurve {
40 ZFOBJECT_DECLARE(ZFCurveEaseOut, ZFCurve)
41
42protected:
45 return ZFBezierEaseOut().y_by_x(time);
46 }
48 virtual ZFCompareResult objectCompareImpl(ZF_IN ZFObject *anotherObj) {
49 if(this == anotherObj) {return ZFCompareEqual;}
50 zfself *another = zfcast(zfself *, anotherObj);
51 if(another == zfnull) {return ZFCompareUncomparable;}
52 return ZFCompareEqual;
53 }
55 virtual inline void objectInfoImpl(ZF_IN_OUT zfstring &ret) {
56 ret = zfself::ClassData()->className();
57 }
58};
59
62zfclass ZFLIB_ZFAlgorithm ZFCurveEaseInOut : zfextend ZFCurve {
63 ZFOBJECT_DECLARE(ZFCurveEaseInOut, ZFCurve)
64
65protected:
68 return ZFBezierEaseInOut().y_by_x(time);
69 }
71 virtual ZFCompareResult objectCompareImpl(ZF_IN ZFObject *anotherObj) {
72 if(this == anotherObj) {return ZFCompareEqual;}
73 zfself *another = zfcast(zfself *, anotherObj);
74 if(another == zfnull) {return ZFCompareUncomparable;}
75 return ZFCompareEqual;
76 }
78 virtual inline void objectInfoImpl(ZF_IN_OUT zfstring &ret) {
79 ret = zfself::ClassData()->className();
80 }
81};
82
83// ============================================================
87zfclass ZFLIB_ZFAlgorithm ZFCurveBackIn : zfextend ZFCurve {
88 ZFOBJECT_DECLARE(ZFCurveBackIn, ZFCurve)
89
90protected:
93 return ZFBezierBackIn().y_by_x(time);
94 }
96 virtual ZFCompareResult objectCompareImpl(ZF_IN ZFObject *anotherObj) {
97 if(this == anotherObj) {return ZFCompareEqual;}
98 zfself *another = zfcast(zfself *, anotherObj);
99 if(another == zfnull) {return ZFCompareUncomparable;}
100 return ZFCompareEqual;
101 }
103 virtual inline void objectInfoImpl(ZF_IN_OUT zfstring &ret) {
104 ret = zfself::ClassData()->className();
105 }
106};
107
110zfclass ZFLIB_ZFAlgorithm ZFCurveBackOut : zfextend ZFCurve {
111 ZFOBJECT_DECLARE(ZFCurveBackOut, ZFCurve)
112
113protected:
116 return ZFBezierBackOut().y_by_x(time);
117 }
119 virtual ZFCompareResult objectCompareImpl(ZF_IN ZFObject *anotherObj) {
120 if(this == anotherObj) {return ZFCompareEqual;}
121 zfself *another = zfcast(zfself *, anotherObj);
122 if(another == zfnull) {return ZFCompareUncomparable;}
123 return ZFCompareEqual;
124 }
126 virtual inline void objectInfoImpl(ZF_IN_OUT zfstring &ret) {
127 ret = zfself::ClassData()->className();
128 }
129};
130
133zfclass ZFLIB_ZFAlgorithm ZFCurveBackInOut : zfextend ZFCurve {
134 ZFOBJECT_DECLARE(ZFCurveBackInOut, ZFCurve)
135
136protected:
139 return ZFBezierBackInOut().y_by_x(time);
140 }
142 virtual ZFCompareResult objectCompareImpl(ZF_IN ZFObject *anotherObj) {
143 if(this == anotherObj) {return ZFCompareEqual;}
144 zfself *another = zfcast(zfself *, anotherObj);
145 if(another == zfnull) {return ZFCompareUncomparable;}
146 return ZFCompareEqual;
147 }
149 virtual inline void objectInfoImpl(ZF_IN_OUT zfstring &ret) {
150 ret = zfself::ClassData()->className();
151 }
152};
153
154// ============================================================
155static zffloat _ZFP_ZFCurveBounceOut(ZF_IN zffloat time) {
156 if(time < 1 / 2.75) {
157 return (zffloat)(7.5625 * time * time);
158 }
159 else if(time < 2 / 2.75) {
160 time -= 1.5 / 2.75;
161 return (zffloat)(7.5625 * time * time + 0.75);
162 }
163 else if(time < 2.5 / 2.75) {
164 time -= 2.25 / 2.75;
165 return (zffloat)(7.5625 * time * time + 0.9375);
166 }
167 else {
168 time -= 2.625 / 2.75;
169 return (zffloat)(7.5625 * time * time + 0.984375);
170 }
171}
172static zffloat _ZFP_ZFCurveBounceIn(ZF_IN zffloat time) {
173 return 1 - _ZFP_ZFCurveBounceOut(1 - time);
174}
178zfclass ZFLIB_ZFAlgorithm ZFCurveBounceIn : zfextend ZFCurve {
179 ZFOBJECT_DECLARE(ZFCurveBounceIn, ZFCurve)
180
181protected:
184 return _ZFP_ZFCurveBounceIn(time);
185 }
187 virtual ZFCompareResult objectCompareImpl(ZF_IN ZFObject *anotherObj) {
188 if(this == anotherObj) {return ZFCompareEqual;}
189 zfself *another = zfcast(zfself *, anotherObj);
190 if(another == zfnull) {return ZFCompareUncomparable;}
191 return ZFCompareEqual;
192 }
194 virtual inline void objectInfoImpl(ZF_IN_OUT zfstring &ret) {
195 ret = zfself::ClassData()->className();
196 }
197};
198
201zfclass ZFLIB_ZFAlgorithm ZFCurveBounceOut : zfextend ZFCurve {
202 ZFOBJECT_DECLARE(ZFCurveBounceOut, ZFCurve)
203
204protected:
207 return _ZFP_ZFCurveBounceOut(time);
208 }
210 virtual ZFCompareResult objectCompareImpl(ZF_IN ZFObject *anotherObj) {
211 if(this == anotherObj) {return ZFCompareEqual;}
212 zfself *another = zfcast(zfself *, anotherObj);
213 if(another == zfnull) {return ZFCompareUncomparable;}
214 return ZFCompareEqual;
215 }
217 virtual inline void objectInfoImpl(ZF_IN_OUT zfstring &ret) {
218 ret = zfself::ClassData()->className();
219 }
220};
221
224zfclass ZFLIB_ZFAlgorithm ZFCurveBounceInOut : zfextend ZFCurve {
225 ZFOBJECT_DECLARE(ZFCurveBounceInOut, ZFCurve)
226
227protected:
230 if(time < 0.5f) {
231 return (zffloat)(_ZFP_ZFCurveBounceIn(time * 2) / 2);
232 }
233 else {
234 return (zffloat)(_ZFP_ZFCurveBounceOut(time * 2 - 1) / 2 + 0.5f);
235 }
236 }
238 virtual ZFCompareResult objectCompareImpl(ZF_IN ZFObject *anotherObj) {
239 if(this == anotherObj) {return ZFCompareEqual;}
240 zfself *another = zfcast(zfself *, anotherObj);
241 if(another == zfnull) {return ZFCompareUncomparable;}
242 return ZFCompareEqual;
243 }
245 virtual inline void objectInfoImpl(ZF_IN_OUT zfstring &ret) {
246 ret = zfself::ClassData()->className();
247 }
248};
249
250// ============================================================
254zfclass ZFLIB_ZFAlgorithm ZFCurveLoop : zfextend ZFCurve {
255 ZFOBJECT_DECLARE(ZFCurveLoop, ZFCurve)
256
257
259
260protected:
263 time = (time < (zffloat)0.5f ? 2 * time : 2 * (1 - time));
264 if(this->curve()) {
265 return this->curve()->progressUpdate(time);
266 }
267 else {
268 return time;
269 }
270 }
272 virtual ZFCompareResult objectCompareImpl(ZF_IN ZFObject *anotherObj) {
273 if(this == anotherObj) {return ZFCompareEqual;}
274 zfself *another = zfcast(zfself *, anotherObj);
275 if(another == zfnull) {return ZFCompareUncomparable;}
276 if(ZFObjectCompareValue(this->curve(), another->curve()) != ZFCompareEqual) {return ZFCompareUncomparable;}
277 return ZFCompareEqual;
278 }
280 virtual inline void objectInfoImpl(ZF_IN_OUT zfstring &ret) {
281 ret = zfself::ClassData()->className();
282 }
283};
284
287zfclass ZFLIB_ZFAlgorithm ZFCurveLoopLinear : zfextend ZFCurve {
288 ZFOBJECT_DECLARE(ZFCurveLoopLinear, ZFCurve)
289
290protected:
293 return (time < (zffloat)0.5f ? 2 * time : 2 * (1 - time));
294 }
296 virtual ZFCompareResult objectCompareImpl(ZF_IN ZFObject *anotherObj) {
297 if(this == anotherObj) {return ZFCompareEqual;}
298 zfself *another = zfcast(zfself *, anotherObj);
299 if(another == zfnull) {return ZFCompareUncomparable;}
300 return ZFCompareEqual;
301 }
303 virtual inline void objectInfoImpl(ZF_IN_OUT zfstring &ret) {
304 ret = zfself::ClassData()->className();
305 }
306};
307
308// ============================================================
312zfclass ZFLIB_ZFAlgorithm ZFCurveLoopEaseIn : zfextend ZFCurve {
313 ZFOBJECT_DECLARE(ZFCurveLoopEaseIn, ZFCurve)
314
315protected:
318 return ZFBezierEaseIn().y_by_x(time < (zffloat)0.5f ? 2 * time : 2 * (1 - time));
319 }
321 virtual ZFCompareResult objectCompareImpl(ZF_IN ZFObject *anotherObj) {
322 if(this == anotherObj) {return ZFCompareEqual;}
323 zfself *another = zfcast(zfself *, anotherObj);
324 if(another == zfnull) {return ZFCompareUncomparable;}
325 return ZFCompareEqual;
326 }
328 virtual inline void objectInfoImpl(ZF_IN_OUT zfstring &ret) {
329 ret = zfself::ClassData()->className();
330 }
331};
332
335zfclass ZFLIB_ZFAlgorithm ZFCurveLoopEaseOut : zfextend ZFCurve {
336 ZFOBJECT_DECLARE(ZFCurveLoopEaseOut, ZFCurve)
337
338protected:
341 return ZFBezierEaseOut().y_by_x(time < (zffloat)0.5f ? 2 * time : 2 * (1 - time));
342 }
344 virtual ZFCompareResult objectCompareImpl(ZF_IN ZFObject *anotherObj) {
345 if(this == anotherObj) {return ZFCompareEqual;}
346 zfself *another = zfcast(zfself *, anotherObj);
347 if(another == zfnull) {return ZFCompareUncomparable;}
348 return ZFCompareEqual;
349 }
351 virtual inline void objectInfoImpl(ZF_IN_OUT zfstring &ret) {
352 ret = zfself::ClassData()->className();
353 }
354};
355
358zfclass ZFLIB_ZFAlgorithm ZFCurveLoopEaseInOut : zfextend ZFCurve {
359 ZFOBJECT_DECLARE(ZFCurveLoopEaseInOut, ZFCurve)
360
361protected:
364 return ZFBezierEaseInOut().y_by_x(time < (zffloat)0.5f ? 2 * time : 2 * (1 - time));
365 }
367 virtual ZFCompareResult objectCompareImpl(ZF_IN ZFObject *anotherObj) {
368 if(this == anotherObj) {return ZFCompareEqual;}
369 zfself *another = zfcast(zfself *, anotherObj);
370 if(another == zfnull) {return ZFCompareUncomparable;}
371 return ZFCompareEqual;
372 }
374 virtual inline void objectInfoImpl(ZF_IN_OUT zfstring &ret) {
375 ret = zfself::ClassData()->className();
376 }
377};
378
379// ============================================================
383zfclass ZFLIB_ZFAlgorithm ZFCurveLoopBackIn : zfextend ZFCurve {
384 ZFOBJECT_DECLARE(ZFCurveLoopBackIn, ZFCurve)
385
386protected:
389 return ZFBezierBackIn().y_by_x(time < (zffloat)0.5f ? 2 * time : 2 * (1 - time));
390 }
392 virtual ZFCompareResult objectCompareImpl(ZF_IN ZFObject *anotherObj) {
393 if(this == anotherObj) {return ZFCompareEqual;}
394 zfself *another = zfcast(zfself *, anotherObj);
395 if(another == zfnull) {return ZFCompareUncomparable;}
396 return ZFCompareEqual;
397 }
399 virtual inline void objectInfoImpl(ZF_IN_OUT zfstring &ret) {
400 ret = zfself::ClassData()->className();
401 }
402};
403
406zfclass ZFLIB_ZFAlgorithm ZFCurveLoopBackOut : zfextend ZFCurve {
407 ZFOBJECT_DECLARE(ZFCurveLoopBackOut, ZFCurve)
408
409protected:
412 return ZFBezierBackOut().y_by_x(time < (zffloat)0.5f ? 2 * time : 2 * (1 - time));
413 }
415 virtual ZFCompareResult objectCompareImpl(ZF_IN ZFObject *anotherObj) {
416 if(this == anotherObj) {return ZFCompareEqual;}
417 zfself *another = zfcast(zfself *, anotherObj);
418 if(another == zfnull) {return ZFCompareUncomparable;}
419 return ZFCompareEqual;
420 }
422 virtual inline void objectInfoImpl(ZF_IN_OUT zfstring &ret) {
423 ret = zfself::ClassData()->className();
424 }
425};
426
429zfclass ZFLIB_ZFAlgorithm ZFCurveLoopBackInOut : zfextend ZFCurve {
430 ZFOBJECT_DECLARE(ZFCurveLoopBackInOut, ZFCurve)
431
432protected:
435 return ZFBezierBackInOut().y_by_x(time < (zffloat)0.5f ? 2 * time : 2 * (1 - time));
436 }
438 virtual ZFCompareResult objectCompareImpl(ZF_IN ZFObject *anotherObj) {
439 if(this == anotherObj) {return ZFCompareEqual;}
440 zfself *another = zfcast(zfself *, anotherObj);
441 if(another == zfnull) {return ZFCompareUncomparable;}
442 return ZFCompareEqual;
443 }
445 virtual inline void objectInfoImpl(ZF_IN_OUT zfstring &ret) {
446 ret = zfself::ClassData()->className();
447 }
448};
449
450// ============================================================
454zfclass ZFLIB_ZFAlgorithm ZFCurveLoopBounceIn : zfextend ZFCurve {
455 ZFOBJECT_DECLARE(ZFCurveLoopBounceIn, ZFCurve)
456
457protected:
460 return _ZFP_ZFCurveBounceIn(time < (zffloat)0.5f ? 2 * time : 2 * (1 - time));
461 }
463 virtual ZFCompareResult objectCompareImpl(ZF_IN ZFObject *anotherObj) {
464 if(this == anotherObj) {return ZFCompareEqual;}
465 zfself *another = zfcast(zfself *, anotherObj);
466 if(another == zfnull) {return ZFCompareUncomparable;}
467 return ZFCompareEqual;
468 }
470 virtual inline void objectInfoImpl(ZF_IN_OUT zfstring &ret) {
471 ret = zfself::ClassData()->className();
472 }
473};
474
477zfclass ZFLIB_ZFAlgorithm ZFCurveLoopBounceOut : zfextend ZFCurve {
478 ZFOBJECT_DECLARE(ZFCurveLoopBounceOut, ZFCurve)
479
480protected:
483 return _ZFP_ZFCurveBounceOut(time < (zffloat)0.5f ? 2 * time : 2 * (1 - time));
484 }
486 virtual ZFCompareResult objectCompareImpl(ZF_IN ZFObject *anotherObj) {
487 if(this == anotherObj) {return ZFCompareEqual;}
488 zfself *another = zfcast(zfself *, anotherObj);
489 if(another == zfnull) {return ZFCompareUncomparable;}
490 return ZFCompareEqual;
491 }
493 virtual inline void objectInfoImpl(ZF_IN_OUT zfstring &ret) {
494 ret = zfself::ClassData()->className();
495 }
496};
497
500zfclass ZFLIB_ZFAlgorithm ZFCurveLoopBounceInOut : zfextend ZFCurve {
501 ZFOBJECT_DECLARE(ZFCurveLoopBounceInOut, ZFCurve)
502
503protected:
506 if(time < 0.5f) {
507 time = 2 * time;
508 }
509 else {
510 time = 2 * (1 - time);
511 }
512 if(time < 0.5f) {
513 return (zffloat)(_ZFP_ZFCurveBounceIn(time * 2) / 2);
514 }
515 else {
516 return (zffloat)(_ZFP_ZFCurveBounceOut(time * 2 - 1) / 2 + 0.5f);
517 }
518 }
520 virtual ZFCompareResult objectCompareImpl(ZF_IN ZFObject *anotherObj) {
521 if(this == anotherObj) {return ZFCompareEqual;}
522 zfself *another = zfcast(zfself *, anotherObj);
523 if(another == zfnull) {return ZFCompareUncomparable;}
524 return ZFCompareEqual;
525 }
527 virtual inline void objectInfoImpl(ZF_IN_OUT zfstring &ret) {
528 ret = zfself::ClassData()->className();
529 }
530};
531
533#endif // #ifndef _ZFI_ZFCurve_common_h_
534
#define ZFLIB_ZFAlgorithm
used to export symbols
Definition ZFAlgorithmDef.h:14
ZFBezier const & ZFBezierEaseInOut(void)
ease in out curve
Definition ZFBezier.h:155
ZFBezier const & ZFBezierBackInOut(void)
back in out curve
Definition ZFBezier.h:167
ZFBezier const & ZFBezierBackOut(void)
back out curve
Definition ZFBezier.h:163
ZFBezier const & ZFBezierEaseIn(void)
ease in curve
Definition ZFBezier.h:147
ZFBezier const & ZFBezierEaseOut(void)
ease out curve
Definition ZFBezier.h:151
ZFBezier const & ZFBezierBackIn(void)
back in curve
Definition ZFBezier.h:159
#define zfextend
dummy macro shows class inherit from another
Definition ZFCoreTypeDef_ClassType.h:53
#define zfoverride
dummy macro shows that method override parent's method
Definition ZFCoreTypeDef_ClassType.h:58
#define ZF_IN
dummy macro that shows the param used as required input
Definition ZFCoreTypeDef_ClassType.h:180
#define ZF_IN_OUT
dummy macro that shows the param used as required input and output
Definition ZFCoreTypeDef_ClassType.h:196
_zft_zffloat zffloat
same as float, see zfindex
Definition ZFCoreTypeDef_CoreType.h:183
#define zfnull
same as NULL, defined for future use
Definition ZFCoreTypeDef_CoreType.h:88
ZFCompareResult
compare result of two ZFObjects
Definition ZFCoreTypeDef_OtherType.h:28
@ ZFCompareUncomparable
Definition ZFCoreTypeDef_OtherType.h:29
@ ZFCompareEqual
Definition ZFCoreTypeDef_OtherType.h:31
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
#define zfcast(T_To, obj)
safely cast ZFObject types, return null if not desired type
Definition ZFObjectCast.h:28
#define zfclass
same as class, shows that this class is a ZFObject type
Definition ZFObjectClassTypeFwd.h:38
#define ZFOBJECT_DECLARE(ChildClass, SuperClass,...)
necessary for every class inherit from ZFObject
Definition ZFObjectDeclare.h:126
ZFCompareResult ZFObjectCompareValue(ZFObject *const &e0, ZFObject *const &e1)
util method to ZFObject::objectCompareValue
Definition ZFObjectUtil.h:45
#define ZFPROPERTY_RETAIN(Type, Name,...)
declare a retain property
Definition ZFPropertyDeclare.h:104
zffloat y_by_x(zffloat x) const
solve y with given x
virtual void objectInfoImpl(zfstring &ret)
see objectInfo
Definition ZFCurve_common.h:103
ZFCurveBackIn zfself
class ref to self
Definition ZFCurve_common.h:88
virtual ZFCompareResult objectCompareImpl(ZFObject *anotherObj)
see objectCompare
Definition ZFCurve_common.h:96
static const ZFClass * ClassData(void)
get class info
Definition ZFCurve_common.h:88
virtual zffloat progressOnUpdate(zffloat time)
called by progressUpdate to update progress
Definition ZFCurve_common.h:92
static const ZFClass * ClassData(void)
get class info
Definition ZFCurve_common.h:134
virtual ZFCompareResult objectCompareImpl(ZFObject *anotherObj)
see objectCompare
Definition ZFCurve_common.h:142
virtual void objectInfoImpl(zfstring &ret)
see objectInfo
Definition ZFCurve_common.h:149
ZFCurveBackInOut zfself
class ref to self
Definition ZFCurve_common.h:134
virtual zffloat progressOnUpdate(zffloat time)
called by progressUpdate to update progress
Definition ZFCurve_common.h:138
virtual ZFCompareResult objectCompareImpl(ZFObject *anotherObj)
see objectCompare
Definition ZFCurve_common.h:119
virtual void objectInfoImpl(zfstring &ret)
see objectInfo
Definition ZFCurve_common.h:126
ZFCurveBackOut zfself
class ref to self
Definition ZFCurve_common.h:111
static const ZFClass * ClassData(void)
get class info
Definition ZFCurve_common.h:111
virtual zffloat progressOnUpdate(zffloat time)
called by progressUpdate to update progress
Definition ZFCurve_common.h:115
virtual zffloat progressOnUpdate(zffloat time)
called by progressUpdate to update progress
Definition ZFCurve_common.h:183
ZFCurveBounceIn zfself
class ref to self
Definition ZFCurve_common.h:179
virtual void objectInfoImpl(zfstring &ret)
see objectInfo
Definition ZFCurve_common.h:194
static const ZFClass * ClassData(void)
get class info
Definition ZFCurve_common.h:179
virtual ZFCompareResult objectCompareImpl(ZFObject *anotherObj)
see objectCompare
Definition ZFCurve_common.h:187
virtual void objectInfoImpl(zfstring &ret)
see objectInfo
Definition ZFCurve_common.h:245
virtual ZFCompareResult objectCompareImpl(ZFObject *anotherObj)
see objectCompare
Definition ZFCurve_common.h:238
ZFCurveBounceInOut zfself
class ref to self
Definition ZFCurve_common.h:225
static const ZFClass * ClassData(void)
get class info
Definition ZFCurve_common.h:225
virtual zffloat progressOnUpdate(zffloat time)
called by progressUpdate to update progress
Definition ZFCurve_common.h:229
virtual zffloat progressOnUpdate(zffloat time)
called by progressUpdate to update progress
Definition ZFCurve_common.h:206
ZFCurveBounceOut zfself
class ref to self
Definition ZFCurve_common.h:202
static const ZFClass * ClassData(void)
get class info
Definition ZFCurve_common.h:202
virtual void objectInfoImpl(zfstring &ret)
see objectInfo
Definition ZFCurve_common.h:217
virtual ZFCompareResult objectCompareImpl(ZFObject *anotherObj)
see objectCompare
Definition ZFCurve_common.h:210
virtual void objectInfoImpl(zfstring &ret)
see objectInfo
Definition ZFCurve_common.h:32
static const ZFClass * ClassData(void)
get class info
Definition ZFCurve_common.h:17
virtual zffloat progressOnUpdate(zffloat time)
called by progressUpdate to update progress
Definition ZFCurve_common.h:21
ZFCurveEaseIn zfself
class ref to self
Definition ZFCurve_common.h:17
virtual ZFCompareResult objectCompareImpl(ZFObject *anotherObj)
see objectCompare
Definition ZFCurve_common.h:25
static const ZFClass * ClassData(void)
get class info
Definition ZFCurve_common.h:63
virtual ZFCompareResult objectCompareImpl(ZFObject *anotherObj)
see objectCompare
Definition ZFCurve_common.h:71
virtual void objectInfoImpl(zfstring &ret)
see objectInfo
Definition ZFCurve_common.h:78
virtual zffloat progressOnUpdate(zffloat time)
called by progressUpdate to update progress
Definition ZFCurve_common.h:67
ZFCurveEaseInOut zfself
class ref to self
Definition ZFCurve_common.h:63
virtual ZFCompareResult objectCompareImpl(ZFObject *anotherObj)
see objectCompare
Definition ZFCurve_common.h:48
virtual void objectInfoImpl(zfstring &ret)
see objectInfo
Definition ZFCurve_common.h:55
static const ZFClass * ClassData(void)
get class info
Definition ZFCurve_common.h:40
ZFCurveEaseOut zfself
class ref to self
Definition ZFCurve_common.h:40
virtual zffloat progressOnUpdate(zffloat time)
called by progressUpdate to update progress
Definition ZFCurve_common.h:44
virtual zffloat progressOnUpdate(zffloat time)
called by progressUpdate to update progress
Definition ZFCurve_common.h:388
static const ZFClass * ClassData(void)
get class info
Definition ZFCurve_common.h:384
ZFCurveLoopBackIn zfself
class ref to self
Definition ZFCurve_common.h:384
virtual ZFCompareResult objectCompareImpl(ZFObject *anotherObj)
see objectCompare
Definition ZFCurve_common.h:392
virtual void objectInfoImpl(zfstring &ret)
see objectInfo
Definition ZFCurve_common.h:399
virtual ZFCompareResult objectCompareImpl(ZFObject *anotherObj)
see objectCompare
Definition ZFCurve_common.h:438
static const ZFClass * ClassData(void)
get class info
Definition ZFCurve_common.h:430
virtual zffloat progressOnUpdate(zffloat time)
called by progressUpdate to update progress
Definition ZFCurve_common.h:434
virtual void objectInfoImpl(zfstring &ret)
see objectInfo
Definition ZFCurve_common.h:445
ZFCurveLoopBackInOut zfself
class ref to self
Definition ZFCurve_common.h:430
virtual void objectInfoImpl(zfstring &ret)
see objectInfo
Definition ZFCurve_common.h:422
ZFCurveLoopBackOut zfself
class ref to self
Definition ZFCurve_common.h:407
virtual ZFCompareResult objectCompareImpl(ZFObject *anotherObj)
see objectCompare
Definition ZFCurve_common.h:415
static const ZFClass * ClassData(void)
get class info
Definition ZFCurve_common.h:407
virtual zffloat progressOnUpdate(zffloat time)
called by progressUpdate to update progress
Definition ZFCurve_common.h:411
virtual void objectInfoImpl(zfstring &ret)
see objectInfo
Definition ZFCurve_common.h:470
virtual ZFCompareResult objectCompareImpl(ZFObject *anotherObj)
see objectCompare
Definition ZFCurve_common.h:463
static const ZFClass * ClassData(void)
get class info
Definition ZFCurve_common.h:455
ZFCurveLoopBounceIn zfself
class ref to self
Definition ZFCurve_common.h:455
virtual zffloat progressOnUpdate(zffloat time)
called by progressUpdate to update progress
Definition ZFCurve_common.h:459
virtual void objectInfoImpl(zfstring &ret)
see objectInfo
Definition ZFCurve_common.h:527
virtual zffloat progressOnUpdate(zffloat time)
called by progressUpdate to update progress
Definition ZFCurve_common.h:505
ZFCurveLoopBounceInOut zfself
class ref to self
Definition ZFCurve_common.h:501
static const ZFClass * ClassData(void)
get class info
Definition ZFCurve_common.h:501
virtual ZFCompareResult objectCompareImpl(ZFObject *anotherObj)
see objectCompare
Definition ZFCurve_common.h:520
virtual ZFCompareResult objectCompareImpl(ZFObject *anotherObj)
see objectCompare
Definition ZFCurve_common.h:486
virtual void objectInfoImpl(zfstring &ret)
see objectInfo
Definition ZFCurve_common.h:493
ZFCurveLoopBounceOut zfself
class ref to self
Definition ZFCurve_common.h:478
static const ZFClass * ClassData(void)
get class info
Definition ZFCurve_common.h:478
virtual zffloat progressOnUpdate(zffloat time)
called by progressUpdate to update progress
Definition ZFCurve_common.h:482
virtual ZFCompareResult objectCompareImpl(ZFObject *anotherObj)
see objectCompare
Definition ZFCurve_common.h:321
static const ZFClass * ClassData(void)
get class info
Definition ZFCurve_common.h:313
virtual zffloat progressOnUpdate(zffloat time)
called by progressUpdate to update progress
Definition ZFCurve_common.h:317
virtual void objectInfoImpl(zfstring &ret)
see objectInfo
Definition ZFCurve_common.h:328
ZFCurveLoopEaseIn zfself
class ref to self
Definition ZFCurve_common.h:313
virtual ZFCompareResult objectCompareImpl(ZFObject *anotherObj)
see objectCompare
Definition ZFCurve_common.h:367
virtual void objectInfoImpl(zfstring &ret)
see objectInfo
Definition ZFCurve_common.h:374
ZFCurveLoopEaseInOut zfself
class ref to self
Definition ZFCurve_common.h:359
virtual zffloat progressOnUpdate(zffloat time)
called by progressUpdate to update progress
Definition ZFCurve_common.h:363
static const ZFClass * ClassData(void)
get class info
Definition ZFCurve_common.h:359
virtual ZFCompareResult objectCompareImpl(ZFObject *anotherObj)
see objectCompare
Definition ZFCurve_common.h:344
virtual zffloat progressOnUpdate(zffloat time)
called by progressUpdate to update progress
Definition ZFCurve_common.h:340
virtual void objectInfoImpl(zfstring &ret)
see objectInfo
Definition ZFCurve_common.h:351
ZFCurveLoopEaseOut zfself
class ref to self
Definition ZFCurve_common.h:336
static const ZFClass * ClassData(void)
get class info
Definition ZFCurve_common.h:336
static const ZFClass * ClassData(void)
get class info
Definition ZFCurve_common.h:255
virtual void objectInfoImpl(zfstring &ret)
see objectInfo
Definition ZFCurve_common.h:280
virtual zfanyT< ZFCurve > const & curve()
the curve to loop
Definition ZFCurve_common.h:258
ZFCurveLoop zfself
class ref to self
Definition ZFCurve_common.h:255
virtual zffloat progressOnUpdate(zffloat time)
called by progressUpdate to update progress
Definition ZFCurve_common.h:262
virtual ZFCompareResult objectCompareImpl(ZFObject *anotherObj)
see objectCompare
Definition ZFCurve_common.h:272
virtual zffloat progressOnUpdate(zffloat time)
called by progressUpdate to update progress
Definition ZFCurve_common.h:292
static const ZFClass * ClassData(void)
get class info
Definition ZFCurve_common.h:288
ZFCurveLoopLinear zfself
class ref to self
Definition ZFCurve_common.h:288
virtual ZFCompareResult objectCompareImpl(ZFObject *anotherObj)
see objectCompare
Definition ZFCurve_common.h:296
virtual void objectInfoImpl(zfstring &ret)
see objectInfo
Definition ZFCurve_common.h:303
see zfany
Definition zfany.h:106