aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02910.html
blob: 70008f71a9856b2b0191adac0891e1a60e8e2869 (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
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
<!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: NL3D::CMeshMultiLod 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>NL3D::CMeshMultiLod Class Reference</h1><code>#include &lt;<a class="el" href="a06017.html">mesh_multi_lod.h</a>&gt;</code>
<p>
<p>Inheritance diagram for NL3D::CMeshMultiLod:
<p><center><img src="a02910.png" usemap="#NL3D::CMeshMultiLod_map" border="0" alt=""></center>
<map name="NL3D::CMeshMultiLod_map">
<area href="a02858.html" alt="NL3D::CMeshBase" shape="rect" coords="74,168,212,192">
<area href="a02539.html" alt="NL3D::IShape" shape="rect" coords="74,112,212,136">
<area href="a02209.html" alt="NLMISC::CRefCount" shape="rect" coords="0,56,138,80">
<area href="a02867.html" alt="NLMISC::IStreamable" shape="rect" coords="148,56,286,80">
<area href="a02540.html" alt="NLMISC::IClassable" shape="rect" coords="148,0,286,24">
</map>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Mesh with several LOD meshes.<p>
This mesh handle several meshes of any kind of shape (MRM, standard, coarse meshes..) At run time, it chooses what LOD meshes it must render according to its settings.<p>
<dl compact><dt><b>Author:</b></dt><dd>Cyril 'Hulud' Corvazier <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="a06017.html#l00052">52</a> of file <a class="el" href="a06017.html">mesh_multi_lod.h</a>.<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Structures for building a mesh.</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map&lt; std::string,<br>
 CLightInfoMapListV7 &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz425_0">TLightInfoMapV7</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector&lt; CLightMapInfoList &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz425_1">TLightMapInfo</a></td></tr>

<tr><td colspan="2"><div class="groupHeader">Structures for building a mesh.</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map&lt; std::string,<br>
 CLightInfoMapListV7 &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz425_0">TLightInfoMapV7</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector&lt; CLightMapInfoList &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz425_1">TLightMapInfo</a></td></tr>

<tr><td colspan="2"><div class="groupHeader">Structures for building a mesh.</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map&lt; std::string,<br>
 CLightInfoMapListV7 &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz425_0">TLightInfoMapV7</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector&lt; CLightMapInfoList &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz425_1">TLightMapInfo</a></td></tr>

<tr><td colspan="2"><div class="groupHeader">Structures for building a mesh.</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map&lt; std::string,<br>
 CLightInfoMapListV7 &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz425_0">TLightInfoMapV7</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector&lt; CLightMapInfoList &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz425_1">TLightMapInfo</a></td></tr>

<tr><td colspan="2"><div class="groupHeader">Structures for building a mesh.</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map&lt; std::string,<br>
 CLightInfoMapListV7 &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz425_0">TLightInfoMapV7</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector&lt; CLightMapInfoList &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz425_1">TLightMapInfo</a></td></tr>

<tr><td colspan=2><br><h2>Public 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="a02910.html#NL3D_1_1CMeshMultiLoda0">changeMRMDistanceSetup</a> (float distanceFinest, float distanceMiddle, float distanceCoarsest)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLoda1">flushTextures</a> (<a class="el" href="a02434.html">IDriver</a> &amp;driver, <a class="el" href="a04558.html#a15">uint</a> selectedTexture)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Flush textures.  <a href="#NL3D_1_1CMeshMultiLoda1"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02540.html#NL3D_1_1ITrackKeyFramer_3_01CKeyVector_01_4a6">getClassName</a> ()=0</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapea5">getDistMax</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02879.html">IMeshGeom</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02910.html#NL3D_1_1CMeshMultiLoda4">getMeshGeom</a> (<a class="el" href="a04558.html#a15">uint</a> slot) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Geometry accessor.  <a href="#NL3D_1_1CMeshMultiLoda4"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02910.html#NL3D_1_1CMeshMultiLoda5">getNumSlotMesh</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get slot mesh count.  <a href="#NL3D_1_1CMeshMultiLoda5"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02910.html#NL3D_1_1CMeshMultiLoda6">getNumTriangles</a> (float distance)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">should not be called direclty as the intance of this shape will use 'getNumTrianglesWithCoarsestDist' themselves to get the correct distance.  <a href="#NL3D_1_1CMeshMultiLoda6"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02910.html#NL3D_1_1CMeshMultiLoda7">getNumTrianglesWithCoarsestDist</a> (float distance, float coarsestMeshDist) const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a14">sint</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypea8">getRefCount</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02879.html">IMeshGeom</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02910.html#NL3D_1_1CMeshMultiLoda9">getSlotMesh</a> (<a class="el" href="a04558.html#a15">uint</a> i, bool &amp;coarseMesh)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a slot mesh.  <a href="#NL3D_1_1CMeshMultiLoda9"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLoda10">isLightable</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Is this mesh lightable? true if one of his materials is not a lightmap. NB: result stored in file.  <a href="#NL3D_1_1CMeshMultiLoda10"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02910.html#NL3D_1_1CMeshMultiLoda11">isStatic</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Is static mesh ?  <a href="#NL3D_1_1CMeshMultiLoda11"></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="a02858.html#NL3D_1_1CMeshMultiLoda12">serialMeshBase</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &amp;f)  throw (NLMISC::EStream)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">serial the base Part of this mesh.  <a href="#NL3D_1_1CMeshMultiLoda12"></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="a02539.html#NL3D_1_1IShapea11">setDistMax</a> (float distMax)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLoda14">useLightingLocalAttenuation</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">tells if the shape wants LocalAttenuation for RealTime lighting. Default is false  <a href="#NL3D_1_1CMeshMultiLoda14"></a><br><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">animated material mgt. do it after CMesh::build(), or CMeshMRM::build()</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02846.html">CMaterialBase</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz427_0">getAnimatedMaterial</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return NULL if this material is NOT animated. (or if material do not exist)  <a href="#NL3D_1_1CMeshMultiLodz427_0"></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="a02858.html#NL3D_1_1CMeshMultiLodz427_1">setAnimatedMaterial</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>, const std::string &amp;matName)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">setup a material as animated. Material must exist or else no-op.  <a href="#NL3D_1_1CMeshMultiLodz427_1"></a><br><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Automatic animation</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz433_0">getAutoAnim</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz433_1">setAutoAnim</a> (bool on=true)</td></tr>

<tr><td colspan="2"><div class="groupHeader">access default tracks.</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03549.html">CTrackDefaultRGBA</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_0">getDefaultLMFactor</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_1">getDefaultPivot</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_2">getDefaultPos</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_3">getDefaultRotEuler</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03548.html">CTrackDefaultQuat</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_4">getDefaultRotQuat</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_5">getDefaultScale</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader">LodCharacterTexture</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02810.html">CLodCharacterTexture</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz435_0">getLodCharacterTexture</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the lod texture info. see <a class="el" href="a03399.html">CSkeletonModel</a> Lod system. NULL per default. NB: serialised  <a href="#NL3D_1_1CMeshMultiLodz435_0"></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="a02858.html#NL3D_1_1CMeshMultiLodz435_1">resetLodCharacterTexture</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">reset the lod texture info. see <a class="el" href="a03399.html">CSkeletonModel</a> Lod system.  <a href="#NL3D_1_1CMeshMultiLodz435_1"></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="a02858.html#NL3D_1_1CMeshMultiLodz435_2">setupLodCharacterTexture</a> (<a class="el" href="a02810.html">CLodCharacterTexture</a> &amp;lodText)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">setup the lod texture info. see <a class="el" href="a03399.html">CSkeletonModel</a> Lod system  <a href="#NL3D_1_1CMeshMultiLodz435_2"></a><br><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Material accessors</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02839.html">CMaterial</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz431_0">getMaterial</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a material, const version.  <a href="#NL3D_1_1CMeshMultiLodz431_0"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02839.html">CMaterial</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz431_1">getMaterial</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a material.  <a href="#NL3D_1_1CMeshMultiLodz431_1"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz431_2">getNbMaterial</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the number of materials in the mesh.  <a href="#NL3D_1_1CMeshMultiLodz431_2"></a><br><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">animated material mgt. do it after CMesh::build(), or CMeshMRM::build()</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02846.html">CMaterialBase</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz427_0">getAnimatedMaterial</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return NULL if this material is NOT animated. (or if material do not exist)  <a href="#NL3D_1_1CMeshMultiLodz427_0"></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="a02858.html#NL3D_1_1CMeshMultiLodz427_1">setAnimatedMaterial</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>, const std::string &amp;matName)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">setup a material as animated. Material must exist or else no-op.  <a href="#NL3D_1_1CMeshMultiLodz427_1"></a><br><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Automatic animation</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz433_0">getAutoAnim</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz433_1">setAutoAnim</a> (bool on=true)</td></tr>

<tr><td colspan="2"><div class="groupHeader">access default tracks.</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03549.html">CTrackDefaultRGBA</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_0">getDefaultLMFactor</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_1">getDefaultPivot</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_2">getDefaultPos</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_3">getDefaultRotEuler</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03548.html">CTrackDefaultQuat</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_4">getDefaultRotQuat</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_5">getDefaultScale</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader">LodCharacterTexture</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02810.html">CLodCharacterTexture</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz435_0">getLodCharacterTexture</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the lod texture info. see <a class="el" href="a03399.html">CSkeletonModel</a> Lod system. NULL per default. NB: serialised  <a href="#NL3D_1_1CMeshMultiLodz435_0"></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="a02858.html#NL3D_1_1CMeshMultiLodz435_1">resetLodCharacterTexture</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">reset the lod texture info. see <a class="el" href="a03399.html">CSkeletonModel</a> Lod system.  <a href="#NL3D_1_1CMeshMultiLodz435_1"></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="a02858.html#NL3D_1_1CMeshMultiLodz435_2">setupLodCharacterTexture</a> (<a class="el" href="a02810.html">CLodCharacterTexture</a> &amp;lodText)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">setup the lod texture info. see <a class="el" href="a03399.html">CSkeletonModel</a> Lod system  <a href="#NL3D_1_1CMeshMultiLodz435_2"></a><br><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Material accessors</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02839.html">CMaterial</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz431_0">getMaterial</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a material, const version.  <a href="#NL3D_1_1CMeshMultiLodz431_0"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02839.html">CMaterial</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz431_1">getMaterial</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a material.  <a href="#NL3D_1_1CMeshMultiLodz431_1"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz431_2">getNbMaterial</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the number of materials in the mesh.  <a href="#NL3D_1_1CMeshMultiLodz431_2"></a><br><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">animated material mgt. do it after CMesh::build(), or CMeshMRM::build()</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02846.html">CMaterialBase</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz427_0">getAnimatedMaterial</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return NULL if this material is NOT animated. (or if material do not exist)  <a href="#NL3D_1_1CMeshMultiLodz427_0"></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="a02858.html#NL3D_1_1CMeshMultiLodz427_1">setAnimatedMaterial</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>, const std::string &amp;matName)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">setup a material as animated. Material must exist or else no-op.  <a href="#NL3D_1_1CMeshMultiLodz427_1"></a><br><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Automatic animation</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz433_0">getAutoAnim</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz433_1">setAutoAnim</a> (bool on=true)</td></tr>

<tr><td colspan="2"><div class="groupHeader">access default tracks.</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03549.html">CTrackDefaultRGBA</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_0">getDefaultLMFactor</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_1">getDefaultPivot</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_2">getDefaultPos</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_3">getDefaultRotEuler</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03548.html">CTrackDefaultQuat</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_4">getDefaultRotQuat</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_5">getDefaultScale</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader">LodCharacterTexture</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02810.html">CLodCharacterTexture</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz435_0">getLodCharacterTexture</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the lod texture info. see <a class="el" href="a03399.html">CSkeletonModel</a> Lod system. NULL per default. NB: serialised  <a href="#NL3D_1_1CMeshMultiLodz435_0"></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="a02858.html#NL3D_1_1CMeshMultiLodz435_1">resetLodCharacterTexture</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">reset the lod texture info. see <a class="el" href="a03399.html">CSkeletonModel</a> Lod system.  <a href="#NL3D_1_1CMeshMultiLodz435_1"></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="a02858.html#NL3D_1_1CMeshMultiLodz435_2">setupLodCharacterTexture</a> (<a class="el" href="a02810.html">CLodCharacterTexture</a> &amp;lodText)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">setup the lod texture info. see <a class="el" href="a03399.html">CSkeletonModel</a> Lod system  <a href="#NL3D_1_1CMeshMultiLodz435_2"></a><br><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Material accessors</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02839.html">CMaterial</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz431_0">getMaterial</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a material, const version.  <a href="#NL3D_1_1CMeshMultiLodz431_0"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02839.html">CMaterial</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz431_1">getMaterial</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a material.  <a href="#NL3D_1_1CMeshMultiLodz431_1"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz431_2">getNbMaterial</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the number of materials in the mesh.  <a href="#NL3D_1_1CMeshMultiLodz431_2"></a><br><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">animated material mgt. do it after CMesh::build(), or CMeshMRM::build()</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02846.html">CMaterialBase</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz427_0">getAnimatedMaterial</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return NULL if this material is NOT animated. (or if material do not exist)  <a href="#NL3D_1_1CMeshMultiLodz427_0"></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="a02858.html#NL3D_1_1CMeshMultiLodz427_1">setAnimatedMaterial</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>, const std::string &amp;matName)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">setup a material as animated. Material must exist or else no-op.  <a href="#NL3D_1_1CMeshMultiLodz427_1"></a><br><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Automatic animation</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz433_0">getAutoAnim</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz433_1">setAutoAnim</a> (bool on=true)</td></tr>

<tr><td colspan="2"><div class="groupHeader">access default tracks.</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03549.html">CTrackDefaultRGBA</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_0">getDefaultLMFactor</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_1">getDefaultPivot</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_2">getDefaultPos</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_3">getDefaultRotEuler</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03548.html">CTrackDefaultQuat</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_4">getDefaultRotQuat</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_5">getDefaultScale</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader">LodCharacterTexture</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02810.html">CLodCharacterTexture</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz435_0">getLodCharacterTexture</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the lod texture info. see <a class="el" href="a03399.html">CSkeletonModel</a> Lod system. NULL per default. NB: serialised  <a href="#NL3D_1_1CMeshMultiLodz435_0"></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="a02858.html#NL3D_1_1CMeshMultiLodz435_1">resetLodCharacterTexture</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">reset the lod texture info. see <a class="el" href="a03399.html">CSkeletonModel</a> Lod system.  <a href="#NL3D_1_1CMeshMultiLodz435_1"></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="a02858.html#NL3D_1_1CMeshMultiLodz435_2">setupLodCharacterTexture</a> (<a class="el" href="a02810.html">CLodCharacterTexture</a> &amp;lodText)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">setup the lod texture info. see <a class="el" href="a03399.html">CSkeletonModel</a> Lod system  <a href="#NL3D_1_1CMeshMultiLodz435_2"></a><br><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Material accessors</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02839.html">CMaterial</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz431_0">getMaterial</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a material, const version.  <a href="#NL3D_1_1CMeshMultiLodz431_0"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02839.html">CMaterial</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz431_1">getMaterial</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a material.  <a href="#NL3D_1_1CMeshMultiLodz431_1"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz431_2">getNbMaterial</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the number of materials in the mesh.  <a href="#NL3D_1_1CMeshMultiLodz431_2"></a><br><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Structures for building a multi lod mesh.</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodz535_0">build</a> (<a class="el" href="a02911.html">CMeshMultiLodBuild</a> &amp;mbuild)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Build a mesh from material info, and a builded MeshGeom. WARNING: This has a side effect of deleting AnimatedMaterials.  <a href="#NL3D_1_1CMeshMultiLodz535_0"></a><br><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">From IShape</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodz537_0">clip</a> (const std::vector&lt; <a class="el" href="a03082.html">CPlane</a> &gt; &amp;pyramid, const <a class="el" href="a02851.html">CMatrix</a> &amp;worldMatrix)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">clip this mesh in a driver.  <a href="#NL3D_1_1CMeshMultiLodz537_0"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02537.html">CTransformShape</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodz537_1">createInstance</a> (<a class="el" href="a03348.html">CScene</a> &amp;scene)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a <a class="el" href="a02888.html">CMeshInstance</a>, which contains materials.  <a href="#NL3D_1_1CMeshMultiLodz537_1"></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="a02910.html#NL3D_1_1CMeshMultiLodz537_2">getAABBox</a> (<a class="el" href="a02156.html">NLMISC::CAABBox</a> &amp;bbox) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get bbox.  <a href="#NL3D_1_1CMeshMultiLodz537_2"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodz537_3">NLMISC_DECLARE_CLASS</a> (<a class="el" href="a02910.html">CMeshMultiLod</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Declare name of the shape.  <a href="#NL3D_1_1CMeshMultiLodz537_3"></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="a02910.html#NL3D_1_1CMeshMultiLodz537_4">profileSceneRender</a> (<a class="el" href="a03325.html">CRenderTrav</a> *rdrTrav, <a class="el" href="a02537.html">CTransformShape</a> *trans, bool opaquePass)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">profiling  <a href="#NL3D_1_1CMeshMultiLodz537_4"></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="a02910.html#NL3D_1_1CMeshMultiLodz537_5">render</a> (<a class="el" href="a02434.html">IDriver</a> *drv, <a class="el" href="a02537.html">CTransformShape</a> *trans, bool passOpaque)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodz537_5">render()</a> this mesh in a driver.  <a href="#NL3D_1_1CMeshMultiLodz537_5"></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="a02910.html#NL3D_1_1CMeshMultiLodz537_6">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &amp;f)  throw (NLMISC::EStream)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">serial this mesh.  <a href="#NL3D_1_1CMeshMultiLodz537_6"></a><br><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">animated material mgt. do it after CMesh::build(), or CMeshMRM::build()</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02846.html">CMaterialBase</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz427_0">getAnimatedMaterial</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return NULL if this material is NOT animated. (or if material do not exist)  <a href="#NL3D_1_1CMeshMultiLodz427_0"></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="a02858.html#NL3D_1_1CMeshMultiLodz427_1">setAnimatedMaterial</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>, const std::string &amp;matName)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">setup a material as animated. Material must exist or else no-op.  <a href="#NL3D_1_1CMeshMultiLodz427_1"></a><br><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Automatic animation</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz433_0">getAutoAnim</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz433_1">setAutoAnim</a> (bool on=true)</td></tr>

<tr><td colspan="2"><div class="groupHeader">access default tracks.</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03549.html">CTrackDefaultRGBA</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_0">getDefaultLMFactor</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_1">getDefaultPivot</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_2">getDefaultPos</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_3">getDefaultRotEuler</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03548.html">CTrackDefaultQuat</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_4">getDefaultRotQuat</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz429_5">getDefaultScale</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader">LodCharacterTexture</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02810.html">CLodCharacterTexture</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz435_0">getLodCharacterTexture</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the lod texture info. see <a class="el" href="a03399.html">CSkeletonModel</a> Lod system. NULL per default. NB: serialised  <a href="#NL3D_1_1CMeshMultiLodz435_0"></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="a02858.html#NL3D_1_1CMeshMultiLodz435_1">resetLodCharacterTexture</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">reset the lod texture info. see <a class="el" href="a03399.html">CSkeletonModel</a> Lod system.  <a href="#NL3D_1_1CMeshMultiLodz435_1"></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="a02858.html#NL3D_1_1CMeshMultiLodz435_2">setupLodCharacterTexture</a> (<a class="el" href="a02810.html">CLodCharacterTexture</a> &amp;lodText)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">setup the lod texture info. see <a class="el" href="a03399.html">CSkeletonModel</a> Lod system  <a href="#NL3D_1_1CMeshMultiLodz435_2"></a><br><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Material accessors</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02839.html">CMaterial</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz431_0">getMaterial</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a material, const version.  <a href="#NL3D_1_1CMeshMultiLodz431_0"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02839.html">CMaterial</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz431_1">getMaterial</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a material.  <a href="#NL3D_1_1CMeshMultiLodz431_1"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz431_2">getNbMaterial</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the number of materials in the mesh.  <a href="#NL3D_1_1CMeshMultiLodz431_2"></a><br><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Mesh Block Render Interface</div></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02879.html">IMeshGeom</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodz539_0">supportMeshBlockRendering</a> (<a class="el" href="a02537.html">CTransformShape</a> *trans, float &amp;polygonCount) const </td></tr>

<tr><td colspan=2><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz425_1">TLightMapInfo</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodo0">_LightInfos</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypeo0">crefs</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>CPtrInfo *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypeo1">pinfo</a></td></tr>

<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>CPtrInfo&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypes0">NullPtrInfo</a></td></tr>

<tr><td colspan=2><br><h2>Protected Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map&lt; <a class="el" href="a04558.html#a11">uint32</a>,<br>
 <a class="el" href="a02846.html">CMaterialBase</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodx0">TAnimatedMaterialMap</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Animated Material mgt.  <a href="#NL3D_1_1CMeshMultiLodx0"></a><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected 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="a02858.html#NL3D_1_1CMeshMultiLodb0">applyMaterialUsageOptim</a> (const std::vector&lt; bool &gt; &amp;materialUsed, std::vector&lt; <a class="el" href="a04558.html#a14">sint</a> &gt; &amp;remap)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodb1">buildMeshBase</a> (CMeshBaseBuild &amp;m)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Just copy informations from a <a class="el" href="a02872.html">CMeshBaseBuild</a>.  <a href="#NL3D_1_1CMeshMultiLodb1"></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="a02858.html#NL3D_1_1CMeshMultiLodb2">instanciateMeshBase</a> (<a class="el" href="a02873.html">CMeshBaseInstance</a> *mi, <a class="el" href="a03348.html">CScene</a> *ownerScene)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">instanciate MeshBase part to an instance (a <a class="el" href="a02873.html">CMeshBaseInstance</a>).  <a href="#NL3D_1_1CMeshMultiLodb2"></a><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodx0">TAnimatedMaterialMap</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="a02936.html">CMorphBase</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp1">_AnimatedMorph</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp2">_AutoAnim</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03549.html">CTrackDefaultRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp3">_DefaultLMFactor</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp4">_DefaultPivot</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp5">_DefaultPos</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Transform default tracks. Those default tracks are instancied, ie, CInstanceMesh will have the same and can't specialize it.  <a href="#NL3D_1_1CMeshMultiLodp5"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp6">_DefaultRotEuler</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03548.html">CTrackDefaultQuat</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp7">_DefaultRotQuat</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp8">_DefaultScale</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default to -1.  <a href="#NL3D_1_1IShapep0"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp10">_IsLightable</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Is this mesh lightable??  <a href="#NL3D_1_1CMeshMultiLodp10"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="a02839.html">CMaterial</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The Materials.  <a href="#NL3D_1_1CMeshMultiLodp11"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp12">_UseLightingLocalAttenuation</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Is this mesh Use Lighting Local Attenuation ??  <a href="#NL3D_1_1CMeshMultiLodp12"></a><br><br></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="a02910.html#NL3D_1_1CMeshMultiLodd0">clear</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clear the mesh.  <a href="#NL3D_1_1CMeshMultiLodd0"></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="a02910.html#NL3D_1_1CMeshMultiLodd1">compileCoarseMeshes</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">compile Coarse Meshs when builded/loaded.  <a href="#NL3D_1_1CMeshMultiLodd1"></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="a02910.html#NL3D_1_1CMeshMultiLodd2">compileDistMax</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">copileDistMax when builded/loaded.  <a href="#NL3D_1_1CMeshMultiLodd2"></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="a02910.html#NL3D_1_1CMeshMultiLodd3">instanciateCoarseMeshSpace</a> (<a class="el" href="a02914.html">CMeshMultiLodInstance</a> *mi)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">called at <a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodz537_1">createInstance()</a> time  <a href="#NL3D_1_1CMeshMultiLodd3"></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="a02910.html#NL3D_1_1CMeshMultiLodd4">profileMeshGeom</a> (<a class="el" href="a04558.html#a15">uint</a> slot, <a class="el" href="a03325.html">CRenderTrav</a> *rdrTrav, <a class="el" href="a02914.html">CMeshMultiLodInstance</a> *trans, float numPoylgons, <a class="el" href="a04558.html#a11">uint32</a> rdrFlags)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Profile the MeshGeom of a slot, even if coarseMesh.  <a href="#NL3D_1_1CMeshMultiLodd4"></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="a02910.html#NL3D_1_1CMeshMultiLodd5">renderCoarseMesh</a> (<a class="el" href="a04558.html#a15">uint</a> slot, <a class="el" href="a02434.html">IDriver</a> *drv, <a class="el" href="a02914.html">CMeshMultiLodInstance</a> *trans, <a class="el" href="a02371.html">CCoarseMeshManager</a> *manager)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Render the CoarseMesh of a slot. must be a coarseMesh, and shoudl be called only in passOpaque.  <a href="#NL3D_1_1CMeshMultiLodd5"></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="a02910.html#NL3D_1_1CMeshMultiLodd6">renderMeshGeom</a> (<a class="el" href="a04558.html#a15">uint</a> slot, <a class="el" href="a02434.html">IDriver</a> *drv, <a class="el" href="a02914.html">CMeshMultiLodInstance</a> *trans, float numPoylgons, <a class="el" href="a04558.html#a11">uint32</a> rdrFlags, float <a class="el" href="a04223.html#a663">alpha</a>, <a class="el" href="a02371.html">CCoarseMeshManager</a> *manager)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Render the MeshGeom of a slot, even if coarseMesh.  <a href="#NL3D_1_1CMeshMultiLodd6"></a><br><br></td></tr>
<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="a02913.html">CMeshSlot</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Vector of meshes.  <a href="#NL3D_1_1CMeshMultiLodr0"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodr1">_StaticLod</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Static or dynamic load ? Yoyo: no more used, but leave for possible usage later...  <a href="#NL3D_1_1CMeshMultiLodr1"></a><br><br></td></tr>
<tr><td colspan=2><br><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>class&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodn0">CMeshMultiLodInstance</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>struct&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypen0">CPtrInfo</a></td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="NL3D_1_1CMeshMultiLodx0" doxytag="NL3D::CMeshMultiLod::TAnimatedMaterialMap" ></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"> typedef std::map&lt;<a class="el" href="a04558.html#a11">uint32</a>, <a class="el" href="a02846.html">CMaterialBase</a>&gt; <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodx0">NL3D::CMeshBase::TAnimatedMaterialMap</a><code> [protected, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Animated Material mgt. 
<p>

<p>
Definition at line <a class="el" href="a05992.html#l00239">239</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz425_0" doxytag="NL3D::CMeshMultiLod::TLightInfoMapV7" ></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"> typedef std::map&lt; std::string, CLightInfoMapListV7 &gt; <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz425_0">NL3D::CMeshBase::TLightInfoMapV7</a><code> [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="a05992.html#l00076">76</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
Referenced by <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz425_1" doxytag="NL3D::CMeshMultiLod::TLightMapInfo" ></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"> typedef std::vector&lt; CLightMapInfoList &gt; <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz425_1">NL3D::CMeshBase::TLightMapInfo</a><code> [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="a05992.html#l00111">111</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="NL3D_1_1CMeshMultiLodb0" doxytag="NL3D::CMeshMultiLod::applyMaterialUsageOptim" ></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 NL3D::CMeshBase::applyMaterialUsageOptim </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const std::vector&lt; bool &gt; &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>materialUsed</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>std::vector&lt; <a class="el" href="a04558.html#a14">sint</a> &gt; &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>remap</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected, inherited]</code></td>
        </tr>

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

<p>
delete any material not used, and build remap table (old to new). _AnimatedMaterials are reseted <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz435_1">resetLodCharacterTexture()</a>; is called
<p>
Definition at line <a class="el" href="a05991.html#l00333">333</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
<p>
References <a class="el" href="a05992.html#l00240">NL3D::CMeshBase::_AnimatedMaterials</a>, <a class="el" href="a05992.html#l00234">NL3D::CMeshBase::_LightInfos</a>, <a class="el" href="a05646.html#l00240">count</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05991.html#l00436">NL3D::CMeshBase::resetLodCharacterTexture()</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a05992.html#l00102">NL3D::CMeshBase::CLightMapInfoList::StageList</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
<p>
<div class="fragment"><pre>00334 {
00335         <a class="code" href="a04199.html#a6">nlassert</a>(<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.size()==materialUsed.size());
00336 
00337         <span class="comment">// security reset</span>
00338         <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodz435_1">resetLodCharacterTexture</a>();
00339         <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>.clear();
00340 
00341         <span class="comment">// init all ids to "Not Used"</span>
00342         remap.clear();
00343         remap.resize(<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.size(), -1);
00344 
00345         <span class="comment">// remove unused materials and build remap</span>
00346         vector&lt;CMaterial&gt;::iterator             itMat= <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.begin();
00347         <a class="code" href="a04558.html#a15">uint</a>                                                    dstIdx= 0;
00348         <a class="code" href="a04558.html#a15">uint</a> i;
00349         <span class="keywordflow">for</span>(i=0;i&lt;materialUsed.size();i++)
00350         {
00351                 <span class="comment">// if used, still use it, and remap.</span>
00352                 <span class="keywordflow">if</span>(materialUsed[i])
00353                 {
00354                         remap[i]= dstIdx;
00355                         itMat++;
00356                         dstIdx++;
00357                 }
00358                 <span class="comment">// remove from the array</span>
00359                 <span class="keywordflow">else</span>
00360                 {
00361                         itMat= <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.erase(itMat);
00362                 }
00363         }
00364 
00365         <span class="comment">// apply the remap to LightMaps infos</span>
00366         <span class="keyword">const</span> <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a577">count</a> = <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodo0">_LightInfos</a>.size ();
00367         <span class="keywordflow">for</span> (i=0; i&lt;<a class="code" href="a04223.html#a577">count</a>; i++)
00368         {
00369                 CLightMapInfoList &amp;mapInfoList = <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodo0">_LightInfos</a>[i];
00370                 std::list&lt;CMeshBase::CLightMapInfoList::CMatStage&gt;::iterator ite = mapInfoList.StageList.begin ();
00371                 <span class="keywordflow">while</span> (ite != mapInfoList.StageList.end ())
00372                 {
00373                         <a class="code" href="a04558.html#a14">sint</a>    newId= remap[ite-&gt;MatId];
00374                         <span class="comment">// If material used</span>
00375                         <span class="keywordflow">if</span>(newId&gt;=0)
00376                         {
00377                                 <span class="comment">// apply remap on the material id</span>
00378                                 ite-&gt;MatId= newId;
00379                                 ite++;
00380                         }
00381                         <span class="keywordflow">else</span>
00382                         {
00383                                 <span class="comment">// remove it from list of light infos</span>
00384                                 ite= mapInfoList.StageList.erase(ite);
00385                         }
00386                 }
00387         }
00388 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz535_0" doxytag="NL3D::CMeshMultiLod::build" ></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 NL3D::CMeshMultiLod::build </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a02911.html">CMeshMultiLodBuild</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>mbuild</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

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

<p>
Build a mesh from material info, and a builded MeshGeom. WARNING: This has a side effect of deleting AnimatedMaterials. 
<p>

<p>
Definition at line <a class="el" href="a06016.html#l00052">52</a> of file <a class="el" href="a06016.html">mesh_multi_lod.cpp</a>.
<p>
References <a class="el" href="a06017.html#l00253">_MeshVector</a>, <a class="el" href="a06017.html#l00250">_StaticLod</a>, <a class="el" href="a06017.html#l00104">NL3D::CMeshMultiLod::CMeshMultiLodBuild::BaseMesh</a>, <a class="el" href="a06016.html#l00403">clear()</a>, <a class="el" href="a06016.html#l00765">compileCoarseMeshes()</a>, <a class="el" href="a06016.html#l00587">compileDistMax()</a>, <a class="el" href="a06017.html#l00107">NL3D::CMeshMultiLod::CMeshMultiLodBuild::LodMeshes</a>, <a class="el" href="a06017.html#l00215">NL3D::CMeshMultiLod::CMeshSlot::MeshGeom</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06017.html#l00101">NL3D::CMeshMultiLod::CMeshMultiLodBuild::StaticLod</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
<p>
<div class="fragment"><pre>00053 {
00054         <span class="comment">// Clear the mesh</span>
00055         <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodd0">clear</a> ();
00056 
00057         <span class="comment">// Build the base mesh</span>
00058         CMeshBase::buildMeshBase (mbuild.BaseMesh);
00059 
00060         <span class="comment">// Static flag</span>
00061         <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr1">_StaticLod</a>=mbuild.StaticLod;
00062 
00063         <span class="comment">// Resize the array</span>
00064         <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>.resize (mbuild.LodMeshes.size());
00065 
00066         <span class="comment">// For each slots</span>
00067         <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> slot=0; slot&lt;mbuild.LodMeshes.size(); slot++)
00068         {
00069                 <span class="comment">// Dist max</span>
00070                 <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[slot].DistMax=mbuild.LodMeshes[slot].DistMax;
00071 
00072                 <span class="comment">// BlendLength</span>
00073                 <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[slot].BlendLength=mbuild.LodMeshes[slot].BlendLength;
00074 
00075                 <span class="comment">// Flags</span>
00076                 <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[slot].Flags=0;
00077 
00078                 <span class="comment">// Blend in ?</span>
00079                 <span class="keywordflow">if</span> (mbuild.LodMeshes[slot].Flags &amp; CMeshMultiLodBuild::CBuildSlot::BlendIn)
00080                         <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[slot].Flags|=CMeshSlot::BlendIn;
00081 
00082                 <span class="comment">// Blend out ?</span>
00083                 <span class="keywordflow">if</span> (mbuild.LodMeshes[slot].Flags &amp; CMeshMultiLodBuild::CBuildSlot::BlendOut)
00084                         <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[slot].Flags|=CMeshSlot::BlendOut;
00085 
00086                 <span class="comment">// Coarse mesh ?</span>
00087                 <span class="keywordflow">if</span> (mbuild.LodMeshes[slot].Flags &amp; CMeshMultiLodBuild::CBuildSlot::CoarseMesh)
00088                 {
00089                         <span class="comment">// Flag</span>
00090                         <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[slot].Flags|=CMeshSlot::CoarseMesh;
00091                 }
00092 
00093                 <span class="comment">// Is opaque</span>
00094                 <span class="keywordflow">if</span> (mbuild.LodMeshes[slot].Flags &amp; CMeshMultiLodBuild::CBuildSlot::IsOpaque)
00095                         <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[slot].Flags|=CMeshSlot::IsOpaque;
00096 
00097                 <span class="comment">// Is transparent</span>
00098                 <span class="keywordflow">if</span> (mbuild.LodMeshes[slot].Flags &amp; CMeshMultiLodBuild::CBuildSlot::IsTransparent)
00099                         <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[slot].Flags|=CMeshSlot::IsTransparent;
00100 
00101                 <span class="comment">// MeshGeom</span>
00102                 <a class="code" href="a04199.html#a6">nlassert</a> (mbuild.LodMeshes[slot].MeshGeom);
00103 
00104                 <span class="comment">// Valid pointer ?</span>
00105                 <span class="keywordflow">if</span> (<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[slot].Flags&amp;CMeshSlot::CoarseMesh)
00106                 {
00107                         <span class="comment">// If it is a coarse mesh, it must be a CMeshGeom.</span>
00108                         <span class="keywordflow">if</span> (dynamic_cast&lt;CMeshGeom*&gt;(mbuild.LodMeshes[slot].MeshGeom)==NULL)
00109                         {
00110                                 <span class="comment">// If it is a coarse mesh, it must be a CMeshGeom.</span>
00111                                 <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[slot].MeshGeom = NULL;
00112                                 <span class="keyword">delete</span> mbuild.LodMeshes[slot].MeshGeom;
00113                         }
00114                         <span class="keywordflow">else</span>
00115                                 <span class="comment">// Ok, no prb</span>
00116                                 <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[slot].MeshGeom = mbuild.LodMeshes[slot].MeshGeom;
00117                 }
00118                 <span class="keywordflow">else</span>
00119                         <span class="comment">// Ok, no prb</span>
00120                         <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[slot].MeshGeom = mbuild.LodMeshes[slot].MeshGeom;   
00121         }
00122 
00123         <span class="comment">// Sort the slot by the distance...</span>
00124         <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i=mbuild.LodMeshes.size()-1; i&gt;0; i--)
00125         <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j=0; j&lt;i; j++)
00126         {
00127                 <span class="comment">// Bad sort ?</span>
00128                 <span class="keywordflow">if</span> (<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[j].DistMax&gt;<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[j+1].DistMax)
00129                 {
00130                         <span class="comment">// Exchange slots</span>
00131                         CMeshSlot tmp=<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[j];
00132                         _MeshVector[j]=_MeshVector[j+1];
00133                         _MeshVector[j+1]=tmp;
00134                         tmp.MeshGeom=NULL;
00135                 }
00136         }
00137 
00138         <span class="comment">// Calc start and end polygon count</span>
00139         <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> k=0; k&lt;mbuild.LodMeshes.size(); k++)
00140         {
00141                 <span class="comment">// Get start distance</span>
00142                 <span class="keywordtype">float</span> startDist;
00143                 <span class="keywordflow">if</span> (k==0)
00144                         startDist=0;
00145                 <span class="keywordflow">else</span> 
00146                         startDist=<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[k-1].DistMax;
00147 
00148                 <span class="comment">// Get start poly count</span>
00149                 <span class="keywordtype">float</span> startPolyCount;
00150                 startPolyCount=_MeshVector[k].MeshGeom-&gt;getNumTriangles (startDist);
00151 
00152                 <span class="comment">// Get end distance</span>
00153                 <span class="keywordtype">float</span> endDist=_MeshVector[k].DistMax;
00154 
00155                 <span class="comment">// Get end poly count</span>
00156                 <span class="keywordflow">if</span> (k==mbuild.LodMeshes.size()-1)
00157                 {
00158                         _MeshVector[k].EndPolygonCount=_MeshVector[k].MeshGeom-&gt;getNumTriangles (endDist);
00159                         <span class="keywordflow">if</span> (startPolyCount==_MeshVector[k].EndPolygonCount)
00160                                 _MeshVector[k].EndPolygonCount=startPolyCount/2;
00161                 }
00162                 <span class="keywordflow">else</span> 
00163                         _MeshVector[k].EndPolygonCount=_MeshVector[k+1].MeshGeom-&gt;getNumTriangles (endDist);
00164 
00165                 <span class="comment">// Calc A</span>
00166                 <span class="keywordflow">if</span> (endDist==startDist)
00167                         _MeshVector[k].A=0;
00168                 <span class="keywordflow">else</span>
00169                         _MeshVector[k].A=(_MeshVector[k].EndPolygonCount-startPolyCount)/(endDist-startDist);
00170 
00171                 <span class="comment">// Calc A</span>
00172                 _MeshVector[k].B=_MeshVector[k].EndPolygonCount-_MeshVector[k].A*endDist;
00173         }
00174 
00175         <span class="comment">// End: compile some stuff</span>
00176         <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodd2">compileDistMax</a>();
00177         <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodd1">compileCoarseMeshes</a>();
00178 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodb1" doxytag="NL3D::CMeshMultiLod::buildMeshBase" ></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 NL3D::CMeshBase::buildMeshBase </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a02872.html">CMeshBaseBuild</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>m</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected, inherited]</code></td>
        </tr>

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

