aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a03583.html
blob: 69cefa86c9ed0b7e863792eb076a00275e4a8786 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>NeL: CTrackKeyFramerTCB&lt; CKeyTCBQuat, NLMISC::CAngleAxis &gt; class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.6 -->
<div class="qindex">  <form class="search" action="search.php" method="get">
<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a>  | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
<h1>CTrackKeyFramerTCB&lt; CKeyTCBQuat, NLMISC::CAngleAxis &gt; Class Reference</h1><code>#include &lt;<a class="el" href="a06566.html">track_tcb.h</a>&gt;</code>
<p>
<p>Inheritance diagram for CTrackKeyFramerTCB&lt; CKeyTCBQuat, NLMISC::CAngleAxis &gt;:
<p><center><img src="a03583.png" usemap="#CTrackKeyFramerTCB< CKeyTCBQuat, NLMISC::CAngleAxis >_map" border="0" alt=""></center>
<map name="CTrackKeyFramerTCB< CKeyTCBQuat, NLMISC::CAngleAxis >_map">
<area href="a03471.html" alt="CTCBTools< CKeyT, T, TMapTimeCKey >" shape="rect" coords="0,0,374,24">
</map>
<hr><a name="_details"></a><h2>Detailed Description</h2>
ITrack implementation for CQuat TCB keyframer.<p>
<dl compact><dt><b>Author:</b></dt><dd>Lionel Berenguier <p>
Nevrax France </dd></dl>
<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl>

<p>

<p>
Definition at line <a class="el" href="a06566.html#l00386">386</a> of file <a class="el" href="a06566.html">track_tcb.h</a>.<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const IAnimatedValue &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03583.html#CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4a0">getValue</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">From ITrack.  <a href="#CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4a0"></a><br><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">From ITrackKeyFramer</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03583.html#CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4z1015_0">compile</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">compile (precalc).  <a href="#CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4z1015_0"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03583.html#CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4z1015_1">evalKey</a> (const CKeyTCBQuat *previous, const CKeyTCBQuat *next, TAnimationTime datePrevious, TAnimationTime dateNext, TAnimationTime date)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">evalKey (runtime).  <a href="#CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4z1015_1"></a><br><br></td></tr>
<tr><td colspan=2><br><h2>Private Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef TMapTimeCKey::iterator&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03471.html#CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4y0">TMapTimeCKeyIterator</a></td></tr>

<tr><td colspan=2><br><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03471.html#CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4d0">compileTCBEase</a> (TMapTimeCKey &amp;mapKey, bool loopMode)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">compute TCB ease information.  <a href="#CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4d0"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03471.html#CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4d1">computeHermiteBasis</a> (float d, float hb[4])</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03471.html#CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4d2">computeTCBFactors</a> (const CKeyT &amp;key, float timeBefore, float time, float timeAfter, float rangeDelta, bool firstKey, bool endKey, bool isLoop, float &amp;ksm, float &amp;ksp, float &amp;kdm, float &amp;kdp)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03583.html#CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4d3">computeTCBKey</a> (CKeyTCBQuat &amp;keyBefore, CKeyTCBQuat &amp;key, CKeyTCBQuat &amp;keyAfter, float timeBefore, float time, float timeAfter, float rangeDelta, bool firstKey, bool endKey, bool isLoop)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03471.html#CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4d4">ease</a> (const CKeyT *key, float d)</td></tr>

