aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNLPACS_1_1UMoveContainer.html
blob: 4169991bafd5762eb55ed4d03dc3c055beae6aaa (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
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
	<TITLE>nevrax.org : docs</TITLE>
	<LINK REL=stylesheet TYPE="text/css" HREF="/inc/css/nevrax.css">
	<link href="doxygen.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY MARGINHEIGHT="0" MARGINWIDTH="0">

<!-- uplinks -->
<TABLE CELLSPACING=0 CELLPADDING=0  BORDER=0>
 <TR>
        <TD WIDTH=16><IMG  SRC="/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
        <TD WIDTH=140 BGCOLOR=#dddddd><IMG  SRC="/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
        <TD WIDTH=16><IMG  SRC="/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
        <TD><IMG width=6 height=14 SRC="/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF='/'><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
        <TD><IMG  width=6 height=14  SRC="/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
 </TR>
</TABLE> 

<!-- banner Nevrax -->
<TABLE CELLSPACING=0 CELLPADDING=0  BORDER=0 WIDTH=100%>
 <TR><TD  BGCOLOR="#000000" BACKGROUND="/inc/img/black_banner.jpg"><A HREF=""><IMG  SRC="/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
</TABLE>

<!-- main table -->
<TABLE CELLSPACING=0 CELLPADDING=0  BORDER=0 height=100%>
 <TR>
	<TD WIDTH=16><IMG  SRC="/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
	<TD WIDTH=140   BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG  SRC="/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">

		<!------ Begin Box ------>
		<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0  cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
		<FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td  colspan=2 bgcolor=#FFFFFF>
		<TABLE cellspacing=0 cellpadding=1 border=0>
			<tr><td ALIGN=middle><a  class='linkbox' href="/news/" TITLE="Rubrique news"><img width=13 height=15  hspace=5 border=0 src=/inc/img/picto-news.gif ALT=#></A></td><td><a  class='linkbox' href="/news/" TITLE="News">News</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="/mail/" TITLE="Rubrique mail"><img width=15 height=11  hspace=5 border=0 src=/inc/img/picto-mail.gif ALT=#></A></td><td><a  class='linkbox' href="/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="/docs/" TITLE="Rubrique docs"><img width=14 height=16  hspace=5 border=0 src=/inc/img/picto-docs.gif ALT=#></A></td><td><a  class='linkbox' href="/docs/" TITLE="Documentation">Documentation</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="/cvs/" TITLE="Rubrique cvs"><img width=13 height=17  hspace=5 border=0 src=/inc/img/picto-cvs.gif ALT=#></A></td><td><a  class='linkbox' href="/cvs/" TITLE="CVS Web">CVS</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="/bugs/" TITLE="Rubrique bugs"><img width=20 height=16  hspace=5 border=0 src=/inc/img/picto-bugs.gif ALT=#></A></td><td><a  class='linkbox' href="/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="/GPL.php3" TITLE="Rubrique license"><img  width=18 height=12   hspace=5 border=0 src=/inc/img/picto-gpl.gif ALT=#></A></td><td><a  class='linkbox' href="/GPL.php3" TITLE="License">License</a></td></tr>
		</TABLE>
		</TD></TR></TABLE></TD></TR></TABLE>
		<!------ End Box  ------>

	</TD>
	<TD WIDTH=15><IMG  SRC="/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
	<TD ALIGN=left valign=top><IMG  SRC="/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">

<!-- title -->
<TABLE  background="/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0  BORDER=0 width=100%><tr><td>
<A HREF="/docs/"><img src="/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
</td><td><IMG  SRC="/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
</td></tr></table>
&nbsp;

<!-- block -->
<TABLE  bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0  BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="/inc/img/reddots.gif"></TD>
	<TD><B>Documentation</B></TD>
	<TD ALIGN=RIGHT>&nbsp;</td>
</tr></table>
<!-- Generated by Doxygen 1.2.14 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindexRef" doxygen="_cgi:/cgi-bin/nel-search.cgi" href="/cgi-bin/nel-search.cgi">Search</a> &nbsp; </center>
<hr><h1>NLPACS::UMoveContainer  Class Reference</h1>A container for movable objects Some constraints: * The move bounding box must be lower than the cell size. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="u__move__container_8h-source.html">u_move_container.h</a>&gt;</code>
<p>
<p>Inheritance diagram for NLPACS::UMoveContainer:
<p><center><img src="classNLPACS_1_1UMoveContainer.gif" usemap="#NLPACS::UMoveContainer_map" border="0"></center>
<map name="NLPACS::UMoveContainer_map">
<area href="classNLPACS_1_1CMoveContainer.html" alt="NLPACS::CMoveContainer" shape="rect" coords="0,56,164,80">
</map>
<a href="classNLPACS_1_1UMoveContainer-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>virtual <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#a0">addCollisionablePrimitive</a> (<a class="el" href="memory__common_8h.html#a7">uint8</a> firstWorldImage, <a class="el" href="memory__common_8h.html#a7">uint8</a> numWorldImage, const <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> *copyFrom=NULL)=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Add a collisionable primitive in the container.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#a1">addNonCollisionablePrimitive</a> (const <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> *copyFrom=NULL)=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Add a noncollisionable primitive in the container.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual bool&nbsp;</td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#a2">loadCollisionablePrimitiveBlock</a> (const char *filename, <a class="el" href="memory__common_8h.html#a7">uint8</a> firstWorldImage, <a class="el" href="memory__common_8h.html#a7">uint8</a> numWorldImage, std::vector&lt; <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> * &gt; *primitives, float orientation, const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;position, bool dontSnapToGround=false)=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Load a PACS primitive block.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#a3">addCollisionnablePrimitiveBlock</a> (<a class="el" href="classNLPACS_1_1UPrimitiveBlock.html">UPrimitiveBlock</a> *pb, <a class="el" href="memory__common_8h.html#a7">uint8</a> firstWorldImage, <a class="el" href="memory__common_8h.html#a7">uint8</a> numWorldImage, std::vector&lt; <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> * &gt; *primitives, float orientation, const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;position, bool dontSnapToGround=false)=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>The same as loadCollisionablePrimitiveBlock, but the primitive block is provided by the caller.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#a4">removePrimitive</a> (<a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> *primitive)=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Remove a primitive from the container.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#a5">getPrimitives</a> (std::vector&lt; const <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> * &gt; &amp;dest) const=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get all the primitives in the container.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#a6">evalCollision</a> (double deltaTime, <a class="el" href="memory__common_8h.html#a7">uint8</a> worldImage)=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Evaluation of a worldImage of the collision system.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual bool&nbsp;</td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#a7">evalNCPrimitiveCollision</a> (double deltaTime, <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> *primitive, <a class="el" href="memory__common_8h.html#a7">uint8</a> worldImage)=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Evaluation of a single non collisionable primitive.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual bool&nbsp;</td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#a8">testMove</a> (<a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> *primitive, const <a class="el" href="classNLMISC_1_1CVectorD.html">NLMISC::CVectorD</a> &amp;speed, double deltaTime, <a class="el" href="memory__common_8h.html#a7">uint8</a> worldImage, <a class="el" href="classNLMISC_1_1CVectorD.html">NLMISC::CVectorD</a> *contactNormal)=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Test the move of a primitive in a specific world image.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#a9">setAsStatic</a> (<a class="el" href="memory__common_8h.html#a7">uint8</a> worldImage)=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Set world image as static world image.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#a10">duplicateWorldImage</a> (<a class="el" href="memory__common_8h.html#a7">uint8</a> source, <a class="el" href="memory__common_8h.html#a7">uint8</a> dest)=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Duplicate a world image in another.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual <a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#a11">getNumTriggerInfo</a> () const=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get number of trigger informations.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual const <a class="el" href="classNLPACS_1_1UTriggerInfo.html">UTriggerInfo</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#a12">getTriggerInfo</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a356">id</a>) const=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get the n-th trigger informations.</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>UMoveContainer *&nbsp;</td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#d0">createMoveContainer</a> (double xmin, double ymin, double xmax, double ymax, <a class="el" href="memory__common_8h.html#a15">uint</a> widthCellCount, <a class="el" href="memory__common_8h.html#a15">uint</a> heightCellCount, double primitiveMaxSize, <a class="el" href="memory__common_8h.html#a7">uint8</a> numWorldImage=NELPACS_DEFAULT_NUM_WORLD_IMAGE, <a class="el" href="memory__common_8h.html#a15">uint</a> maxIteration=NELPACS_DEFAULT_MAX_TEST_ITERATION, <a class="el" href="memory__common_8h.html#a15">uint</a> otSize=NELPACS_DEFAULT_OT_SIZE)</td></tr>
<tr><td nowrap align=right valign=top>UMoveContainer *&nbsp;</td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#d1">createMoveContainer</a> (<a class="el" href="classNLPACS_1_1UGlobalRetriever.html">UGlobalRetriever</a> *retriever, <a class="el" href="memory__common_8h.html#a15">uint</a> widthCellCount, <a class="el" href="memory__common_8h.html#a15">uint</a> heightCellCount, double primitiveMaxSize, <a class="el" href="memory__common_8h.html#a7">uint8</a> numWorldImage=NELPACS_DEFAULT_NUM_WORLD_IMAGE, <a class="el" href="memory__common_8h.html#a15">uint</a> maxIteration=NELPACS_DEFAULT_MAX_TEST_ITERATION, <a class="el" href="memory__common_8h.html#a15">uint</a> otSize=NELPACS_DEFAULT_OT_SIZE)</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#d2">deleteMoveContainer</a> (UMoveContainer *container)</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#d3">getPACSCoordsFromMatrix</a> (<a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;pos, float &amp;angle, const <a class="el" href="classNLMISC_1_1CMatrix.html">NLMISC::CMatrix</a> &amp;mat)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get a pacs position and an orientation from a matrix.</em> <a href="#d3">More...</a><em></em></font><br><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A container for movable objects Some constraints: * The move bounding box must be lower than the cell size.
<p>
<dl compact><dt><b>
Author: </b><dd>
Cyril 'Hulud' Corvazier , Nevrax France </dl><dl compact><dt><b>
Date: </b><dd>
2001 </dl>
<p>

<p>
Definition at line <a class="el" href="u__move__container_8h-source.html#l00060">60</a> of file <a class="el" href="u__move__container_8h-source.html">u_move_container.h</a>.<hr><h2>Member Function Documentation</h2>
<a name="a0" doxytag="NLPACS::UMoveContainer::addCollisionablePrimitive"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a>* NLPACS::UMoveContainer::addCollisionablePrimitive </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>firstWorldImage</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>numWorldImage</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>copyFrom</em> = NULL</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [pure virtual]</code></td>
        </tr>

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

<p>
Add a collisionable primitive in the container.
<p>
Return the pointer on the primitive. This primitive will generate collisions when the system evaluate other primitives against.
<p>
You must specify the ids of each world image where the primitive can be inserted. Thoses ids are consecutives. If you choose 5 as first id and 3 as id count, this primitive could be inserted in the world image #5, #6 and #7.
<p>
This primtive should be inserted in a world image before use. See <a class="el" href="classNLPACS_1_1UMovePrimitive.html#a28">UMovePrimitive::insertInWorldImage</a>.<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>firstWorldImage</em>&nbsp;</td><td>
is the first world image where the primitive can be inserted. </td></tr>
<tr><td valign=top><em>numWorldImage</em>&nbsp;</td><td>
is the count of world image where the primitive can be inserted.  </td></tr>
</table>
</dl><dl compact><dt><b>
Returns: </b><dd>
a pointer on the new primitive. </dl>
<p>
Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a5">NLPACS::CMoveContainer</a>.    </td>
  </tr>
</table>
<a name="a3" doxytag="NLPACS::UMoveContainer::addCollisionnablePrimitiveBlock"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void NLPACS::UMoveContainer::addCollisionnablePrimitiveBlock </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classNLPACS_1_1UPrimitiveBlock.html">UPrimitiveBlock</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>pb</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>firstWorldImage</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>numWorldImage</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>std::vector&lt; <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> * &gt; *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>primitives</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>float&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>orientation</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>position</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dontSnapToGround</em> = false</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [pure virtual]</code></td>
        </tr>

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

<p>
The same as loadCollisionablePrimitiveBlock, but the primitive block is provided by the caller.
<p>

<p>
Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a8">NLPACS::CMoveContainer</a>.    </td>
  </tr>
</table>
<a name="a1" doxytag="NLPACS::UMoveContainer::addNonCollisionablePrimitive"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a>* NLPACS::UMoveContainer::addNonCollisionablePrimitive </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>copyFrom</em> = NULL          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [pure virtual]</code></td>
        </tr>

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

<p>
Add a noncollisionable primitive in the container.
<p>
Return the pointer on the primitive. This primitive won't generate collisions when the system evaluate other primitives against.
<p>
This primitive can't be inserted in a world image.<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>copyFrom</em>&nbsp;</td><td>
is an optional primitive to copy attributes from (so the primitive is initialised with same values) </td></tr>
</table>
</dl><dl compact><dt><b>
Returns: </b><dd>
a pointer on the new primitive. </dl>
<p>
Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a6">NLPACS::CMoveContainer</a>.    </td>
  </tr>
</table>
<a name="d1" doxytag="NLPACS::UMoveContainer::createMoveContainer"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> UMoveContainer * NLPACS::UMoveContainer::createMoveContainer </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classNLPACS_1_1UGlobalRetriever.html">UGlobalRetriever</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>retriever</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>widthCellCount</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>heightCellCount</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>double&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>primitiveMaxSize</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>numWorldImage</em> = NELPACS_DEFAULT_NUM_WORLD_IMAGE, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>maxIteration</em> = NELPACS_DEFAULT_MAX_TEST_ITERATION, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>otSize</em> = NELPACS_DEFAULT_OT_SIZE</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [static]</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="move__container_8cpp-source.html#l01642">1642</a> of file <a class="el" href="move__container_8cpp-source.html">move_container.cpp</a>.
<p>
References <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00689">r</a>.    </td>
  </tr>
</table>
<a name="d0" doxytag="NLPACS::UMoveContainer::createMoveContainer"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> UMoveContainer * NLPACS::UMoveContainer::createMoveContainer </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">double&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>xmin</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>double&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>ymin</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>double&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>xmax</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>double&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>ymax</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>widthCellCount</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>heightCellCount</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>double&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>primitiveMaxSize</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>numWorldImage</em> = NELPACS_DEFAULT_NUM_WORLD_IMAGE, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>maxIteration</em> = NELPACS_DEFAULT_MAX_TEST_ITERATION, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>otSize</em> = NELPACS_DEFAULT_OT_SIZE</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [static]</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="move__container_8cpp-source.html#l01630">1630</a> of file <a class="el" href="move__container_8cpp-source.html">move_container.cpp</a>.    </td>
  </tr>
</table>
<a name="d2" doxytag="NLPACS::UMoveContainer::deleteMoveContainer"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void NLPACS::UMoveContainer::deleteMoveContainer </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">UMoveContainer *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>container</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [static]</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="move__container_8cpp-source.html#l01267">1267</a> of file <a class="el" href="move__container_8cpp-source.html">move_container.cpp</a>.    </td>
  </tr>
</table>
<a name="a10" doxytag="NLPACS::UMoveContainer::duplicateWorldImage"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void NLPACS::UMoveContainer::duplicateWorldImage </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>source</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dest</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [pure virtual]</code></td>
        </tr>

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

<p>
Duplicate a world image in another.
<p>
All primitive will be removed from the destination world image. Then, the source world image will be copied in the destination world image.
<p>
Warning, only primitives from the source that have been decalared as using the destintation  world image will be copied.
<p>
The source world image remain the same.<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>source</em>&nbsp;</td><td>
is the id of the source world image for the copy. </td></tr>
<tr><td valign=top><em>dest</em>&nbsp;</td><td>
is the id of the destination world image for the copy. </td></tr>
</table>
</dl>
<p>
Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a10">NLPACS::CMoveContainer</a>.    </td>
  </tr>
</table>
<a name="a6" doxytag="NLPACS::UMoveContainer::evalCollision"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void NLPACS::UMoveContainer::evalCollision </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">double&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>deltaTime</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>worldImage</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [pure virtual]</code></td>
        </tr>

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

<p>
Evaluation of a worldImage of the collision system.
<p>
This method will evaluate the move of each modified collisionable primitives inserted in the world image. The method test first collisions against the terrai, then test collisions against primitives  inserted in the world images declared as static, then test the collision against the primitives inserted in the world image to evaluate.<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>deltaTime</em>&nbsp;</td><td>
is the delta time of the system evaluation. </td></tr>
<tr><td valign=top><em>worldImage</em>&nbsp;</td><td>
is the world image to eval. </td></tr>
</table>
</dl>
<p>
Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a12">NLPACS::CMoveContainer</a>.    </td>
  </tr>
</table>
<a name="a7" doxytag="NLPACS::UMoveContainer::evalNCPrimitiveCollision"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual bool NLPACS::UMoveContainer::evalNCPrimitiveCollision </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">double&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>deltaTime</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>primitive</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>worldImage</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [pure virtual]</code></td>
        </tr>

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

<p>
Evaluation of a single non collisionable primitive.
<p>
The method test first collisions against the terrai, then test collisions against primitives  inserted in the world images declared as static, then test the collision against the primitives inserted in the world image to evaluate.<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>deltaTime</em>&nbsp;</td><td>
is the delta time of the system evaluation. </td></tr>
<tr><td valign=top><em>primitive</em>&nbsp;</td><td>
is the prmitive pointer </td></tr>
<tr><td valign=top><em>worldImage</em>&nbsp;</td><td>
is the world image to eval. </td></tr>
</table>
</dl><dl compact><dt><b>
Returns: </b><dd>
false if the primitive is a collisionable primitive. </dl>
<p>
Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a13">NLPACS::CMoveContainer</a>.    </td>
  </tr>
</table>
<a name="a11" doxytag="NLPACS::UMoveContainer::getNumTriggerInfo"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual <a class="el" href="memory__common_8h.html#a15">uint</a> NLPACS::UMoveContainer::getNumTriggerInfo </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [pure virtual]</code></td>
        </tr>

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

<p>
Get number of trigger informations.
<p>

<p>
Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a18">NLPACS::CMoveContainer</a>.    </td>
  </tr>
</table>
<a name="d3" doxytag="NLPACS::UMoveContainer::getPACSCoordsFromMatrix"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void NLPACS::UMoveContainer::getPACSCoordsFromMatrix </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>pos</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>float &amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>angle</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CMatrix.html">NLMISC::CMatrix</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>mat</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [static]</code></td>
        </tr>

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

<p>
Get a pacs position and an orientation from a matrix.
<p>

<p>
Definition at line <a class="el" href="move__container_8cpp-source.html#l01814">1814</a> of file <a class="el" href="move__container_8cpp-source.html">move_container.cpp</a>.
<p>
References <a class="el" href="matrix_8h-source.html#l00188">NLMISC::CMatrix::getPos</a>, <a class="el" href="classNLMISC_1_1CVector.html#p1">NLMISC::CVector::I</a>, and <a class="el" href="matrix_8cpp-source.html#l01321">NLMISC::CMatrix::mulVector</a>.    </td>
  </tr>
</table>
<a name="a5" doxytag="NLPACS::UMoveContainer::getPrimitives"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void NLPACS::UMoveContainer::getPrimitives </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">std::vector&lt; const <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> * &gt; &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>dest</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [pure virtual]</code></td>
        </tr>

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

<p>
Get all the primitives in the container.
<p>

<p>
Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a20">NLPACS::CMoveContainer</a>.    </td>
  </tr>
</table>
<a name="a12" doxytag="NLPACS::UMoveContainer::getTriggerInfo"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual const <a class="el" href="classNLPACS_1_1UTriggerInfo.html">UTriggerInfo</a>&amp; NLPACS::UMoveContainer::getTriggerInfo </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>id</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [pure virtual]</code></td>
        </tr>

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

<p>
Get the n-th trigger informations.
<p>

<p>
Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a19">NLPACS::CMoveContainer</a>.    </td>
  </tr>
</table>
<a name="a2" doxytag="NLPACS::UMoveContainer::loadCollisionablePrimitiveBlock"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual bool NLPACS::UMoveContainer::loadCollisionablePrimitiveBlock </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const char *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>filename</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>firstWorldImage</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>numWorldImage</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>std::vector&lt; <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> * &gt; *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>primitives</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>float&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>orientation</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>position</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>dontSnapToGround</em> = false</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [pure virtual]</code></td>
        </tr>

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

<p>
Load a PACS primitive block.
<p>
(*.pacs_prim)
<p>
Add a set of collisionable primitive in the container. If sucess, fill an array with primitives's pointers. The primitive are inserted in the requested world image of the container. Then a setGlobalPosition is done to place the primitives in the world image. The world images are not evaluated.
<p>
You must specify the ids of each world image where the primitives can be inserted. Thoses ids are consecutives. If you choose 5 as first id and 3 as id count, those primitives could be inserted in the world image #5, #6 and #7.
<p>
Those primtives should be inserted in a world image before use. See <a class="el" href="classNLPACS_1_1UMovePrimitive.html#a28">UMovePrimitive::insertInWorldImage</a>.
<p>
Return false if the world image numbers are not present in the move container.
<p>
Can raise unhandled <a class="el" href="classNLMISC_1_1Exception.html">NLMISC::Exception</a> if trouble during serialisation.<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>filename</em>&nbsp;</td><td>
is the file to load. </td></tr>
<tr><td valign=top><em>firstWorldImage</em>&nbsp;</td><td>
is the first world image where the primitive can be inserted. </td></tr>
<tr><td valign=top><em>numWorldImage</em>&nbsp;</td><td>
is the count of world image where the primitive can be inserted. </td></tr>
<tr><td valign=top><em>primitives</em>&nbsp;</td><td>
is a pointer on an array of primitive pointer to fill if success. If NULL, Do return nothing. </td></tr>
<tr><td valign=top><em>orientation</em>&nbsp;</td><td>
is the orientation to give to the primitives. </td></tr>
<tr><td valign=top><em>position</em>&nbsp;</td><td>
is the position to give to the primitives. </td></tr>
<tr><td valign=top><em>primitives</em>&nbsp;</td><td>
is a pointer on an array of primitive pointer to fill if success. If NULL, Do return nothing.  </td></tr>
<tr><td valign=top><em>dontSnapToGround</em>&nbsp;</td><td>
force the inserted primitive to be flagged as 'DontSnapToGround' </td></tr>
</table>
</dl><dl compact><dt><b>
See also: </b><dd>
<a class="el" href="classNLPACS_1_1UMoveContainer.html#a0">addCollisionablePrimitive</a> , <a class="el" href="classNLPACS_1_1UMoveContainer.html#d3">getPACSCoordsFromMatrix</a> </dl><dl compact><dt><b>
Returns: </b><dd>
true if the file is successfully loaded, else return false. </dl>
<p>
Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a7">NLPACS::CMoveContainer</a>.    </td>
  </tr>
</table>
<a name="a4" doxytag="NLPACS::UMoveContainer::removePrimitive"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void NLPACS::UMoveContainer::removePrimitive </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>primitive</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [pure virtual]</code></td>
        </tr>

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

<p>
Remove a primitive from the container.
<p>
<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>primitive</em>&nbsp;</td><td>
is the pointer on the primitive to remove. </td></tr>
</table>
</dl>
<p>
Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a11">NLPACS::CMoveContainer</a>.    </td>
  </tr>
</table>
<a name="a9" doxytag="NLPACS::UMoveContainer::setAsStatic"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void NLPACS::UMoveContainer::setAsStatic </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>worldImage</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [pure virtual]</code></td>
        </tr>

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

<p>
Set world image as static world image.
<p>
This method set this world image as static. It means that primitives inserted there don't move. Each primitive evaluation methods will first test all the primitives in the world images declared as static. Then, the evalutation test the primtive in the asked worldImage.<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>worldImage</em>&nbsp;</td><td>
is the id of the world image to set as static. </td></tr>
</table>
</dl>
<p>
Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a9">NLPACS::CMoveContainer</a>.    </td>
  </tr>
</table>
<a name="a8" doxytag="NLPACS::UMoveContainer::testMove"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual bool NLPACS::UMoveContainer::testMove </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>primitive</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CVectorD.html">NLMISC::CVectorD</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>speed</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>double&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>deltaTime</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>worldImage</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="classNLMISC_1_1CVectorD.html">NLMISC::CVectorD</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>contactNormal</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [pure virtual]</code></td>
        </tr>

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

<p>
Test the move of a primitive in a specific world image.
<p>
This method will test the move of each modified primitives inserted in the world image. The method will test first collisions against primitives inserted in the world images declared as static, then test the collision against the primitives inserted in the world image choosed to test the move of the primitive.<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>primitive</em>&nbsp;</td><td>
is a pointer on the primitive </td></tr>
<tr><td valign=top><em>speed</em>&nbsp;</td><td>
is the wanted speed of the primitive </td></tr>
<tr><td valign=top><em>deltaTime</em>&nbsp;</td><td>
is the deltaTime of the move of the primitive. </td></tr>
<tr><td valign=top><em>worldImage</em>&nbsp;</td><td>
is the world image where you want to test the move of the primitive. </td></tr>
<tr><td valign=top><em>contactNormal</em>&nbsp;</td><td>
is a pointer to CVectorD to store contactNormal with terrain, if not NULL </td></tr>
</table>
</dl><dl compact><dt><b>
Returns: </b><dd>
true if the move is successful, false else. </dl>
<p>
Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a14">NLPACS::CMoveContainer</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="u__move__container_8h-source.html">u_move_container.h</a><li><a class="el" href="move__container_8cpp-source.html">move_container.cpp</a></ul>


<!-- footer -->
<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </FONT>
</TD>
<TD WIDTH=15><IMG  SRC=/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
</TR>
</TABLE>
</BODY>
</HTML>