<p>
Just copy informations from a <a class="el" href="a02872.html">CMeshBaseBuild</a>. 
<p>
Copy default position values 
<p>
Definition at line <a class="el" href="a05991.html#l00226">226</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
<p>
References <a class="el" href="a05992.html#l00240">NL3D::CMeshBase::_AnimatedMaterials</a>, <a class="el" href="a05992.html#l00251">NL3D::CMeshBase::_AnimatedMorph</a>, <a class="el" href="a05992.html#l00245">NL3D::CMeshBase::_DefaultPivot</a>, <a class="el" href="a05992.html#l00246">NL3D::CMeshBase::_DefaultRotEuler</a>, <a class="el" href="a05992.html#l00247">NL3D::CMeshBase::_DefaultRotQuat</a>, <a class="el" href="a05992.html#l00248">NL3D::CMeshBase::_DefaultScale</a>, <a class="el" href="a05992.html#l00234">NL3D::CMeshBase::_LightInfos</a>, <a class="el" href="a05992.html#l00256">NL3D::CMeshBase::_UseLightingLocalAttenuation</a>, <a class="el" href="a05992.html#l00135">NL3D::CMeshBase::CMeshBaseBuild::BSNames</a>, <a class="el" href="a05991.html#l00407">NL3D::CMeshBase::computeIsLightable()</a>, <a class="el" href="a05992.html#l00134">NL3D::CMeshBase::CMeshBaseBuild::DefaultBSFactors</a>, <a class="el" href="a05992.html#l00122">NL3D::CMeshBase::CMeshBaseBuild::DefaultPivot</a>, <a class="el" href="a05992.html#l00121">NL3D::CMeshBase::CMeshBaseBuild::DefaultPos</a>, <a class="el" href="a05992.html#l00123">NL3D::CMeshBase::CMeshBaseBuild::DefaultRotEuler</a>, <a class="el" href="a05992.html#l00124">NL3D::CMeshBase::CMeshBaseBuild::DefaultRotQuat</a>, <a class="el" href="a05992.html#l00125">NL3D::CMeshBase::CMeshBaseBuild::DefaultScale</a>, <a class="el" href="a05992.html#l00131">NL3D::CMeshBase::CMeshBaseBuild::LightInfoMap</a>, <a class="el" href="a05992.html#l00128">NL3D::CMeshBase::CMeshBaseBuild::Materials</a>, <a class="el" href="a06556.html#l00162">NL3D::CTrackDefaultBlendable&lt; CQuat &gt;::setValue()</a>, <a class="el" href="a06556.html#l00162">NL3D::CTrackDefaultBlendable&lt; CVector &gt;::setValue()</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05992.html#l00118">NL3D::CMeshBase::CMeshBaseBuild::UseLightingLocalAttenuation</a>.
<p>
<div class="fragment"><pre>00227 {
00228         <span class="comment">// Copy light information</span>
00229         <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodo0">_LightInfos</a> = m.LightInfoMap;
00230 
00231         <span class="comment">// copy the materials.</span>
00232         <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>= m.Materials;
00233 
00234         <span class="comment">// clear the animated materials.</span>
00235         <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>.clear();
00236 
00238         <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp5">_DefaultPos</a>.setValue (m.DefaultPos);
00239         <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp4">_DefaultPivot</a>.setValue (m.DefaultPivot);
00240         <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp6">_DefaultRotEuler</a>.setValue (m.DefaultRotEuler);
00241         <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp7">_DefaultRotQuat</a>.setValue (m.DefaultRotQuat);
00242         <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp8">_DefaultScale</a>.setValue (m.DefaultScale);
00243 
00244         <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp1">_AnimatedMorph</a>  .resize(m.DefaultBSFactors.size());
00245         <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a11">uint32</a> i = 0; i &lt; m.DefaultBSFactors.size(); ++i)
00246         {
00247                 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp1">_AnimatedMorph</a>[i].DefaultFactor.setValue (m.DefaultBSFactors[i]);
00248                 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp1">_AnimatedMorph</a>[i].Name = m.BSNames[i];
00249         }
00250 
00251         <span class="comment">// update _IsLightable flag.</span>
00252         <a class="code" href="a02858.html#NL3D_1_1CMeshBased0">computeIsLightable</a>();
00253         <span class="comment">// copy _UseLightingLocalAttenuation</span>
00254         <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp12">_UseLightingLocalAttenuation</a>= m.UseLightingLocalAttenuation;
00255 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLoda0" doxytag="NL3D::CMeshMultiLod::changeMRMDistanceSetup" ></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 NL3D::CMeshMultiLod::changeMRMDistanceSetup </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">float&nbsp;</td>
          <td class="mdname" nowrap> <em>distanceFinest</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>distanceMiddle</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>distanceCoarsest</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

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

<p>
Change MRM Distance setup of the Lod 0 only. No op if the lod0 is not a <a class="el" href="a02892.html">CMeshMRMGeom</a> NB: no-op if distanceFinest&lt;0, distanceMiddle&lt;=distanceFinest or if distanceCoarsest&lt;=distanceMiddle. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>distanceFinest</em>&nbsp;</td><td>The MRM has its max faces when dist&lt;=distanceFinest. </td></tr>
    <tr><td valign=top><em>distanceMiddle</em>&nbsp;</td><td>The MRM has 50% of its faces at dist==distanceMiddle. </td></tr>
    <tr><td valign=top><em>distanceCoarsest</em>&nbsp;</td><td>The MRM has faces/Divisor (ie near 0) when dist&gt;=distanceCoarsest.</td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="a06016.html#l00609">609</a> of file <a class="el" href="a06016.html">mesh_multi_lod.cpp</a>.
<p>
References <a class="el" href="a06017.html#l00253">_MeshVector</a>, <a class="el" href="a06005.html#l00228">NL3D::CMeshMRMGeom::changeMRMDistanceSetup()</a>, and <a class="el" href="a06017.html#l00144">getNumSlotMesh()</a>.
<p>
Referenced by <a class="el" href="a06018.html#l00202">NL3D::CMeshMultiLodInstance::changeMRMDistanceSetup()</a>.
<p>
<div class="fragment"><pre>00610 {
00611         <span class="comment">// no-op if empty.</span>
00612         <span class="keywordflow">if</span>(<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLoda5">getNumSlotMesh</a> ()==0)
00613                 <span class="keywordflow">return</span>;
00614 
00615         <span class="comment">// If not NULL</span>
00616         <span class="keywordflow">if</span>(<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[0].MeshGeom==NULL)
00617                 <span class="keywordflow">return</span>;
00618 
00619         <span class="comment">// verify it is a CMeshMRMGeom. else no-op.</span>
00620         CMeshMRMGeom    *mgeom= dynamic_cast&lt;CMeshMRMGeom*&gt;(<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[0].MeshGeom);
00621         <span class="keywordflow">if</span>(mgeom==NULL)
00622                 <span class="keywordflow">return</span>;
00623         
00624         <span class="comment">// ok, setup.</span>
00625         mgeom-&gt;changeMRMDistanceSetup(distanceFinest, distanceMiddle, distanceCoarsest);
00626 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodd0" doxytag="NL3D::CMeshMultiLod::clear" ></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 NL3D::CMeshMultiLod::clear </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> [private]</code></td>
        </tr>

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

<p>
Clear the mesh. 
<p>

<p>
Definition at line <a class="el" href="a06016.html#l00403">403</a> of file <a class="el" href="a06016.html">mesh_multi_lod.cpp</a>.
<p>
References <a class="el" href="a06017.html#l00253">_MeshVector</a>.
<p>
Referenced by <a class="el" href="a06016.html#l00052">build()</a>.
<p>
<div class="fragment"><pre>00404 {
00405         <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>.clear ();
00406 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz537_0" doxytag="NL3D::CMeshMultiLod::clip" ></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"> bool NL3D::CMeshMultiLod::clip </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const std::vector&lt; <a class="el" href="a03082.html">CPlane</a> &gt; &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>pyramid</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="a02851.html">CMatrix</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>worldMatrix</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [virtual]</code></td>
        </tr>

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

<p>
clip this mesh in a driver. 
<p>

<p>
Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapea0">NL3D::IShape</a>.
<p>
Definition at line <a class="el" href="a06016.html#l00211">211</a> of file <a class="el" href="a06016.html">mesh_multi_lod.cpp</a>.
<p>
References <a class="el" href="a06017.html#l00253">_MeshVector</a>, <a class="el" href="a06000.html#l00110">NL3D::IMeshGeom::clip()</a>, <a class="el" href="a06017.html#l00215">NL3D::CMeshMultiLod::CMeshSlot::MeshGeom</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
<p>
<div class="fragment"><pre>00212 {
00213         <span class="comment">// Look for the biggest mesh</span>
00214         <a class="code" href="a04558.html#a15">uint</a> meshCount=<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>.size();
00215         <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> i=0; i&lt;meshCount; i++)
00216         {
00217                 <span class="comment">// Ref on slot</span>
00218                 CMeshSlot &amp;slot=<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[i];
00219 
00220                 <span class="comment">// Is mesh present ?</span>
00221                 <span class="keywordflow">if</span> (slot.MeshGeom)
00222                 {
00223                         <span class="comment">// Clip this mesh</span>
00224                         <span class="keywordflow">return</span> slot.MeshGeom-&gt;clip (pyramid, worldMatrix);
00225                 }
00226         }
00227         <span class="keywordflow">return</span> <span class="keyword">true</span>;
00228 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodd1" doxytag="NL3D::CMeshMultiLod::compileCoarseMeshes" ></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 NL3D::CMeshMultiLod::compileCoarseMeshes </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> [private]</code></td>
        </tr>

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

<p>
compile Coarse Meshs when builded/loaded. 
<p>

<p>
Definition at line <a class="el" href="a06016.html#l00765">765</a> of file <a class="el" href="a06016.html">mesh_multi_lod.cpp</a>.
<p>
References <a class="el" href="a06017.html#l00253">_MeshVector</a>, <a class="el" href="a06017.html#l00236">NL3D::CMeshMultiLod::CMeshSlot::CoarseNumTris</a>, <a class="el" href="a06017.html#l00237">NL3D::CMeshMultiLod::CMeshSlot::CoarseTriangles</a>, <a class="el" href="a06017.html#l00233">NL3D::CMeshMultiLod::CMeshSlot::Flags</a>, <a class="el" href="a05990.html#l00393">NL3D::CMeshGeom::getNbMatrixBlock()</a>, <a class="el" href="a05990.html#l00398">NL3D::CMeshGeom::getNbRdrPass()</a>, <a class="el" href="a06198.html#l00108">NL3D::CPrimitiveBlock::getNumTri()</a>, <a class="el" href="a05990.html#l00404">NL3D::CMeshGeom::getRdrPassPrimitiveBlock()</a>, <a class="el" href="a06197.html#l00091">NL3D::CPrimitiveBlock::getTriPointer()</a>, <a class="el" href="a06017.html#l00215">NL3D::CMeshMultiLod::CMeshSlot::MeshGeom</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
<p>
Referenced by <a class="el" href="a06016.html#l00052">build()</a>.
<p>
<div class="fragment"><pre>00766 {
00767         <span class="comment">// For All Slots that are CoarseMeshes.</span>
00768         <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> i=0;i&lt;<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>.size();i++)
00769         {
00770                 CMeshSlot       &amp;slotRef= <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[i];
00771                 <span class="keywordflow">if</span>( slotRef.Flags &amp; CMeshSlot::CoarseMesh )
00772                 {
00773                         <span class="comment">// reset</span>
00774                         slotRef.CoarseNumTris= 0;
00775 
00776                         <span class="comment">// Get a pointer on the geom mesh</span>
00777                         CMeshGeom *meshGeom= safe_cast&lt;CMeshGeom*&gt;(slotRef.MeshGeom);
00778 
00779                         <span class="comment">// For All RdrPass of the 1st matrix block</span>
00780                         <span class="keywordflow">if</span>( meshGeom-&gt;getNbMatrixBlock()&gt;0 )
00781                         {
00782                                 <span class="comment">// 1st count</span>
00783                                 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> i=0;i&lt;meshGeom-&gt;getNbRdrPass(0);i++)
00784                                 {
00785                                         slotRef.CoarseNumTris+= meshGeom-&gt;getRdrPassPrimitiveBlock(0, i).getNumTri();
00786                                 }
00787 
00788                                 <span class="comment">// 2snd allocate and fill</span>
00789                                 <span class="keywordflow">if</span>( slotRef.CoarseNumTris )
00790                                 {
00791                                         slotRef.CoarseTriangles.resize(slotRef.CoarseNumTris * 3);
00792                                         <a class="code" href="a04558.html#a11">uint32</a>  *dstPtr= &amp;slotRef.CoarseTriangles[0];
00793                                         <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> i=0;i&lt;meshGeom-&gt;getNbRdrPass(0);i++)
00794                                         {
00795                                                 <span class="keyword">const</span> CPrimitiveBlock   &amp;pb= meshGeom-&gt;getRdrPassPrimitiveBlock(0, i);
00796                                                 <a class="code" href="a04558.html#a15">uint</a>    numTris= pb.getNumTri();
00797                                                 memcpy(dstPtr, pb.getTriPointer(), numTris*3*<span class="keyword">sizeof</span>(<a class="code" href="a04558.html#a11">uint32</a>));
00798                                                 dstPtr+= numTris*3;
00799                                         }
00800                                 }
00801                         }
00802                 }
00803         }
00804 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodd2" doxytag="NL3D::CMeshMultiLod::compileDistMax" ></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 NL3D::CMeshMultiLod::compileDistMax </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> [private]</code></td>
        </tr>

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

<p>
copileDistMax when builded/loaded. 
<p>

<p>
Definition at line <a class="el" href="a06016.html#l00587">587</a> of file <a class="el" href="a06016.html">mesh_multi_lod.cpp</a>.
<p>
References <a class="el" href="a06017.html#l00253">_MeshVector</a>.
<p>
Referenced by <a class="el" href="a06016.html#l00052">build()</a>.
<p>
<div class="fragment"><pre>00588 {
00589         <span class="comment">// Last element</span>
00590         std::vector&lt;CMeshSlot&gt;::const_iterator ite=<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>.end();
00591         ite--;
00592         <span class="keywordflow">if</span> (ite!=<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>.end())
00593                 IShape::_DistMax= ite-&gt;DistMax;
00594         <span class="keywordflow">else</span>
00595                 IShape::_DistMax= -1;
00596 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz537_1" doxytag="NL3D::CMeshMultiLod::createInstance" ></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"> <a class="el" href="a02537.html">CTransformShape</a> * NL3D::CMeshMultiLod::createInstance </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a03348.html">CScene</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>scene</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

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

<p>
Create a <a class="el" href="a02888.html">CMeshInstance</a>, which contains materials. 
<p>

<p>
Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapea1">NL3D::IShape</a>.
<p>
Definition at line <a class="el" href="a06016.html#l00182">182</a> of file <a class="el" href="a06016.html">mesh_multi_lod.cpp</a>.
<p>
References <a class="el" href="a06019.html#l00077">NL3D::CMeshMultiLodInstance::_LastLodMatrixDate</a>, <a class="el" href="a06017.html#l00253">_MeshVector</a>, <a class="el" href="a06348.html#l01004">NL3D::CScene::createModel()</a>, <a class="el" href="a06018.html#l00223">NL3D::CMeshMultiLodInstance::initRenderFilterType()</a>, <a class="el" href="a06016.html#l00740">instanciateCoarseMeshSpace()</a>, <a class="el" href="a06571.html#l00072">NL3D::CTransformShape::Shape</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
<p>
<div class="fragment"><pre>00183 {
00184         <span class="comment">// Create a CMeshInstance, an instance of a multi lod mesh.</span>
00185         <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodn0">CMeshMultiLodInstance</a> *mi=(<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodn0">CMeshMultiLodInstance</a>*)scene.createModel(NL3D::MeshMultiLodInstanceId);
00186         mi-&gt;Shape= <span class="keyword">this</span>;
00187         mi-&gt;_LastLodMatrixDate=0;
00188 
00189         <span class="comment">// instanciate the material part of the Mesh, ie the CMeshBase.</span>
00190         CMeshBase::instanciateMeshBase(mi, &amp;scene);
00191 
00192         <span class="comment">// Create the necessary space for Coarse Instanciation</span>
00193         <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodd3">instanciateCoarseMeshSpace</a>(mi);
00194 
00195         <span class="comment">// For all lods, do some instance init for MeshGeom</span>
00196         <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> i=0; i&lt;<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>.size(); i++)
00197         {
00198                 <span class="keywordflow">if</span>(<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[i].MeshGeom)
00199                         <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[i].MeshGeom-&gt;initInstance(mi);
00200         }
00201 
00202         <span class="comment">// init the Filter type</span>
00203         mi-&gt;initRenderFilterType();
00204 
00205 
00206         <span class="keywordflow">return</span> mi;
00207 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLoda1" doxytag="NL3D::CMeshMultiLod::flushTextures" ></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 NL3D::CMeshBase::flushTextures </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a02434.html">IDriver</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>driver</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>selectedTexture</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
        </tr>

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

<p>
Flush textures. 
<p>
Flush material textures 
<p>
Implements <a class="el" href="a02539.html#NL3D_1_1IShapea2">NL3D::IShape</a>.
<p>
Definition at line <a class="el" href="a05991.html#l00392">392</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
<p>
References <a class="el" href="a05981.html#l00105">uint</a>.
<p>
<div class="fragment"><pre>00393 {
00394         <span class="comment">// Mat count</span>
00395         <a class="code" href="a04558.html#a15">uint</a> matCount=<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.size();
00396 
00397         <span class="comment">// Flush each material textures</span>
00398         <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> mat=0; mat&lt;matCount; mat++)
00399         {
00401                 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>[mat].flushTextures (driver, selectedTexture);
00402         }
00403 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz537_2" doxytag="NL3D::CMeshMultiLod::getAABBox" ></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 NL3D::CMeshMultiLod::getAABBox </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a02156.html">NLMISC::CAABBox</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>bbox</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>

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

<p>
Get bbox. 
<p>

<p>
Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapea3">NL3D::IShape</a>.
<p>
Definition at line <a class="el" href="a06016.html#l00383">383</a> of file <a class="el" href="a06016.html">mesh_multi_lod.cpp</a>.
<p>
References <a class="el" href="a06017.html#l00253">_MeshVector</a>, <a class="el" href="a05646.html#l00240">count</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
<p>
<div class="fragment"><pre>00384 {
00385         <span class="comment">// Get count</span>
00386         <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a577">count</a>=<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>.size();
00387         <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> slot=0; slot&lt;<a class="code" href="a04223.html#a577">count</a>; slot++)
00388         {
00389                 <span class="comment">// Shape ?</span>
00390                 <span class="keywordflow">if</span> (<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[slot].MeshGeom)
00391                 {
00392                         <span class="comment">// Get the bounding box</span>
00393                         bbox=<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[slot].MeshGeom-&gt;getBoundingBox().getAABBox();
00394 
00395                         <span class="comment">// ok</span>
00396                         <span class="keywordflow">break</span>;
00397                 }
00398         }
00399 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz427_0" doxytag="NL3D::CMeshMultiLod::getAnimatedMaterial" ></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"> <a class="el" href="a02846.html">CMaterialBase</a> * NL3D::CMeshBase::getAnimatedMaterial </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>id</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inherited]</code></td>
        </tr>

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

<p>
return NULL if this material is NOT animated. (or if material do not exist) 
<p>

<p>
Definition at line <a class="el" href="a05991.html#l00090">90</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
<p>
References <a class="el" href="a05992.html#l00240">NL3D::CMeshBase::_AnimatedMaterials</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
<p>
<div class="fragment"><pre>00091 {
00092         TAnimatedMaterialMap::iterator  it;
00093         it= <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>.find(<span class="keywordtype">id</span>);
00094         <span class="keywordflow">if</span>(it!=<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>.end())
00095                 <span class="keywordflow">return</span> &amp;it-&gt;second;
00096         <span class="keywordflow">else</span>
00097                 <span class="keywordflow">return</span> NULL;
00098 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz433_0" doxytag="NL3D::CMeshMultiLod::getAutoAnim" ></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"> bool NL3D::CMeshBase::getAutoAnim </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, 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="a05992.html#l00212">212</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
References <a class="el" href="a05992.html#l00258">NL3D::CMeshBase::_AutoAnim</a>.
<p>
Referenced by <a class="el" href="a06348.html#l00600">NL3D::CScene::createInstance()</a>, and <a class="el" href="a05993.html#l00164">NL3D::CMeshBaseInstance::traverseHrc()</a>.
<p>
<div class="fragment"><pre>00212 { <span class="keywordflow">return</span> <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp2">_AutoAnim</a>; }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1ITrackKeyFramer_3_01CKeyVector_01_4a6" doxytag="NL3D::CMeshMultiLod::getClassName" ></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 std::string NLMISC::IClassable::getClassName </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> [pure virtual, inherited]</code></td>
        </tr>

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

<p>

<p>
Implemented in <a class="el" href="a02995.html#NLAIAGENT_1_1CNumericIndexz1699_0">NLAIAGENT::CNumericIndex</a>, <a class="el" href="a02145.html#NLAIAGENT_1_1VectorTypez1764_0">NLAIC::IPointerGestion</a>, <a class="el" href="a02650.html#NLAIC_1_1CIdentTypez1766_0">NLAIC::CIdentType</a>, and <a class="el" href="a02241.html#CAutomataDescz1896_0">CAutomataDesc</a>.
<p>
Referenced by <a class="el" href="a05549.html#l00091">NLMISC::CClassRegistry::checkObject()</a>, and <a class="el" href="a06525.html#l00039">NL3D::GetTextureSize()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz429_0" doxytag="NL3D::CMeshMultiLod::getDefaultLMFactor" ></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"> <a class="el" href="a03549.html">CTrackDefaultRGBA</a>* NL3D::CMeshBase::getDefaultLMFactor </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, 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="a05992.html#l00166">166</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
References <a class="el" href="a05992.html#l00249">NL3D::CMeshBase::_DefaultLMFactor</a>.
<p>
<div class="fragment"><pre>00166 {<span class="keywordflow">return</span> &amp;<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp3">_DefaultLMFactor</a>;}
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz429_1" doxytag="NL3D::CMeshMultiLod::getDefaultPivot" ></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"> <a class="el" href="a03551.html">CTrackDefaultVector</a>* NL3D::CMeshBase::getDefaultPivot </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, 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="a05992.html#l00162">162</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
References <a class="el" href="a05992.html#l00245">NL3D::CMeshBase::_DefaultPivot</a>.
<p>
Referenced by <a class="el" href="a05993.html#l00097">NL3D::CMeshBaseInstance::getDefaultTrack()</a>.
<p>
<div class="fragment"><pre>00162 {<span class="keywordflow">return</span> &amp;<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp4">_DefaultPivot</a>;}
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz429_2" doxytag="NL3D::CMeshMultiLod::getDefaultPos" ></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"> <a class="el" href="a03551.html">CTrackDefaultVector</a>* NL3D::CMeshBase::getDefaultPos </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, 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="a05992.html#l00161">161</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
Referenced by <a class="el" href="a05993.html#l00097">NL3D::CMeshBaseInstance::getDefaultTrack()</a>.
<p>
<div class="fragment"><pre>00161 {<span class="keywordflow">return</span> &amp;<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp5">_DefaultPos</a>;}
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz429_3" doxytag="NL3D::CMeshMultiLod::getDefaultRotEuler" ></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"> <a class="el" href="a03551.html">CTrackDefaultVector</a>* NL3D::CMeshBase::getDefaultRotEuler </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, 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="a05992.html#l00163">163</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
References <a class="el" href="a05992.html#l00246">NL3D::CMeshBase::_DefaultRotEuler</a>.
<p>
Referenced by <a class="el" href="a05993.html#l00097">NL3D::CMeshBaseInstance::getDefaultTrack()</a>.
<p>
<div class="fragment"><pre>00163 {<span class="keywordflow">return</span> &amp;<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp6">_DefaultRotEuler</a>;}
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz429_4" doxytag="NL3D::CMeshMultiLod::getDefaultRotQuat" ></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"> <a class="el" href="a03548.html">CTrackDefaultQuat</a>* NL3D::CMeshBase::getDefaultRotQuat </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, 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="a05992.html#l00164">164</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
References <a class="el" href="a05992.html#l00247">NL3D::CMeshBase::_DefaultRotQuat</a>.
<p>
Referenced by <a class="el" href="a05993.html#l00097">NL3D::CMeshBaseInstance::getDefaultTrack()</a>.
<p>
<div class="fragment"><pre>00164 {<span class="keywordflow">return</span> &amp;<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp7">_DefaultRotQuat</a>;}
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz429_5" doxytag="NL3D::CMeshMultiLod::getDefaultScale" ></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"> <a class="el" href="a03551.html">CTrackDefaultVector</a>* NL3D::CMeshBase::getDefaultScale </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, 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="a05992.html#l00165">165</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
References <a class="el" href="a05992.html#l00248">NL3D::CMeshBase::_DefaultScale</a>.
<p>
Referenced by <a class="el" href="a05993.html#l00097">NL3D::CMeshBaseInstance::getDefaultTrack()</a>.
<p>
<div class="fragment"><pre>00165 {<span class="keywordflow">return</span> &amp;<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp8">_DefaultScale</a>;}
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1IShapea5" doxytag="NL3D::CMeshMultiLod::getDistMax" ></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"> float NL3D::IShape::getDistMax </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, inherited]</code></td>
        </tr>

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

<p>
return the DistMax where the shape is no more displayed. Default is to return -1, meaning DistMax = infinite.
<p>
Definition at line <a class="el" href="a06377.html#l00112">112</a> of file <a class="el" href="a06377.html">shape.h</a>.
<p>
<div class="fragment"><pre>00112 {<span class="keywordflow">return</span> <a class="code" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a>;}
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz435_0" doxytag="NL3D::CMeshMultiLod::getLodCharacterTexture" ></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"> const <a class="el" href="a02810.html">CLodCharacterTexture</a>* NL3D::CMeshBase::getLodCharacterTexture </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, inherited]</code></td>
        </tr>

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

<p>
get the lod texture info. see <a class="el" href="a03399.html">CSkeletonModel</a> Lod system. NULL per default. NB: serialised 
<p>

<p>
Definition at line <a class="el" href="a05992.html#l00223">223</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
References <a class="el" href="a05992.html#l00278">NL3D::CMeshBase::_LodCharacterTexture</a>.
<p>
Referenced by <a class="el" href="a06393.html#l00866">NL3D::CSkeletonModel::computeLodTexture()</a>.
<p>
<div class="fragment"><pre>00223 {<span class="keywordflow">return</span> _LodCharacterTexture;}
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz431_0" doxytag="NL3D::CMeshMultiLod::getMaterial" ></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"> const <a class="el" href="a02839.html">CMaterial</a>&amp; NL3D::CMeshBase::getMaterial </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>id</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [inline, inherited]</code></td>
        </tr>

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

<p>
Get a material, const version. 
<p>

<p>
Definition at line <a class="el" href="a05992.html#l00184">184</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
References <a class="el" href="a05981.html#l00105">uint</a>.
<p>
<div class="fragment"><pre>00185         {
00186                 <span class="keywordflow">return</span> <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>[<span class="keywordtype">id</span>];
00187         }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz431_1" doxytag="NL3D::CMeshMultiLod::getMaterial" ></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"> <a class="el" href="a02839.html">CMaterial</a>&amp; NL3D::CMeshBase::getMaterial </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>id</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline, inherited]</code></td>
        </tr>

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

<p>
Get a material. 
<p>

<p>
Definition at line <a class="el" href="a05992.html#l00179">179</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
References <a class="el" href="a05981.html#l00105">uint</a>.
<p>
Referenced by <a class="el" href="a06768.html#l01717">NL3D::CZoneLighter::addTriangles()</a>, <a class="el" href="a05567.html#l00070">NL3D::CCoarseMeshBuild::buildBitmap()</a>, <a class="el" href="a06250.html#l02064">NL3D::CPSConstraintMesh::CMeshDisplayShare::buildRdrPassSet()</a>, <a class="el" href="a06250.html#l00501">NL3D::CheckForLightableFacesInMesh()</a>, <a class="el" href="a06250.html#l00480">NL3D::CheckForOpaqueAndTransparentFacesInMesh()</a>, <a class="el" href="a06378.html#l00134">NL3D::CShapeBank::processWaitingShapes()</a>, <a class="el" href="a05567.html#l00430">NL3D::CCoarseMeshBuild::remapCoordinates()</a>, <a class="el" href="a05457.html#l00231">NL3D::CAsyncFileManager3D::CMeshLoad::run()</a>, and <a class="el" href="a05993.html#l00268">NL3D::CMeshBaseInstance::selectTextureSet()</a>.
<p>
<div class="fragment"><pre>00180         {
00181                 <span class="keywordflow">return</span> <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>[<span class="keywordtype">id</span>];
00182         }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLoda4" doxytag="NL3D::CMeshMultiLod::getMeshGeom" ></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"> const <a class="el" href="a02879.html">IMeshGeom</a> &amp; NL3D::CMeshMultiLod::getMeshGeom </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>slot</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

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

<p>
Geometry accessor. 
<p>

<p>
Definition at line <a class="el" href="a06016.html#l00599">599</a> of file <a class="el" href="a06016.html">mesh_multi_lod.cpp</a>.
<p>
References <a class="el" href="a06017.html#l00253">_MeshVector</a>, <a class="el" href="a06017.html#l00144">getNumSlotMesh()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
<p>
Referenced by <a class="el" href="a06768.html#l01670">NL3D::CZoneLighter::addTriangles()</a>, <a class="el" href="a05824.html#l00129">NL3D::CInstanceLighter::addTriangles()</a>, and <a class="el" href="a06626.html#l00053">NL3D::UShape::getMeshTriangles()</a>.
<p>
<div class="fragment"><pre>00600 {
00601         <span class="comment">// Checks</span>
00602         <a class="code" href="a04199.html#a6">nlassert</a> (slot&lt;getNumSlotMesh ());
00603 
00604         <span class="keywordflow">return</span> *<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[slot].MeshGeom;
00605 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz431_2" doxytag="NL3D::CMeshMultiLod::getNbMaterial" ></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"> <a class="el" href="a04558.html#a15">uint</a> NL3D::CMeshBase::getNbMaterial </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, inherited]</code></td>
        </tr>

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

<p>
Get the number of materials in the mesh. 
<p>

<p>
Definition at line <a class="el" href="a05992.html#l00173">173</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
References <a class="el" href="a05981.html#l00105">uint</a>.
<p>
Referenced by <a class="el" href="a06378.html#l00134">NL3D::CShapeBank::processWaitingShapes()</a>, <a class="el" href="a05457.html#l00231">NL3D::CAsyncFileManager3D::CMeshLoad::run()</a>, and <a class="el" href="a05993.html#l00268">NL3D::CMeshBaseInstance::selectTextureSet()</a>.
<p>
<div class="fragment"><pre>00174         {
00175                 <span class="keywordflow">return</span> <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.size();
00176         }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLoda5" doxytag="NL3D::CMeshMultiLod::getNumSlotMesh" ></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"> <a class="el" href="a04558.html#a15">uint</a> NL3D::CMeshMultiLod::getNumSlotMesh </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]</code></td>
        </tr>

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

<p>
Get slot mesh count. 
<p>

<p>
Definition at line <a class="el" href="a06017.html#l00144">144</a> of file <a class="el" href="a06017.html">mesh_multi_lod.h</a>.
<p>
References <a class="el" href="a06017.html#l00253">_MeshVector</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
<p>
Referenced by <a class="el" href="a06016.html#l00609">changeMRMDistanceSetup()</a>, <a class="el" href="a06016.html#l00599">getMeshGeom()</a>, <a class="el" href="a06626.html#l00053">NL3D::UShape::getMeshTriangles()</a>, and <a class="el" href="a06018.html#l00223">NL3D::CMeshMultiLodInstance::initRenderFilterType()</a>.
<p>
<div class="fragment"><pre>00145         {
00146                 <span class="keywordflow">return</span> <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>.size();
00147         }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLoda6" doxytag="NL3D::CMeshMultiLod::getNumTriangles" ></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 float NL3D::CMeshMultiLod::getNumTriangles </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">float&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>distance</em>          </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>
should not be called direclty as the intance of this shape will use 'getNumTrianglesWithCoarsestDist' themselves to get the correct distance. 
<p>

<p>
Implements <a class="el" href="a02539.html#NL3D_1_1IShapez900_0">NL3D::IShape</a>.
<p>
Definition at line <a class="el" href="a06017.html#l00180">180</a> of file <a class="el" href="a06017.html">mesh_multi_lod.h</a>.
<p>
References <a class="el" href="a06016.html#l00320">getNumTrianglesWithCoarsestDist()</a>.
<p>
<div class="fragment"><pre>00181         {
00182                 <span class="keywordflow">return</span> <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLoda7">getNumTrianglesWithCoarsestDist</a>(distance, -1);
00183         }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLoda7" doxytag="NL3D::CMeshMultiLod::getNumTrianglesWithCoarsestDist" ></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"> float NL3D::CMeshMultiLod::getNumTrianglesWithCoarsestDist </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">float&nbsp;</td>
          <td class="mdname" nowrap> <em>distance</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>coarsestMeshDist</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</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="a06016.html#l00320">320</a> of file <a class="el" href="a06016.html">mesh_multi_lod.cpp</a>.
<p>
References <a class="el" href="a06017.html#l00253">_MeshVector</a>, <a class="el" href="a06017.html#l00218">NL3D::CMeshMultiLod::CMeshSlot::A</a>, <a class="el" href="a06017.html#l00221">NL3D::CMeshMultiLod::CMeshSlot::B</a>, <a class="el" href="a06017.html#l00215">NL3D::CMeshMultiLod::CMeshSlot::MeshGeom</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
<p>
Referenced by <a class="el" href="a06018.html#l00215">NL3D::CMeshMultiLodInstance::getNumTriangles()</a>, and <a class="el" href="a06017.html#l00180">getNumTriangles()</a>.
<p>
<div class="fragment"><pre>00321 {
00322         <span class="comment">// Look in the table for good distances..</span>
00323         <a class="code" href="a04558.html#a15">uint</a> meshCount=<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>.size();
00324         
00325         <span class="comment">// At least on mesh</span>
00326         <span class="keywordflow">if</span> (meshCount&gt;0)
00327         {       
00328                 
00329                 <span class="keywordflow">if</span> (coarsestMeshDist != -1)
00330                 {
00331                         <span class="keywordflow">if</span> (coarsestMeshDist != 0)
00332                         {
00333                                 <span class="comment">// rescale distance to new coarse mesh distance..</span>
00334                                 distance *= <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[meshCount - 1].DistMax / coarsestMeshDist;
00335                         }
00336                 }               
00337 
00338                 <a class="code" href="a04558.html#a15">uint</a> i=0;               
00339                 <span class="comment">// Look for good i</span>
00340                 <span class="keywordflow">while</span> ( <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[i].DistMax &lt; distance)
00341                 {
00342                         <span class="keywordflow">if</span> (i==meshCount-1)
00343                                 <span class="comment">// Abort if last one</span>
00344                                 <span class="keywordflow">break</span>;
00345                         i++;
00346                 }
00347 
00348                 <span class="comment">// Ref on slot</span>
00349                 <span class="keyword">const</span> CMeshSlot &amp;slot=<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[i];
00350 
00351                 <span class="comment">// Is mesh present ?</span>
00352                 <span class="keywordflow">if</span> (slot.MeshGeom)
00353                 {
00354                         <span class="comment">// Get the polygon count with the distance</span>
00355                         <span class="keywordtype">float</span> polyCount=slot.A * distance + slot.B;
00356 
00357                         <span class="comment">/*// Get the perfect polygon count in this slot for the asked distance</span>
00358 <span class="comment">                        float goodPolyCount=slot.MeshGeom-&gt;getNumTriangles (distance);</span>
00359 <span class="comment"></span>
00360 <span class="comment">                        // Get the next slot perfect polygon count</span>
00361 <span class="comment">                        float realEndPolyCount;</span>
00362 <span class="comment"></span>
00363 <span class="comment">                        // Last slot ?</span>
00364 <span class="comment">                        if ( (i&lt;meshCount-1) &amp;&amp; _MeshVector[i+1].MeshGeom )</span>
00365 <span class="comment">                                // Take end number polygon count in the next slot</span>
00366 <span class="comment">                                realEndPolyCount=_MeshVector[i+1].MeshGeom-&gt;getNumTriangles (slot.DistMax);</span>
00367 <span class="comment">                        else</span>
00368 <span class="comment">                                // Take end number polygon count in the this slot</span>
00369 <span class="comment">                                realEndPolyCount=slot.EndPolygonCount;</span>
00370 <span class="comment"></span>
00371 <span class="comment">                        // Return blended polygon count to have a continous decreasing function</span>
00372 <span class="comment">                        return (goodPolyCount-slot.BeginPolygonCount) * (realEndPolyCount-slot.BeginPolygonCount) / </span>
00373 <span class="comment">                                (slot.EndPolygonCount-slot.BeginPolygonCount) + slot.BeginPolygonCount;*/</span>
00374                         <span class="keywordflow">return</span> polyCount;
00375                 }
00376         }
00377 
00378         <span class="keywordflow">return</span> 0;
00379 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1UTypea8" doxytag="NL3D::CMeshMultiLod::getRefCount" ></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"> const <a class="el" href="a04558.html#a14">sint</a>&amp; NLMISC::CRefCount::getRefCount </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, 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="a06402.html#l00070">70</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>.
<p>
References <a class="el" href="a06402.html#l00079">NLMISC::CRefCount::crefs</a>, and <a class="el" href="a05981.html#l00104">sint</a>.
<p>
<div class="fragment"><pre>00071         {
00072                 <span class="keywordflow">return</span>  <a class="code" href="a02209.html#NLGEORGES_1_1UTypeo0">crefs</a>;
00073         }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLoda9" doxytag="NL3D::CMeshMultiLod::getSlotMesh" ></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"> <a class="el" href="a02879.html">IMeshGeom</a>* NL3D::CMeshMultiLod::getSlotMesh </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>i</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>bool &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>coarseMesh</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [inline]</code></td>
        </tr>

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

<p>
Get a slot mesh. 
<p>

<p>
Definition at line <a class="el" href="a06017.html#l00150">150</a> of file <a class="el" href="a06017.html">mesh_multi_lod.h</a>.
<p>
References <a class="el" href="a06017.html#l00253">_MeshVector</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
<p>
Referenced by <a class="el" href="a06018.html#l00223">NL3D::CMeshMultiLodInstance::initRenderFilterType()</a>.
<p>
<div class="fragment"><pre>00151         {
00152                 <span class="comment">// Coarse mesh ?</span>
00153                 coarseMesh=(<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[i].Flags&amp;CMeshSlot::CoarseMesh)!=0;
00154 
00155                 <span class="comment">// Return the mesh pointer</span>
00156                 <span class="keywordflow">return</span> _MeshVector[i].MeshGeom;
00157         }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodd3" doxytag="NL3D::CMeshMultiLod::instanciateCoarseMeshSpace" ></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 NL3D::CMeshMultiLod::instanciateCoarseMeshSpace </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a02914.html">CMeshMultiLodInstance</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>mi</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [private]</code></td>
        </tr>

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

<p>
called at <a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodz537_1">createInstance()</a> time 
<p>

<p>
Definition at line <a class="el" href="a06016.html#l00740">740</a> of file <a class="el" href="a06016.html">mesh_multi_lod.cpp</a>.
<p>
References <a class="el" href="a06019.html#l00113">NL3D::CMeshMultiLodInstance::_CoarseMeshVB</a>, <a class="el" href="a06017.html#l00253">_MeshVector</a>, <a class="el" href="a06017.html#l00233">NL3D::CMeshMultiLod::CMeshSlot::Flags</a>, <a class="el" href="a06349.html#l00335">NL3D::CScene::getCoarseMeshManager()</a>, <a class="el" href="a06711.html#l00453">NL3D::CVertexBuffer::getNumVertices()</a>, <a class="el" href="a06569.html#l00105">NL3D::CTransform::getOwnerScene()</a>, <a class="el" href="a05990.html#l00390">NL3D::CMeshGeom::getVertexBuffer()</a>, <a class="el" href="a05570.html#l00117">NL3D::CCoarseMeshManager::getVertexSize()</a>, <a class="el" href="a06017.html#l00215">NL3D::CMeshMultiLod::CMeshSlot::MeshGeom</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
<p>
Referenced by <a class="el" href="a06016.html#l00182">createInstance()</a>.
<p>
<div class="fragment"><pre>00741 {
00742         CCoarseMeshManager      *manager= mi-&gt;getOwnerScene()-&gt;getCoarseMeshManager();
00743 
00744         <span class="keywordflow">if</span>(manager)
00745         {
00746                 <span class="comment">// For all MeshSlots that have a CoarseMesh, count max Coarse NumVertices;</span>
00747                 <a class="code" href="a04558.html#a15">uint</a>    numVertices= 0;
00748                 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> i=0;i&lt;<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>.size();i++)
00749                 {
00750                         CMeshSlot       &amp;slotRef= <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[i];
00751                         <span class="keywordflow">if</span>( slotRef.Flags &amp; CMeshSlot::CoarseMesh )
00752                         {
00753                                 <span class="comment">// Get a pointer on the geom mesh</span>
00754                                 CMeshGeom *meshGeom= safe_cast&lt;CMeshGeom*&gt;(slotRef.MeshGeom);
00755                                 numVertices= max(numVertices, (<a class="code" href="a04558.html#a15">uint</a>)meshGeom-&gt;getVertexBuffer().getNumVertices() );
00756                         }
00757                 }
00758 
00759                 <span class="comment">// Then allocate vertex space for dest manager vertex size.</span>
00760                 mi-&gt;_CoarseMeshVB.resize( numVertices*manager-&gt;getVertexSize() );
00761         }
00762 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodb2" doxytag="NL3D::CMeshMultiLod::instanciateMeshBase" ></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 NL3D::CMeshBase::instanciateMeshBase </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a02873.html">CMeshBaseInstance</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>mi</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a03348.html">CScene</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>ownerScene</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected, inherited]</code></td>
        </tr>

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

<p>
instanciate MeshBase part to an instance (a <a class="el" href="a02873.html">CMeshBaseInstance</a>). 
<p>

<p>
Definition at line <a class="el" href="a05991.html#l00261">261</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
<p>
References <a class="el" href="a05992.html#l00240">NL3D::CMeshBase::_AnimatedMaterials</a>, <a class="el" href="a05994.html#l00226">NL3D::CMeshBaseInstance::_AnimatedMaterials</a>, <a class="el" href="a05992.html#l00251">NL3D::CMeshBase::_AnimatedMorph</a>, <a class="el" href="a05994.html#l00231">NL3D::CMeshBaseInstance::_AnimatedMorphFactor</a>, <a class="el" href="a05992.html#l00245">NL3D::CMeshBase::_DefaultPivot</a>, <a class="el" href="a05992.html#l00247">NL3D::CMeshBase::_DefaultRotQuat</a>, <a class="el" href="a05992.html#l00248">NL3D::CMeshBase::_DefaultScale</a>, <a class="el" href="a05994.html#l00082">NL3D::CMeshBaseInstance::AsyncTextures</a>, <a class="el" href="a05442.html#l00279">NL3D::CAnimatedValueQuat</a>, <a class="el" href="a05442.html#l00277">NL3D::CAnimatedValueVector</a>, <a class="el" href="a06556.html#l00169">NL3D::CTrackDefaultBlendable&lt; CQuat &gt;::getValue()</a>, <a class="el" href="a06556.html#l00169">NL3D::CTrackDefaultBlendable&lt; CVector &gt;::getValue()</a>, <a class="el" href="a05994.html#l00075">NL3D::CMeshBaseInstance::Materials</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05993.html#l00268">NL3D::CMeshBaseInstance::selectTextureSet()</a>, <a class="el" href="a05434.html#l00153">NL3D::IAnimatable::setFather()</a>, <a class="el" href="a06568.html#l00574">NL3D::CTransform::setIsBigLightable()</a>, <a class="el" href="a06568.html#l00552">NL3D::CTransform::setIsLightable()</a>, <a class="el" href="a05437.html#l00182">NL3D::CAnimatedMaterial::setMaterial()</a>, <a class="el" href="a06568.html#l00255">NL3D::CTransform::setOpacity()</a>, <a class="el" href="a06568.html#l00240">NL3D::CTransform::setTransparency()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
<p>
<div class="fragment"><pre>00262 {
00263         <a class="code" href="a04558.html#a11">uint32</a> i;
00264 
00265 
00266         <span class="comment">// setup animated blendShapes</span>
00267         <span class="comment">//===========================</span>
00268         mi-&gt;_AnimatedMorphFactor.reserve(<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp1">_AnimatedMorph</a>.size());
00269         <span class="keywordflow">for</span>(i = 0; i &lt; <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp1">_AnimatedMorph</a>.size(); ++i)
00270         {
00271                 CAnimatedMorph am(&amp;_AnimatedMorph[i]);
00272                 mi-&gt;_AnimatedMorphFactor.push_back (am);
00273         }
00274         
00275         <span class="comment">// setup materials.</span>
00276         <span class="comment">//=================</span>
00277         <span class="comment">// Copy material. Textures are referenced only</span>
00278         mi-&gt;Materials= <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>;
00279 
00280         <span class="comment">// Instanciate selectable textures (use default set)</span>
00281         mi-&gt;selectTextureSet(0);
00282 
00283         <span class="comment">// prepare possible AsyncTextures</span>
00284         mi-&gt;AsyncTextures.resize(<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.size());
00285 
00286         <span class="comment">// setup animated materials.</span>
00287         <span class="comment">//==========================</span>
00288         TAnimatedMaterialMap::iterator  it;
00289         mi-&gt;_AnimatedMaterials.reserve(<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>.size());
00290         <span class="keywordflow">for</span>(it= <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>.begin(); it!= <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>.end(); it++)
00291         {
00292                 CAnimatedMaterial       aniMat(&amp;it-&gt;second);
00293 
00294                 <span class="comment">// set the target instance material.</span>
00295                 <a class="code" href="a04199.html#a6">nlassert</a>(it-&gt;first &lt; mi-&gt;Materials.size());
00296                 aniMat.setMaterial(&amp;mi-&gt;Materials[it-&gt;first]);
00297 
00298                 <span class="comment">// Must set the Animatable father of the animated material (the mesh_base_instance!).</span>
00299                 aniMat.setFather(mi, CMeshBaseInstance::OwnerBit);
00300 
00301                 <span class="comment">// Append this animated material.</span>
00302                 mi-&gt;_AnimatedMaterials.push_back(aniMat);
00303         }
00304 
00305         <span class="comment">// Misc</span>
00306         <span class="comment">//==========================</span>
00307         
00308         <span class="comment">// Setup position with the default value</span>
00309         mi-&gt;ITransformable::setPos( ((CAnimatedValueVector&amp;)<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp5">_DefaultPos</a>.getValue()).Value  );
00310         mi-&gt;ITransformable::setRotQuat( ((CAnimatedValueQuat&amp;)<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp7">_DefaultRotQuat</a>.getValue()).Value  );
00311         mi-&gt;ITransformable::setScale( ((CAnimatedValueVector&amp;)<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp8">_DefaultScale</a>.getValue()).Value  );
00312         mi-&gt;ITransformable::setPivot( ((CAnimatedValueVector&amp;)<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp4">_DefaultPivot</a>.getValue()).Value  );
00313 
00314         <span class="comment">// Check materials for transparency</span>
00315         mi-&gt;setTransparency( <span class="keyword">false</span> );
00316         mi-&gt;setOpacity( <span class="keyword">false</span> );
00317         <span class="keywordflow">for</span>( i = 0; i &lt; mi-&gt;Materials.size(); ++i )
00318         <span class="keywordflow">if</span>( mi-&gt;Materials[i].getBlend() )
00319                 mi-&gt;setTransparency( <span class="keyword">true</span> );
00320         <span class="keywordflow">else</span>
00321                 mi-&gt;setOpacity( <span class="keyword">true</span> );
00322 
00323         <span class="comment">// if the mesh is lightable, then the instance is</span>
00324         mi-&gt;setIsLightable(this-&gt;isLightable());
00325 
00326         <span class="comment">// a mesh is considered big for lightable if it uses localAttenuation</span>
00327         mi-&gt;setIsBigLightable(this-&gt;useLightingLocalAttenuation());
00328 
00329 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLoda10" doxytag="NL3D::CMeshMultiLod::isLightable" ></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"> bool NL3D::CMeshBase::isLightable </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, inherited]</code></td>
        </tr>

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

<p>
Is this mesh lightable? true if one of his materials is not a lightmap. NB: result stored in file. 
<p>

<p>
Definition at line <a class="el" href="a05992.html#l00198">198</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
References <a class="el" href="a05992.html#l00254">NL3D::CMeshBase::_IsLightable</a>.
<p>
Referenced by <a class="el" href="a05824.html#l00305">NL3D::CInstanceLighter::light()</a>.
<p>
<div class="fragment"><pre>00198 {<span class="keywordflow">return</span> <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp10">_IsLightable</a>;}
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLoda11" doxytag="NL3D::CMeshMultiLod::isStatic" ></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"> bool NL3D::CMeshMultiLod::isStatic </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]</code></td>
        </tr>

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

<p>
Is static mesh ? 
<p>

<p>
Definition at line <a class="el" href="a06017.html#l00160">160</a> of file <a class="el" href="a06017.html">mesh_multi_lod.h</a>.
<p>
References <a class="el" href="a06017.html#l00250">_StaticLod</a>.
<p>
<div class="fragment"><pre>00161         {
00162                 <span class="keywordflow">return</span> <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr1">_StaticLod</a>;
00163         }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz537_3" doxytag="NL3D::CMeshMultiLod::NLMISC_DECLARE_CLASS" ></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"> NL3D::CMeshMultiLod::NLMISC_DECLARE_CLASS </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a02910.html">CMeshMultiLod</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

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

<p>
Declare name of the shape. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodd4" doxytag="NL3D::CMeshMultiLod::profileMeshGeom" ></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 NL3D::CMeshMultiLod::profileMeshGeom </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>slot</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a03325.html">CRenderTrav</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>rdrTrav</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a02914.html">CMeshMultiLodInstance</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>trans</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>numPoylgons</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>rdrFlags</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [private]</code></td>
        </tr>

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

<p>
Profile the MeshGeom of a slot, even if coarseMesh. 
<p>

<p>
Definition at line <a class="el" href="a06016.html#l00661">661</a> of file <a class="el" href="a06016.html">mesh_multi_lod.cpp</a>.
<p>
References <a class="el" href="a06017.html#l00253">_MeshVector</a>, <a class="el" href="a06017.html#l00233">NL3D::CMeshMultiLod::CMeshSlot::Flags</a>, <a class="el" href="a06017.html#l00215">NL3D::CMeshMultiLod::CMeshSlot::MeshGeom</a>, <a class="el" href="a02879.html#NL3D_1_1IMeshGeoma5">NL3D::IMeshGeom::profileSceneRender()</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
<p>
Referenced by <a class="el" href="a06016.html#l00687">profileSceneRender()</a>.
<p>
<div class="fragment"><pre>00662 {
00663         <span class="comment">// Ref</span>
00664         CMeshSlot &amp;slotRef=<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[slot];
00665 
00666         <span class="comment">// MeshGeom exist?</span>
00667         <span class="keywordflow">if</span> (slotRef.MeshGeom)
00668         {
00669                 <span class="comment">// NB Here, the meshGeom may still be a coarseMesh, but rendered through CMeshGeom</span>
00670                 <span class="keywordflow">if</span>(slotRef.Flags&amp;CMeshSlot::CoarseMesh)
00671                 {
00672                         <span class="comment">// Render only for opaque material</span>
00673                         <span class="keywordflow">if</span>(rdrFlags &amp; IMeshGeom::RenderOpaqueMaterial)
00674                         {
00675                                 slotRef.MeshGeom-&gt;profileSceneRender(rdrTrav, trans, numPoylgons, rdrFlags);
00676                         }
00677                 }
00678                 <span class="keywordflow">else</span>
00679                 {
00680                         slotRef.MeshGeom-&gt;profileSceneRender(rdrTrav, trans, numPoylgons, rdrFlags);
00681                 }
00682         }
00683 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz537_4" doxytag="NL3D::CMeshMultiLod::profileSceneRender" ></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 NL3D::CMeshMultiLod::profileSceneRender </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a03325.html">CRenderTrav</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>rdrTrav</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a02537.html">CTransformShape</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>trans</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>opaquePass</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [virtual]</code></td>
        </tr>

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

<p>
profiling 
<p>

<p>
Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapea8">NL3D::IShape</a>.
<p>
Definition at line <a class="el" href="a06016.html#l00687">687</a> of file <a class="el" href="a06016.html">mesh_multi_lod.cpp</a>.
<p>
References <a class="el" href="a06017.html#l00253">_MeshVector</a>, <a class="el" href="a06019.html#l00110">NL3D::CMeshMultiLodInstance::Flags</a>, <a class="el" href="a06019.html#l00106">NL3D::CMeshMultiLodInstance::Lod0</a>, <a class="el" href="a06019.html#l00107">NL3D::CMeshMultiLodInstance::Lod1</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06019.html#l00118">NL3D::CMeshMultiLodInstance::PolygonCountLod0</a>, <a class="el" href="a06019.html#l00119">NL3D::CMeshMultiLodInstance::PolygonCountLod1</a>, <a class="el" href="a06016.html#l00661">profileMeshGeom()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
<p>
<div class="fragment"><pre>00688 {
00689         <span class="comment">// Render good meshes</span>
00690         <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodn0">CMeshMultiLodInstance</a> *instance=safe_cast&lt;CMeshMultiLodInstance*&gt;(trans);
00691 
00692 
00693         <span class="comment">// Second lod ?</span>
00694         <span class="keywordflow">if</span> ( (instance-&gt;Lod1!=0xffffffff) &amp;&amp; (passOpaque==<span class="keyword">false</span>) )
00695         {
00696                 <span class="comment">// build rdrFlags to rdr both transparent and opaque materials, </span>
00697                 <span class="comment">// use globalAlphaBlend, and disable ZWrite for Lod1</span>
00698                 <a class="code" href="a04558.html#a11">uint32</a>  rdrFlags= IMeshGeom::RenderOpaqueMaterial | IMeshGeom::RenderTransparentMaterial |
00699                         IMeshGeom::RenderGlobalAlpha | IMeshGeom::RenderGADisableZWrite;
00700                 <span class="comment">// NB: very important to render Lod1 first, because Lod0 is still rendered with ZWrite enabled.</span>
00701                 <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodd4">profileMeshGeom</a> (instance-&gt;Lod1, rdrTrav, instance, instance-&gt;PolygonCountLod1, rdrFlags);
00702         }
00703 
00704 
00705         <span class="comment">// Have an opaque pass ?</span>
00706         <span class="keywordflow">if</span> ( (instance-&gt;Flags&amp;CMeshMultiLodInstance::Lod0Blend) == 0)
00707         {
00708                 <span class="comment">// Is this slot a CoarseMesh?</span>
00709                 <span class="keywordflow">if</span> ( <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[instance-&gt;Lod0].Flags&amp;CMeshSlot::CoarseMesh )
00710                 {
00711                 }
00712                 <span class="keywordflow">else</span>
00713                 {
00714                         <span class="comment">// build rdrFlags the normal way (as CMesh::render() for example)</span>
00715                         <a class="code" href="a04558.html#a11">uint32</a>  mask= (0-(<a class="code" href="a04558.html#a11">uint32</a>)passOpaque);
00716                         <a class="code" href="a04558.html#a11">uint32</a>  rdrFlags;
00717                         <span class="comment">// select rdrFlags, without ifs.</span>
00718                         rdrFlags=       mask &amp; (IMeshGeom::RenderOpaqueMaterial | IMeshGeom::RenderPassOpaque);
00719                         rdrFlags|=      ~mask &amp; (IMeshGeom::RenderTransparentMaterial);
00720                         <span class="comment">// Only render the normal way the first lod</span>
00721                         <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodd4">profileMeshGeom</a> (instance-&gt;Lod0, rdrTrav, instance, instance-&gt;PolygonCountLod0, rdrFlags);
00722                 }
00723         }
00724         <span class="keywordflow">else</span>
00725         {
00726                 <span class="comment">// Should not be in opaque</span>
00727                 <a class="code" href="a04199.html#a6">nlassert</a> (passOpaque==<span class="keyword">false</span>);
00728 
00729                 <span class="comment">// build rdrFlags to rdr both transparent and opaque materials, </span>
00730                 <span class="comment">// use globalAlphaBlend, BUT Don't disable ZWrite for Lod0</span>
00731                 <a class="code" href="a04558.html#a11">uint32</a>  rdrFlags= IMeshGeom::RenderOpaqueMaterial | IMeshGeom::RenderTransparentMaterial |
00732                         IMeshGeom::RenderGlobalAlpha;
00733 
00734                 <span class="comment">// Render first lod in blend mode. Don't disable ZWrite for Lod0</span>
00735                 <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodd4">profileMeshGeom</a> (instance-&gt;Lod0, rdrTrav, instance, instance-&gt;PolygonCountLod0, rdrFlags);
00736         }
00737 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz537_5" doxytag="NL3D::CMeshMultiLod::render" ></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 NL3D::CMeshMultiLod::render </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a02434.html">IDriver</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>drv</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a02537.html">CTransformShape</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>trans</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>passOpaque</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [virtual]</code></td>
        </tr>

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

<p>
<a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodz537_5">render()</a> this mesh in a driver. 
<p>

<p>
Implements <a class="el" href="a02539.html#NL3D_1_1IShapea9">NL3D::IShape</a>.
<p>
Definition at line <a class="el" href="a06016.html#l00232">232</a> of file <a class="el" href="a06016.html">mesh_multi_lod.cpp</a>.
<p>
References <a class="el" href="a06017.html#l00253">_MeshVector</a>, <a class="el" href="a06019.html#l00122">NL3D::CMeshMultiLodInstance::BlendFactor</a>, <a class="el" href="a06019.html#l00110">NL3D::CMeshMultiLodInstance::Flags</a>, <a class="el" href="a06349.html#l00335">NL3D::CScene::getCoarseMeshManager()</a>, <a class="el" href="a06569.html#l00105">NL3D::CTransform::getOwnerScene()</a>, <a class="el" href="a06019.html#l00106">NL3D::CMeshMultiLodInstance::Lod0</a>, <a class="el" href="a06019.html#l00107">NL3D::CMeshMultiLodInstance::Lod1</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06019.html#l00118">NL3D::CMeshMultiLodInstance::PolygonCountLod0</a>, <a class="el" href="a06019.html#l00119">NL3D::CMeshMultiLodInstance::PolygonCountLod1</a>, <a class="el" href="a06016.html#l00496">renderCoarseMesh()</a>, <a class="el" href="a06016.html#l00446">renderMeshGeom()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
<p>
<div class="fragment"><pre>00233 {
00234         <span class="comment">// Render good meshes</span>
00235         <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodn0">CMeshMultiLodInstance</a> *instance=safe_cast&lt;CMeshMultiLodInstance*&gt;(trans);
00236 
00237         <span class="comment">// Static or dynamic coarse mesh ?</span>
00238         CCoarseMeshManager *manager;
00239         <span class="comment">// Get the coarse mesh manager</span>
00240         manager=instance-&gt;getOwnerScene()-&gt;getCoarseMeshManager();
00241 
00242         <span class="comment">// *** Render Lods</span>
00243 
00244         <span class="comment">// Second lod ?</span>
00245         <span class="keywordflow">if</span> ( (instance-&gt;Lod1!=0xffffffff) &amp;&amp; (passOpaque==<span class="keyword">false</span>) )
00246         {
00247                 <span class="comment">// build rdrFlags to rdr both transparent and opaque materials, </span>
00248                 <span class="comment">// use globalAlphaBlend, and disable ZWrite for Lod1</span>
00249                 <a class="code" href="a04558.html#a11">uint32</a>  rdrFlags= IMeshGeom::RenderOpaqueMaterial | IMeshGeom::RenderTransparentMaterial |
00250                         IMeshGeom::RenderGlobalAlpha | IMeshGeom::RenderGADisableZWrite;
00251                 <span class="comment">// NB: very important to render Lod1 first, because Lod0 is still rendered with ZWrite enabled.</span>
00252                 <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodd6">renderMeshGeom</a> (instance-&gt;Lod1, drv, instance, instance-&gt;PolygonCountLod1, rdrFlags, 1.f-instance-&gt;BlendFactor, manager);
00253         }
00254 
00255 
00256         <span class="comment">// Have an opaque pass ?</span>
00257         <span class="keywordflow">if</span> ( (instance-&gt;Flags&amp;CMeshMultiLodInstance::Lod0Blend) == 0)
00258         {
00259                 <span class="comment">// Is this slot a CoarseMesh?</span>
00260                 <span class="keywordflow">if</span> ( <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[instance-&gt;Lod0].Flags&amp;CMeshSlot::CoarseMesh )
00261                 {
00262                         <span class="comment">// render as a CoarseMesh the lod 0, only in opaque pass</span>
00263                         <span class="keywordflow">if</span>(passOpaque)
00264                                 <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodd5">renderCoarseMesh</a> (instance-&gt;Lod0, drv, instance, manager);
00265                 }
00266                 <span class="keywordflow">else</span>
00267                 {
00268                         <span class="comment">// build rdrFlags the normal way (as CMesh::render() for example)</span>
00269                         <a class="code" href="a04558.html#a11">uint32</a>  mask= (0-(<a class="code" href="a04558.html#a11">uint32</a>)passOpaque);
00270                         <a class="code" href="a04558.html#a11">uint32</a>  rdrFlags;
00271                         <span class="comment">// select rdrFlags, without ifs.</span>
00272                         rdrFlags=       mask &amp; (IMeshGeom::RenderOpaqueMaterial | IMeshGeom::RenderPassOpaque);
00273                         rdrFlags|=      ~mask &amp; (IMeshGeom::RenderTransparentMaterial);
00274                         <span class="comment">// Only render the normal way the first lod</span>
00275                         <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodd6">renderMeshGeom</a> (instance-&gt;Lod0, drv, instance, instance-&gt;PolygonCountLod0, rdrFlags, 1, manager);
00276                 }
00277         }
00278         <span class="keywordflow">else</span>
00279         {
00280                 <span class="comment">// Should not be in opaque</span>
00281                 <a class="code" href="a04199.html#a6">nlassert</a> (passOpaque==<span class="keyword">false</span>);
00282 
00283                 <span class="comment">// build rdrFlags to rdr both transparent and opaque materials, </span>
00284                 <span class="comment">// use globalAlphaBlend, BUT Don't disable ZWrite for Lod0</span>
00285                 <a class="code" href="a04558.html#a11">uint32</a>  rdrFlags= IMeshGeom::RenderOpaqueMaterial | IMeshGeom::RenderTransparentMaterial |
00286                         IMeshGeom::RenderGlobalAlpha;
00287 
00288                 <span class="comment">// Render first lod in blend mode. Don't disable ZWrite for Lod0</span>
00289                 <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodd6">renderMeshGeom</a> (instance-&gt;Lod0, drv, instance, instance-&gt;PolygonCountLod0, rdrFlags, instance-&gt;BlendFactor, manager);
00290         }
00291 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodd5" doxytag="NL3D::CMeshMultiLod::renderCoarseMesh" ></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 NL3D::CMeshMultiLod::renderCoarseMesh </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>slot</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a02434.html">IDriver</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>drv</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a02914.html">CMeshMultiLodInstance</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>trans</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a02371.html">CCoarseMeshManager</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>manager</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [private]</code></td>
        </tr>

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

<p>
Render the CoarseMesh of a slot. must be a coarseMesh, and shoudl be called only in passOpaque. 
<p>

<p>
Definition at line <a class="el" href="a06016.html#l00496">496</a> of file <a class="el" href="a06016.html">mesh_multi_lod.cpp</a>.
<p>
References <a class="el" href="a06019.html#l00113">NL3D::CMeshMultiLodInstance::_CoarseMeshVB</a>, <a class="el" href="a06019.html#l00114">NL3D::CMeshMultiLodInstance::_LastCoarseMesh</a>, <a class="el" href="a06019.html#l00115">NL3D::CMeshMultiLodInstance::_LastCoarseMeshNumVertices</a>, <a class="el" href="a06019.html#l00080">NL3D::CMeshMultiLodInstance::_LastLodLightingDate</a>, <a class="el" href="a06019.html#l00077">NL3D::CMeshMultiLodInstance::_LastLodMatrixDate</a>, <a class="el" href="a06017.html#l00253">_MeshVector</a>, <a class="el" href="a05569.html#l00084">NL3D::CCoarseMeshManager::addMesh()</a>, <a class="el" href="a06017.html#l00236">NL3D::CMeshMultiLod::CMeshSlot::CoarseNumTris</a>, <a class="el" href="a06017.html#l00237">NL3D::CMeshMultiLod::CMeshSlot::CoarseTriangles</a>, <a class="el" href="a05797.html#l00092">NL3D::CHrcTrav::CurrentDate</a>, <a class="el" href="a06017.html#l00233">NL3D::CMeshMultiLod::CMeshSlot::Flags</a>, <a class="el" href="a05569.html#l00123">NL3D::CCoarseMeshManager::flushRender()</a>, <a class="el" href="a06018.html#l00067">NL3D::CMeshMultiLodInstance::getCoarseMeshLighting()</a>, <a class="el" href="a06349.html#l00346">NL3D::CScene::getCoarseMeshLightingUpdate()</a>, <a class="el" href="a05570.html#l00119">NL3D::CCoarseMeshManager::getColorOff()</a>, <a class="el" href="a06349.html#l00508">NL3D::CScene::getFilterRenderFlags()</a>, <a class="el" href="a06349.html#l00474">NL3D::CScene::getHrcTrav()</a>, <a class="el" href="a06575.html#l00076">NL3D::ITransformable::getMatrix()</a>, <a class="el" href="a06711.html#l00453">NL3D::CVertexBuffer::getNumVertices()</a>, <a class="el" href="a06569.html#l00105">NL3D::CTransform::getOwnerScene()</a>, <a class="el" href="a05570.html#l00118">NL3D::CCoarseMeshManager::getUVOff()</a>, <a class="el" href="a05990.html#l00390">NL3D::CMeshGeom::getVertexBuffer()</a>, <a class="el" href="a05570.html#l00117">NL3D::CCoarseMeshManager::getVertexSize()</a>, <a class="el" href="a06017.html#l00215">NL3D::CMeshMultiLod::CMeshSlot::MeshGeom</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06018.html#l00310">NL3D::CMeshMultiLodInstance::setColorCoarseMesh()</a>, <a class="el" href="a06018.html#l00280">NL3D::CMeshMultiLodInstance::setPosCoarseMesh()</a>, <a class="el" href="a06018.html#l00249">NL3D::CMeshMultiLodInstance::setUVCoarseMesh()</a>, <a class="el" href="a05981.html#l00101">sint64</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
<p>
Referenced by <a class="el" href="a06016.html#l00232">render()</a>.
<p>
<div class="fragment"><pre>00497 {
00498         <span class="comment">// if the manager is NULL, quit.</span>
00499         <span class="keywordflow">if</span>(manager==NULL)
00500                 <span class="keywordflow">return</span>;
00501 
00502         <span class="comment">// get the scene</span>
00503         CScene  *scene= trans-&gt;getOwnerScene();
00504         <span class="keywordflow">if</span>(!scene)
00505                 <span class="keywordflow">return</span>;
00506 
00507         <span class="comment">// If filtered...</span>
00508         <span class="keywordflow">if</span>( (scene-&gt;getFilterRenderFlags() &amp; UScene::FilterCoarseMesh)==0 )
00509                 <span class="keywordflow">return</span>;
00510 
00511         <span class="comment">// Ref</span>
00512         CMeshSlot &amp;slotRef=<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[slot];
00513 
00514         <span class="comment">// the slot must be a Coarse mesh</span>
00515         <a class="code" href="a04199.html#a6">nlassert</a>(slotRef.Flags&amp;CMeshSlot::CoarseMesh);
00516 
00517         <span class="comment">// Get a pointer on the geom mesh</span>
00518         CMeshGeom *meshGeom= safe_cast&lt;CMeshGeom*&gt;(slotRef.MeshGeom);
00519 
00520         <span class="comment">// ** If not the same as Before (or if NULL before...)</span>
00521         <span class="keywordflow">if</span> ( trans-&gt;_LastCoarseMesh!=meshGeom )
00522         {
00523                 <a class="code" href="a04558.html#a15">uint</a>    numVerts= meshGeom-&gt;getVertexBuffer().getNumVertices();
00524                 <a class="code" href="a04558.html#a15">uint</a>    numTris= slotRef.CoarseNumTris;
00525                 <span class="comment">// If empty meshGeom, erase cache (each frame, ugly but error mgt here...)</span>
00526                 <span class="keywordflow">if</span>( numTris==0 || numVerts==0 )
00527                         trans-&gt;_LastCoarseMesh= NULL;
00528                 <span class="keywordflow">else</span>
00529                 {
00530                         <span class="comment">// Cache</span>
00531                         trans-&gt;_LastCoarseMesh= meshGeom;
00532                         trans-&gt;_LastCoarseMeshNumVertices= numVerts;
00533 
00534                         <span class="comment">// Check setuped size.</span>
00535                         <a class="code" href="a04199.html#a6">nlassert</a>( trans-&gt;_CoarseMeshVB.size() &gt;= numVerts*manager-&gt;getVertexSize() );
00536 
00537                         <span class="comment">// Fill only UVs here. (Pos updated in Matrix pass. Color in Lighting Pass)</span>
00538                         trans-&gt;setUVCoarseMesh( *meshGeom, manager-&gt;getVertexSize(), manager-&gt;getUVOff() );
00539 
00540                         <span class="comment">// Dirt the matrix</span>
00541                         trans-&gt;_LastLodMatrixDate=0;
00542                         <span class="comment">// Dirt the lighting. NB: period maximum is 255. Hence the -256, to ensure lighting compute now</span>
00543                         trans-&gt;_LastLodLightingDate= -0x100;
00544                 }
00545         }
00546 
00547         <span class="comment">// ** If setuped, update and render</span>
00548         <span class="keywordflow">if</span>( trans-&gt;_LastCoarseMesh )
00549         {
00550                 <span class="comment">// Matrix has changed ?</span>
00551                 <span class="keywordflow">if</span> ( trans-&gt;ITransformable::compareMatrixDate (trans-&gt;_LastLodMatrixDate) )
00552                 {
00553                         <span class="comment">// Get date</span>
00554                         trans-&gt;_LastLodMatrixDate = trans-&gt;ITransformable::getMatrixDate();
00555 
00556                         <span class="comment">// Set matrix</span>
00557                         trans-&gt;setPosCoarseMesh ( *meshGeom, trans-&gt;getMatrix(), manager-&gt;getVertexSize() );
00558                 }
00559 
00560                 <span class="comment">// Lighting: test if must update lighting, according to date of HrcTrav (num of CScene::render() call).</span>
00561                 <a class="code" href="a04558.html#a12">sint64</a>  currentDate= scene-&gt;getHrcTrav().CurrentDate;
00562                 <span class="keywordflow">if</span>( trans-&gt;_LastLodLightingDate &lt; currentDate - scene-&gt;getCoarseMeshLightingUpdate() )
00563                 {
00564                         <span class="comment">// reset the date.</span>
00565                         trans-&gt;_LastLodLightingDate= currentDate;
00566 
00567                         <span class="comment">// get average sun color</span>
00568                         <a class="code" href="a03337.html">CRGBA</a>   sunContrib= trans-&gt;getCoarseMeshLighting();
00569 
00570                         <span class="comment">// Set color</span>
00571                         trans-&gt;setColorCoarseMesh ( sunContrib, manager-&gt;getVertexSize(), manager-&gt;getColorOff() );
00572                 }
00573 
00574                 <span class="comment">// Add dynamic to the manager</span>
00575                 <span class="keywordflow">if</span>( !manager-&gt;addMesh(trans-&gt;_LastCoarseMeshNumVertices, &amp;trans-&gt;_CoarseMeshVB[0], slotRef.CoarseNumTris, &amp;slotRef.CoarseTriangles[0] ) )
00576                 {
00577                         <span class="comment">// If failure, flush the manager</span>
00578                         manager-&gt;flushRender(drv);
00579                         <span class="comment">// then try to re-add. No-op if fails this time..</span>
00580                         manager-&gt;addMesh(trans-&gt;_LastCoarseMeshNumVertices, &amp;trans-&gt;_CoarseMeshVB[0], slotRef.CoarseNumTris, &amp;slotRef.CoarseTriangles[0]  );
00581                 }
00582         }
00583 
00584 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodd6" doxytag="NL3D::CMeshMultiLod::renderMeshGeom" ></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 NL3D::CMeshMultiLod::renderMeshGeom </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>slot</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a02434.html">IDriver</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>drv</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a02914.html">CMeshMultiLodInstance</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>trans</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>numPoylgons</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>rdrFlags</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>alpha</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a02371.html">CCoarseMeshManager</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>manager</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [private]</code></td>
        </tr>

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

<p>
Render the MeshGeom of a slot, even if coarseMesh. 
<p>

<p>
Definition at line <a class="el" href="a06016.html#l00446">446</a> of file <a class="el" href="a06016.html">mesh_multi_lod.cpp</a>.
<p>
References <a class="el" href="a06017.html#l00253">_MeshVector</a>, <a class="el" href="a05646.html#l01173">alpha</a>, <a class="el" href="a06017.html#l00233">NL3D::CMeshMultiLod::CMeshSlot::Flags</a>, <a class="el" href="a06018.html#l00067">NL3D::CMeshMultiLodInstance::getCoarseMeshLighting()</a>, <a class="el" href="a05570.html#l00114">NL3D::CCoarseMeshManager::getMaterial()</a>, <a class="el" href="a06569.html#l00299">NL3D::CTransform::getWorldMatrix()</a>, <a class="el" href="a06017.html#l00215">NL3D::CMeshMultiLod::CMeshSlot::MeshGeom</a>, <a class="el" href="a05995.html#l00132">NL3D::CMeshBlender::prepareRenderForGlobalAlphaCoarseMesh()</a>, <a class="el" href="a02879.html#NL3D_1_1IMeshGeoma6">NL3D::IMeshGeom::render()</a>, <a class="el" href="a05989.html#l00915">NL3D::CMeshGeom::renderSimpleWithMaterial()</a>, <a class="el" href="a05995.html#l00181">NL3D::CMeshBlender::restoreRenderCoarseMesh()</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
<p>
Referenced by <a class="el" href="a06016.html#l00232">render()</a>.
<p>
<div class="fragment"><pre>00447 {
00448         <span class="comment">// Ref</span>
00449         CMeshSlot &amp;slotRef=<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[slot];
00450 
00451         <span class="comment">// MeshGeom exist?</span>
00452         <span class="keywordflow">if</span> (slotRef.MeshGeom)
00453         {
00454                 <span class="comment">// NB Here, the meshGeom may still be a coarseMesh, but rendered through CMeshGeom</span>
00455                 <span class="keywordflow">if</span>(slotRef.Flags&amp;CMeshSlot::CoarseMesh)
00456                 {
00457                         <span class="comment">// Render only for opaque material</span>
00458                         <span class="keywordflow">if</span>(manager &amp;&amp; (rdrFlags &amp; IMeshGeom::RenderOpaqueMaterial) )
00459                         {
00460                                 <span class="keywordtype">bool</span>    gaDisableZWrite= (rdrFlags &amp; IMeshGeom::RenderGADisableZWrite)?<span class="keyword">true</span>:<span class="keyword">false</span>;
00461 
00462                                 <span class="comment">// Render the CoarseMesh with the manager material</span>
00463                                 CMaterial       &amp;material= manager-&gt;getMaterial();
00464 
00465                                 <span class="comment">// modulate material for alphaBlend transition</span>
00466                                 <span class="comment">// ----------</span>
00467                                 <span class="comment">// get average sun color for this coarseMesh</span>
00468                                 <a class="code" href="a03337.html">CRGBA</a>   newCol= trans-&gt;getCoarseMeshLighting();
00469 
00470                                 <span class="comment">// Use a CMeshBlender to modify material and driver.</span>
00471                                 CMeshBlender    blender;
00472                                 blender.prepareRenderForGlobalAlphaCoarseMesh(material, drv, newCol, alpha, gaDisableZWrite);
00473                                 
00474 
00475                                 <span class="comment">// render simple the coarseMesh</span>
00476                                 CMeshGeom *meshGeom= safe_cast&lt;CMeshGeom*&gt;(slotRef.MeshGeom);
00477                                 meshGeom-&gt;renderSimpleWithMaterial(drv, trans-&gt;getWorldMatrix(), material);
00478 
00479 
00480                                 <span class="comment">// resetup standard CoarseMeshMaterial material values</span>
00481                                 <span class="comment">// ----------</span>
00482                                 <span class="comment">// blender restore</span>
00483                                 blender.restoreRenderCoarseMesh(material, drv, gaDisableZWrite);
00484                         }
00485                 }
00486                 <span class="keywordflow">else</span>
00487                 {
00488                         <span class="comment">// Render the geom mesh</span>
00489                         <span class="comment">// Disable ZWrite only if in transition and for rendering Lod1</span>
00490                         slotRef.MeshGeom-&gt;render (drv, trans, numPoylgons, rdrFlags, alpha);
00491                 }
00492         }
00493 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz435_1" doxytag="NL3D::CMeshMultiLod::resetLodCharacterTexture" ></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 NL3D::CMeshBase::resetLodCharacterTexture </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> [inherited]</code></td>
        </tr>

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

<p>
reset the lod texture info. see <a class="el" href="a03399.html">CSkeletonModel</a> Lod system. 
<p>

<p>
Definition at line <a class="el" href="a05991.html#l00436">436</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
<p>
References <a class="el" href="a05992.html#l00278">NL3D::CMeshBase::_LodCharacterTexture</a>.
<p>
Referenced by <a class="el" href="a05991.html#l00333">NL3D::CMeshBase::applyMaterialUsageOptim()</a>, <a class="el" href="a05991.html#l00446">NL3D::CMeshBase::setupLodCharacterTexture()</a>, and <a class="el" href="a05991.html#l00062">NL3D::CMeshBase::~CMeshBase()</a>.
<p>
<div class="fragment"><pre>00437 {
00438         <span class="keywordflow">if</span>(_LodCharacterTexture)
00439         {
00440                 <span class="keyword">delete</span> _LodCharacterTexture;
00441                 _LodCharacterTexture= NULL;
00442         }
00443 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz537_6" doxytag="NL3D::CMeshMultiLod::serial" ></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 NL3D::CMeshMultiLod::serial </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>f</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap>  throw (<a class="el" href="a03781.html">NLMISC::EStream</a>)<code> [virtual]</code></td>
        </tr>

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

<p>
serial this mesh. 
<p>

<p>
Implements <a class="el" href="a02867.html#NL3D_1_1ITrackDefaulta6">NLMISC::IStreamable</a>.
<p>
Definition at line <a class="el" href="a06016.html#l00295">295</a> of file <a class="el" href="a06016.html">mesh_multi_lod.cpp</a>.
<p>
<div class="fragment"><pre>00296 {
00297         <span class="comment">// Serial a version number</span>
00298         (<span class="keywordtype">void</span>)f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a> (0);
00299 
00300         <span class="comment">// serial Materials infos contained in CMeshBase.</span>
00301         CMeshBase::serialMeshBase(f);
00302 
00303         <span class="comment">// Static lod flag</span>
00304         f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_StaticLod);
00305 
00306         <span class="comment">// Serial the values</span>
00307         f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a> (_MeshVector);
00308 
00309 
00310         <span class="comment">// if reading, compile some stuff</span>
00311         <span class="keywordflow">if</span> (f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>())
00312         {
00313                 <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodd2">compileDistMax</a>();
00314                 <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodd1">compileCoarseMeshes</a>();
00315         }
00316 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLoda12" doxytag="NL3D::CMeshMultiLod::serialMeshBase" ></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 NL3D::CMeshBase::serialMeshBase </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>f</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap>  throw (<a class="el" href="a03781.html">NLMISC::EStream</a>)<code> [inherited]</code></td>
        </tr>

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

<p>
serial the base Part of this mesh. 
<p>

<p>
Definition at line <a class="el" href="a05991.html#l00149">149</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
<p>
References <a class="el" href="a05992.html#l00240">NL3D::CMeshBase::_AnimatedMaterials</a>, <a class="el" href="a05992.html#l00251">NL3D::CMeshBase::_AnimatedMorph</a>, <a class="el" href="a05992.html#l00258">NL3D::CMeshBase::_AutoAnim</a>, <a class="el" href="a05992.html#l00245">NL3D::CMeshBase::_DefaultPivot</a>, <a class="el" href="a05992.html#l00246">NL3D::CMeshBase::_DefaultRotEuler</a>, <a class="el" href="a05992.html#l00247">NL3D::CMeshBase::_DefaultRotQuat</a>, <a class="el" href="a05992.html#l00248">NL3D::CMeshBase::_DefaultScale</a>, <a class="el" href="a05992.html#l00254">NL3D::CMeshBase::_IsLightable</a>, <a class="el" href="a05992.html#l00234">NL3D::CMeshBase::_LightInfos</a>, <a class="el" href="a05992.html#l00278">NL3D::CMeshBase::_LodCharacterTexture</a>, <a class="el" href="a05992.html#l00256">NL3D::CMeshBase::_UseLightingLocalAttenuation</a>, <a class="el" href="a05991.html#l00407">NL3D::CMeshBase::computeIsLightable()</a>, <a class="el" href="a05981.html#l00104">sint</a>, and <a class="el" href="a05992.html#l00076">NL3D::CMeshBase::TLightInfoMapV7</a>.
<p>
<div class="fragment"><pre>00150 {
00151         <span class="comment">/*</span>
00152 <span class="comment">        Version 8:</span>
00153 <span class="comment">                - new format for CLightMapInfoList</span>
00154 <span class="comment">        Version 7:</span>
00155 <span class="comment">                - _LodCharacterTexture</span>
00156 <span class="comment">        Version 6:</span>
00157 <span class="comment">                - _DistMax</span>
00158 <span class="comment">        Version 5:</span>
00159 <span class="comment">                - _AutoAnim</span>
00160 <span class="comment">        Version 4:</span>
00161 <span class="comment">                - _UseLightingLocalAttenuation</span>
00162 <span class="comment">        Version 3:</span>
00163 <span class="comment">                - _IsLightable</span>
00164 <span class="comment">        Version 2:</span>
00165 <span class="comment">                - Added Blend Shapes factors</span>
00166 <span class="comment">        Version 1:</span>
00167 <span class="comment">                - Cut in version because of badly coded ITexture* serialisation. throw an exception if </span>
00168 <span class="comment">                        find a version &lt; 1.</span>
00169 <span class="comment">        Version 0:</span>
00170 <span class="comment">                - 1st version.</span>
00171 <span class="comment">        */</span>
00172         <a class="code" href="a04558.html#a14">sint</a> ver = f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(8);
00173 
00174         <span class="keywordflow">if</span> (ver &gt;= 2)
00175         {
00176                 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a> (_AnimatedMorph);
00177         }
00178 
00179         <span class="keywordflow">if</span>(ver&lt;1)
00180                 <span class="keywordflow">throw</span> <a class="code" href="a03781.html">NLMISC::EStream</a>(f, <span class="stringliteral">"Mesh in Stream is too old (MeshBase version &lt; 1)"</span>);
00181 
00182         f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_DefaultPos);
00183         f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_DefaultPivot);
00184         f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_DefaultRotEuler);
00185         f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_DefaultRotQuat);
00186         f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_DefaultScale);
00187 
00188         f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a>(_Materials);
00189         f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a>(_AnimatedMaterials);
00190 
00191         <span class="keywordflow">if</span>(ver &gt;= 8)
00192                 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a>(_LightInfos);
00193         <span class="keywordflow">else</span>
00194         {
00195                 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodz425_0">TLightInfoMapV7</a> temp;
00196                 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a>(temp);
00197         }
00198 
00199         <span class="keywordflow">if</span>(ver&gt;=3)
00200                 <span class="comment">// read/write _IsLightable flag.</span>
00201                 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_IsLightable);
00202         <span class="keywordflow">else</span> <span class="keywordflow">if</span>( f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>() )
00203                 <span class="comment">// update _IsLightable flag.</span>
00204                 <a class="code" href="a02858.html#NL3D_1_1CMeshBased0">computeIsLightable</a>();
00205 
00206         <span class="keywordflow">if</span>(ver&gt;=4)
00207                 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_UseLightingLocalAttenuation);
00208         <span class="keywordflow">else</span> <span class="keywordflow">if</span>( f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>() )
00209                 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp12">_UseLightingLocalAttenuation</a>= <span class="keyword">false</span>;
00210 
00211         <span class="keywordflow">if</span> (ver &gt;= 5)
00212         {
00213                 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_AutoAnim);
00214         }
00215 
00216         <span class="keywordflow">if</span>(ver &gt;= 6)
00217                 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_DistMax);
00218 
00219         <span class="keywordflow">if</span>(ver &gt;= 7)
00220                 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_7">serialPtr</a>(_LodCharacterTexture);
00221 
00222 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz427_1" doxytag="NL3D::CMeshMultiLod::setAnimatedMaterial" ></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 NL3D::CMeshBase::setAnimatedMaterial </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const std::string &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>matName</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [inherited]</code></td>
        </tr>

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

<p>
setup a material as animated. Material must exist or else no-op. 
<p>

<p>
Definition at line <a class="el" href="a05991.html#l00077">77</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
<p>
References <a class="el" href="a05992.html#l00240">NL3D::CMeshBase::_AnimatedMaterials</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
<p>
<div class="fragment"><pre>00078 {
00079         <a class="code" href="a04199.html#a6">nlassert</a>(!matName.empty());
00080         <span class="keywordflow">if</span>(<span class="keywordtype">id</span>&lt;<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.size())
00081         {
00082                 <span class="comment">// add / replace animated material.</span>
00083                 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>[<span class="keywordtype">id</span>].Name= matName;
00084                 <span class="comment">// copy Material default.</span>
00085                 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>[<span class="keywordtype">id</span>].copyFromMaterial(&amp;_Materials[<span class="keywordtype">id</span>]);
00086         }
00087 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz433_1" doxytag="NL3D::CMeshMultiLod::setAutoAnim" ></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 NL3D::CMeshBase::setAutoAnim </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>on</em> = true          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline, inherited]</code></td>
        </tr>

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

<p>
Tells that the model instanciated from this shape should be automatically animated. If so the scene will search for an automatic anim that has the same name than this shape and will bind it. This state is serialized. NB: This is a clue to scene::createInstance, a call to createInstance of this object won't make the animation binding.
<p>
Definition at line <a class="el" href="a05992.html#l00210">210</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
References <a class="el" href="a05992.html#l00258">NL3D::CMeshBase::_AutoAnim</a>.
<p>
<div class="fragment"><pre>00210 { <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp2">_AutoAnim</a> = on; }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1IShapea11" doxytag="NL3D::CMeshMultiLod::setDistMax" ></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 NL3D::IShape::setDistMax </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">float&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>distMax</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inherited]</code></td>
        </tr>

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

<p>
setup the DistMax where the shape is no more displayed. Take effect only for the next created instances. setting &lt;0 means -1 and so means DistMax = infinite.
<p>
Definition at line <a class="el" href="a06376.html#l00066">66</a> of file <a class="el" href="a06376.html">shape.cpp</a>.
<p>
Referenced by <a class="el" href="a05714.html#l00039">NL3D::CFlareShape::CFlareShape()</a>.
<p>
<div class="fragment"><pre>00067 {
00068         <a class="code" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a>= distMax;
00069         <span class="comment">// normalize infinite setup.</span>
00070         <span class="keywordflow">if</span>(distMax&lt;0)
00071                 <a class="code" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a>= -1;
00072 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz435_2" doxytag="NL3D::CMeshMultiLod::setupLodCharacterTexture" ></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 NL3D::CMeshBase::setupLodCharacterTexture </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a02810.html">CLodCharacterTexture</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>lodText</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inherited]</code></td>
        </tr>

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

<p>
setup the lod texture info. see <a class="el" href="a03399.html">CSkeletonModel</a> Lod system 
<p>

<p>
Definition at line <a class="el" href="a05991.html#l00446">446</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
<p>
References <a class="el" href="a05992.html#l00278">NL3D::CMeshBase::_LodCharacterTexture</a>, and <a class="el" href="a05991.html#l00436">NL3D::CMeshBase::resetLodCharacterTexture()</a>.
<p>
<div class="fragment"><pre>00447 {
00448         <span class="comment">// delete old</span>
00449         <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodz435_1">resetLodCharacterTexture</a>();
00450         <span class="comment">// seutp new</span>
00451         _LodCharacterTexture= <span class="keyword">new</span> CLodCharacterTexture;
00452         *_LodCharacterTexture= lodText;
00453 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodz539_0" doxytag="NL3D::CMeshMultiLod::supportMeshBlockRendering" ></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"> <a class="el" href="a02879.html">IMeshGeom</a> * NL3D::CMeshMultiLod::supportMeshBlockRendering </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a02537.html">CTransformShape</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>trans</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>polygonCount</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const<code> [virtual]</code></td>
        </tr>

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

<p>
return !NULL if this shape can support MeshBlock rendering for a special instance. NB: Mesh Block render cannot occurs if the Mesh is Skinned/MeshMorphed. NB: Mesh Block render can occurs only in Opaque pass NB: Mesh block render can occurs only for <a class="el" href="a02858.html">CMeshBase</a> meshes. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>trans</em>&nbsp;</td><td>the instance to take into account (meshMultiLod may return NULL in blend transition). </td></tr>
    <tr><td valign=top><em>polygonCount</em>&nbsp;</td><td>the number of polygons to render for the meshGeom returned </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>the meshgeom to render per block if OK, else NULL (default)</dd></dl>

<p>
Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapez904_0">NL3D::IShape</a>.
<p>
Definition at line <a class="el" href="a06016.html#l00630">630</a> of file <a class="el" href="a06016.html">mesh_multi_lod.cpp</a>.
<p>
References <a class="el" href="a06017.html#l00253">_MeshVector</a>, <a class="el" href="a06019.html#l00110">NL3D::CMeshMultiLodInstance::Flags</a>, <a class="el" href="a06019.html#l00106">NL3D::CMeshMultiLodInstance::Lod0</a>, <a class="el" href="a06019.html#l00118">NL3D::CMeshMultiLodInstance::PolygonCountLod0</a>, <a class="el" href="a02879.html#NL3D_1_1IMeshGeomz457_11">NL3D::IMeshGeom::supportMeshBlockRendering()</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
<p>
<div class="fragment"><pre>00631 {
00632         IMeshGeom       *ret= NULL;
00633 
00634         <span class="comment">// get the instance</span>
00635         <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodn0">CMeshMultiLodInstance</a> *instance=safe_cast&lt;CMeshMultiLodInstance*&gt;(trans);
00636 
00637         <span class="comment">// Must not be in blend transition.</span>
00638         <span class="keywordflow">if</span> ( (instance-&gt;Flags&amp;CMeshMultiLodInstance::Lod0Blend) == 0)
00639         {
00640                 <a class="code" href="a04558.html#a15">uint</a>    slot= instance-&gt;Lod0;
00641                 <span class="comment">// The slot must not be a CoarseMesh</span>
00642                 <span class="keywordflow">if</span> ( (<a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[slot].Flags&amp;CMeshSlot::CoarseMesh)==0 )
00643                 {
00644                         <span class="comment">// MeshGeom exist?</span>
00645                         ret= <a class="code" href="a02910.html#NL3D_1_1CMeshMultiLodr0">_MeshVector</a>[slot].MeshGeom;
00646                 }
00647         }
00648 
00649         <span class="comment">// Ok if meshGeom is ok.</span>
00650         <span class="keywordflow">if</span>( ret &amp;&amp; ret-&gt;supportMeshBlockRendering() )
00651         {
00652                 polygonCount= instance-&gt;PolygonCountLod0;
00653                 <span class="keywordflow">return</span> ret;
00654         }
00655         <span class="keywordflow">else</span>
00656                 <span class="keywordflow">return</span> NULL;
00657 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLoda14" doxytag="NL3D::CMeshMultiLod::useLightingLocalAttenuation" ></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"> bool NL3D::CMeshBase::useLightingLocalAttenuation </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> [virtual, inherited]</code></td>
        </tr>

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

<p>
tells if the shape wants LocalAttenuation for RealTime lighting. Default is false 
<p>

<p>
Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapez902_0">NL3D::IShape</a>.
<p>
Definition at line <a class="el" href="a05991.html#l00429">429</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
<p>
References <a class="el" href="a05992.html#l00256">NL3D::CMeshBase::_UseLightingLocalAttenuation</a>.
<p>
<div class="fragment"><pre>00430 {
00431         <span class="keywordflow">return</span> <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp12">_UseLightingLocalAttenuation</a>;
00432 }
</pre></div>    </td>
  </tr>
</table>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="NL3D_1_1CMeshMultiLodn0" doxytag="NL3D::CMeshMultiLod::CMeshMultiLodInstance" ></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"> friend class <a class="el" href="a02914.html">CMeshMultiLodInstance</a><code> [friend]</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="a06017.html#l00276">276</a> of file <a class="el" href="a06017.html">mesh_multi_lod.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1UTypen0" doxytag="NL3D::CMeshMultiLod::CPtrInfo" ></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"> friend struct CPtrInfo<code> [friend, 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="a06402.html#l00067">67</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>.    </td>
  </tr>
</table>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="NL3D_1_1CMeshMultiLodp0" doxytag="NL3D::CMeshMultiLod::_AnimatedMaterials" ></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"> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodx0">TAnimatedMaterialMap</a> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp0">NL3D::CMeshBase::_AnimatedMaterials</a><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="a05992.html#l00240">240</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
Referenced by <a class="el" href="a05991.html#l00333">NL3D::CMeshBase::applyMaterialUsageOptim()</a>, <a class="el" href="a05991.html#l00226">NL3D::CMeshBase::buildMeshBase()</a>, <a class="el" href="a05991.html#l00090">NL3D::CMeshBase::getAnimatedMaterial()</a>, <a class="el" href="a05991.html#l00261">NL3D::CMeshBase::instanciateMeshBase()</a>, <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>, and <a class="el" href="a05991.html#l00077">NL3D::CMeshBase::setAnimatedMaterial()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodp1" doxytag="NL3D::CMeshMultiLod::_AnimatedMorph" ></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"> std::vector&lt;<a class="el" href="a02936.html">CMorphBase</a>&gt; <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp1">NL3D::CMeshBase::_AnimatedMorph</a><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="a05992.html#l00251">251</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
Referenced by <a class="el" href="a05991.html#l00226">NL3D::CMeshBase::buildMeshBase()</a>, <a class="el" href="a05991.html#l00261">NL3D::CMeshBase::instanciateMeshBase()</a>, and <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodp2" doxytag="NL3D::CMeshMultiLod::_AutoAnim" ></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"> bool <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp2">NL3D::CMeshBase::_AutoAnim</a><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="a05992.html#l00258">258</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
Referenced by <a class="el" href="a05991.html#l00043">NL3D::CMeshBase::CMeshBase()</a>, <a class="el" href="a05992.html#l00212">NL3D::CMeshBase::getAutoAnim()</a>, <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>, and <a class="el" href="a05992.html#l00210">NL3D::CMeshBase::setAutoAnim()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodp3" doxytag="NL3D::CMeshMultiLod::_DefaultLMFactor" ></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"> <a class="el" href="a03549.html">CTrackDefaultRGBA</a> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp3">NL3D::CMeshBase::_DefaultLMFactor</a><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="a05992.html#l00249">249</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
Referenced by <a class="el" href="a05991.html#l00043">NL3D::CMeshBase::CMeshBase()</a>, and <a class="el" href="a05992.html#l00166">NL3D::CMeshBase::getDefaultLMFactor()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodp4" doxytag="NL3D::CMeshMultiLod::_DefaultPivot" ></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"> <a class="el" href="a03551.html">CTrackDefaultVector</a> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp4">NL3D::CMeshBase::_DefaultPivot</a><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="a05992.html#l00245">245</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
Referenced by <a class="el" href="a05991.html#l00226">NL3D::CMeshBase::buildMeshBase()</a>, <a class="el" href="a05991.html#l00043">NL3D::CMeshBase::CMeshBase()</a>, <a class="el" href="a05992.html#l00162">NL3D::CMeshBase::getDefaultPivot()</a>, <a class="el" href="a05991.html#l00261">NL3D::CMeshBase::instanciateMeshBase()</a>, and <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodp5" doxytag="NL3D::CMeshMultiLod::_DefaultPos" ></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"> <a class="el" href="a03551.html">CTrackDefaultVector</a> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp5">NL3D::CMeshBase::_DefaultPos</a><code> [protected, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Transform default tracks. Those default tracks are instancied, ie, CInstanceMesh will have the same and can't specialize it. 
<p>

<p>
Definition at line <a class="el" href="a05992.html#l00244">244</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodp6" doxytag="NL3D::CMeshMultiLod::_DefaultRotEuler" ></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"> <a class="el" href="a03551.html">CTrackDefaultVector</a> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp6">NL3D::CMeshBase::_DefaultRotEuler</a><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="a05992.html#l00246">246</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
Referenced by <a class="el" href="a05991.html#l00226">NL3D::CMeshBase::buildMeshBase()</a>, <a class="el" href="a05991.html#l00043">NL3D::CMeshBase::CMeshBase()</a>, <a class="el" href="a05992.html#l00163">NL3D::CMeshBase::getDefaultRotEuler()</a>, and <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodp7" doxytag="NL3D::CMeshMultiLod::_DefaultRotQuat" ></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"> <a class="el" href="a03548.html">CTrackDefaultQuat</a> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp7">NL3D::CMeshBase::_DefaultRotQuat</a><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="a05992.html#l00247">247</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
Referenced by <a class="el" href="a05991.html#l00226">NL3D::CMeshBase::buildMeshBase()</a>, <a class="el" href="a05991.html#l00043">NL3D::CMeshBase::CMeshBase()</a>, <a class="el" href="a05992.html#l00164">NL3D::CMeshBase::getDefaultRotQuat()</a>, <a class="el" href="a05991.html#l00261">NL3D::CMeshBase::instanciateMeshBase()</a>, and <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodp8" doxytag="NL3D::CMeshMultiLod::_DefaultScale" ></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"> <a class="el" href="a03551.html">CTrackDefaultVector</a> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp8">NL3D::CMeshBase::_DefaultScale</a><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="a05992.html#l00248">248</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
Referenced by <a class="el" href="a05991.html#l00226">NL3D::CMeshBase::buildMeshBase()</a>, <a class="el" href="a05991.html#l00043">NL3D::CMeshBase::CMeshBase()</a>, <a class="el" href="a05992.html#l00165">NL3D::CMeshBase::getDefaultScale()</a>, <a class="el" href="a05991.html#l00261">NL3D::CMeshBase::instanciateMeshBase()</a>, and <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1IShapep0" doxytag="NL3D::CMeshMultiLod::_DistMax" ></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"> float <a class="el" href="a02539.html#NL3D_1_1IShapep0">NL3D::IShape::_DistMax</a><code> [protected, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Default to -1. 
<p>

<p>
Definition at line <a class="el" href="a06377.html#l00165">165</a> of file <a class="el" href="a06377.html">shape.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodp10" doxytag="NL3D::CMeshMultiLod::_IsLightable" ></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"> bool <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp10">NL3D::CMeshBase::_IsLightable</a><code> [protected, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Is this mesh lightable?? 
<p>

<p>
Definition at line <a class="el" href="a05992.html#l00254">254</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
Referenced by <a class="el" href="a05991.html#l00407">NL3D::CMeshBase::computeIsLightable()</a>, <a class="el" href="a05992.html#l00198">NL3D::CMeshBase::isLightable()</a>, and <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodo0" doxytag="NL3D::CMeshMultiLod::_LightInfos" ></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"> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz425_1">TLightMapInfo</a> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodo0">NL3D::CMeshBase::_LightInfos</a><code> [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="a05992.html#l00234">234</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
Referenced by <a class="el" href="a05991.html#l00333">NL3D::CMeshBase::applyMaterialUsageOptim()</a>, <a class="el" href="a05991.html#l00226">NL3D::CMeshBase::buildMeshBase()</a>, <a class="el" href="a06626.html#l00125">NL3D::UShape::cameraCollisionable()</a>, <a class="el" href="a05993.html#l00131">NL3D::CMeshBaseInstance::getLightMapName()</a>, <a class="el" href="a05993.html#l00124">NL3D::CMeshBaseInstance::getNbLightMap()</a>, <a class="el" href="a05993.html#l00316">NL3D::CMeshBaseInstance::initAnimatedLightIndex()</a>, <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>, and <a class="el" href="a05993.html#l00214">NL3D::CMeshBaseInstance::traverseAnimDetail()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodp11" doxytag="NL3D::CMeshMultiLod::_Materials" ></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"> std::vector&lt;<a class="el" href="a02839.html">CMaterial</a>&gt; <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp11">NL3D::CMeshBase::_Materials</a><code> [protected, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The Materials. 
<p>

<p>
Definition at line <a class="el" href="a05992.html#l00230">230</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodr0" doxytag="NL3D::CMeshMultiLod::_MeshVector" ></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"> std::vector&lt;<a class="el" href="a02913.html">CMeshSlot</a>&gt; <a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodr0">NL3D::CMeshMultiLod::_MeshVector</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Vector of meshes. 
<p>

<p>
Definition at line <a class="el" href="a06017.html#l00253">253</a> of file <a class="el" href="a06017.html">mesh_multi_lod.h</a>.
<p>
Referenced by <a class="el" href="a06016.html#l00052">build()</a>, <a class="el" href="a06016.html#l00609">changeMRMDistanceSetup()</a>, <a class="el" href="a06016.html#l00403">clear()</a>, <a class="el" href="a06016.html#l00211">clip()</a>, <a class="el" href="a06016.html#l00765">compileCoarseMeshes()</a>, <a class="el" href="a06016.html#l00587">compileDistMax()</a>, <a class="el" href="a06016.html#l00182">createInstance()</a>, <a class="el" href="a06016.html#l00383">getAABBox()</a>, <a class="el" href="a06016.html#l00599">getMeshGeom()</a>, <a class="el" href="a06017.html#l00144">getNumSlotMesh()</a>, <a class="el" href="a06016.html#l00320">getNumTrianglesWithCoarsestDist()</a>, <a class="el" href="a06017.html#l00150">getSlotMesh()</a>, <a class="el" href="a06016.html#l00740">instanciateCoarseMeshSpace()</a>, <a class="el" href="a06016.html#l00661">profileMeshGeom()</a>, <a class="el" href="a06016.html#l00687">profileSceneRender()</a>, <a class="el" href="a06016.html#l00232">render()</a>, <a class="el" href="a06016.html#l00496">renderCoarseMesh()</a>, <a class="el" href="a06016.html#l00446">renderMeshGeom()</a>, <a class="el" href="a06016.html#l00630">supportMeshBlockRendering()</a>, and <a class="el" href="a06018.html#l00086">NL3D::CMeshMultiLodInstance::traverseLoadBalancing()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodr1" doxytag="NL3D::CMeshMultiLod::_StaticLod" ></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"> bool <a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodr1">NL3D::CMeshMultiLod::_StaticLod</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Static or dynamic load ? Yoyo: no more used, but leave for possible usage later... 
<p>

<p>
Definition at line <a class="el" href="a06017.html#l00250">250</a> of file <a class="el" href="a06017.html">mesh_multi_lod.h</a>.
<p>
Referenced by <a class="el" href="a06016.html#l00052">build()</a>, and <a class="el" href="a06017.html#l00160">isStatic()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CMeshMultiLodp12" doxytag="NL3D::CMeshMultiLod::_UseLightingLocalAttenuation" ></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"> bool <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp12">NL3D::CMeshBase::_UseLightingLocalAttenuation</a><code> [protected, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Is this mesh Use Lighting Local Attenuation ?? 
<p>

<p>
Definition at line <a class="el" href="a05992.html#l00256">256</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
<p>
Referenced by <a class="el" href="a05991.html#l00226">NL3D::CMeshBase::buildMeshBase()</a>, <a class="el" href="a05991.html#l00043">NL3D::CMeshBase::CMeshBase()</a>, <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>, and <a class="el" href="a05991.html#l00429">NL3D::CMeshBase::useLightingLocalAttenuation()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1UTypeo0" doxytag="NL3D::CMeshMultiLod::crefs" ></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"> <a class="el" href="a04558.html#a14">sint</a> <a class="el" href="a02209.html#NLGEORGES_1_1UTypeo0">NLMISC::CRefCount::crefs</a><code> [mutable, 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="a06402.html#l00079">79</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>.
<p>
Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>, <a class="el" href="a06402.html#l00070">NLMISC::CRefCount::getRefCount()</a>, and <a class="el" href="a06403.html#l00044">NLMISC::CRefCount::~CRefCount()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1UTypes0" doxytag="NL3D::CMeshMultiLod::NullPtrInfo" ></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"> <a class="el" href="a03320.html">CRefCount::CPtrInfo</a> <a class="el" href="a02209.html#NLGEORGES_1_1UTypes0">NLMISC::CRefCount::NullPtrInfo</a><code> [static, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1UTypeo1" doxytag="NL3D::CMeshMultiLod::pinfo" ></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"> CPtrInfo* <a class="el" href="a02209.html#NLGEORGES_1_1UTypeo1">NLMISC::CRefCount::pinfo</a><code> [mutable, 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="a06402.html#l00080">80</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>.
<p>
Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>, and <a class="el" href="a06403.html#l00044">NLMISC::CRefCount::~CRefCount()</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="a06017.html">mesh_multi_lod.h</a><li><a class="el" href="a06016.html">mesh_multi_lod.cpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:55:21 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>