<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>CAnimatedValueBlendable&lt; CQuat &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03583.html#CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4r0">_Value</a></td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4y0" doxytag="CTrackKeyFramerTCB< CKeyTCBQuat, NLMISC::CAngleAxis >::TMapTimeCKeyIterator" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" colspan="4">
template&lt;class CKeyT, class T, class TMapTimeCKey&gt; </td>
        </tr>
        <tr>
          <td class="md" nowrap valign="top"> typedef TMapTimeCKey::iterator <a class="el" href="a03471.html">CTCBTools</a>&lt; CKeyT, T, TMapTimeCKey &gt;::TMapTimeCKeyIterator<code> [protected, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06566.html#l00051">51</a> of file <a class="el" href="a06566.html">track_tcb.h</a>.    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4z1015_0" doxytag="CTrackKeyFramerTCB< CKeyTCBQuat, NLMISC::CAngleAxis >::compile" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void <a class="el" href="a03581.html">CTrackKeyFramerTCB</a>&lt; CKeyTCBQuat, <a class="el" href="a02195.html">NLMISC::CAngleAxis</a> &gt;::compile </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline, virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
compile (precalc). 
<p>

<p>
Definition at line <a class="el" href="a06566.html#l00430">430</a> of file <a class="el" href="a06566.html">track_tcb.h</a>.
<p>
References <a class="el" href="a06566.html#l00056">CTCBTools&lt; CKeyT, T, TMapTimeCKey &gt;::compileTCBEase()</a>, <a class="el" href="a06566.html#l00326">CTrackKeyFramerTCB&lt; CKeyT, T &gt;::computeTCBKey()</a>, <a class="el" href="a05972.html#l00914">NLMISC::CMatrix::invert()</a>, <a class="el" href="a05972.html#l01170">NLMISC::CMatrix::normalize()</a>, <a class="el" href="a05972.html#l00209">NLMISC::CMatrix::setRot()</a>, and <a class="el" href="a05981.html#l00104">sint</a>.
<p>
<div class="fragment"><pre>00431         {
00432                 ITrackKeyFramer&lt;CKeyTCBQuat&gt;::compile();
00433 
00434                 <span class="comment">// Ease Precompute.</span>
00435                 <a class="code" href="a03471.html#CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4d0">compileTCBEase</a>(_MapKey, getLoopMode());
00436 
00437                 TMapTimeCKey::iterator  it;
00438                 TMapTimeCKey::iterator  itNext;
00439                 TMapTimeCKey::iterator  itPrev;
00440 
00441                 <span class="comment">// Compute absolute quaternions.</span>
00442                 <span class="keywordflow">for</span> (it= _MapKey.begin();it!=_MapKey.end();)
00443                 {
00444                         <a class="code" href="a05363.html#a48">CKeyTCBQuat</a>             &amp;key= it-&gt;second;
00445 
00446                         <span class="comment">// Compute Local AngleAxis.</span>
00447                         <span class="keywordflow">if</span>(it!= _MapKey.begin())
00448                         {
00449                                 <a class="code" href="a02851.html">NLMISC::CMatrix</a>         mat;
00450                                 mat.<a class="code" href="a02851.html#NLMISC_1_1CMatrixz1961_10">setRot</a>(itPrev-&gt;second.Quat);
00451                                 mat.<a class="code" href="a02851.html#NLMISC_1_1CMatrixz1967_0">invert</a>();
00452                                 key.LocalAngleAxis.Axis= mat*key.Value.Axis;
00453                                 key.LocalAngleAxis.Angle= key.Value.Angle;
00454                         }
00455                         <span class="keywordflow">else</span>
00456                                 key.LocalAngleAxis= key.Value;
00457 
00458 
00459                         key.LocalAngleAxis.Axis.<a class="code" href="a02851.html#NLMISC_1_1CMatrixz1967_2">normalize</a>();
00460                         <span class="comment">// make angle positive.</span>
00461                         <span class="keywordflow">if</span>(key.LocalAngleAxis.Angle&lt;0.f)
00462                         {
00463                                 key.LocalAngleAxis.Axis= -key.LocalAngleAxis.Axis;
00464                                 key.LocalAngleAxis.Angle= -key.LocalAngleAxis.Angle;
00465                         }
00466 
00467                         <span class="comment">// relative quat</span>
00468                         key.Quat.setAngleAxis(key.LocalAngleAxis);
00469 
00470                         <span class="comment">// absolute quat</span>
00471                         <span class="keywordflow">if</span> (it!= _MapKey.begin())
00472                                 key.Quat = itPrev-&gt;second.Quat * key.Quat;
00473 
00474                         <span class="comment">// next key.</span>
00475                         itPrev= it;
00476                         it++;
00477                 }
00478 
00479                 <span class="comment">// Tangents Precompute.</span>
00480                 <a class="code" href="a04558.html#a14">sint</a>    nKeys= _MapKey.size();
00481                 <span class="keywordflow">if</span>(nKeys&lt;=1)
00482                         <span class="keywordflow">return</span>;
00483 
00484                 <span class="comment">// rangeDelta is the length of effective Range - length of LastKey-FirstKey.</span>
00485                 <span class="comment">// NB: if RangeLock, rangeDelta==0.</span>
00486                 <span class="keywordtype">float</span>   rangeDelta;
00487                 <span class="comment">// NB: _RangeDelta has just been compiled in ITrackKeyFramer&lt;CKeyTCBQuat&gt;::compile().</span>
00488                 rangeDelta= getCompiledRangeDelta();
00489 
00490                 it= _MapKey.begin();                            <span class="comment">// first key.</span>
00491                 itNext= it; itNext++;                           <span class="comment">// second key.</span>
00492                 itPrev= _MapKey.end(); itPrev--;        <span class="comment">// last key.</span>
00493 
00494                 <span class="comment">// Compute all keys.</span>
00495                 <span class="keywordflow">for</span>(;it!=_MapKey.end();)
00496                 {
00497                         <span class="comment">// NB: we are the last key if itNext==_MapKey.begin().</span>
00498                         <a class="code" href="a03583.html#CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4d3">computeTCBKey</a>(itPrev-&gt;second, it-&gt;second, itNext-&gt;second, 
00499                                 itPrev-&gt;first, it-&gt;first, itNext-&gt;first, rangeDelta, it==_MapKey.begin(), itNext==_MapKey.begin(), getLoopMode());
00500 
00501                         <span class="comment">// Next key!!</span>
00502                         itPrev= it;
00503                         it++;
00504                         itNext++;
00505                         <span class="comment">// loop.</span>
00506                         <span class="keywordflow">if</span>(itNext==_MapKey.end())
00507                                 itNext= _MapKey.begin();
00508                 }
00509 
00510         }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4d0" doxytag="CTrackKeyFramerTCB< CKeyTCBQuat, NLMISC::CAngleAxis >::compileTCBEase" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" colspan="4">
template&lt;class CKeyT, class T, class TMapTimeCKey&gt; </td>
        </tr>
        <tr>
          <td class="md" nowrap valign="top"> void <a class="el" href="a03471.html">CTCBTools</a>&lt; CKeyT, T, TMapTimeCKey &gt;::compileTCBEase </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">TMapTimeCKey &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>mapKey</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap> <em>loopMode</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [inline, protected, inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
compute TCB ease information. 
<p>

<p>
Definition at line <a class="el" href="a06566.html#l00056">56</a> of file <a class="el" href="a06566.html">track_tcb.h</a>.
<p>
Referenced by <a class="el" href="a06566.html#l00430">compile()</a>, and <a class="el" href="a06566.html#l00253">CTrackKeyFramerTCB&lt; CKeyT, T &gt;::compile()</a>.
<p>
<div class="fragment"><pre>00057         {
00058                 <a class="code" href="a03471.html#CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4y0">TMapTimeCKeyIterator</a>    it= mapKey.begin();
00059                 <span class="keywordflow">for</span>(;it!=mapKey.end();it++)
00060                 {
00061                         <a class="code" href="a03471.html#CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4y0">TMapTimeCKeyIterator</a>    next= it;
00062                         next++;
00063 
00064                         <span class="comment">// loop mgt. must compute ease from last to first (usefull if _RangeLock is false).</span>
00065                         <span class="keywordflow">if</span>(next==mapKey.end() &amp;&amp; loopMode &amp;&amp; mapKey.size()&gt;1)
00066                                 next= mapKey.begin();
00067 
00068                         <span class="comment">// Ease Precompute.</span>
00069                         <span class="comment">//=================</span>
00070                         CKeyT   &amp;key= it-&gt;second;
00071                         <span class="keywordflow">if</span>(next!=mapKey.end())
00072                         {
00073                                 <span class="keywordtype">float</span>   e0= it-&gt;second.EaseFrom;
00074                                 <span class="keywordtype">float</span>   e1= next-&gt;second.EaseTo;
00075                                 <span class="keywordtype">float</span>   <a class="code" href="a04223.html#a626">s</a> =  e0 + e1;
00076                                 
00077                                 <span class="comment">// "normalize".</span>
00078                                 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a626">s</a> &gt; 1.0f)
00079                                 {
00080                                         e0 = e0/<a class="code" href="a04223.html#a626">s</a>;
00081                                         e1 = e1/<a class="code" href="a04223.html#a626">s</a>;
00082                                 }
00083 
00084                                 <span class="comment">// precalc ease factors.</span>
00085                                 key.Ease0= e0;
00086                                 key.Ease1= e1;
00087                                 key.EaseK= 1/(2.0f - e0 - e1);
00088                                 <span class="keywordflow">if</span>(e0)
00089                                         key.EaseKOverEase0= key.EaseK / e0;
00090                                 <span class="keywordflow">if</span>(e1)
00091                                         key.EaseKOverEase1= key.EaseK / e1;
00092                         }
00093                         <span class="keywordflow">else</span>
00094                         {
00095                                 <span class="comment">// force ease() to just return d (see ease()).</span>
00096                                 key.EaseK = 0.5f;
00097                         }
00098 
00099                 }
00100         }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4d1" doxytag="CTrackKeyFramerTCB< CKeyTCBQuat, NLMISC::CAngleAxis >::computeHermiteBasis" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" colspan="4">
template&lt;class CKeyT, class T, class TMapTimeCKey&gt; </td>
        </tr>
        <tr>
          <td class="md" nowrap valign="top"> void <a class="el" href="a03471.html">CTCBTools</a>&lt; CKeyT, T, TMapTimeCKey &gt;::computeHermiteBasis </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">float&nbsp;</td>
          <td class="mdname" nowrap> <em>d</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>float&nbsp;</td>
          <td class="mdname" nowrap> <em>hb</em>[4]</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [inline, protected, inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06566.html#l00121">121</a> of file <a class="el" href="a06566.html">track_tcb.h</a>.
<p>
Referenced by <a class="el" href="a06566.html#l00223">CTrackKeyFramerTCB&lt; CKeyT, T &gt;::evalKey()</a>.
<p>
<div class="fragment"><pre>00122         {
00123                 <span class="keywordtype">float</span> d2,d3,a;
00124                 
00125                 d2 = d*d;
00126                 d3 = d2*d;
00127                 a  = 3.0f*d2 - 2.0f*d3;
00128                 hb[0] = 1.0f - a;
00129                 hb[1] = a;
00130                 hb[2] = d3 - 2.0f*d2 + d;
00131                 hb[3] = d3 - d2;
00132         }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4d2" doxytag="CTrackKeyFramerTCB< CKeyTCBQuat, NLMISC::CAngleAxis >::computeTCBFactors" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" colspan="4">
template&lt;class CKeyT, class T, class TMapTimeCKey&gt; </td>
        </tr>
        <tr>
          <td class="md" nowrap valign="top"> void <a class="el" href="a03471.html">CTCBTools</a>&lt; CKeyT, T, TMapTimeCKey &gt;::computeTCBFactors </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const CKeyT &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>key</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>float&nbsp;</td>
          <td class="mdname" nowrap> <em>timeBefore</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>float&nbsp;</td>
          <td class="mdname" nowrap> <em>time</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>float&nbsp;</td>
          <td class="mdname" nowrap> <em>timeAfter</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>float&nbsp;</td>
          <td class="mdname" nowrap> <em>rangeDelta</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap> <em>firstKey</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap> <em>endKey</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap> <em>isLoop</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>float &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>ksm</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>float &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>ksp</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>float &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>kdm</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>float &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>kdp</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [inline, protected, inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06566.html#l00136">136</a> of file <a class="el" href="a06566.html">track_tcb.h</a>.
<p>
Referenced by <a class="el" href="a06566.html#l00520">computeTCBKey()</a>, and <a class="el" href="a06566.html#l00326">CTrackKeyFramerTCB&lt; CKeyT, T &gt;::computeTCBKey()</a>.
<p>
<div class="fragment"><pre>00138         {
00139                 <span class="keywordtype">float</span> fp,fn;
00140 
00141                 <span class="keywordflow">if</span>(isLoop || (!firstKey &amp;&amp; !endKey))
00142                 {
00143                         <span class="keywordtype">float</span>   dtm;
00144                         <span class="comment">// Compute Time deltas.</span>
00145                         <span class="keywordflow">if</span> (firstKey)
00146                         {
00147                                 dtm = 0.5f * (rangeDelta + timeAfter - time);
00148                                 fp = rangeDelta / dtm;
00149                                 fn = (timeAfter - time) / dtm;
00150                         }
00151                         <span class="keywordflow">else</span> <span class="keywordflow">if</span> (endKey)
00152                         {
00153                                 dtm = 0.5f * (rangeDelta + time - timeBefore);
00154                                 fp = rangeDelta / dtm;
00155                                 fn = (time - timeBefore) / dtm;
00156                         }
00157                         <span class="keywordflow">else</span>
00158                         {
00159                                 dtm = 0.5f * (timeAfter - timeBefore);
00160                                 fp = (time - timeBefore) / dtm;
00161                                 fn = (timeAfter - time) / dtm;
00162                         }
00163                         <span class="keywordtype">float</span>   c= (<span class="keywordtype">float</span>)fabs( key.Continuity );
00164                         fp = fp + c - c * fp;
00165                         fn = fn + c - c * fn;
00166                 }
00167                 <span class="keywordflow">else</span>
00168                 {
00169                         <span class="comment">// firstkey and lastkey of not loop track.</span>
00170                         fp = 1.0f;
00171                         fn = 1.0f;
00172                 }
00173 
00174                 <span class="comment">// Compute tangents factors.</span>
00175                 <span class="keywordtype">float</span>   tm,cm,cp,bm,bp,tmcm,tmcp;
00176 
00177                 cm = 1.0f - key.Continuity;
00178                 tm = 0.5f * ( 1.0f - key.Tension );
00179                 cp = 2.0f - cm;
00180                 bm = 1.0f - key.Bias;
00181                 bp = 2.0f - bm;
00182                 tmcm = tm*cm;   tmcp = tm*cp;
00183 
00184                 <span class="comment">// tgts factors.</span>
00185                 ksm = tmcm*bp*fp;       ksp = tmcp*bm*fp;
00186                 kdm = tmcp*bp*fn;       kdp = tmcm*bm*fn;
00187 
00188         }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4d3" doxytag="CTrackKeyFramerTCB< CKeyTCBQuat, NLMISC::CAngleAxis >::computeTCBKey" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void <a class="el" href="a03581.html">CTrackKeyFramerTCB</a>&lt; CKeyTCBQuat, <a class="el" href="a02195.html">NLMISC::CAngleAxis</a> &gt;::computeTCBKey </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">CKeyTCBQuat &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>keyBefore</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>CKeyTCBQuat &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>key</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>CKeyTCBQuat &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>keyAfter</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>float&nbsp;</td>
          <td class="mdname" nowrap> <em>timeBefore</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>float&nbsp;</td>
          <td class="mdname" nowrap> <em>time</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>float&nbsp;</td>
          <td class="mdname" nowrap> <em>timeAfter</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>float&nbsp;</td>
          <td class="mdname" nowrap> <em>rangeDelta</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap> <em>firstKey</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap> <em>endKey</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap> <em>isLoop</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [inline, private]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06566.html#l00520">520</a> of file <a class="el" href="a06566.html">track_tcb.h</a>.
<p>
References <a class="el" href="a06566.html#l00136">CTCBTools&lt; CKeyT, T, TMapTimeCKey &gt;::computeTCBFactors()</a>.
<p>
<div class="fragment"><pre>00522         {
00523                 CQuat  qp, qm;
00524                 
00525                 <span class="comment">// compute qm.</span>
00526                 <span class="keywordflow">if</span> (!firstKey || isLoop)
00527                 {
00528                         <span class="keywordtype">float</span>   angle= key.LocalAngleAxis.Angle;
00529                         CVector &amp;axis= key.LocalAngleAxis.Axis;
00530 
00531                         <span class="keywordflow">if</span> (angle &gt; 2*NLMISC::Pi- NLMISC::QuatEpsilon)
00532                         {
00533                                 qm.set(axis.x, axis.y, axis.z, 0.0f);
00534                                 qm = qm.log();
00535                         }
00536                         <span class="keywordflow">else</span>
00537                         {
00538                                 CQuat   qprev= keyBefore.Quat;
00539                                 qprev.makeClosest(key.Quat);
00540                                 qm = CQuat::lnDif(qprev, key.Quat);
00541                         }
00542                 }
00543                 
00544                 <span class="comment">// compute qp.</span>
00545                 <span class="keywordflow">if</span> (!endKey || isLoop)
00546                 {
00547                         <span class="keywordtype">float</span>   angle= keyAfter.LocalAngleAxis.Angle;
00548                         CVector &amp;axis= keyAfter.LocalAngleAxis.Axis;
00549 
00550                         <span class="keywordflow">if</span> (angle &gt; 2*NLMISC::Pi- NLMISC::QuatEpsilon)
00551                         {
00552                                 qp.set(axis.x, axis.y, axis.z, 0.0f);
00553                                 qp = qp.log();
00554                         }
00555                         <span class="keywordflow">else</span>
00556                         {
00557                                 CQuat   qnext= keyAfter.Quat;
00558                                 qnext.makeClosest(key.Quat);
00559                                 qp = CQuat::lnDif(key.Quat, qnext);
00560                         }
00561                 }
00562                 
00563                 <span class="comment">// not loop mgt.</span>
00564                 <span class="keywordflow">if</span> (firstKey &amp;&amp; !isLoop)
00565                         qm = qp;
00566                 <span class="keywordflow">if</span> (endKey &amp;&amp; !isLoop)
00567                         qp = qm;
00568 
00569 
00570                 <span class="comment">// compute tangents factors.</span>
00571                 <span class="keywordtype">float</span>   ksm, ksp, kdm, kdp;
00572                 <a class="code" href="a03471.html#CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4d2">computeTCBFactors</a>(key, timeBefore, time, timeAfter, rangeDelta, firstKey, endKey, isLoop, ksm,ksp,kdm,kdp);
00573 
00574 
00575                 <span class="comment">// A/B.</span>
00576                 CQuat   qa, qb;
00577                 qb= (qm * (1.0f-ksm) + qp * (-ksp)        ) * 0.5f;
00578                 qa= (qm * kdm            + qp * (kdp-1.0f) ) * 0.5f;
00579                 qa = qa.exp();
00580                 qb = qb.exp();
00581 
00582                 key.A = key.Quat * qa;
00583                 key.B = key.Quat * qb;
00584         }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4d4" doxytag="CTrackKeyFramerTCB< CKeyTCBQuat, NLMISC::CAngleAxis >::ease" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" colspan="4">
template&lt;class CKeyT, class T, class TMapTimeCKey&gt; </td>
        </tr>
        <tr>
          <td class="md" nowrap valign="top"> float <a class="el" href="a03471.html">CTCBTools</a>&lt; CKeyT, T, TMapTimeCKey &gt;::ease </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const CKeyT *&nbsp;</td>
          <td class="mdname" nowrap> <em>key</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>float&nbsp;</td>
          <td class="mdname" nowrap> <em>d</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [inline, protected, inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06566.html#l00103">103</a> of file <a class="el" href="a06566.html">track_tcb.h</a>.
<p>
Referenced by <a class="el" href="a06566.html#l00401">evalKey()</a>, and <a class="el" href="a06566.html#l00223">CTrackKeyFramerTCB&lt; CKeyT, T &gt;::evalKey()</a>.
<p>
<div class="fragment"><pre>00104         {
00105                 <span class="keywordflow">if</span> (d==0.0f || d==1.0f) <span class="keywordflow">return</span> d;
00106                 <span class="comment">// k==0.5f &lt;=&gt; e0+e1 == 0.</span>
00107                 <span class="keywordflow">if</span> (key-&gt;EaseK == 0.5f) <span class="keywordflow">return</span> d;
00108 
00109                 <span class="keywordflow">if</span> (d &lt; key-&gt;Ease0)
00110                         <span class="keywordflow">return</span> key-&gt;EaseKOverEase0 * d*d;
00111                 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (d &lt; 1.0f - key-&gt;Ease1)
00112                         <span class="keywordflow">return</span> key-&gt;EaseK * (2.0f*d - key-&gt;Ease0);
00113                 <span class="keywordflow">else</span>
00114                 {
00115                         d = 1.0f - d;
00116                         <span class="keywordflow">return</span> 1.0f - key-&gt;EaseKOverEase1 * d*d;
00117                 }
00118         }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4z1015_1" doxytag="CTrackKeyFramerTCB< CKeyTCBQuat, NLMISC::CAngleAxis >::evalKey" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void <a class="el" href="a03581.html">CTrackKeyFramerTCB</a>&lt; CKeyTCBQuat, <a class="el" href="a02195.html">NLMISC::CAngleAxis</a> &gt;::evalKey </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const CKeyTCBQuat *&nbsp;</td>
          <td class="mdname" nowrap> <em>previous</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const CKeyTCBQuat *&nbsp;</td>
          <td class="mdname" nowrap> <em>next</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>TAnimationTime&nbsp;</td>
          <td class="mdname" nowrap> <em>datePrevious</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>TAnimationTime&nbsp;</td>
          <td class="mdname" nowrap> <em>dateNext</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>TAnimationTime&nbsp;</td>
          <td class="mdname" nowrap> <em>date</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [inline, virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
evalKey (runtime). 
<p>

<p>
Definition at line <a class="el" href="a06566.html#l00401">401</a> of file <a class="el" href="a06566.html">track_tcb.h</a>.
<p>
References <a class="el" href="a05587.html#l00115">NLMISC::clamp()</a>, and <a class="el" href="a06566.html#l00103">CTCBTools&lt; CKeyT, T, TMapTimeCKey &gt;::ease()</a>.
<p>
<div class="fragment"><pre>00404         {
00405                 <span class="keywordflow">if</span>(previous &amp;&amp; next)
00406                 {
00407                         <span class="comment">// lerp from previous to cur.</span>
00408                         date-= datePrevious;
00409                         date*= previous-&gt;OODeltaTime;
00410                         <a class="code" href="a05378.html#a374">NLMISC::clamp</a>(date, 0,1);
00411 
00412                         <span class="comment">// ease.</span>
00413                         date = <a class="code" href="a03471.html#CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4d4">ease</a>(previous, date);
00414 
00415                         <span class="comment">// quad slerp.</span>
00416                         <a class="code" href="a03583.html#CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4r0">_Value</a>.Value= CQuat::squadrev(next-&gt;LocalAngleAxis, previous-&gt;Quat, previous-&gt;A, next-&gt;B, next-&gt;Quat, date);
00417                 }
00418                 <span class="keywordflow">else</span>
00419                 {
00420                         <span class="keywordflow">if</span> (previous)
00421                                 <a class="code" href="a03583.html#CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4r0">_Value</a>.Value= previous-&gt;Quat;
00422                         <span class="keywordflow">else</span>
00423                                 <span class="keywordflow">if</span> (next)
00424                                         <a class="code" href="a03583.html#CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4r0">_Value</a>.Value= next-&gt;Quat;
00425                 }
00426 
00427         }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4a0" doxytag="CTrackKeyFramerTCB< CKeyTCBQuat, NLMISC::CAngleAxis >::getValue" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual const IAnimatedValue&amp; <a class="el" href="a03581.html">CTrackKeyFramerTCB</a>&lt; CKeyTCBQuat, <a class="el" href="a02195.html">NLMISC::CAngleAxis</a> &gt;::getValue </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [inline, virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
From ITrack. 
<p>

<p>
Definition at line <a class="el" href="a06566.html#l00392">392</a> of file <a class="el" href="a06566.html">track_tcb.h</a>.
<p>
<div class="fragment"><pre>00393         {
00394                 <span class="keywordflow">return</span> <a class="code" href="a03583.html#CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4r0">_Value</a>;
00395         }
</pre></div>    </td>
  </tr>
</table>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="CTrackKeyFramerTCB_3_01CKeyTCBQuat_00_01NLMISC_1_1CAngleAxis_01_4r0" doxytag="CTrackKeyFramerTCB< CKeyTCBQuat, NLMISC::CAngleAxis >::_Value" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> CAnimatedValueBlendable&lt;CQuat&gt; <a class="el" href="a03581.html">CTrackKeyFramerTCB</a>&lt; CKeyTCBQuat, <a class="el" href="a02195.html">NLMISC::CAngleAxis</a> &gt;::_Value<code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06566.html#l00517">517</a> of file <a class="el" href="a06566.html">track_tcb.h</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="a06566.html">track_tcb.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:43:54 2004 for NeL by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 > 
</a>1.3.6 </small></address>
</body>
</html>