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 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552
|
// std lib related includes
#include <tuple>
// pybind 11 related includes
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
namespace py = pybind11;
// Standard Handle
#include <Standard_Handle.hxx>
// includes to resolve forward declarations
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Graphic3d_PBRMaterial.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Graphic3d_CStructure.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Graphic3d_Camera.hxx>
#include <Graphic3d_CStructure.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Graphic3d_GraphicDriver.hxx>
#include <Graphic3d_StructureManager.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Aspect_NeutralWindow.hxx>
#include <Aspect_XRSession.hxx>
#include <Graphic3d_Layer.hxx>
#include <Graphic3d_StructureManager.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Graphic3d_Camera.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Graphic3d_CView.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Graphic3d_CView.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Aspect_DisplayConnection.hxx>
#include <Aspect_Window.hxx>
#include <Graphic3d_CView.hxx>
#include <Graphic3d_Layer.hxx>
#include <Graphic3d_StructureManager.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Aspect_DisplayConnection.hxx>
#include <Graphic3d_GraphicDriver.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Graphic3d_Structure.hxx>
#include <Graphic3d_ArrayOfPrimitives.hxx>
#include <Graphic3d_Text.hxx>
#include <Graphic3d_TransformPers.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Graphic3d_CullingTool.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Graphic3d_Aspects.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Graphic3d_Structure.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Image_PixMap.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Graphic3d_ShaderProgram.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Graphic3d_LightSet.hxx>
#include <Graphic3d_ShaderProgram.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Graphic3d_StructureManager.hxx>
#include <Graphic3d_DataStructureManager.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Graphic3d_GraphicDriver.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Image_CompressedPixMap.hxx>
#include <Image_SupportedFormats.hxx>
#include <Graphic3d_TextureParams.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
// module includes
#include <Graphic3d_AlphaMode.hxx>
#include <Graphic3d_ArrayFlags.hxx>
#include <Graphic3d_ArrayOfPoints.hxx>
#include <Graphic3d_ArrayOfPolygons.hxx>
#include <Graphic3d_ArrayOfPolylines.hxx>
#include <Graphic3d_ArrayOfPrimitives.hxx>
#include <Graphic3d_ArrayOfQuadrangles.hxx>
#include <Graphic3d_ArrayOfQuadrangleStrips.hxx>
#include <Graphic3d_ArrayOfSegments.hxx>
#include <Graphic3d_ArrayOfTriangleFans.hxx>
#include <Graphic3d_ArrayOfTriangles.hxx>
#include <Graphic3d_ArrayOfTriangleStrips.hxx>
#include <Graphic3d_AspectFillArea3d.hxx>
#include <Graphic3d_AspectLine3d.hxx>
#include <Graphic3d_AspectMarker3d.hxx>
#include <Graphic3d_Aspects.hxx>
#include <Graphic3d_AspectText3d.hxx>
#include <Graphic3d_AttribBuffer.hxx>
#include <Graphic3d_BndBox3d.hxx>
#include <Graphic3d_BndBox4d.hxx>
#include <Graphic3d_BndBox4f.hxx>
#include <Graphic3d_BoundBuffer.hxx>
#include <Graphic3d_BSDF.hxx>
#include <Graphic3d_Buffer.hxx>
#include <Graphic3d_BufferRange.hxx>
#include <Graphic3d_BufferType.hxx>
#include <Graphic3d_BvhCStructureSet.hxx>
#include <Graphic3d_BvhCStructureSetTrsfPers.hxx>
#include <Graphic3d_Camera.hxx>
#include <Graphic3d_CameraTile.hxx>
#include <Graphic3d_CappingFlags.hxx>
#include <Graphic3d_CLight.hxx>
#include <Graphic3d_ClipPlane.hxx>
#include <Graphic3d_CStructure.hxx>
#include <Graphic3d_CubeMap.hxx>
#include <Graphic3d_CubeMapOrder.hxx>
#include <Graphic3d_CubeMapPacked.hxx>
#include <Graphic3d_CubeMapSeparate.hxx>
#include <Graphic3d_CubeMapSide.hxx>
#include <Graphic3d_CullingTool.hxx>
#include <Graphic3d_CView.hxx>
#include <Graphic3d_DataStructureManager.hxx>
#include <Graphic3d_DiagnosticInfo.hxx>
#include <Graphic3d_DisplayPriority.hxx>
#include <Graphic3d_FrameStats.hxx>
#include <Graphic3d_FrameStatsCounter.hxx>
#include <Graphic3d_FrameStatsData.hxx>
#include <Graphic3d_FrameStatsTimer.hxx>
#include <Graphic3d_GraduatedTrihedron.hxx>
#include <Graphic3d_GraphicDriver.hxx>
#include <Graphic3d_GraphicDriverFactory.hxx>
#include <Graphic3d_Group.hxx>
#include <Graphic3d_GroupAspect.hxx>
#include <Graphic3d_GroupDefinitionError.hxx>
#include <Graphic3d_HatchStyle.hxx>
#include <Graphic3d_HorizontalTextAlignment.hxx>
#include <Graphic3d_IndexBuffer.hxx>
#include <Graphic3d_Layer.hxx>
#include <Graphic3d_LevelOfTextureAnisotropy.hxx>
#include <Graphic3d_LightSet.hxx>
#include <Graphic3d_MapIteratorOfMapOfStructure.hxx>
#include <Graphic3d_MapOfAspectsToAspects.hxx>
#include <Graphic3d_MapOfObject.hxx>
#include <Graphic3d_MapOfStructure.hxx>
#include <Graphic3d_MarkerImage.hxx>
#include <Graphic3d_Mat4.hxx>
#include <Graphic3d_Mat4d.hxx>
#include <Graphic3d_MaterialAspect.hxx>
#include <Graphic3d_MaterialDefinitionError.hxx>
#include <Graphic3d_MediaTexture.hxx>
#include <Graphic3d_MediaTextureSet.hxx>
#include <Graphic3d_MutableIndexBuffer.hxx>
#include <Graphic3d_NameOfMaterial.hxx>
#include <Graphic3d_NameOfTexture1D.hxx>
#include <Graphic3d_NameOfTexture2D.hxx>
#include <Graphic3d_NameOfTextureEnv.hxx>
#include <Graphic3d_NameOfTexturePlane.hxx>
#include <Graphic3d_NMapOfTransient.hxx>
#include <Graphic3d_PBRMaterial.hxx>
#include <Graphic3d_PolygonOffset.hxx>
#include <Graphic3d_PresentationAttributes.hxx>
#include <Graphic3d_PriorityDefinitionError.hxx>
#include <Graphic3d_RenderingMode.hxx>
#include <Graphic3d_RenderingParams.hxx>
#include <Graphic3d_RenderTransparentMethod.hxx>
#include <Graphic3d_SequenceOfGroup.hxx>
#include <Graphic3d_SequenceOfHClipPlane.hxx>
#include <Graphic3d_SequenceOfStructure.hxx>
#include <Graphic3d_ShaderAttribute.hxx>
#include <Graphic3d_ShaderFlags.hxx>
#include <Graphic3d_ShaderManager.hxx>
#include <Graphic3d_ShaderObject.hxx>
#include <Graphic3d_ShaderProgram.hxx>
#include <Graphic3d_ShaderVariable.hxx>
#include <Graphic3d_StereoMode.hxx>
#include <Graphic3d_Structure.hxx>
#include <Graphic3d_StructureDefinitionError.hxx>
#include <Graphic3d_StructureManager.hxx>
#include <Graphic3d_Text.hxx>
#include <Graphic3d_TextPath.hxx>
#include <Graphic3d_Texture1D.hxx>
#include <Graphic3d_Texture1Dmanual.hxx>
#include <Graphic3d_Texture1Dsegment.hxx>
#include <Graphic3d_Texture2D.hxx>
#include <Graphic3d_Texture2Dmanual.hxx>
#include <Graphic3d_Texture2Dplane.hxx>
#include <Graphic3d_Texture3D.hxx>
#include <Graphic3d_TextureEnv.hxx>
#include <Graphic3d_TextureMap.hxx>
#include <Graphic3d_TextureParams.hxx>
#include <Graphic3d_TextureRoot.hxx>
#include <Graphic3d_TextureSet.hxx>
#include <Graphic3d_TextureSetBits.hxx>
#include <Graphic3d_TextureUnit.hxx>
#include <Graphic3d_ToneMappingMethod.hxx>
#include <Graphic3d_TransformPers.hxx>
#include <Graphic3d_TransformPersScaledAbove.hxx>
#include <Graphic3d_TransformUtils.hxx>
#include <Graphic3d_TransModeFlags.hxx>
#include <Graphic3d_TypeOfAnswer.hxx>
#include <Graphic3d_TypeOfBackfacingModel.hxx>
#include <Graphic3d_TypeOfBackground.hxx>
#include <Graphic3d_TypeOfConnection.hxx>
#include <Graphic3d_TypeOfLightSource.hxx>
#include <Graphic3d_TypeOfLimit.hxx>
#include <Graphic3d_TypeOfMaterial.hxx>
#include <Graphic3d_TypeOfPrimitiveArray.hxx>
#include <Graphic3d_TypeOfReflection.hxx>
#include <Graphic3d_TypeOfShaderObject.hxx>
#include <Graphic3d_TypeOfShadingModel.hxx>
#include <Graphic3d_TypeOfStructure.hxx>
#include <Graphic3d_TypeOfTexture.hxx>
#include <Graphic3d_TypeOfTextureFilter.hxx>
#include <Graphic3d_TypeOfTextureMode.hxx>
#include <Graphic3d_TypeOfVisualization.hxx>
#include <Graphic3d_Vec.hxx>
#include <Graphic3d_Vec2.hxx>
#include <Graphic3d_Vec3.hxx>
#include <Graphic3d_Vec4.hxx>
#include <Graphic3d_Vertex.hxx>
#include <Graphic3d_VerticalTextAlignment.hxx>
#include <Graphic3d_ViewAffinity.hxx>
#include <Graphic3d_WorldViewProjState.hxx>
#include <Graphic3d_ZLayerId.hxx>
#include <Graphic3d_ZLayerSettings.hxx>
// template related includes
// ./opencascade/Graphic3d_Buffer.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Graphic3d_Camera.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Graphic3d_GraphicDriverFactory.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Graphic3d_Mat4.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Graphic3d_Mat4d.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Graphic3d_SequenceOfGroup.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Graphic3d_SequenceOfStructure.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Graphic3d_ShaderProgram.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Graphic3d_ShaderProgram.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Graphic3d_ShaderProgram.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Graphic3d_ShaderVariable.hxx
#include "Graphic3d_tmpl.hxx"
// ./opencascade/Graphic3d_ShaderVariable.hxx
#include "Graphic3d_tmpl.hxx"
// ./opencascade/Graphic3d_ShaderVariable.hxx
#include "Graphic3d_tmpl.hxx"
// ./opencascade/Graphic3d_ShaderVariable.hxx
#include "Graphic3d_tmpl.hxx"
// ./opencascade/Graphic3d_ShaderVariable.hxx
#include "Graphic3d_tmpl.hxx"
// ./opencascade/Graphic3d_ShaderVariable.hxx
#include "Graphic3d_tmpl.hxx"
// ./opencascade/Graphic3d_ShaderVariable.hxx
#include "Graphic3d_tmpl.hxx"
// ./opencascade/Graphic3d_ShaderVariable.hxx
#include "Graphic3d_tmpl.hxx"
// ./opencascade/Graphic3d_Vec2.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Graphic3d_Vec2.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Graphic3d_Vec2.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Graphic3d_Vec2.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Graphic3d_Vec3.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Graphic3d_Vec3.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Graphic3d_Vec3.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Graphic3d_Vec4.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Graphic3d_Vec4.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Graphic3d_Vec4.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Graphic3d_Vec4.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Graphic3d_Vec4.hxx
#include "NCollection_tmpl.hxx"
// user-defined pre
#include "OCP_specific.inc"
// user-defined inclusion per module
#include <Media_PlayerContext.hxx>
struct NSOpenGLContext {};
// Module definiiton
void register_Graphic3d(py::module &main_module) {
py::module m = static_cast<py::module>(main_module.attr("Graphic3d"));
py::object klass;
//Python trampoline classes
class Py_Graphic3d_CStructure : public Graphic3d_CStructure{
public:
using Graphic3d_CStructure::Graphic3d_CStructure;
// public pure virtual
void OnVisibilityChanged() override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CStructure,OnVisibilityChanged,) };
void Clear() override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CStructure,Clear,) };
void Connect(Graphic3d_CStructure & theStructure) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CStructure,Connect,theStructure) };
void Disconnect(Graphic3d_CStructure & theStructure) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CStructure,Disconnect,theStructure) };
void GraphicHighlight(const opencascade::handle<Graphic3d_PresentationAttributes> & theStyle) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CStructure,GraphicHighlight,theStyle) };
void GraphicUnhighlight() override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CStructure,GraphicUnhighlight,) };
opencascade::handle<Graphic3d_CStructure> ShadowLink(const opencascade::handle<Graphic3d_StructureManager> & theManager) const override { PYBIND11_OVERLOAD_PURE(opencascade::handle<Graphic3d_CStructure>,Graphic3d_CStructure,ShadowLink,theManager) };
opencascade::handle<Graphic3d_Group> NewGroup(const opencascade::handle<Graphic3d_Structure> & theStruct) override { PYBIND11_OVERLOAD_PURE(opencascade::handle<Graphic3d_Group>,Graphic3d_CStructure,NewGroup,theStruct) };
void RemoveGroup(const opencascade::handle<Graphic3d_Group> & theGroup) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CStructure,RemoveGroup,theGroup) };
// protected pure virtual
// private pure virtual
};
class Py_Graphic3d_DataStructureManager : public Graphic3d_DataStructureManager{
public:
using Graphic3d_DataStructureManager::Graphic3d_DataStructureManager;
// public pure virtual
// protected pure virtual
const opencascade::handle<Graphic3d_Camera> & Camera() const override { PYBIND11_OVERLOAD_PURE(const opencascade::handle<Graphic3d_Camera> &,Graphic3d_DataStructureManager,Camera,) };
// private pure virtual
};
class Py_Graphic3d_FrameStats : public Graphic3d_FrameStats{
public:
using Graphic3d_FrameStats::Graphic3d_FrameStats;
// public pure virtual
// protected pure virtual
void updateStatistics(const opencascade::handle<Graphic3d_CView> & theView,bool theIsImmediateOnly) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_FrameStats,updateStatistics,theView,theIsImmediateOnly) };
// private pure virtual
};
class Py_Graphic3d_GraphicDriver : public Graphic3d_GraphicDriver{
public:
using Graphic3d_GraphicDriver::Graphic3d_GraphicDriver;
// public pure virtual
Standard_Integer InquireLimit(const Graphic3d_TypeOfLimit theType) const override { PYBIND11_OVERLOAD_PURE(Standard_Integer,Graphic3d_GraphicDriver,InquireLimit,theType) };
opencascade::handle<Graphic3d_CStructure> CreateStructure(const opencascade::handle<Graphic3d_StructureManager> & theManager) override { PYBIND11_OVERLOAD_PURE(opencascade::handle<Graphic3d_CStructure>,Graphic3d_GraphicDriver,CreateStructure,theManager) };
opencascade::handle<Graphic3d_CView> CreateView(const opencascade::handle<Graphic3d_StructureManager> & theMgr) override { PYBIND11_OVERLOAD_PURE(opencascade::handle<Graphic3d_CView>,Graphic3d_GraphicDriver,CreateView,theMgr) };
void RemoveView(const opencascade::handle<Graphic3d_CView> & theView) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_GraphicDriver,RemoveView,theView) };
void EnableVBO(const Standard_Boolean status) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_GraphicDriver,EnableVBO,status) };
bool IsVerticalSync() const override { PYBIND11_OVERLOAD_PURE(bool,Graphic3d_GraphicDriver,IsVerticalSync,) };
void SetVerticalSync(bool theToEnable) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_GraphicDriver,SetVerticalSync,theToEnable) };
Standard_Boolean MemoryInfo(Standard_Size & theFreeBytes,TCollection_AsciiString & theInfo) const override { PYBIND11_OVERLOAD_PURE(Standard_Boolean,Graphic3d_GraphicDriver,MemoryInfo,theFreeBytes,theInfo) };
Standard_ShortReal DefaultTextHeight() const override { PYBIND11_OVERLOAD_PURE(Standard_ShortReal,Graphic3d_GraphicDriver,DefaultTextHeight,) };
void TextSize(const opencascade::handle<Graphic3d_CView> & theView,const Standard_CString theText,const Standard_ShortReal theHeight,Standard_ShortReal & theWidth,Standard_ShortReal & theAscent,Standard_ShortReal & theDescent) const override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_GraphicDriver,TextSize,theView,theText,theHeight,theWidth,theAscent,theDescent) };
void InsertLayerBefore(const Graphic3d_ZLayerId theNewLayerId,const Graphic3d_ZLayerSettings & theSettings,const Graphic3d_ZLayerId theLayerAfter) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_GraphicDriver,InsertLayerBefore,theNewLayerId,theSettings,theLayerAfter) };
void InsertLayerAfter(const Graphic3d_ZLayerId theNewLayerId,const Graphic3d_ZLayerSettings & theSettings,const Graphic3d_ZLayerId theLayerBefore) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_GraphicDriver,InsertLayerAfter,theNewLayerId,theSettings,theLayerBefore) };
void RemoveZLayer(const Graphic3d_ZLayerId theLayerId) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_GraphicDriver,RemoveZLayer,theLayerId) };
void SetZLayerSettings(const Graphic3d_ZLayerId theLayerId,const Graphic3d_ZLayerSettings & theSettings) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_GraphicDriver,SetZLayerSettings,theLayerId,theSettings) };
Standard_Boolean ViewExists(const opencascade::handle<Aspect_Window> & theWindow,opencascade::handle<Graphic3d_CView> & theView) override { PYBIND11_OVERLOAD_PURE(Standard_Boolean,Graphic3d_GraphicDriver,ViewExists,theWindow,theView) };
void RemoveStructure(opencascade::handle<Graphic3d_CStructure> & theCStructure) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_GraphicDriver,RemoveStructure,theCStructure) };
// protected pure virtual
// private pure virtual
};
class Py_Graphic3d_GraphicDriverFactory : public Graphic3d_GraphicDriverFactory{
public:
using Graphic3d_GraphicDriverFactory::Graphic3d_GraphicDriverFactory;
// public pure virtual
opencascade::handle<Graphic3d_GraphicDriver> CreateDriver(const opencascade::handle<Aspect_DisplayConnection> & theDisp) override { PYBIND11_OVERLOAD_PURE(opencascade::handle<Graphic3d_GraphicDriver>,Graphic3d_GraphicDriverFactory,CreateDriver,theDisp) };
// protected pure virtual
// private pure virtual
};
class Py_Graphic3d_Group : public Graphic3d_Group{
public:
using Graphic3d_Group::Graphic3d_Group;
// public pure virtual
opencascade::handle<Graphic3d_Aspects> Aspects() const override { PYBIND11_OVERLOAD_PURE(opencascade::handle<Graphic3d_Aspects>,Graphic3d_Group,Aspects,) };
void SetGroupPrimitivesAspect(const opencascade::handle<Graphic3d_Aspects> & theAspect) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_Group,SetGroupPrimitivesAspect,theAspect) };
void SetPrimitivesAspect(const opencascade::handle<Graphic3d_Aspects> & theAspect) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_Group,SetPrimitivesAspect,theAspect) };
void SynchronizeAspects() override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_Group,SynchronizeAspects,) };
void ReplaceAspects( const NCollection_DataMap<opencascade::handle<Graphic3d_Aspects>, opencascade::handle<Graphic3d_Aspects>> & theMap) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_Group,ReplaceAspects,theMap) };
void SetStencilTestOptions(const Standard_Boolean theIsEnabled) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_Group,SetStencilTestOptions,theIsEnabled) };
void SetFlippingOptions(const Standard_Boolean theIsEnabled,const gp_Ax2 & theRefPlane) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_Group,SetFlippingOptions,theIsEnabled,theRefPlane) };
// protected pure virtual
// private pure virtual
};
class Py_Graphic3d_ValueInterface : public Graphic3d_ValueInterface{
public:
using Graphic3d_ValueInterface::Graphic3d_ValueInterface;
// public pure virtual
Standard_Size TypeID() const override { PYBIND11_OVERLOAD_PURE(Standard_Size,Graphic3d_ValueInterface,TypeID,) };
// protected pure virtual
// private pure virtual
};
class Py_Graphic3d_CView : public Graphic3d_CView{
public:
using Graphic3d_CView::Graphic3d_CView;
// public pure virtual
void Redraw() override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,Redraw,) };
void RedrawImmediate() override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,RedrawImmediate,) };
void Invalidate() override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,Invalidate,) };
Standard_Boolean IsInvalidated() override { PYBIND11_OVERLOAD_PURE(Standard_Boolean,Graphic3d_CView,IsInvalidated,) };
void Resized() override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,Resized,) };
Standard_Boolean SetImmediateModeDrawToFront(const Standard_Boolean theDrawToFrontBuffer) override { PYBIND11_OVERLOAD_PURE(Standard_Boolean,Graphic3d_CView,SetImmediateModeDrawToFront,theDrawToFrontBuffer) };
void SetWindow(const opencascade::handle<Graphic3d_CView> & theParentVIew,const opencascade::handle<Aspect_Window> & theWindow,const Aspect_RenderingContext theContext) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,SetWindow,theParentVIew,theWindow,theContext) };
opencascade::handle<Aspect_Window> Window() const override { PYBIND11_OVERLOAD_PURE(opencascade::handle<Aspect_Window>,Graphic3d_CView,Window,) };
Standard_Boolean IsDefined() const override { PYBIND11_OVERLOAD_PURE(Standard_Boolean,Graphic3d_CView,IsDefined,) };
Standard_Boolean BufferDump(Image_PixMap & theImage,const Graphic3d_BufferType & theBufferType) override { PYBIND11_OVERLOAD_PURE(Standard_Boolean,Graphic3d_CView,BufferDump,theImage,theBufferType) };
void InvalidateBVHData(const Graphic3d_ZLayerId theLayerId) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,InvalidateBVHData,theLayerId) };
void InsertLayerBefore(const Graphic3d_ZLayerId theNewLayerId,const Graphic3d_ZLayerSettings & theSettings,const Graphic3d_ZLayerId theLayerAfter) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,InsertLayerBefore,theNewLayerId,theSettings,theLayerAfter) };
void InsertLayerAfter(const Graphic3d_ZLayerId theNewLayerId,const Graphic3d_ZLayerSettings & theSettings,const Graphic3d_ZLayerId theLayerBefore) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,InsertLayerAfter,theNewLayerId,theSettings,theLayerBefore) };
Standard_Integer ZLayerMax() const override { PYBIND11_OVERLOAD_PURE(Standard_Integer,Graphic3d_CView,ZLayerMax,) };
const NCollection_List<opencascade::handle<Graphic3d_Layer>> & Layers() const override { PYBIND11_OVERLOAD_PURE(const NCollection_List<opencascade::handle<Graphic3d_Layer>> &,Graphic3d_CView,Layers,) };
opencascade::handle<Graphic3d_Layer> Layer(const Graphic3d_ZLayerId theLayerId) const override { PYBIND11_OVERLOAD_PURE(opencascade::handle<Graphic3d_Layer>,Graphic3d_CView,Layer,theLayerId) };
void RemoveZLayer(const Graphic3d_ZLayerId theLayerId) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,RemoveZLayer,theLayerId) };
void SetZLayerSettings(const Graphic3d_ZLayerId theLayerId,const Graphic3d_ZLayerSettings & theSettings) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,SetZLayerSettings,theLayerId,theSettings) };
opencascade::handle<Standard_Transient> FBO() const override { PYBIND11_OVERLOAD_PURE(opencascade::handle<Standard_Transient>,Graphic3d_CView,FBO,) };
void SetFBO(const opencascade::handle<Standard_Transient> & theFbo) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,SetFBO,theFbo) };
opencascade::handle<Standard_Transient> FBOCreate(const Standard_Integer theWidth,const Standard_Integer theHeight) override { PYBIND11_OVERLOAD_PURE(opencascade::handle<Standard_Transient>,Graphic3d_CView,FBOCreate,theWidth,theHeight) };
void FBOChangeViewport(const opencascade::handle<Standard_Transient> & theFbo,const Standard_Integer theWidth,const Standard_Integer theHeight) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,FBOChangeViewport,theFbo,theWidth,theHeight) };
Aspect_GradientBackground GradientBackground() const override { PYBIND11_OVERLOAD_PURE(Aspect_GradientBackground,Graphic3d_CView,GradientBackground,) };
void SetGradientBackground(const Aspect_GradientBackground & theBackground) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,SetGradientBackground,theBackground) };
void SetBackgroundImage(const opencascade::handle<Graphic3d_TextureMap> & theTextureMap,Standard_Boolean theToUpdatePBREnv) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,SetBackgroundImage,theTextureMap,theToUpdatePBREnv) };
Aspect_FillMethod BackgroundImageStyle() const override { PYBIND11_OVERLOAD_PURE(Aspect_FillMethod,Graphic3d_CView,BackgroundImageStyle,) };
void SetBackgroundImageStyle(const Aspect_FillMethod theFillStyle) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,SetBackgroundImageStyle,theFillStyle) };
void SetImageBasedLighting(Standard_Boolean theToEnableIBL) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,SetImageBasedLighting,theToEnableIBL) };
void SetTextureEnv(const opencascade::handle<Graphic3d_TextureEnv> & theTextureEnv) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,SetTextureEnv,theTextureEnv) };
const opencascade::handle<Graphic3d_LightSet> & Lights() const override { PYBIND11_OVERLOAD_PURE(const opencascade::handle<Graphic3d_LightSet> &,Graphic3d_CView,Lights,) };
void SetLights(const opencascade::handle<Graphic3d_LightSet> & theLights) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,SetLights,theLights) };
const opencascade::handle<Graphic3d_SequenceOfHClipPlane> & ClipPlanes() const override { PYBIND11_OVERLOAD_PURE(const opencascade::handle<Graphic3d_SequenceOfHClipPlane> &,Graphic3d_CView,ClipPlanes,) };
void SetClipPlanes(const opencascade::handle<Graphic3d_SequenceOfHClipPlane> & thePlanes) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,SetClipPlanes,thePlanes) };
void DiagnosticInformation(NCollection_IndexedDataMap<TCollection_AsciiString, TCollection_AsciiString> & theDict,Graphic3d_DiagnosticInfo theFlags) const override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,DiagnosticInformation,theDict,theFlags) };
TCollection_AsciiString StatisticInformation() const override { PYBIND11_OVERLOAD_PURE(TCollection_AsciiString,Graphic3d_CView,StatisticInformation,) };
void StatisticInformation(NCollection_IndexedDataMap<TCollection_AsciiString, TCollection_AsciiString> & theDict) const override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,StatisticInformation,theDict) };
void FBORelease(opencascade::handle<Standard_Transient> & theFbo) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,FBORelease,theFbo) };
void FBOGetDimensions(const opencascade::handle<Standard_Transient> & theFbo,Standard_Integer & theWidth,Standard_Integer & theHeight,Standard_Integer & theWidthMax,Standard_Integer & theHeightMax) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,FBOGetDimensions,theFbo,theWidth,theHeight,theWidthMax,theHeightMax) };
// protected pure virtual
const opencascade::handle<Graphic3d_Camera> & Camera() const override { PYBIND11_OVERLOAD_PURE(const opencascade::handle<Graphic3d_Camera> &,Graphic3d_DataStructureManager,Camera,) };
// private pure virtual
void displayStructure(const opencascade::handle<Graphic3d_CStructure> & theStructure,const Graphic3d_DisplayPriority thePriority) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,displayStructure,theStructure,thePriority) };
void eraseStructure(const opencascade::handle<Graphic3d_CStructure> & theStructure) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,eraseStructure,theStructure) };
void changeZLayer(const opencascade::handle<Graphic3d_CStructure> & theCStructure,const Graphic3d_ZLayerId theNewLayerId) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,changeZLayer,theCStructure,theNewLayerId) };
void changePriority(const opencascade::handle<Graphic3d_CStructure> & theCStructure,const Graphic3d_DisplayPriority theNewPriority) override { PYBIND11_OVERLOAD_PURE(void,Graphic3d_CView,changePriority,theCStructure,theNewPriority) };
};
class Py_Graphic3d_CubeMap : public Graphic3d_CubeMap{
public:
using Graphic3d_CubeMap::Graphic3d_CubeMap;
// public pure virtual
opencascade::handle<Image_CompressedPixMap> CompressedValue(const opencascade::handle<Image_SupportedFormats> & theSupported) override { PYBIND11_OVERLOAD_PURE(opencascade::handle<Image_CompressedPixMap>,Graphic3d_CubeMap,CompressedValue,theSupported) };
opencascade::handle<Image_PixMap> Value(const opencascade::handle<Image_SupportedFormats> & theSupported) override { PYBIND11_OVERLOAD_PURE(opencascade::handle<Image_PixMap>,Graphic3d_CubeMap,Value,theSupported) };
// protected pure virtual
// private pure virtual
};
// classes
// Class Graphic3d_ArrayOfPrimitives from ./opencascade/Graphic3d_ArrayOfPrimitives.hxx
klass = m.attr("Graphic3d_ArrayOfPrimitives");
// nested enums
static_cast<py::class_<Graphic3d_ArrayOfPrimitives ,opencascade::handle<Graphic3d_ArrayOfPrimitives> , Standard_Transient >>(klass)
// constructors
// custom constructors
// methods
.def("Type",
(Graphic3d_TypeOfPrimitiveArray (Graphic3d_ArrayOfPrimitives::*)() const) static_cast<Graphic3d_TypeOfPrimitiveArray (Graphic3d_ArrayOfPrimitives::*)() const>(&Graphic3d_ArrayOfPrimitives::Type),
R"#(Returns the type of this primitive)#"
)
.def("StringType",
(Standard_CString (Graphic3d_ArrayOfPrimitives::*)() const) static_cast<Standard_CString (Graphic3d_ArrayOfPrimitives::*)() const>(&Graphic3d_ArrayOfPrimitives::StringType),
R"#(Returns the string type of this primitive)#"
)
.def("HasVertexNormals",
(Standard_Boolean (Graphic3d_ArrayOfPrimitives::*)() const) static_cast<Standard_Boolean (Graphic3d_ArrayOfPrimitives::*)() const>(&Graphic3d_ArrayOfPrimitives::HasVertexNormals),
R"#(Returns TRUE when vertex normals array is defined.)#"
)
.def("HasVertexColors",
(Standard_Boolean (Graphic3d_ArrayOfPrimitives::*)() const) static_cast<Standard_Boolean (Graphic3d_ArrayOfPrimitives::*)() const>(&Graphic3d_ArrayOfPrimitives::HasVertexColors),
R"#(Returns TRUE when vertex colors array is defined.)#"
)
.def("HasVertexTexels",
(Standard_Boolean (Graphic3d_ArrayOfPrimitives::*)() const) static_cast<Standard_Boolean (Graphic3d_ArrayOfPrimitives::*)() const>(&Graphic3d_ArrayOfPrimitives::HasVertexTexels),
R"#(Returns TRUE when vertex texels array is defined.)#"
)
.def("VertexNumber",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)() const) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)() const>(&Graphic3d_ArrayOfPrimitives::VertexNumber),
R"#(Returns the number of defined vertex)#"
)
.def("VertexNumberAllocated",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)() const) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)() const>(&Graphic3d_ArrayOfPrimitives::VertexNumberAllocated),
R"#(Returns the number of allocated vertex)#"
)
.def("ItemNumber",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)() const) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)() const>(&Graphic3d_ArrayOfPrimitives::ItemNumber),
R"#(Returns the number of total items according to the array type.)#"
)
.def("IsValid",
(Standard_Boolean (Graphic3d_ArrayOfPrimitives::*)() ) static_cast<Standard_Boolean (Graphic3d_ArrayOfPrimitives::*)() >(&Graphic3d_ArrayOfPrimitives::IsValid),
R"#(Returns TRUE only when the contains of this array is available.)#"
)
.def("AddVertex",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const gp_Pnt & ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const gp_Pnt & ) >(&Graphic3d_ArrayOfPrimitives::AddVertex),
R"#(Adds a vertice in the array.)#" , py::arg("theVertex")
)
.def("AddVertex",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const NCollection_Vec3<Standard_ShortReal> & ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const NCollection_Vec3<Standard_ShortReal> & ) >(&Graphic3d_ArrayOfPrimitives::AddVertex),
R"#(Adds a vertice in the array.)#" , py::arg("theVertex")
)
.def("AddVertex",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_Real , const Standard_Real , const Standard_Real ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_Real , const Standard_Real , const Standard_Real ) >(&Graphic3d_ArrayOfPrimitives::AddVertex),
R"#(Adds a vertice in the array.)#" , py::arg("theX"), py::arg("theY"), py::arg("theZ")
)
.def("AddVertex",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal ) >(&Graphic3d_ArrayOfPrimitives::AddVertex),
R"#(Adds a vertice in the array.)#" , py::arg("theX"), py::arg("theY"), py::arg("theZ")
)
.def("AddVertex",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const gp_Pnt & , const Quantity_Color & ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const gp_Pnt & , const Quantity_Color & ) >(&Graphic3d_ArrayOfPrimitives::AddVertex),
R"#(Adds a vertice and vertex color in the vertex array. Warning: theColor is ignored when the hasVColors constructor parameter is FALSE)#" , py::arg("theVertex"), py::arg("theColor")
)
.def("AddVertex",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const gp_Pnt & , const Standard_Integer ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const gp_Pnt & , const Standard_Integer ) >(&Graphic3d_ArrayOfPrimitives::AddVertex),
R"#(Adds a vertice and vertex color in the vertex array. Warning: theColor is ignored when the hasVColors constructor parameter is FALSE)#" , py::arg("theVertex"), py::arg("theColor32")
)
.def("AddVertex",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const gp_Pnt & , const NCollection_Vec4<Standard_Byte> & ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const gp_Pnt & , const NCollection_Vec4<Standard_Byte> & ) >(&Graphic3d_ArrayOfPrimitives::AddVertex),
R"#(Adds a vertice and vertex color in the vertex array. Warning: theColor is ignored when the hasVColors constructor parameter is FALSE)#" , py::arg("theVertex"), py::arg("theColor")
)
.def("AddVertex",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const gp_Pnt & , const gp_Dir & ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const gp_Pnt & , const gp_Dir & ) >(&Graphic3d_ArrayOfPrimitives::AddVertex),
R"#(Adds a vertice and vertex normal in the vertex array. Warning: theNormal is ignored when the hasVNormals constructor parameter is FALSE.)#" , py::arg("theVertex"), py::arg("theNormal")
)
.def("AddVertex",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real ) >(&Graphic3d_ArrayOfPrimitives::AddVertex),
R"#(Adds a vertice and vertex normal in the vertex array. Warning: Normal is ignored when the hasVNormals constructor parameter is FALSE.)#" , py::arg("theX"), py::arg("theY"), py::arg("theZ"), py::arg("theNX"), py::arg("theNY"), py::arg("theNZ")
)
.def("AddVertex",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal ) >(&Graphic3d_ArrayOfPrimitives::AddVertex),
R"#(Adds a vertice and vertex normal in the vertex array. Warning: Normal is ignored when the hasVNormals constructor parameter is FALSE.)#" , py::arg("theX"), py::arg("theY"), py::arg("theZ"), py::arg("theNX"), py::arg("theNY"), py::arg("theNZ")
)
.def("AddVertex",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const gp_Pnt & , const gp_Dir & , const Quantity_Color & ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const gp_Pnt & , const gp_Dir & , const Quantity_Color & ) >(&Graphic3d_ArrayOfPrimitives::AddVertex),
R"#(Adds a vertice,vertex normal and color in the vertex array. Warning: theNormal is ignored when the hasVNormals constructor parameter is FALSE and theColor is ignored when the hasVColors constructor parameter is FALSE.)#" , py::arg("theVertex"), py::arg("theNormal"), py::arg("theColor")
)
.def("AddVertex",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const gp_Pnt & , const gp_Dir & , const Standard_Integer ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const gp_Pnt & , const gp_Dir & , const Standard_Integer ) >(&Graphic3d_ArrayOfPrimitives::AddVertex),
R"#(Adds a vertice,vertex normal and color in the vertex array. Warning: theNormal is ignored when the hasVNormals constructor parameter is FALSE and theColor is ignored when the hasVColors constructor parameter is FALSE.)#" , py::arg("theVertex"), py::arg("theNormal"), py::arg("theColor32")
)
.def("AddVertex",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const gp_Pnt & , const gp_Pnt2d & ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const gp_Pnt & , const gp_Pnt2d & ) >(&Graphic3d_ArrayOfPrimitives::AddVertex),
R"#(Adds a vertice and vertex texture in the vertex array. theTexel is ignored when the hasVTexels constructor parameter is FALSE.)#" , py::arg("theVertex"), py::arg("theTexel")
)
.def("AddVertex",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real ) >(&Graphic3d_ArrayOfPrimitives::AddVertex),
R"#(Adds a vertice and vertex texture coordinates in the vertex array. Texel is ignored when the hasVTexels constructor parameter is FALSE.)#" , py::arg("theX"), py::arg("theY"), py::arg("theZ"), py::arg("theTX"), py::arg("theTY")
)
.def("AddVertex",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal ) >(&Graphic3d_ArrayOfPrimitives::AddVertex),
R"#(Adds a vertice and vertex texture coordinates in the vertex array. Texel is ignored when the hasVTexels constructor parameter is FALSE.)#" , py::arg("theX"), py::arg("theY"), py::arg("theZ"), py::arg("theTX"), py::arg("theTY")
)
.def("AddVertex",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const gp_Pnt & , const gp_Dir & , const gp_Pnt2d & ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const gp_Pnt & , const gp_Dir & , const gp_Pnt2d & ) >(&Graphic3d_ArrayOfPrimitives::AddVertex),
R"#(Adds a vertice,vertex normal and texture in the vertex array. Warning: theNormal is ignored when the hasVNormals constructor parameter is FALSE and theTexel is ignored when the hasVTexels constructor parameter is FALSE.)#" , py::arg("theVertex"), py::arg("theNormal"), py::arg("theTexel")
)
.def("AddVertex",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real ) >(&Graphic3d_ArrayOfPrimitives::AddVertex),
R"#(Adds a vertice,vertex normal and texture in the vertex array. Warning: Normal is ignored when the hasVNormals constructor parameter is FALSE and Texel is ignored when the hasVTexels constructor parameter is FALSE.)#" , py::arg("theX"), py::arg("theY"), py::arg("theZ"), py::arg("theNX"), py::arg("theNY"), py::arg("theNZ"), py::arg("theTX"), py::arg("theTY")
)
.def("AddVertex",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal ) >(&Graphic3d_ArrayOfPrimitives::AddVertex),
R"#(Adds a vertice,vertex normal and texture in the vertex array. Warning: Normal is ignored when the hasVNormals constructor parameter is FALSE and Texel is ignored when the hasVTexels constructor parameter is FALSE.)#" , py::arg("theX"), py::arg("theY"), py::arg("theZ"), py::arg("theNX"), py::arg("theNY"), py::arg("theNZ"), py::arg("theTX"), py::arg("theTY")
)
.def("SetVertice",
(void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const gp_Pnt & ) ) static_cast<void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const gp_Pnt & ) >(&Graphic3d_ArrayOfPrimitives::SetVertice),
R"#(Change the vertice of rank theIndex in the array.)#" , py::arg("theIndex"), py::arg("theVertex")
)
.def("SetVertice",
(void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal ) ) static_cast<void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal ) >(&Graphic3d_ArrayOfPrimitives::SetVertice),
R"#(Change the vertice in the array.)#" , py::arg("theIndex"), py::arg("theX"), py::arg("theY"), py::arg("theZ")
)
.def("SetVertexColor",
(void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const Quantity_Color & ) ) static_cast<void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const Quantity_Color & ) >(&Graphic3d_ArrayOfPrimitives::SetVertexColor),
R"#(Change the vertex color in the array.)#" , py::arg("theIndex"), py::arg("theColor")
)
.def("SetVertexColor",
(void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const Standard_Real , const Standard_Real , const Standard_Real ) ) static_cast<void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const Standard_Real , const Standard_Real , const Standard_Real ) >(&Graphic3d_ArrayOfPrimitives::SetVertexColor),
R"#(Change the vertex color in the array.)#" , py::arg("theIndex"), py::arg("theR"), py::arg("theG"), py::arg("theB")
)
.def("SetVertexColor",
(void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const NCollection_Vec4<Standard_Byte> & ) ) static_cast<void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const NCollection_Vec4<Standard_Byte> & ) >(&Graphic3d_ArrayOfPrimitives::SetVertexColor),
R"#(Change the vertex color in the array.)#" , py::arg("theIndex"), py::arg("theColor")
)
.def("SetVertexColor",
(void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const Standard_Integer ) ) static_cast<void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const Standard_Integer ) >(&Graphic3d_ArrayOfPrimitives::SetVertexColor),
R"#(Change the vertex color in the array.)#" , py::arg("theIndex"), py::arg("theColor32")
)
.def("SetVertexNormal",
(void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const gp_Dir & ) ) static_cast<void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const gp_Dir & ) >(&Graphic3d_ArrayOfPrimitives::SetVertexNormal),
R"#(Change the vertex normal in the array.)#" , py::arg("theIndex"), py::arg("theNormal")
)
.def("SetVertexNormal",
(void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const Standard_Real , const Standard_Real , const Standard_Real ) ) static_cast<void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const Standard_Real , const Standard_Real , const Standard_Real ) >(&Graphic3d_ArrayOfPrimitives::SetVertexNormal),
R"#(Change the vertex normal in the array.)#" , py::arg("theIndex"), py::arg("theNX"), py::arg("theNY"), py::arg("theNZ")
)
.def("SetVertexTexel",
(void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const gp_Pnt2d & ) ) static_cast<void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const gp_Pnt2d & ) >(&Graphic3d_ArrayOfPrimitives::SetVertexTexel),
R"#(Change the vertex texel in the array.)#" , py::arg("theIndex"), py::arg("theTexel")
)
.def("SetVertexTexel",
(void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const Standard_Real , const Standard_Real ) ) static_cast<void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const Standard_Real , const Standard_Real ) >(&Graphic3d_ArrayOfPrimitives::SetVertexTexel),
R"#(Change the vertex texel in the array.)#" , py::arg("theIndex"), py::arg("theTX"), py::arg("theTY")
)
.def("Vertice",
(gp_Pnt (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer ) const) static_cast<gp_Pnt (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer ) const>(&Graphic3d_ArrayOfPrimitives::Vertice),
R"#(Returns the vertice from the vertex table if defined.)#" , py::arg("theRank")
)
.def("VertexColor",
(Quantity_Color (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer ) const) static_cast<Quantity_Color (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer ) const>(&Graphic3d_ArrayOfPrimitives::VertexColor),
R"#(Returns the vertex color at rank theRank from the vertex table if defined.)#" , py::arg("theRank")
)
.def("VertexColor",
(void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , NCollection_Vec4<Standard_Byte> & ) const) static_cast<void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , NCollection_Vec4<Standard_Byte> & ) const>(&Graphic3d_ArrayOfPrimitives::VertexColor),
R"#(Returns the vertex color from the vertex table if defined.)#" , py::arg("theIndex"), py::arg("theColor")
)
.def("VertexNormal",
(gp_Dir (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer ) const) static_cast<gp_Dir (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer ) const>(&Graphic3d_ArrayOfPrimitives::VertexNormal),
R"#(Returns the vertex normal from the vertex table if defined.)#" , py::arg("theRank")
)
.def("VertexTexel",
(gp_Pnt2d (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer ) const) static_cast<gp_Pnt2d (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer ) const>(&Graphic3d_ArrayOfPrimitives::VertexTexel),
R"#(Returns the vertex texture at rank theRank from the vertex table if defined.)#" , py::arg("theRank")
)
.def("EdgeNumber",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)() const) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)() const>(&Graphic3d_ArrayOfPrimitives::EdgeNumber),
R"#(Returns the number of defined edges)#"
)
.def("EdgeNumberAllocated",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)() const) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)() const>(&Graphic3d_ArrayOfPrimitives::EdgeNumberAllocated),
R"#(Returns the number of allocated edges)#"
)
.def("Edge",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer ) const) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer ) const>(&Graphic3d_ArrayOfPrimitives::Edge),
R"#(Returns the vertex index at rank theRank in the range [1,EdgeNumber()])#" , py::arg("theRank")
)
.def("AddEdge",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer ) >(&Graphic3d_ArrayOfPrimitives::AddEdge),
R"#(Adds an edge in the range [1,VertexNumber()] in the array.)#" , py::arg("theVertexIndex")
)
.def("AddEdges",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( Standard_Integer , Standard_Integer ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( Standard_Integer , Standard_Integer ) >(&Graphic3d_ArrayOfPrimitives::AddEdges),
R"#(Convenience method, adds two vertex indices (a segment) in the range [1,VertexNumber()] in the array.)#" , py::arg("theVertexIndex1"), py::arg("theVertexIndex2")
)
.def("AddSegmentEdges",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( Standard_Integer , Standard_Integer ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( Standard_Integer , Standard_Integer ) >(&Graphic3d_ArrayOfPrimitives::AddSegmentEdges),
R"#(Convenience method, adds two vertex indices (a segment) in the range [1,VertexNumber()] in the array of segments (Graphic3d_TOPA_SEGMENTS). Raises exception if array is not of type Graphic3d_TOPA_SEGMENTS.)#" , py::arg("theVertexIndex1"), py::arg("theVertexIndex2")
)
.def("AddEdges",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( Standard_Integer , Standard_Integer , Standard_Integer ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( Standard_Integer , Standard_Integer , Standard_Integer ) >(&Graphic3d_ArrayOfPrimitives::AddEdges),
R"#(Convenience method, adds three vertex indices (a triangle) in the range [1,VertexNumber()] in the array.)#" , py::arg("theVertexIndex1"), py::arg("theVertexIndex2"), py::arg("theVertexIndex3")
)
.def("AddTriangleEdges",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( Standard_Integer , Standard_Integer , Standard_Integer ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( Standard_Integer , Standard_Integer , Standard_Integer ) >(&Graphic3d_ArrayOfPrimitives::AddTriangleEdges),
R"#(Convenience method, adds three vertex indices of triangle in the range [1,VertexNumber()] in the array of triangles. Raises exception if array is not of type Graphic3d_TOPA_TRIANGLES.)#" , py::arg("theVertexIndex1"), py::arg("theVertexIndex2"), py::arg("theVertexIndex3")
)
.def("AddTriangleEdges",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const NCollection_Vec3<Standard_Integer> & ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const NCollection_Vec3<Standard_Integer> & ) >(&Graphic3d_ArrayOfPrimitives::AddTriangleEdges),
R"#(Convenience method, adds three vertex indices of triangle in the range [1,VertexNumber()] in the array of triangles. Raises exception if array is not of type Graphic3d_TOPA_TRIANGLES.)#" , py::arg("theIndexes")
)
.def("AddTriangleEdges",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const NCollection_Vec4<Standard_Integer> & ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const NCollection_Vec4<Standard_Integer> & ) >(&Graphic3d_ArrayOfPrimitives::AddTriangleEdges),
R"#(Convenience method, adds three vertex indices (4th component is ignored) of triangle in the range [1,VertexNumber()] in the array of triangles. Raises exception if array is not of type Graphic3d_TOPA_TRIANGLES.)#" , py::arg("theIndexes")
)
.def("AddEdges",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( Standard_Integer , Standard_Integer , Standard_Integer , Standard_Integer ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( Standard_Integer , Standard_Integer , Standard_Integer , Standard_Integer ) >(&Graphic3d_ArrayOfPrimitives::AddEdges),
R"#(Convenience method, adds four vertex indices (a quad) in the range [1,VertexNumber()] in the array.)#" , py::arg("theVertexIndex1"), py::arg("theVertexIndex2"), py::arg("theVertexIndex3"), py::arg("theVertexIndex4")
)
.def("AddQuadEdges",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( Standard_Integer , Standard_Integer , Standard_Integer , Standard_Integer ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( Standard_Integer , Standard_Integer , Standard_Integer , Standard_Integer ) >(&Graphic3d_ArrayOfPrimitives::AddQuadEdges),
R"#(Convenience method, adds four vertex indices (a quad) in the range [1,VertexNumber()] in the array of quads. Raises exception if array is not of type Graphic3d_TOPA_QUADRANGLES.)#" , py::arg("theVertexIndex1"), py::arg("theVertexIndex2"), py::arg("theVertexIndex3"), py::arg("theVertexIndex4")
)
.def("AddQuadTriangleEdges",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( Standard_Integer , Standard_Integer , Standard_Integer , Standard_Integer ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( Standard_Integer , Standard_Integer , Standard_Integer , Standard_Integer ) >(&Graphic3d_ArrayOfPrimitives::AddQuadTriangleEdges),
R"#(Convenience method, adds quad indices in the range [1,VertexNumber()] into array or triangles as two triangles. Raises exception if array is not of type Graphic3d_TOPA_TRIANGLES.)#" , py::arg("theVertexIndex1"), py::arg("theVertexIndex2"), py::arg("theVertexIndex3"), py::arg("theVertexIndex4")
)
.def("AddQuadTriangleEdges",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const NCollection_Vec4<Standard_Integer> & ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const NCollection_Vec4<Standard_Integer> & ) >(&Graphic3d_ArrayOfPrimitives::AddQuadTriangleEdges),
R"#(Convenience method, adds quad indices in the range [1,VertexNumber()] into array or triangles as two triangles. Raises exception if array is not of type Graphic3d_TOPA_TRIANGLES.)#" , py::arg("theIndexes")
)
.def("AddTriangleStripEdges",
(void (Graphic3d_ArrayOfPrimitives::*)( Standard_Integer , Standard_Integer ) ) static_cast<void (Graphic3d_ArrayOfPrimitives::*)( Standard_Integer , Standard_Integer ) >(&Graphic3d_ArrayOfPrimitives::AddTriangleStripEdges),
R"#(Add triangle strip into indexed triangulation array. N-2 triangles are added from N input nodes. Raises exception if array is not of type Graphic3d_TOPA_TRIANGLES.)#" , py::arg("theVertexLower"), py::arg("theVertexUpper")
)
.def("AddTriangleFanEdges",
(void (Graphic3d_ArrayOfPrimitives::*)( Standard_Integer , Standard_Integer , Standard_Boolean ) ) static_cast<void (Graphic3d_ArrayOfPrimitives::*)( Standard_Integer , Standard_Integer , Standard_Boolean ) >(&Graphic3d_ArrayOfPrimitives::AddTriangleFanEdges),
R"#(Add triangle fan into indexed triangulation array. N-2 triangles are added from N input nodes (or N-1 with closed flag). Raises exception if array is not of type Graphic3d_TOPA_TRIANGLES.)#" , py::arg("theVertexLower"), py::arg("theVertexUpper"), py::arg("theToClose")
)
.def("AddPolylineEdges",
(void (Graphic3d_ArrayOfPrimitives::*)( Standard_Integer , Standard_Integer , Standard_Boolean ) ) static_cast<void (Graphic3d_ArrayOfPrimitives::*)( Standard_Integer , Standard_Integer , Standard_Boolean ) >(&Graphic3d_ArrayOfPrimitives::AddPolylineEdges),
R"#(Add line strip (polyline) into indexed segments array. N-1 segments are added from N input nodes (or N with closed flag). Raises exception if array is not of type Graphic3d_TOPA_SEGMENTS.)#" , py::arg("theVertexLower"), py::arg("theVertexUpper"), py::arg("theToClose")
)
.def("HasBoundColors",
(Standard_Boolean (Graphic3d_ArrayOfPrimitives::*)() const) static_cast<Standard_Boolean (Graphic3d_ArrayOfPrimitives::*)() const>(&Graphic3d_ArrayOfPrimitives::HasBoundColors),
R"#(Returns TRUE when bound colors array is defined.)#"
)
.def("BoundNumber",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)() const) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)() const>(&Graphic3d_ArrayOfPrimitives::BoundNumber),
R"#(Returns the number of defined bounds)#"
)
.def("BoundNumberAllocated",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)() const) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)() const>(&Graphic3d_ArrayOfPrimitives::BoundNumberAllocated),
R"#(Returns the number of allocated bounds)#"
)
.def("Bound",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer ) const) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer ) const>(&Graphic3d_ArrayOfPrimitives::Bound),
R"#(Returns the edge number at rank theRank.)#" , py::arg("theRank")
)
.def("BoundColor",
(Quantity_Color (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer ) const) static_cast<Quantity_Color (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer ) const>(&Graphic3d_ArrayOfPrimitives::BoundColor),
R"#(Returns the bound color at rank theRank from the bound table if defined.)#" , py::arg("theRank")
)
.def("AddBound",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer ) >(&Graphic3d_ArrayOfPrimitives::AddBound),
R"#(Adds a bound of length theEdgeNumber in the bound array)#" , py::arg("theEdgeNumber")
)
.def("AddBound",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const Quantity_Color & ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const Quantity_Color & ) >(&Graphic3d_ArrayOfPrimitives::AddBound),
R"#(Adds a bound of length theEdgeNumber and bound color theBColor in the bound array. Warning: theBColor is ignored when the hasBColors constructor parameter is FALSE)#" , py::arg("theEdgeNumber"), py::arg("theBColor")
)
.def("AddBound",
(Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const Standard_Real , const Standard_Real , const Standard_Real ) ) static_cast<Standard_Integer (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const Standard_Real , const Standard_Real , const Standard_Real ) >(&Graphic3d_ArrayOfPrimitives::AddBound),
R"#(Adds a bound of length theEdgeNumber and bound color coordinates in the bound array. Warning: <theR,theG,theB> are ignored when the hasBColors constructor parameter is FALSE)#" , py::arg("theEdgeNumber"), py::arg("theR"), py::arg("theG"), py::arg("theB")
)
.def("SetBoundColor",
(void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const Quantity_Color & ) ) static_cast<void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const Quantity_Color & ) >(&Graphic3d_ArrayOfPrimitives::SetBoundColor),
R"#(Change the bound color of rank theIndex in the array.)#" , py::arg("theIndex"), py::arg("theColor")
)
.def("SetBoundColor",
(void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const Standard_Real , const Standard_Real , const Standard_Real ) ) static_cast<void (Graphic3d_ArrayOfPrimitives::*)( const Standard_Integer , const Standard_Real , const Standard_Real , const Standard_Real ) >(&Graphic3d_ArrayOfPrimitives::SetBoundColor),
R"#(Change the bound color of rank theIndex in the array.)#" , py::arg("theIndex"), py::arg("theR"), py::arg("theG"), py::arg("theB")
)
// methods using call by reference i.s.o. return
.def("Vertice",
[]( Graphic3d_ArrayOfPrimitives &self , const Standard_Integer theRank ){
Standard_Real theX;
Standard_Real theY;
Standard_Real theZ;
self.Vertice(theRank,theX,theY,theZ);
return std::make_tuple(theX,theY,theZ); },
R"#(Returns the vertice coordinates at rank theRank from the vertex table if defined.)#" , py::arg("theRank")
)
.def("VertexColor",
[]( Graphic3d_ArrayOfPrimitives &self , const Standard_Integer theRank ){
Standard_Real theR;
Standard_Real theG;
Standard_Real theB;
self.VertexColor(theRank,theR,theG,theB);
return std::make_tuple(theR,theG,theB); },
R"#(Returns the vertex color values from the vertex table if defined.)#" , py::arg("theRank")
)
.def("VertexColor",
[]( Graphic3d_ArrayOfPrimitives &self , const Standard_Integer theRank ){
Standard_Integer theColor;
self.VertexColor(theRank,theColor);
return std::make_tuple(theColor); },
R"#(Returns the vertex color values from the vertex table if defined.)#" , py::arg("theRank")
)
.def("VertexNormal",
[]( Graphic3d_ArrayOfPrimitives &self , const Standard_Integer theRank ){
Standard_Real theNX;
Standard_Real theNY;
Standard_Real theNZ;
self.VertexNormal(theRank,theNX,theNY,theNZ);
return std::make_tuple(theNX,theNY,theNZ); },
R"#(Returns the vertex normal coordinates at rank theRank from the vertex table if defined.)#" , py::arg("theRank")
)
.def("VertexTexel",
[]( Graphic3d_ArrayOfPrimitives &self , const Standard_Integer theRank ){
Standard_Real theTX;
Standard_Real theTY;
self.VertexTexel(theRank,theTX,theTY);
return std::make_tuple(theTX,theTY); },
R"#(Returns the vertex texture coordinates at rank theRank from the vertex table if defined.)#" , py::arg("theRank")
)
.def("BoundColor",
[]( Graphic3d_ArrayOfPrimitives &self , const Standard_Integer theRank ){
Standard_Real theR;
Standard_Real theG;
Standard_Real theB;
self.BoundColor(theRank,theR,theG,theB);
return std::make_tuple(theR,theG,theB); },
R"#(Returns the bound color values at rank theRank from the bound table if defined.)#" , py::arg("theRank")
)
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_ArrayOfPrimitives::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_ArrayOfPrimitives::get_type_descriptor),
R"#(None)#"
)
.def_static("CreateArray_s",
(opencascade::handle<Graphic3d_ArrayOfPrimitives> (*)( Graphic3d_TypeOfPrimitiveArray , Standard_Integer , Standard_Integer , Graphic3d_ArrayFlags ) ) static_cast<opencascade::handle<Graphic3d_ArrayOfPrimitives> (*)( Graphic3d_TypeOfPrimitiveArray , Standard_Integer , Standard_Integer , Graphic3d_ArrayFlags ) >(&Graphic3d_ArrayOfPrimitives::CreateArray),
R"#(Create an array of specified type.)#" , py::arg("theType"), py::arg("theMaxVertexs"), py::arg("theMaxEdges"), py::arg("theArrayFlags")
)
.def_static("CreateArray_s",
(opencascade::handle<Graphic3d_ArrayOfPrimitives> (*)( Graphic3d_TypeOfPrimitiveArray , Standard_Integer , Standard_Integer , Standard_Integer , Graphic3d_ArrayFlags ) ) static_cast<opencascade::handle<Graphic3d_ArrayOfPrimitives> (*)( Graphic3d_TypeOfPrimitiveArray , Standard_Integer , Standard_Integer , Standard_Integer , Graphic3d_ArrayFlags ) >(&Graphic3d_ArrayOfPrimitives::CreateArray),
R"#(Create an array of specified type.)#" , py::arg("theType"), py::arg("theMaxVertexs"), py::arg("theMaxBounds"), py::arg("theMaxEdges"), py::arg("theArrayFlags")
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_ArrayOfPrimitives::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_ArrayOfPrimitives::*)() const>(&Graphic3d_ArrayOfPrimitives::DynamicType),
R"#(None)#"
)
.def("Attributes",
(const opencascade::handle<Graphic3d_Buffer> & (Graphic3d_ArrayOfPrimitives::*)() const) static_cast<const opencascade::handle<Graphic3d_Buffer> & (Graphic3d_ArrayOfPrimitives::*)() const>(&Graphic3d_ArrayOfPrimitives::Attributes),
R"#(Returns vertex attributes buffer (colors, normals, texture coordinates).)#"
)
.def("Indices",
(const opencascade::handle<Graphic3d_IndexBuffer> & (Graphic3d_ArrayOfPrimitives::*)() const) static_cast<const opencascade::handle<Graphic3d_IndexBuffer> & (Graphic3d_ArrayOfPrimitives::*)() const>(&Graphic3d_ArrayOfPrimitives::Indices),
R"#(Returns optional index buffer.)#"
)
.def("Bounds",
(const opencascade::handle<Graphic3d_BoundBuffer> & (Graphic3d_ArrayOfPrimitives::*)() const) static_cast<const opencascade::handle<Graphic3d_BoundBuffer> & (Graphic3d_ArrayOfPrimitives::*)() const>(&Graphic3d_ArrayOfPrimitives::Bounds),
R"#(Returns optional bounds buffer.)#"
)
;
// Class Graphic3d_Aspects from ./opencascade/Graphic3d_Aspects.hxx
klass = m.attr("Graphic3d_Aspects");
// nested enums
static_cast<py::class_<Graphic3d_Aspects ,opencascade::handle<Graphic3d_Aspects> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("InteriorStyle",
(Aspect_InteriorStyle (Graphic3d_Aspects::*)() const) static_cast<Aspect_InteriorStyle (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::InteriorStyle),
R"#(Return interior rendering style; Aspect_IS_SOLID by default.)#"
)
.def("SetInteriorStyle",
(void (Graphic3d_Aspects::*)( const Aspect_InteriorStyle ) ) static_cast<void (Graphic3d_Aspects::*)( const Aspect_InteriorStyle ) >(&Graphic3d_Aspects::SetInteriorStyle),
R"#(Modifies the interior type used for rendering)#" , py::arg("theStyle")
)
.def("ShadingModel",
(Graphic3d_TypeOfShadingModel (Graphic3d_Aspects::*)() const) static_cast<Graphic3d_TypeOfShadingModel (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::ShadingModel),
R"#(Returns shading model; Graphic3d_TypeOfShadingModel_DEFAULT by default. Graphic3d_TOSM_DEFAULT means that Shading Model set as default for entire Viewer will be used.)#"
)
.def("SetShadingModel",
(void (Graphic3d_Aspects::*)( const Graphic3d_TypeOfShadingModel ) ) static_cast<void (Graphic3d_Aspects::*)( const Graphic3d_TypeOfShadingModel ) >(&Graphic3d_Aspects::SetShadingModel),
R"#(Sets shading model)#" , py::arg("theShadingModel")
)
.def("AlphaMode",
(Graphic3d_AlphaMode (Graphic3d_Aspects::*)() const) static_cast<Graphic3d_AlphaMode (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::AlphaMode),
R"#(Returns the way how alpha value should be treated (Graphic3d_AlphaMode_BlendAuto by default, for backward compatibility).)#"
)
.def("AlphaCutoff",
(Standard_ShortReal (Graphic3d_Aspects::*)() const) static_cast<Standard_ShortReal (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::AlphaCutoff),
R"#(Returns alpha cutoff threshold, for discarding fragments within Graphic3d_AlphaMode_Mask mode (0.5 by default). If the alpha value is greater than or equal to this value then it is rendered as fully opaque, otherwise, it is rendered as fully transparent.)#"
)
.def("SetAlphaMode",
(void (Graphic3d_Aspects::*)( Graphic3d_AlphaMode , Standard_ShortReal ) ) static_cast<void (Graphic3d_Aspects::*)( Graphic3d_AlphaMode , Standard_ShortReal ) >(&Graphic3d_Aspects::SetAlphaMode),
R"#(Defines the way how alpha value should be treated.)#" , py::arg("theMode"), py::arg("theAlphaCutoff")=static_cast<Standard_ShortReal>(0.5f)
)
.def("SetColor",
(void (Graphic3d_Aspects::*)( const Quantity_Color & ) ) static_cast<void (Graphic3d_Aspects::*)( const Quantity_Color & ) >(&Graphic3d_Aspects::SetColor),
R"#(Modifies the color.)#" , py::arg("theColor")
)
.def("SetInteriorColor",
(void (Graphic3d_Aspects::*)( const Quantity_Color & ) ) static_cast<void (Graphic3d_Aspects::*)( const Quantity_Color & ) >(&Graphic3d_Aspects::SetInteriorColor),
R"#(Modifies the color of the interior of the face)#" , py::arg("theColor")
)
.def("SetInteriorColor",
(void (Graphic3d_Aspects::*)( const Quantity_ColorRGBA & ) ) static_cast<void (Graphic3d_Aspects::*)( const Quantity_ColorRGBA & ) >(&Graphic3d_Aspects::SetInteriorColor),
R"#(Modifies the color of the interior of the face)#" , py::arg("theColor")
)
.def("SetBackInteriorColor",
(void (Graphic3d_Aspects::*)( const Quantity_Color & ) ) static_cast<void (Graphic3d_Aspects::*)( const Quantity_Color & ) >(&Graphic3d_Aspects::SetBackInteriorColor),
R"#(Modifies the color of the interior of the back face)#" , py::arg("theColor")
)
.def("SetBackInteriorColor",
(void (Graphic3d_Aspects::*)( const Quantity_ColorRGBA & ) ) static_cast<void (Graphic3d_Aspects::*)( const Quantity_ColorRGBA & ) >(&Graphic3d_Aspects::SetBackInteriorColor),
R"#(Modifies the color of the interior of the back face)#" , py::arg("theColor")
)
.def("SetFrontMaterial",
(void (Graphic3d_Aspects::*)( const Graphic3d_MaterialAspect & ) ) static_cast<void (Graphic3d_Aspects::*)( const Graphic3d_MaterialAspect & ) >(&Graphic3d_Aspects::SetFrontMaterial),
R"#(Modifies the surface material of external faces)#" , py::arg("theMaterial")
)
.def("SetBackMaterial",
(void (Graphic3d_Aspects::*)( const Graphic3d_MaterialAspect & ) ) static_cast<void (Graphic3d_Aspects::*)( const Graphic3d_MaterialAspect & ) >(&Graphic3d_Aspects::SetBackMaterial),
R"#(Modifies the surface material of internal faces)#" , py::arg("theMaterial")
)
.def("FaceCulling",
(Graphic3d_TypeOfBackfacingModel (Graphic3d_Aspects::*)() const) static_cast<Graphic3d_TypeOfBackfacingModel (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::FaceCulling),
R"#(Return face culling mode; Graphic3d_FaceCulling_BackClosed by default. A back-facing polygon is defined as a polygon whose vertices are in a clockwise order with respect to screen coordinates.)#"
)
.def("SetFaceCulling",
(void (Graphic3d_Aspects::*)( Graphic3d_TypeOfBackfacingModel ) ) static_cast<void (Graphic3d_Aspects::*)( Graphic3d_TypeOfBackfacingModel ) >(&Graphic3d_Aspects::SetFaceCulling),
R"#(Set face culling mode.)#" , py::arg("theCulling")
)
.def("Distinguish",
(bool (Graphic3d_Aspects::*)() const) static_cast<bool (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::Distinguish),
R"#(Returns true if material properties should be distinguished for back and front faces (false by default).)#"
)
.def("SetDistinguish",
(void (Graphic3d_Aspects::*)( bool ) ) static_cast<void (Graphic3d_Aspects::*)( bool ) >(&Graphic3d_Aspects::SetDistinguish),
R"#(Set material distinction between front and back faces.)#" , py::arg("toDistinguish")
)
.def("SetDistinguishOn",
(void (Graphic3d_Aspects::*)() ) static_cast<void (Graphic3d_Aspects::*)() >(&Graphic3d_Aspects::SetDistinguishOn),
R"#(Allows material distinction between front and back faces.)#"
)
.def("SetDistinguishOff",
(void (Graphic3d_Aspects::*)() ) static_cast<void (Graphic3d_Aspects::*)() >(&Graphic3d_Aspects::SetDistinguishOff),
R"#(Forbids material distinction between front and back faces.)#"
)
.def("SetShaderProgram",
(void (Graphic3d_Aspects::*)( const opencascade::handle<Graphic3d_ShaderProgram> & ) ) static_cast<void (Graphic3d_Aspects::*)( const opencascade::handle<Graphic3d_ShaderProgram> & ) >(&Graphic3d_Aspects::SetShaderProgram),
R"#(Sets up OpenGL/GLSL shader program.)#" , py::arg("theProgram")
)
.def("SetTextureSet",
(void (Graphic3d_Aspects::*)( const opencascade::handle<Graphic3d_TextureSet> & ) ) static_cast<void (Graphic3d_Aspects::*)( const opencascade::handle<Graphic3d_TextureSet> & ) >(&Graphic3d_Aspects::SetTextureSet),
R"#(Setup texture array to be mapped.)#" , py::arg("theTextures")
)
.def("TextureMap",
(opencascade::handle<Graphic3d_TextureMap> (Graphic3d_Aspects::*)() const) static_cast<opencascade::handle<Graphic3d_TextureMap> (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::TextureMap),
R"#(Return texture to be mapped.)#"
)
.def("SetTextureMap",
(void (Graphic3d_Aspects::*)( const opencascade::handle<Graphic3d_TextureMap> & ) ) static_cast<void (Graphic3d_Aspects::*)( const opencascade::handle<Graphic3d_TextureMap> & ) >(&Graphic3d_Aspects::SetTextureMap),
R"#(Assign texture to be mapped. See also SetTextureMapOn() to actually activate texture mapping.)#" , py::arg("theTexture")
)
.def("ToMapTexture",
(bool (Graphic3d_Aspects::*)() const) static_cast<bool (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::ToMapTexture),
R"#(Return true if texture mapping is enabled (false by default).)#"
)
.def("TextureMapState",
(bool (Graphic3d_Aspects::*)() const) static_cast<bool (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::TextureMapState),
R"#(Return true if texture mapping is enabled (false by default).)#"
)
.def("SetTextureMapOn",
(void (Graphic3d_Aspects::*)( bool ) ) static_cast<void (Graphic3d_Aspects::*)( bool ) >(&Graphic3d_Aspects::SetTextureMapOn),
R"#(Enable or disable texture mapping (has no effect if texture is not set).)#" , py::arg("theToMap")
)
.def("SetTextureMapOn",
(void (Graphic3d_Aspects::*)() ) static_cast<void (Graphic3d_Aspects::*)() >(&Graphic3d_Aspects::SetTextureMapOn),
R"#(Enable texture mapping (has no effect if texture is not set).)#"
)
.def("SetTextureMapOff",
(void (Graphic3d_Aspects::*)() ) static_cast<void (Graphic3d_Aspects::*)() >(&Graphic3d_Aspects::SetTextureMapOff),
R"#(Disable texture mapping.)#"
)
.def("SetPolygonOffset",
(void (Graphic3d_Aspects::*)( const Graphic3d_PolygonOffset & ) ) static_cast<void (Graphic3d_Aspects::*)( const Graphic3d_PolygonOffset & ) >(&Graphic3d_Aspects::SetPolygonOffset),
R"#(Sets polygon offsets settings.)#" , py::arg("theOffset")
)
.def("SetPolygonOffsets",
(void (Graphic3d_Aspects::*)( const Standard_Integer , const Standard_ShortReal , const Standard_ShortReal ) ) static_cast<void (Graphic3d_Aspects::*)( const Standard_Integer , const Standard_ShortReal , const Standard_ShortReal ) >(&Graphic3d_Aspects::SetPolygonOffsets),
R"#(Sets up OpenGL polygon offsets mechanism. <aMode> parameter can contain various combinations of Aspect_PolygonOffsetMode enumeration elements (Aspect_POM_None means that polygon offsets are not changed). If <aMode> is different from Aspect_POM_Off and Aspect_POM_None, then <aFactor> and <aUnits> arguments are used by graphic renderer to calculate a depth offset value:)#" , py::arg("theMode"), py::arg("theFactor")=static_cast<const Standard_ShortReal>(1.0f), py::arg("theUnits")=static_cast<const Standard_ShortReal>(0.0f)
)
.def("LineType",
(Aspect_TypeOfLine (Graphic3d_Aspects::*)() const) static_cast<Aspect_TypeOfLine (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::LineType),
R"#(Return line type; Aspect_TOL_SOLID by default.)#"
)
.def("SetLineType",
(void (Graphic3d_Aspects::*)( Aspect_TypeOfLine ) ) static_cast<void (Graphic3d_Aspects::*)( Aspect_TypeOfLine ) >(&Graphic3d_Aspects::SetLineType),
R"#(Modifies the line type)#" , py::arg("theType")
)
.def("LinePattern",
(uint16_t (Graphic3d_Aspects::*)() const) static_cast<uint16_t (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::LinePattern),
R"#(Return custom stipple line pattern; 0xFFFF by default.)#"
)
.def("SetLinePattern",
(void (Graphic3d_Aspects::*)( uint16_t ) ) static_cast<void (Graphic3d_Aspects::*)( uint16_t ) >(&Graphic3d_Aspects::SetLinePattern),
R"#(Modifies the stipple line pattern, and changes line type to Aspect_TOL_USERDEFINED for non-standard pattern.)#" , py::arg("thePattern")
)
.def("LineStippleFactor",
(uint16_t (Graphic3d_Aspects::*)() const) static_cast<uint16_t (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::LineStippleFactor),
R"#(Return a multiplier for each bit in the line stipple pattern within [1, 256] range; 1 by default.)#"
)
.def("SetLineStippleFactor",
(void (Graphic3d_Aspects::*)( uint16_t ) ) static_cast<void (Graphic3d_Aspects::*)( uint16_t ) >(&Graphic3d_Aspects::SetLineStippleFactor),
R"#(Set a multiplier for each bit in the line stipple pattern.)#" , py::arg("theFactor")
)
.def("LineWidth",
(Standard_ShortReal (Graphic3d_Aspects::*)() const) static_cast<Standard_ShortReal (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::LineWidth),
R"#(Return width for edges in pixels; 1.0 by default.)#"
)
.def("SetLineWidth",
(void (Graphic3d_Aspects::*)( Standard_ShortReal ) ) static_cast<void (Graphic3d_Aspects::*)( Standard_ShortReal ) >(&Graphic3d_Aspects::SetLineWidth),
R"#(Modifies the line thickness Warning: Raises Standard_OutOfRange if the width is a negative value.)#" , py::arg("theWidth")
)
.def("MarkerType",
(Aspect_TypeOfMarker (Graphic3d_Aspects::*)() const) static_cast<Aspect_TypeOfMarker (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::MarkerType),
R"#(Return marker type; Aspect_TOM_POINT by default.)#"
)
.def("SetMarkerType",
(void (Graphic3d_Aspects::*)( Aspect_TypeOfMarker ) ) static_cast<void (Graphic3d_Aspects::*)( Aspect_TypeOfMarker ) >(&Graphic3d_Aspects::SetMarkerType),
R"#(Modifies the type of marker.)#" , py::arg("theType")
)
.def("MarkerScale",
(Standard_ShortReal (Graphic3d_Aspects::*)() const) static_cast<Standard_ShortReal (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::MarkerScale),
R"#(Return marker scale factor; 1.0 by default.)#"
)
.def("SetMarkerScale",
(void (Graphic3d_Aspects::*)( const Standard_ShortReal ) ) static_cast<void (Graphic3d_Aspects::*)( const Standard_ShortReal ) >(&Graphic3d_Aspects::SetMarkerScale),
R"#(Modifies the scale factor. Marker type Aspect_TOM_POINT is not affected by the marker size scale factor. It is always the smallest displayable dot. Warning: Raises Standard_OutOfRange if the scale is a negative value.)#" , py::arg("theScale")
)
.def("SetMarkerImage",
(void (Graphic3d_Aspects::*)( const opencascade::handle<Graphic3d_MarkerImage> & ) ) static_cast<void (Graphic3d_Aspects::*)( const opencascade::handle<Graphic3d_MarkerImage> & ) >(&Graphic3d_Aspects::SetMarkerImage),
R"#(Set marker's image texture.)#" , py::arg("theImage")
)
.def("IsMarkerSprite",
(bool (Graphic3d_Aspects::*)() const) static_cast<bool (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::IsMarkerSprite),
R"#(Returns TRUE if marker should be drawn using marker sprite (either user-provided or generated).)#"
)
.def("SetTextFont",
(void (Graphic3d_Aspects::*)( const opencascade::handle<TCollection_HAsciiString> & ) ) static_cast<void (Graphic3d_Aspects::*)( const opencascade::handle<TCollection_HAsciiString> & ) >(&Graphic3d_Aspects::SetTextFont),
R"#(Modifies the font.)#" , py::arg("theFont")
)
.def("TextFontAspect",
(Font_FontAspect (Graphic3d_Aspects::*)() const) static_cast<Font_FontAspect (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::TextFontAspect),
R"#(Returns text FontAspect)#"
)
.def("SetTextFontAspect",
(void (Graphic3d_Aspects::*)( Font_FontAspect ) ) static_cast<void (Graphic3d_Aspects::*)( Font_FontAspect ) >(&Graphic3d_Aspects::SetTextFontAspect),
R"#(Turns usage of Aspect text)#" , py::arg("theFontAspect")
)
.def("TextDisplayType",
(Aspect_TypeOfDisplayText (Graphic3d_Aspects::*)() const) static_cast<Aspect_TypeOfDisplayText (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::TextDisplayType),
R"#(Returns display type; Aspect_TODT_NORMAL by default.)#"
)
.def("SetTextDisplayType",
(void (Graphic3d_Aspects::*)( Aspect_TypeOfDisplayText ) ) static_cast<void (Graphic3d_Aspects::*)( Aspect_TypeOfDisplayText ) >(&Graphic3d_Aspects::SetTextDisplayType),
R"#(Sets display type.)#" , py::arg("theType")
)
.def("SetColorSubTitle",
(void (Graphic3d_Aspects::*)( const Quantity_Color & ) ) static_cast<void (Graphic3d_Aspects::*)( const Quantity_Color & ) >(&Graphic3d_Aspects::SetColorSubTitle),
R"#(Modifies text background/shadow color; equals to EdgeColor() property.)#" , py::arg("theColor")
)
.def("SetColorSubTitle",
(void (Graphic3d_Aspects::*)( const Quantity_ColorRGBA & ) ) static_cast<void (Graphic3d_Aspects::*)( const Quantity_ColorRGBA & ) >(&Graphic3d_Aspects::SetColorSubTitle),
R"#(Modifies text background/shadow color; equals to EdgeColor() property.)#" , py::arg("theColor")
)
.def("IsTextZoomable",
(bool (Graphic3d_Aspects::*)() const) static_cast<bool (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::IsTextZoomable),
R"#(Returns TRUE when the Text Zoomable is on.)#"
)
.def("SetTextZoomable",
(void (Graphic3d_Aspects::*)( bool ) ) static_cast<void (Graphic3d_Aspects::*)( bool ) >(&Graphic3d_Aspects::SetTextZoomable),
R"#(Turns usage of text zoomable on/off)#" , py::arg("theFlag")
)
.def("TextStyle",
(Aspect_TypeOfStyleText (Graphic3d_Aspects::*)() const) static_cast<Aspect_TypeOfStyleText (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::TextStyle),
R"#(Returns the text style; Aspect_TOST_NORMAL by default.)#"
)
.def("SetTextStyle",
(void (Graphic3d_Aspects::*)( Aspect_TypeOfStyleText ) ) static_cast<void (Graphic3d_Aspects::*)( Aspect_TypeOfStyleText ) >(&Graphic3d_Aspects::SetTextStyle),
R"#(Modifies the style of the text.)#" , py::arg("theStyle")
)
.def("TextAngle",
(Standard_ShortReal (Graphic3d_Aspects::*)() const) static_cast<Standard_ShortReal (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::TextAngle),
R"#(Returns Angle of degree)#"
)
.def("SetTextAngle",
(void (Graphic3d_Aspects::*)( Standard_ShortReal ) ) static_cast<void (Graphic3d_Aspects::*)( Standard_ShortReal ) >(&Graphic3d_Aspects::SetTextAngle),
R"#(Turns usage of text rotated)#" , py::arg("theAngle")
)
.def("ToDrawEdges",
(bool (Graphic3d_Aspects::*)() const) static_cast<bool (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::ToDrawEdges),
R"#(Returns true if mesh edges should be drawn (false by default).)#"
)
.def("SetDrawEdges",
(void (Graphic3d_Aspects::*)( bool ) ) static_cast<void (Graphic3d_Aspects::*)( bool ) >(&Graphic3d_Aspects::SetDrawEdges),
R"#(Set if mesh edges should be drawn or not.)#" , py::arg("theToDraw")
)
.def("SetEdgeOn",
(void (Graphic3d_Aspects::*)() ) static_cast<void (Graphic3d_Aspects::*)() >(&Graphic3d_Aspects::SetEdgeOn),
R"#(The edges of FillAreas are drawn.)#"
)
.def("SetEdgeOff",
(void (Graphic3d_Aspects::*)() ) static_cast<void (Graphic3d_Aspects::*)() >(&Graphic3d_Aspects::SetEdgeOff),
R"#(The edges of FillAreas are not drawn.)#"
)
.def("SetEdgeColor",
(void (Graphic3d_Aspects::*)( const Quantity_Color & ) ) static_cast<void (Graphic3d_Aspects::*)( const Quantity_Color & ) >(&Graphic3d_Aspects::SetEdgeColor),
R"#(Modifies the color of the edge of the face)#" , py::arg("theColor")
)
.def("SetEdgeColor",
(void (Graphic3d_Aspects::*)( const Quantity_ColorRGBA & ) ) static_cast<void (Graphic3d_Aspects::*)( const Quantity_ColorRGBA & ) >(&Graphic3d_Aspects::SetEdgeColor),
R"#(Modifies the color of the edge of the face)#" , py::arg("theColor")
)
.def("EdgeLineType",
(Aspect_TypeOfLine (Graphic3d_Aspects::*)() const) static_cast<Aspect_TypeOfLine (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::EdgeLineType),
R"#(Return edges line type (same as LineType()).)#"
)
.def("SetEdgeLineType",
(void (Graphic3d_Aspects::*)( Aspect_TypeOfLine ) ) static_cast<void (Graphic3d_Aspects::*)( Aspect_TypeOfLine ) >(&Graphic3d_Aspects::SetEdgeLineType),
R"#(Modifies the edge line type (same as SetLineType()))#" , py::arg("theType")
)
.def("EdgeWidth",
(Standard_ShortReal (Graphic3d_Aspects::*)() const) static_cast<Standard_ShortReal (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::EdgeWidth),
R"#(Return width for edges in pixels (same as LineWidth()).)#"
)
.def("SetEdgeWidth",
(void (Graphic3d_Aspects::*)( Standard_Real ) ) static_cast<void (Graphic3d_Aspects::*)( Standard_Real ) >(&Graphic3d_Aspects::SetEdgeWidth),
R"#(Modifies the edge thickness (same as SetLineWidth()))#" , py::arg("theWidth")
)
.def("ToSkipFirstEdge",
(bool (Graphic3d_Aspects::*)() const) static_cast<bool (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::ToSkipFirstEdge),
R"#(Returns TRUE if drawing element edges should discard first edge in triangle; FALSE by default. Graphics hardware works mostly with triangles, so that wireframe presentation will draw triangle edges by default. This flag allows rendering wireframe presentation of quad-only array split into triangles. For this, quads should be split in specific order, so that the quad diagonal (to be NOT rendered) goes first: 1------2 / / Triangle #1: 2-0-1; Triangle #2: 0-2-3 0------3)#"
)
.def("SetSkipFirstEdge",
(void (Graphic3d_Aspects::*)( bool ) ) static_cast<void (Graphic3d_Aspects::*)( bool ) >(&Graphic3d_Aspects::SetSkipFirstEdge),
R"#(Set skip first triangle edge flag for drawing wireframe presentation of quads array split into triangles.)#" , py::arg("theToSkipFirstEdge")
)
.def("ToDrawSilhouette",
(bool (Graphic3d_Aspects::*)() const) static_cast<bool (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::ToDrawSilhouette),
R"#(Returns TRUE if silhouette (outline) should be drawn (with edge color and width); FALSE by default.)#"
)
.def("SetDrawSilhouette",
(void (Graphic3d_Aspects::*)( bool ) ) static_cast<void (Graphic3d_Aspects::*)( bool ) >(&Graphic3d_Aspects::SetDrawSilhouette),
R"#(Enables/disables drawing silhouette (outline).)#" , py::arg("theToDraw")
)
.def("SetHatchStyle",
(void (Graphic3d_Aspects::*)( const opencascade::handle<Graphic3d_HatchStyle> & ) ) static_cast<void (Graphic3d_Aspects::*)( const opencascade::handle<Graphic3d_HatchStyle> & ) >(&Graphic3d_Aspects::SetHatchStyle),
R"#(Modifies the hatch type used when InteriorStyle is IS_HATCH)#" , py::arg("theStyle")
)
.def("SetHatchStyle",
(void (Graphic3d_Aspects::*)( const Aspect_HatchStyle ) ) static_cast<void (Graphic3d_Aspects::*)( const Aspect_HatchStyle ) >(&Graphic3d_Aspects::SetHatchStyle),
R"#(Modifies the hatch type used when InteriorStyle is IS_HATCH)#" , py::arg("theStyle")
)
.def("IsEqual",
(bool (Graphic3d_Aspects::*)( const Graphic3d_Aspects & ) ) static_cast<bool (Graphic3d_Aspects::*)( const Graphic3d_Aspects & ) >(&Graphic3d_Aspects::IsEqual),
R"#(Check for equality with another aspects.)#" , py::arg("theOther")
)
.def("DumpJson",
(void (Graphic3d_Aspects::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_Aspects::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_Aspects::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
.def("ToSuppressBackFaces",
(bool (Graphic3d_Aspects::*)() const) static_cast<bool (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::ToSuppressBackFaces),
R"#(None)#"
)
.def("SetSuppressBackFaces",
(void (Graphic3d_Aspects::*)( bool ) ) static_cast<void (Graphic3d_Aspects::*)( bool ) >(&Graphic3d_Aspects::SetSuppressBackFaces),
R"#(None)#" , py::arg("theToSuppress")
)
.def("BackFace",
(bool (Graphic3d_Aspects::*)() const) static_cast<bool (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::BackFace),
R"#(None)#"
)
.def("AllowBackFace",
(void (Graphic3d_Aspects::*)() ) static_cast<void (Graphic3d_Aspects::*)() >(&Graphic3d_Aspects::AllowBackFace),
R"#(None)#"
)
.def("SuppressBackFace",
(void (Graphic3d_Aspects::*)() ) static_cast<void (Graphic3d_Aspects::*)() >(&Graphic3d_Aspects::SuppressBackFace),
R"#(None)#"
)
// methods using call by reference i.s.o. return
.def("PolygonOffsets",
[]( Graphic3d_Aspects &self , Standard_ShortReal & theFactor,Standard_ShortReal & theUnits ){
Standard_Integer theMode;
self.PolygonOffsets(theMode,theFactor,theUnits);
return std::make_tuple(theMode); },
R"#(Returns current polygon offsets settings.)#" , py::arg("theFactor"), py::arg("theUnits")
)
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_Aspects::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_Aspects::get_type_descriptor),
R"#(None)#"
)
.def_static("DefaultLinePatternForType_s",
(uint16_t (*)( Aspect_TypeOfLine ) ) static_cast<uint16_t (*)( Aspect_TypeOfLine ) >(&Graphic3d_Aspects::DefaultLinePatternForType),
R"#(Return stipple line pattern for line type.)#" , py::arg("theType")
)
.def_static("DefaultLineTypeForPattern_s",
(Aspect_TypeOfLine (*)( uint16_t ) ) static_cast<Aspect_TypeOfLine (*)( uint16_t ) >(&Graphic3d_Aspects::DefaultLineTypeForPattern),
R"#(Return line type for stipple line pattern.)#" , py::arg("thePattern")
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_Aspects::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::DynamicType),
R"#(None)#"
)
.def("ColorRGBA",
(const Quantity_ColorRGBA & (Graphic3d_Aspects::*)() const) static_cast<const Quantity_ColorRGBA & (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::ColorRGBA),
R"#(Return color)#"
)
.def("Color",
(const Quantity_Color & (Graphic3d_Aspects::*)() const) static_cast<const Quantity_Color & (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::Color),
R"#(Return the color.)#"
)
.def("InteriorColor",
(const Quantity_Color & (Graphic3d_Aspects::*)() const) static_cast<const Quantity_Color & (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::InteriorColor),
R"#(Return interior color.)#"
)
.def("InteriorColorRGBA",
(const Quantity_ColorRGBA & (Graphic3d_Aspects::*)() const) static_cast<const Quantity_ColorRGBA & (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::InteriorColorRGBA),
R"#(Return interior color.)#"
)
.def("BackInteriorColor",
(const Quantity_Color & (Graphic3d_Aspects::*)() const) static_cast<const Quantity_Color & (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::BackInteriorColor),
R"#(Return back interior color.)#"
)
.def("BackInteriorColorRGBA",
(const Quantity_ColorRGBA & (Graphic3d_Aspects::*)() const) static_cast<const Quantity_ColorRGBA & (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::BackInteriorColorRGBA),
R"#(Return back interior color.)#"
)
.def("FrontMaterial",
(const Graphic3d_MaterialAspect & (Graphic3d_Aspects::*)() const) static_cast<const Graphic3d_MaterialAspect & (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::FrontMaterial),
R"#(Returns the surface material of external faces)#"
)
.def("ChangeFrontMaterial",
(Graphic3d_MaterialAspect & (Graphic3d_Aspects::*)() ) static_cast<Graphic3d_MaterialAspect & (Graphic3d_Aspects::*)() >(&Graphic3d_Aspects::ChangeFrontMaterial),
R"#(Returns the surface material of external faces)#"
, py::return_value_policy::reference_internal
)
.def("BackMaterial",
(const Graphic3d_MaterialAspect & (Graphic3d_Aspects::*)() const) static_cast<const Graphic3d_MaterialAspect & (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::BackMaterial),
R"#(Returns the surface material of internal faces)#"
)
.def("ChangeBackMaterial",
(Graphic3d_MaterialAspect & (Graphic3d_Aspects::*)() ) static_cast<Graphic3d_MaterialAspect & (Graphic3d_Aspects::*)() >(&Graphic3d_Aspects::ChangeBackMaterial),
R"#(Returns the surface material of internal faces)#"
, py::return_value_policy::reference_internal
)
.def("ShaderProgram",
(const opencascade::handle<Graphic3d_ShaderProgram> & (Graphic3d_Aspects::*)() const) static_cast<const opencascade::handle<Graphic3d_ShaderProgram> & (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::ShaderProgram),
R"#(Return shader program.)#"
)
.def("TextureSet",
(const opencascade::handle<Graphic3d_TextureSet> & (Graphic3d_Aspects::*)() const) static_cast<const opencascade::handle<Graphic3d_TextureSet> & (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::TextureSet),
R"#(Return texture array to be mapped.)#"
)
.def("PolygonOffset",
(const Graphic3d_PolygonOffset & (Graphic3d_Aspects::*)() const) static_cast<const Graphic3d_PolygonOffset & (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::PolygonOffset),
R"#(Returns current polygon offsets settings.)#"
)
.def("MarkerImage",
(const opencascade::handle<Graphic3d_MarkerImage> & (Graphic3d_Aspects::*)() const) static_cast<const opencascade::handle<Graphic3d_MarkerImage> & (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::MarkerImage),
R"#(Returns marker's image texture. Could be null handle if marker aspect has been initialized as default type of marker.)#"
)
.def("TextFont",
(const opencascade::handle<TCollection_HAsciiString> & (Graphic3d_Aspects::*)() const) static_cast<const opencascade::handle<TCollection_HAsciiString> & (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::TextFont),
R"#(Returns the font; NULL string by default.)#"
)
.def("ColorSubTitleRGBA",
(const Quantity_ColorRGBA & (Graphic3d_Aspects::*)() const) static_cast<const Quantity_ColorRGBA & (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::ColorSubTitleRGBA),
R"#(Returns text background/shadow color; equals to EdgeColor() property.)#"
)
.def("ColorSubTitle",
(const Quantity_Color & (Graphic3d_Aspects::*)() const) static_cast<const Quantity_Color & (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::ColorSubTitle),
R"#(Return text background/shadow color; equals to EdgeColor() property.)#"
)
.def("EdgeColor",
(const Quantity_Color & (Graphic3d_Aspects::*)() const) static_cast<const Quantity_Color & (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::EdgeColor),
R"#(Return color of edges.)#"
)
.def("EdgeColorRGBA",
(const Quantity_ColorRGBA & (Graphic3d_Aspects::*)() const) static_cast<const Quantity_ColorRGBA & (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::EdgeColorRGBA),
R"#(Return color of edges.)#"
)
.def("HatchStyle",
(const opencascade::handle<Graphic3d_HatchStyle> & (Graphic3d_Aspects::*)() const) static_cast<const opencascade::handle<Graphic3d_HatchStyle> & (Graphic3d_Aspects::*)() const>(&Graphic3d_Aspects::HatchStyle),
R"#(Returns the hatch type used when InteriorStyle is IS_HATCH)#"
)
;
// Class Graphic3d_Attribute from ./opencascade/Graphic3d_Buffer.hxx
klass = m.attr("Graphic3d_Attribute");
// default constructor
register_default_constructor<Graphic3d_Attribute , shared_ptr<Graphic3d_Attribute>>(m,"Graphic3d_Attribute");
// nested enums
static_cast<py::class_<Graphic3d_Attribute , shared_ptr<Graphic3d_Attribute> >>(klass)
// constructors
// custom constructors
// methods
.def("Stride",
(Standard_Integer (Graphic3d_Attribute::*)() const) static_cast<Standard_Integer (Graphic3d_Attribute::*)() const>(&Graphic3d_Attribute::Stride),
R"#(None)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("Stride_s",
(Standard_Integer (*)( const Graphic3d_TypeOfData ) ) static_cast<Standard_Integer (*)( const Graphic3d_TypeOfData ) >(&Graphic3d_Attribute::Stride),
R"#(Returns size of attribute of specified data type)#" , py::arg("theType")
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
.def_readwrite("Id", &Graphic3d_Attribute::Id)
.def_readwrite("DataType", &Graphic3d_Attribute::DataType)
// methods returning by ref wrapped as properties
;
// Class Graphic3d_BSDF from ./opencascade/Graphic3d_BSDF.hxx
klass = m.attr("Graphic3d_BSDF");
// nested enums
static_cast<py::class_<Graphic3d_BSDF , shared_ptr<Graphic3d_BSDF> >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("Normalize",
(void (Graphic3d_BSDF::*)() ) static_cast<void (Graphic3d_BSDF::*)() >(&Graphic3d_BSDF::Normalize),
R"#(Normalizes BSDF components.)#"
)
.def("DumpJson",
(void (Graphic3d_BSDF::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_BSDF::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_BSDF::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
// static methods
.def_static("CreateDiffuse_s",
(Graphic3d_BSDF (*)( const NCollection_Vec3<Standard_ShortReal> & ) ) static_cast<Graphic3d_BSDF (*)( const NCollection_Vec3<Standard_ShortReal> & ) >(&Graphic3d_BSDF::CreateDiffuse),
R"#(Creates BSDF describing diffuse (Lambertian) surface.)#" , py::arg("theWeight")
)
.def_static("CreateMetallic_s",
(Graphic3d_BSDF (*)( const NCollection_Vec3<Standard_ShortReal> & , const Graphic3d_Fresnel & , const Standard_ShortReal ) ) static_cast<Graphic3d_BSDF (*)( const NCollection_Vec3<Standard_ShortReal> & , const Graphic3d_Fresnel & , const Standard_ShortReal ) >(&Graphic3d_BSDF::CreateMetallic),
R"#(Creates BSDF describing polished metallic-like surface.)#" , py::arg("theWeight"), py::arg("theFresnel"), py::arg("theRoughness")
)
.def_static("CreateTransparent_s",
(Graphic3d_BSDF (*)( const NCollection_Vec3<Standard_ShortReal> & , const NCollection_Vec3<Standard_ShortReal> & , const Standard_ShortReal ) ) static_cast<Graphic3d_BSDF (*)( const NCollection_Vec3<Standard_ShortReal> & , const NCollection_Vec3<Standard_ShortReal> & , const Standard_ShortReal ) >(&Graphic3d_BSDF::CreateTransparent),
R"#(Creates BSDF describing transparent object. Transparent BSDF models simple transparency without refraction (the ray passes straight through the surface).)#" , py::arg("theWeight"), py::arg("theAbsorptionColor"), py::arg("theAbsorptionCoeff")
)
.def_static("CreateGlass_s",
(Graphic3d_BSDF (*)( const NCollection_Vec3<Standard_ShortReal> & , const NCollection_Vec3<Standard_ShortReal> & , const Standard_ShortReal , const Standard_ShortReal ) ) static_cast<Graphic3d_BSDF (*)( const NCollection_Vec3<Standard_ShortReal> & , const NCollection_Vec3<Standard_ShortReal> & , const Standard_ShortReal , const Standard_ShortReal ) >(&Graphic3d_BSDF::CreateGlass),
R"#(Creates BSDF describing glass-like object. Glass-like BSDF mixes refraction and reflection effects at grazing angles using physically-based Fresnel dielectric model.)#" , py::arg("theWeight"), py::arg("theAbsorptionColor"), py::arg("theAbsorptionCoeff"), py::arg("theRefractionIndex")
)
.def_static("CreateMetallicRoughness_s",
(Graphic3d_BSDF (*)( const Graphic3d_PBRMaterial & ) ) static_cast<Graphic3d_BSDF (*)( const Graphic3d_PBRMaterial & ) >(&Graphic3d_BSDF::CreateMetallicRoughness),
R"#(Creates BSDF from PBR metallic-roughness material.)#" , py::arg("thePbr")
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
.def_readwrite("Kc", &Graphic3d_BSDF::Kc)
.def_readwrite("Kd", &Graphic3d_BSDF::Kd)
.def_readwrite("Ks", &Graphic3d_BSDF::Ks)
.def_readwrite("Kt", &Graphic3d_BSDF::Kt)
.def_readwrite("Le", &Graphic3d_BSDF::Le)
.def_readwrite("Absorption", &Graphic3d_BSDF::Absorption)
.def_readwrite("FresnelCoat", &Graphic3d_BSDF::FresnelCoat)
.def_readwrite("FresnelBase", &Graphic3d_BSDF::FresnelBase)
// methods returning by ref wrapped as properties
;
// Class Graphic3d_BoundBuffer from ./opencascade/Graphic3d_BoundBuffer.hxx
klass = m.attr("Graphic3d_BoundBuffer");
// nested enums
static_cast<py::class_<Graphic3d_BoundBuffer ,opencascade::handle<Graphic3d_BoundBuffer> , NCollection_Buffer >>(klass)
// constructors
.def(py::init< const opencascade::handle<NCollection_BaseAllocator> & >() , py::arg("theAlloc") )
// custom constructors
// methods
.def("Init",
(bool (Graphic3d_BoundBuffer::*)( const Standard_Integer , const Standard_Boolean ) ) static_cast<bool (Graphic3d_BoundBuffer::*)( const Standard_Integer , const Standard_Boolean ) >(&Graphic3d_BoundBuffer::Init),
R"#(Allocates new empty array)#" , py::arg("theNbBounds"), py::arg("theHasColors")
)
.def("DumpJson",
(void (Graphic3d_BoundBuffer::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_BoundBuffer::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_BoundBuffer::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_BoundBuffer::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_BoundBuffer::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
.def_readwrite("NbBounds", &Graphic3d_BoundBuffer::NbBounds)
.def_readwrite("NbMaxBounds", &Graphic3d_BoundBuffer::NbMaxBounds)
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_BoundBuffer::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_BoundBuffer::*)() const>(&Graphic3d_BoundBuffer::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_Buffer from ./opencascade/Graphic3d_Buffer.hxx
klass = m.attr("Graphic3d_Buffer");
// nested enums
static_cast<py::class_<Graphic3d_Buffer ,opencascade::handle<Graphic3d_Buffer> , NCollection_Buffer >>(klass)
// constructors
.def(py::init< const opencascade::handle<NCollection_BaseAllocator> & >() , py::arg("theAlloc") )
// custom constructors
// methods
.def("NbMaxElements",
(Standard_Integer (Graphic3d_Buffer::*)() const) static_cast<Standard_Integer (Graphic3d_Buffer::*)() const>(&Graphic3d_Buffer::NbMaxElements),
R"#(Return number of initially allocated elements which can fit into this buffer, while NbElements can be overwritten to smaller value.)#"
)
.def("AttributesArray",
(const Graphic3d_Attribute * (Graphic3d_Buffer::*)() const) static_cast<const Graphic3d_Attribute * (Graphic3d_Buffer::*)() const>(&Graphic3d_Buffer::AttributesArray),
R"#(Returns array of attributes definitions)#"
)
.def("Attribute",
(const Graphic3d_Attribute & (Graphic3d_Buffer::*)( const Standard_Integer ) const) static_cast<const Graphic3d_Attribute & (Graphic3d_Buffer::*)( const Standard_Integer ) const>(&Graphic3d_Buffer::Attribute),
R"#(Returns attribute definition)#" , py::arg("theAttribIndex")
)
.def("ChangeAttribute",
(Graphic3d_Attribute & (Graphic3d_Buffer::*)( const Standard_Integer ) ) static_cast<Graphic3d_Attribute & (Graphic3d_Buffer::*)( const Standard_Integer ) >(&Graphic3d_Buffer::ChangeAttribute),
R"#(Returns attribute definition)#" , py::arg("theAttribIndex")
)
.def("FindAttribute",
(Standard_Integer (Graphic3d_Buffer::*)( Graphic3d_TypeOfAttribute ) const) static_cast<Standard_Integer (Graphic3d_Buffer::*)( Graphic3d_TypeOfAttribute ) const>(&Graphic3d_Buffer::FindAttribute),
R"#(Find attribute index.)#" , py::arg("theAttrib")
)
.def("AttributeOffset",
(Standard_Integer (Graphic3d_Buffer::*)( const Standard_Integer ) const) static_cast<Standard_Integer (Graphic3d_Buffer::*)( const Standard_Integer ) const>(&Graphic3d_Buffer::AttributeOffset),
R"#(Returns data offset to specified attribute)#" , py::arg("theAttribIndex")
)
.def("Data",
(const Standard_Byte * (Graphic3d_Buffer::*)( const Standard_Integer ) const) static_cast<const Standard_Byte * (Graphic3d_Buffer::*)( const Standard_Integer ) const>(&Graphic3d_Buffer::Data),
R"#(Returns data for specified attribute)#" , py::arg("theAttribIndex")
)
.def("ChangeData",
(Standard_Byte * (Graphic3d_Buffer::*)( const Standard_Integer ) ) static_cast<Standard_Byte * (Graphic3d_Buffer::*)( const Standard_Integer ) >(&Graphic3d_Buffer::ChangeData),
R"#(Returns data for specified attribute)#" , py::arg("theAttribIndex")
)
.def("value",
(const Standard_Byte * (Graphic3d_Buffer::*)( const Standard_Integer ) const) static_cast<const Standard_Byte * (Graphic3d_Buffer::*)( const Standard_Integer ) const>(&Graphic3d_Buffer::value),
R"#(Access specified element.)#" , py::arg("theElem")
)
.def("changeValue",
(Standard_Byte * (Graphic3d_Buffer::*)( const Standard_Integer ) ) static_cast<Standard_Byte * (Graphic3d_Buffer::*)( const Standard_Integer ) >(&Graphic3d_Buffer::changeValue),
R"#(Access specified element.)#" , py::arg("theElem")
)
.def("ChangeAttributeData",
(Standard_Byte * (Graphic3d_Buffer::*)( Graphic3d_TypeOfAttribute , Standard_Integer & , Standard_Size & ) ) static_cast<Standard_Byte * (Graphic3d_Buffer::*)( Graphic3d_TypeOfAttribute , Standard_Integer & , Standard_Size & ) >(&Graphic3d_Buffer::ChangeAttributeData),
R"#(Return the attribute data with stride size specific to this attribute.)#" , py::arg("theAttrib"), py::arg("theAttribIndex"), py::arg("theAttribStride")
)
.def("AttributeData",
(const Standard_Byte * (Graphic3d_Buffer::*)( Graphic3d_TypeOfAttribute , Standard_Integer & , Standard_Size & ) const) static_cast<const Standard_Byte * (Graphic3d_Buffer::*)( Graphic3d_TypeOfAttribute , Standard_Integer & , Standard_Size & ) const>(&Graphic3d_Buffer::AttributeData),
R"#(Return the attribute data with stride size specific to this attribute.)#" , py::arg("theAttrib"), py::arg("theAttribIndex"), py::arg("theAttribStride")
)
.def("release",
(void (Graphic3d_Buffer::*)() ) static_cast<void (Graphic3d_Buffer::*)() >(&Graphic3d_Buffer::release),
R"#(Release buffer.)#"
)
.def("Init",
(bool (Graphic3d_Buffer::*)( const Standard_Integer , const Graphic3d_Attribute * , const Standard_Integer ) ) static_cast<bool (Graphic3d_Buffer::*)( const Standard_Integer , const Graphic3d_Attribute * , const Standard_Integer ) >(&Graphic3d_Buffer::Init),
R"#(Allocates new empty array)#" , py::arg("theNbElems"), py::arg("theAttribs"), py::arg("theNbAttribs")
)
.def("Init",
(bool (Graphic3d_Buffer::*)( const Standard_Integer , const NCollection_Array1<Graphic3d_Attribute> & ) ) static_cast<bool (Graphic3d_Buffer::*)( const Standard_Integer , const NCollection_Array1<Graphic3d_Attribute> & ) >(&Graphic3d_Buffer::Init),
R"#(Allocates new empty array)#" , py::arg("theNbElems"), py::arg("theAttribs")
)
.def("IsInterleaved",
(Standard_Boolean (Graphic3d_Buffer::*)() const) static_cast<Standard_Boolean (Graphic3d_Buffer::*)() const>(&Graphic3d_Buffer::IsInterleaved),
R"#(Flag indicating that attributes in the buffer are interleaved; TRUE by default. Requires sub-classing for creating a non-interleaved buffer (advanced usage).)#"
)
.def("IsMutable",
(Standard_Boolean (Graphic3d_Buffer::*)() const) static_cast<Standard_Boolean (Graphic3d_Buffer::*)() const>(&Graphic3d_Buffer::IsMutable),
R"#(Return TRUE if data can be invalidated; FALSE by default. Requires sub-classing for creating a mutable buffer (advanced usage).)#"
)
.def("InvalidatedRange",
(Graphic3d_BufferRange (Graphic3d_Buffer::*)() const) static_cast<Graphic3d_BufferRange (Graphic3d_Buffer::*)() const>(&Graphic3d_Buffer::InvalidatedRange),
R"#(Return invalidated range; EMPTY by default. Requires sub-classing for creating a mutable buffer (advanced usage).)#"
)
.def("Validate",
(void (Graphic3d_Buffer::*)() ) static_cast<void (Graphic3d_Buffer::*)() >(&Graphic3d_Buffer::Validate),
R"#(Reset invalidated range. Requires sub-classing for creating a mutable buffer (advanced usage).)#"
)
.def("Invalidate",
(void (Graphic3d_Buffer::*)() ) static_cast<void (Graphic3d_Buffer::*)() >(&Graphic3d_Buffer::Invalidate),
R"#(Invalidate entire buffer.)#"
)
.def("DumpJson",
(void (Graphic3d_Buffer::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_Buffer::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_Buffer::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_Buffer::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_Buffer::get_type_descriptor),
R"#(None)#"
)
.def_static("DefaultAllocator_s",
(const opencascade::handle<NCollection_BaseAllocator> & (*)() ) static_cast<const opencascade::handle<NCollection_BaseAllocator> & (*)() >(&Graphic3d_Buffer::DefaultAllocator),
R"#(Return default vertex data allocator.)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
.def_readwrite("Stride", &Graphic3d_Buffer::Stride)
.def_readwrite("NbElements", &Graphic3d_Buffer::NbElements)
.def_readwrite("NbAttributes", &Graphic3d_Buffer::NbAttributes)
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_Buffer::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_Buffer::*)() const>(&Graphic3d_Buffer::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_BufferRange from ./opencascade/Graphic3d_BufferRange.hxx
klass = m.attr("Graphic3d_BufferRange");
// nested enums
static_cast<py::class_<Graphic3d_BufferRange , shared_ptr<Graphic3d_BufferRange> >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< Standard_Integer,Standard_Integer >() , py::arg("theStart"), py::arg("theLength") )
// custom constructors
// methods
.def("IsEmpty",
(Standard_Boolean (Graphic3d_BufferRange::*)() const) static_cast<Standard_Boolean (Graphic3d_BufferRange::*)() const>(&Graphic3d_BufferRange::IsEmpty),
R"#(Return TRUE if range is empty.)#"
)
.def("Upper",
(Standard_Integer (Graphic3d_BufferRange::*)() const) static_cast<Standard_Integer (Graphic3d_BufferRange::*)() const>(&Graphic3d_BufferRange::Upper),
R"#(Return the Upper element within the range)#"
)
.def("Clear",
(void (Graphic3d_BufferRange::*)() ) static_cast<void (Graphic3d_BufferRange::*)() >(&Graphic3d_BufferRange::Clear),
R"#(Clear the range.)#"
)
.def("Unite",
(void (Graphic3d_BufferRange::*)( const Graphic3d_BufferRange & ) ) static_cast<void (Graphic3d_BufferRange::*)( const Graphic3d_BufferRange & ) >(&Graphic3d_BufferRange::Unite),
R"#(Add another range to this one.)#" , py::arg("theRange")
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
.def_readwrite("Start", &Graphic3d_BufferRange::Start)
.def_readwrite("Length", &Graphic3d_BufferRange::Length)
// methods returning by ref wrapped as properties
;
// Class Graphic3d_CLight from ./opencascade/Graphic3d_CLight.hxx
klass = m.attr("Graphic3d_CLight");
// nested enums
static_cast<py::class_<Graphic3d_CLight ,opencascade::handle<Graphic3d_CLight> , Standard_Transient >>(klass)
// constructors
.def(py::init< Graphic3d_TypeOfLightSource >() , py::arg("theType") )
// custom constructors
// methods
.def("CopyFrom",
(void (Graphic3d_CLight::*)( const opencascade::handle<Graphic3d_CLight> & ) ) static_cast<void (Graphic3d_CLight::*)( const opencascade::handle<Graphic3d_CLight> & ) >(&Graphic3d_CLight::CopyFrom),
R"#(Copy parameters from another light source excluding source type.)#" , py::arg("theLight")
)
.def("Type",
(Graphic3d_TypeOfLightSource (Graphic3d_CLight::*)() const) static_cast<Graphic3d_TypeOfLightSource (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::Type),
R"#(Returns the Type of the Light, cannot be changed after object construction.)#"
)
.def("SetName",
(void (Graphic3d_CLight::*)( const TCollection_AsciiString & ) ) static_cast<void (Graphic3d_CLight::*)( const TCollection_AsciiString & ) >(&Graphic3d_CLight::SetName),
R"#(Sets light source name.)#" , py::arg("theName")
)
.def("SetColor",
(void (Graphic3d_CLight::*)( const Quantity_Color & ) ) static_cast<void (Graphic3d_CLight::*)( const Quantity_Color & ) >(&Graphic3d_CLight::SetColor),
R"#(Defines the color of a light source by giving the basic color.)#" , py::arg("theColor")
)
.def("IsEnabled",
(Standard_Boolean (Graphic3d_CLight::*)() const) static_cast<Standard_Boolean (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::IsEnabled),
R"#(Check that the light source is turned on; TRUE by default. This flag affects all occurrences of light sources, where it was registered and activated; so that it is possible defining an active light in View which is actually in disabled state.)#"
)
.def("SetEnabled",
(void (Graphic3d_CLight::*)( Standard_Boolean ) ) static_cast<void (Graphic3d_CLight::*)( Standard_Boolean ) >(&Graphic3d_CLight::SetEnabled),
R"#(Change enabled state of the light state. This call does not remove or deactivate light source in Views/Viewers; instead it turns it OFF so that it just have no effect.)#" , py::arg("theIsOn")
)
.def("ToCastShadows",
(Standard_Boolean (Graphic3d_CLight::*)() const) static_cast<Standard_Boolean (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::ToCastShadows),
R"#(Return TRUE if shadow casting is enabled; FALSE by default. Has no effect in Ray-Tracing rendering mode.)#"
)
.def("SetCastShadows",
(void (Graphic3d_CLight::*)( Standard_Boolean ) ) static_cast<void (Graphic3d_CLight::*)( Standard_Boolean ) >(&Graphic3d_CLight::SetCastShadows),
R"#(Enable/disable shadow casting.)#" , py::arg("theToCast")
)
.def("IsHeadlight",
(Standard_Boolean (Graphic3d_CLight::*)() const) static_cast<Standard_Boolean (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::IsHeadlight),
R"#(Returns true if the light is a headlight; FALSE by default. Headlight flag means that light position/direction are defined not in a World coordinate system, but relative to the camera orientation.)#"
)
.def("Headlight",
(Standard_Boolean (Graphic3d_CLight::*)() const) static_cast<Standard_Boolean (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::Headlight),
R"#(Alias for IsHeadlight().)#"
)
.def("SetHeadlight",
(void (Graphic3d_CLight::*)( Standard_Boolean ) ) static_cast<void (Graphic3d_CLight::*)( Standard_Boolean ) >(&Graphic3d_CLight::SetHeadlight),
R"#(Setup headlight flag.)#" , py::arg("theValue")
)
.def("SetPosition",
(void (Graphic3d_CLight::*)( const gp_Pnt & ) ) static_cast<void (Graphic3d_CLight::*)( const gp_Pnt & ) >(&Graphic3d_CLight::SetPosition),
R"#(Setup location of positional/spot light.)#" , py::arg("thePosition")
)
.def("SetPosition",
(void (Graphic3d_CLight::*)( Standard_Real , Standard_Real , Standard_Real ) ) static_cast<void (Graphic3d_CLight::*)( Standard_Real , Standard_Real , Standard_Real ) >(&Graphic3d_CLight::SetPosition),
R"#(Setup location of positional/spot light.)#" , py::arg("theX"), py::arg("theY"), py::arg("theZ")
)
.def("ConstAttenuation",
(Standard_ShortReal (Graphic3d_CLight::*)() const) static_cast<Standard_ShortReal (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::ConstAttenuation),
R"#(Returns constant attenuation factor of positional/spot light source; 1.0f by default. Distance attenuation factors of reducing positional/spot light intensity depending on the distance from its position:)#"
)
.def("LinearAttenuation",
(Standard_ShortReal (Graphic3d_CLight::*)() const) static_cast<Standard_ShortReal (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::LinearAttenuation),
R"#(Returns linear attenuation factor of positional/spot light source; 0.0 by default. Distance attenuation factors of reducing positional/spot light intensity depending on the distance from its position:)#"
)
.def("SetAttenuation",
(void (Graphic3d_CLight::*)( Standard_ShortReal , Standard_ShortReal ) ) static_cast<void (Graphic3d_CLight::*)( Standard_ShortReal , Standard_ShortReal ) >(&Graphic3d_CLight::SetAttenuation),
R"#(Defines the coefficients of attenuation; values should be >= 0.0 and their summ should not be equal to 0.)#" , py::arg("theConstAttenuation"), py::arg("theLinearAttenuation")
)
.def("Direction",
(gp_Dir (Graphic3d_CLight::*)() const) static_cast<gp_Dir (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::Direction),
R"#(Returns direction of directional/spot light.)#"
)
.def("SetDirection",
(void (Graphic3d_CLight::*)( const gp_Dir & ) ) static_cast<void (Graphic3d_CLight::*)( const gp_Dir & ) >(&Graphic3d_CLight::SetDirection),
R"#(Sets direction of directional/spot light.)#" , py::arg("theDir")
)
.def("SetDirection",
(void (Graphic3d_CLight::*)( Standard_Real , Standard_Real , Standard_Real ) ) static_cast<void (Graphic3d_CLight::*)( Standard_Real , Standard_Real , Standard_Real ) >(&Graphic3d_CLight::SetDirection),
R"#(Sets direction of directional/spot light.)#" , py::arg("theVx"), py::arg("theVy"), py::arg("theVz")
)
.def("SetDisplayPosition",
(void (Graphic3d_CLight::*)( const gp_Pnt & ) ) static_cast<void (Graphic3d_CLight::*)( const gp_Pnt & ) >(&Graphic3d_CLight::SetDisplayPosition),
R"#(Setup location of positional/spot/directional light, which is the same as SetPosition() but allows directional light source (technically having no position, but this point can be used for displaying light source presentation).)#" , py::arg("thePosition")
)
.def("Angle",
(Standard_ShortReal (Graphic3d_CLight::*)() const) static_cast<Standard_ShortReal (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::Angle),
R"#(Returns an angle in radians of the cone created by the spot; 30 degrees by default.)#"
)
.def("SetAngle",
(void (Graphic3d_CLight::*)( Standard_ShortReal ) ) static_cast<void (Graphic3d_CLight::*)( Standard_ShortReal ) >(&Graphic3d_CLight::SetAngle),
R"#(Angle in radians of the cone created by the spot, should be within range (0.0, M_PI).)#" , py::arg("theAngle")
)
.def("Concentration",
(Standard_ShortReal (Graphic3d_CLight::*)() const) static_cast<Standard_ShortReal (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::Concentration),
R"#(Returns intensity distribution of the spot light, within [0.0, 1.0] range; 1.0 by default. This coefficient should be converted into spotlight exponent within [0.0, 128.0] range: The concentration factor determines the dispersion of the light on the surface, the default value (1.0) corresponds to a minimum of dispersion.)#"
)
.def("SetConcentration",
(void (Graphic3d_CLight::*)( Standard_ShortReal ) ) static_cast<void (Graphic3d_CLight::*)( Standard_ShortReal ) >(&Graphic3d_CLight::SetConcentration),
R"#(Defines the coefficient of concentration; value should be within range [0.0, 1.0].)#" , py::arg("theConcentration")
)
.def("Intensity",
(Standard_ShortReal (Graphic3d_CLight::*)() const) static_cast<Standard_ShortReal (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::Intensity),
R"#(Returns the intensity of light source; 1.0 by default.)#"
)
.def("SetIntensity",
(void (Graphic3d_CLight::*)( Standard_ShortReal ) ) static_cast<void (Graphic3d_CLight::*)( Standard_ShortReal ) >(&Graphic3d_CLight::SetIntensity),
R"#(Modifies the intensity of light source, which should be > 0.0.)#" , py::arg("theValue")
)
.def("Smoothness",
(Standard_ShortReal (Graphic3d_CLight::*)() const) static_cast<Standard_ShortReal (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::Smoothness),
R"#(Returns the smoothness of light source (either smoothing angle for directional light or smoothing radius in case of positional light); 0.0 by default.)#"
)
.def("SetSmoothRadius",
(void (Graphic3d_CLight::*)( Standard_ShortReal ) ) static_cast<void (Graphic3d_CLight::*)( Standard_ShortReal ) >(&Graphic3d_CLight::SetSmoothRadius),
R"#(Modifies the smoothing radius of positional/spot light; should be >= 0.0.)#" , py::arg("theValue")
)
.def("SetSmoothAngle",
(void (Graphic3d_CLight::*)( Standard_ShortReal ) ) static_cast<void (Graphic3d_CLight::*)( Standard_ShortReal ) >(&Graphic3d_CLight::SetSmoothAngle),
R"#(Modifies the smoothing angle (in radians) of directional light source; should be within range [0.0, M_PI/2].)#" , py::arg("theValue")
)
.def("HasRange",
(bool (Graphic3d_CLight::*)() const) static_cast<bool (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::HasRange),
R"#(Returns TRUE if maximum distance of point light source is defined.)#"
)
.def("Range",
(Standard_ShortReal (Graphic3d_CLight::*)() const) static_cast<Standard_ShortReal (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::Range),
R"#(Returns maximum distance on which point light source affects to objects and is considered during illumination calculations. 0.0 means disabling range considering at all without any distance limits. Has sense only for point light sources (positional and spot).)#"
)
.def("SetRange",
(void (Graphic3d_CLight::*)( Standard_ShortReal ) ) static_cast<void (Graphic3d_CLight::*)( Standard_ShortReal ) >(&Graphic3d_CLight::SetRange),
R"#(Modifies maximum distance on which point light source affects to objects and is considered during illumination calculations. Positional and spot lights are only point light sources. 0.0 means disabling range considering at all without any distance limits.)#" , py::arg("theValue")
)
.def("PackedDirection",
(Graphic3d_Vec3 (Graphic3d_CLight::*)() const) static_cast<Graphic3d_Vec3 (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::PackedDirection),
R"#(Returns direction of directional/spot light.)#"
)
.def("Revision",
(Standard_Size (Graphic3d_CLight::*)() const) static_cast<Standard_Size (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::Revision),
R"#(Returns modification counter)#"
)
.def("DumpJson",
(void (Graphic3d_CLight::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_CLight::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_CLight::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
.def("Position",
[]( Graphic3d_CLight &self ){
Standard_Real theX;
Standard_Real theY;
Standard_Real theZ;
self.Position(theX,theY,theZ);
return std::make_tuple(theX,theY,theZ); },
R"#(Returns location of positional/spot light.)#"
)
.def("Attenuation",
[]( Graphic3d_CLight &self ){
Standard_Real theConstAttenuation;
Standard_Real theLinearAttenuation;
self.Attenuation(theConstAttenuation,theLinearAttenuation);
return std::make_tuple(theConstAttenuation,theLinearAttenuation); },
R"#(Returns the attenuation factors.)#"
)
.def("Direction",
[]( Graphic3d_CLight &self ){
Standard_Real theVx;
Standard_Real theVy;
Standard_Real theVz;
self.Direction(theVx,theVy,theVz);
return std::make_tuple(theVx,theVy,theVz); },
R"#(Returns the theVx, theVy, theVz direction of the light source.)#"
)
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_CLight::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_CLight::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_CLight::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::DynamicType),
R"#(None)#"
)
.def("Name",
(const TCollection_AsciiString & (Graphic3d_CLight::*)() const) static_cast<const TCollection_AsciiString & (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::Name),
R"#(Returns light source name; empty string by default.)#"
)
.def("Color",
(const Quantity_Color & (Graphic3d_CLight::*)() const) static_cast<const Quantity_Color & (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::Color),
R"#(Returns the color of the light source; WHITE by default.)#"
)
.def("Position",
(const gp_Pnt & (Graphic3d_CLight::*)() const) static_cast<const gp_Pnt & (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::Position),
R"#(Returns location of positional/spot light; (0, 0, 0) by default.)#"
)
.def("DisplayPosition",
(const gp_Pnt & (Graphic3d_CLight::*)() const) static_cast<const gp_Pnt & (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::DisplayPosition),
R"#(Returns location of positional/spot/directional light, which is the same as returned by Position().)#"
)
.def("GetId",
(const TCollection_AsciiString & (Graphic3d_CLight::*)() const) static_cast<const TCollection_AsciiString & (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::GetId),
R"#(Returns light resource identifier string)#"
)
.def("PackedParams",
(const Graphic3d_Vec4 & (Graphic3d_CLight::*)() const) static_cast<const Graphic3d_Vec4 & (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::PackedParams),
R"#(Packed light parameters.)#"
)
.def("PackedColor",
(const Graphic3d_Vec4 & (Graphic3d_CLight::*)() const) static_cast<const Graphic3d_Vec4 & (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::PackedColor),
R"#(Returns the color of the light source with dummy Alpha component, which should be ignored.)#"
)
.def("PackedDirectionRange",
(const Graphic3d_Vec4 & (Graphic3d_CLight::*)() const) static_cast<const Graphic3d_Vec4 & (Graphic3d_CLight::*)() const>(&Graphic3d_CLight::PackedDirectionRange),
R"#(Returns direction of directional/spot light and range for positional/spot light in alpha channel.)#"
)
;
// Class Graphic3d_CStructure from ./opencascade/Graphic3d_CStructure.hxx
klass = m.attr("Graphic3d_CStructure");
// nested enums
static_cast<py::class_<Graphic3d_CStructure ,opencascade::handle<Graphic3d_CStructure> ,Py_Graphic3d_CStructure , Standard_Transient >>(klass)
// constructors
// custom constructors
// methods
.def("SetTransformation",
(void (Graphic3d_CStructure::*)( const opencascade::handle<TopLoc_Datum3D> & ) ) static_cast<void (Graphic3d_CStructure::*)( const opencascade::handle<TopLoc_Datum3D> & ) >(&Graphic3d_CStructure::SetTransformation),
R"#(Assign transformation.)#" , py::arg("theTrsf")
)
.def("SetTransformPersistence",
(void (Graphic3d_CStructure::*)( const opencascade::handle<Graphic3d_TransformPers> & ) ) static_cast<void (Graphic3d_CStructure::*)( const opencascade::handle<Graphic3d_TransformPers> & ) >(&Graphic3d_CStructure::SetTransformPersistence),
R"#(Set transformation persistence.)#" , py::arg("theTrsfPers")
)
.def("HasGroupTransformPersistence",
(bool (Graphic3d_CStructure::*)() const) static_cast<bool (Graphic3d_CStructure::*)() const>(&Graphic3d_CStructure::HasGroupTransformPersistence),
R"#(Return TRUE if some groups might have transform persistence; FALSE by default.)#"
)
.def("SetGroupTransformPersistence",
(void (Graphic3d_CStructure::*)( bool ) ) static_cast<void (Graphic3d_CStructure::*)( bool ) >(&Graphic3d_CStructure::SetGroupTransformPersistence),
R"#(Set if some groups might have transform persistence.)#" , py::arg("theValue")
)
.def("SetClipPlanes",
(void (Graphic3d_CStructure::*)( const opencascade::handle<Graphic3d_SequenceOfHClipPlane> & ) ) static_cast<void (Graphic3d_CStructure::*)( const opencascade::handle<Graphic3d_SequenceOfHClipPlane> & ) >(&Graphic3d_CStructure::SetClipPlanes),
R"#(Pass clip planes to the associated graphic driver structure)#" , py::arg("thePlanes")
)
.def("IsVisible",
(bool (Graphic3d_CStructure::*)() const) static_cast<bool (Graphic3d_CStructure::*)() const>(&Graphic3d_CStructure::IsVisible),
R"#(Return structure visibility flag)#"
)
.def("IsVisible",
(bool (Graphic3d_CStructure::*)( const Standard_Integer ) const) static_cast<bool (Graphic3d_CStructure::*)( const Standard_Integer ) const>(&Graphic3d_CStructure::IsVisible),
R"#(Return structure visibility considering both View Affinity and global visibility state.)#" , py::arg("theViewId")
)
.def("SetZLayer",
(void (Graphic3d_CStructure::*)( const Graphic3d_ZLayerId ) ) static_cast<void (Graphic3d_CStructure::*)( const Graphic3d_ZLayerId ) >(&Graphic3d_CStructure::SetZLayer),
R"#(Set z layer ID to display the structure in specified layer)#" , py::arg("theLayerIndex")
)
.def("ZLayer",
(Graphic3d_ZLayerId (Graphic3d_CStructure::*)() const) static_cast<Graphic3d_ZLayerId (Graphic3d_CStructure::*)() const>(&Graphic3d_CStructure::ZLayer),
R"#(Get z layer ID)#"
)
.def("Identification",
(Standard_Integer (Graphic3d_CStructure::*)() const) static_cast<Standard_Integer (Graphic3d_CStructure::*)() const>(&Graphic3d_CStructure::Identification),
R"#(Return structure id (generated by Graphic3d_GraphicDriver::NewIdentification() during structure construction).)#"
)
.def("Priority",
(Graphic3d_DisplayPriority (Graphic3d_CStructure::*)() const) static_cast<Graphic3d_DisplayPriority (Graphic3d_CStructure::*)() const>(&Graphic3d_CStructure::Priority),
R"#(Return structure display priority.)#"
)
.def("SetPriority",
(void (Graphic3d_CStructure::*)( Graphic3d_DisplayPriority ) ) static_cast<void (Graphic3d_CStructure::*)( Graphic3d_DisplayPriority ) >(&Graphic3d_CStructure::SetPriority),
R"#(Set structure display priority.)#" , py::arg("thePriority")
)
.def("PreviousPriority",
(Graphic3d_DisplayPriority (Graphic3d_CStructure::*)() const) static_cast<Graphic3d_DisplayPriority (Graphic3d_CStructure::*)() const>(&Graphic3d_CStructure::PreviousPriority),
R"#(Return previous structure display priority.)#"
)
.def("SetPreviousPriority",
(void (Graphic3d_CStructure::*)( Graphic3d_DisplayPriority ) ) static_cast<void (Graphic3d_CStructure::*)( Graphic3d_DisplayPriority ) >(&Graphic3d_CStructure::SetPreviousPriority),
R"#(Set previous structure display priority.)#" , py::arg("thePriority")
)
.def("IsCulled",
(Standard_Boolean (Graphic3d_CStructure::*)() const) static_cast<Standard_Boolean (Graphic3d_CStructure::*)() const>(&Graphic3d_CStructure::IsCulled),
R"#(Returns FALSE if the structure hits the current view volume, otherwise returns TRUE.)#"
)
.def("SetCulled",
(void (Graphic3d_CStructure::*)( Standard_Boolean ) const) static_cast<void (Graphic3d_CStructure::*)( Standard_Boolean ) const>(&Graphic3d_CStructure::SetCulled),
R"#(Marks structure as culled/not culled - note that IsAlwaysRendered() is ignored here!)#" , py::arg("theIsCulled")
)
.def("MarkAsNotCulled",
(void (Graphic3d_CStructure::*)() const) static_cast<void (Graphic3d_CStructure::*)() const>(&Graphic3d_CStructure::MarkAsNotCulled),
R"#(Marks structure as overlapping the current view volume one. The method is called during traverse of BVH tree.)#"
)
.def("BndBoxClipCheck",
(Standard_Boolean (Graphic3d_CStructure::*)() const) static_cast<Standard_Boolean (Graphic3d_CStructure::*)() const>(&Graphic3d_CStructure::BndBoxClipCheck),
R"#(Returns whether check of object's bounding box clipping is enabled before drawing of object; TRUE by default.)#"
)
.def("SetBndBoxClipCheck",
(void (Graphic3d_CStructure::*)( Standard_Boolean ) ) static_cast<void (Graphic3d_CStructure::*)( Standard_Boolean ) >(&Graphic3d_CStructure::SetBndBoxClipCheck),
R"#(Enable/disable check of object's bounding box clipping before drawing of object.)#" , py::arg("theBndBoxClipCheck")
)
.def("IsAlwaysRendered",
(Standard_Boolean (Graphic3d_CStructure::*)() const) static_cast<Standard_Boolean (Graphic3d_CStructure::*)() const>(&Graphic3d_CStructure::IsAlwaysRendered),
R"#(Checks if the structure should be included into BVH tree or not.)#"
)
.def("OnVisibilityChanged",
(void (Graphic3d_CStructure::*)() ) static_cast<void (Graphic3d_CStructure::*)() >(&Graphic3d_CStructure::OnVisibilityChanged),
R"#(Update structure visibility state)#"
)
.def("Clear",
(void (Graphic3d_CStructure::*)() ) static_cast<void (Graphic3d_CStructure::*)() >(&Graphic3d_CStructure::Clear),
R"#(Clear graphic data)#"
)
.def("Connect",
(void (Graphic3d_CStructure::*)( Graphic3d_CStructure & ) ) static_cast<void (Graphic3d_CStructure::*)( Graphic3d_CStructure & ) >(&Graphic3d_CStructure::Connect),
R"#(Connect other structure to this one)#" , py::arg("theStructure")
)
.def("Disconnect",
(void (Graphic3d_CStructure::*)( Graphic3d_CStructure & ) ) static_cast<void (Graphic3d_CStructure::*)( Graphic3d_CStructure & ) >(&Graphic3d_CStructure::Disconnect),
R"#(Disconnect other structure to this one)#" , py::arg("theStructure")
)
.def("GraphicHighlight",
(void (Graphic3d_CStructure::*)( const opencascade::handle<Graphic3d_PresentationAttributes> & ) ) static_cast<void (Graphic3d_CStructure::*)( const opencascade::handle<Graphic3d_PresentationAttributes> & ) >(&Graphic3d_CStructure::GraphicHighlight),
R"#(Highlights structure with the given style)#" , py::arg("theStyle")
)
.def("GraphicUnhighlight",
(void (Graphic3d_CStructure::*)() ) static_cast<void (Graphic3d_CStructure::*)() >(&Graphic3d_CStructure::GraphicUnhighlight),
R"#(Unhighlights the structure and invalidates pointer to structure's highlight style)#"
)
.def("ShadowLink",
(opencascade::handle<Graphic3d_CStructure> (Graphic3d_CStructure::*)( const opencascade::handle<Graphic3d_StructureManager> & ) const) static_cast<opencascade::handle<Graphic3d_CStructure> (Graphic3d_CStructure::*)( const opencascade::handle<Graphic3d_StructureManager> & ) const>(&Graphic3d_CStructure::ShadowLink),
R"#(Create shadow link to this structure)#" , py::arg("theManager")
)
.def("NewGroup",
(opencascade::handle<Graphic3d_Group> (Graphic3d_CStructure::*)( const opencascade::handle<Graphic3d_Structure> & ) ) static_cast<opencascade::handle<Graphic3d_Group> (Graphic3d_CStructure::*)( const opencascade::handle<Graphic3d_Structure> & ) >(&Graphic3d_CStructure::NewGroup),
R"#(Create new group within this structure)#" , py::arg("theStruct")
)
.def("RemoveGroup",
(void (Graphic3d_CStructure::*)( const opencascade::handle<Graphic3d_Group> & ) ) static_cast<void (Graphic3d_CStructure::*)( const opencascade::handle<Graphic3d_Group> & ) >(&Graphic3d_CStructure::RemoveGroup),
R"#(Remove group from this structure)#" , py::arg("theGroup")
)
.def("updateLayerTransformation",
(void (Graphic3d_CStructure::*)() ) static_cast<void (Graphic3d_CStructure::*)() >(&Graphic3d_CStructure::updateLayerTransformation),
R"#(Update render transformation matrix.)#"
)
.def("DumpJson",
(void (Graphic3d_CStructure::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_CStructure::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_CStructure::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_CStructure::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_CStructure::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_CStructure::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_CStructure::*)() const>(&Graphic3d_CStructure::DynamicType),
R"#(None)#"
)
.def("GraphicDriver",
(const opencascade::handle<Graphic3d_GraphicDriver> & (Graphic3d_CStructure::*)() const) static_cast<const opencascade::handle<Graphic3d_GraphicDriver> & (Graphic3d_CStructure::*)() const>(&Graphic3d_CStructure::GraphicDriver),
R"#(Returns graphic driver created this structure)#"
)
.def("Groups",
(const Graphic3d_SequenceOfGroup & (Graphic3d_CStructure::*)() const) static_cast<const Graphic3d_SequenceOfGroup & (Graphic3d_CStructure::*)() const>(&Graphic3d_CStructure::Groups),
R"#(Returns graphic groups)#"
)
.def("Transformation",
(const opencascade::handle<TopLoc_Datum3D> & (Graphic3d_CStructure::*)() const) static_cast<const opencascade::handle<TopLoc_Datum3D> & (Graphic3d_CStructure::*)() const>(&Graphic3d_CStructure::Transformation),
R"#(Return transformation.)#"
)
.def("TransformPersistence",
(const opencascade::handle<Graphic3d_TransformPers> & (Graphic3d_CStructure::*)() const) static_cast<const opencascade::handle<Graphic3d_TransformPers> & (Graphic3d_CStructure::*)() const>(&Graphic3d_CStructure::TransformPersistence),
R"#(Return transformation persistence.)#"
)
.def("ClipPlanes",
(const opencascade::handle<Graphic3d_SequenceOfHClipPlane> & (Graphic3d_CStructure::*)() const) static_cast<const opencascade::handle<Graphic3d_SequenceOfHClipPlane> & (Graphic3d_CStructure::*)() const>(&Graphic3d_CStructure::ClipPlanes),
R"#(Returns associated clip planes)#"
)
.def("BoundingBox",
(const Graphic3d_BndBox3d & (Graphic3d_CStructure::*)() const) static_cast<const Graphic3d_BndBox3d & (Graphic3d_CStructure::*)() const>(&Graphic3d_CStructure::BoundingBox),
R"#(Returns bounding box of this presentation)#"
)
.def("ChangeBoundingBox",
(Graphic3d_BndBox3d & (Graphic3d_CStructure::*)() ) static_cast<Graphic3d_BndBox3d & (Graphic3d_CStructure::*)() >(&Graphic3d_CStructure::ChangeBoundingBox),
R"#(Returns bounding box of this presentation without transformation matrix applied)#"
, py::return_value_policy::reference_internal
)
.def("HighlightStyle",
(const opencascade::handle<Graphic3d_PresentationAttributes> & (Graphic3d_CStructure::*)() const) static_cast<const opencascade::handle<Graphic3d_PresentationAttributes> & (Graphic3d_CStructure::*)() const>(&Graphic3d_CStructure::HighlightStyle),
R"#(Returns valid handle to highlight style of the structure in case if highlight flag is set to true)#"
)
;
// Class Graphic3d_Camera from ./opencascade/Graphic3d_Camera.hxx
klass = m.attr("Graphic3d_Camera");
// nested enums
py::enum_<Graphic3d_Camera::Projection>(klass, "Projection_e", R"#(Enumerates supported monographic projections. - Projection_Orthographic : orthographic projection. - Projection_Perspective : perspective projection. - Projection_Stereo : stereographic projection. - Projection_MonoLeftEye : mono projection for stereo left eye. - Projection_MonoRightEye : mono projection for stereo right eye.)#")
.value("Projection_Orthographic", Graphic3d_Camera::Projection::Projection_Orthographic)
.value("Projection_Perspective", Graphic3d_Camera::Projection::Projection_Perspective)
.value("Projection_Stereo", Graphic3d_Camera::Projection::Projection_Stereo)
.value("Projection_MonoLeftEye", Graphic3d_Camera::Projection::Projection_MonoLeftEye)
.value("Projection_MonoRightEye", Graphic3d_Camera::Projection::Projection_MonoRightEye).export_values();
py::enum_<Graphic3d_Camera::FocusType>(klass, "FocusType_e", R"#(Enumerates approaches to define stereographic focus. - FocusType_Absolute : focus is specified as absolute value. - FocusType_Relative : focus is specified relative to (as coefficient of) camera focal length.)#")
.value("FocusType_Absolute", Graphic3d_Camera::FocusType::FocusType_Absolute)
.value("FocusType_Relative", Graphic3d_Camera::FocusType::FocusType_Relative).export_values();
py::enum_<Graphic3d_Camera::IODType>(klass, "IODType_e", R"#(Enumerates approaches to define Intraocular distance. - IODType_Absolute : Intraocular distance is defined as absolute value. - IODType_Relative : Intraocular distance is defined relative to (as coefficient of) camera focal length.)#")
.value("IODType_Absolute", Graphic3d_Camera::IODType::IODType_Absolute)
.value("IODType_Relative", Graphic3d_Camera::IODType::IODType_Relative).export_values();
klass.attr("FrustumVert_LeftBottomNear") = py::cast(int(Graphic3d_Camera::FrustumVert_LeftBottomNear));
klass.attr("FrustumVert_LeftBottomFar") = py::cast(int(Graphic3d_Camera::FrustumVert_LeftBottomFar));
klass.attr("FrustumVert_LeftTopNear") = py::cast(int(Graphic3d_Camera::FrustumVert_LeftTopNear));
klass.attr("FrustumVert_LeftTopFar") = py::cast(int(Graphic3d_Camera::FrustumVert_LeftTopFar));
klass.attr("FrustumVert_RightBottomNear") = py::cast(int(Graphic3d_Camera::FrustumVert_RightBottomNear));
klass.attr("FrustumVert_RightBottomFar") = py::cast(int(Graphic3d_Camera::FrustumVert_RightBottomFar));
klass.attr("FrustumVert_RightTopNear") = py::cast(int(Graphic3d_Camera::FrustumVert_RightTopNear));
klass.attr("FrustumVert_RightTopFar") = py::cast(int(Graphic3d_Camera::FrustumVert_RightTopFar));
klass.attr("FrustumVerticesNB") = py::cast(int(Graphic3d_Camera::FrustumVerticesNB));
static_cast<py::class_<Graphic3d_Camera ,opencascade::handle<Graphic3d_Camera> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const opencascade::handle<Graphic3d_Camera> & >() , py::arg("theOther") )
// custom constructors
// methods
.def("CopyMappingData",
(void (Graphic3d_Camera::*)( const opencascade::handle<Graphic3d_Camera> & ) ) static_cast<void (Graphic3d_Camera::*)( const opencascade::handle<Graphic3d_Camera> & ) >(&Graphic3d_Camera::CopyMappingData),
R"#(Initialize mapping related parameters from other camera handle.)#" , py::arg("theOtherCamera")
)
.def("CopyOrientationData",
(void (Graphic3d_Camera::*)( const opencascade::handle<Graphic3d_Camera> & ) ) static_cast<void (Graphic3d_Camera::*)( const opencascade::handle<Graphic3d_Camera> & ) >(&Graphic3d_Camera::CopyOrientationData),
R"#(Initialize orientation related parameters from other camera handle.)#" , py::arg("theOtherCamera")
)
.def("Copy",
(void (Graphic3d_Camera::*)( const opencascade::handle<Graphic3d_Camera> & ) ) static_cast<void (Graphic3d_Camera::*)( const opencascade::handle<Graphic3d_Camera> & ) >(&Graphic3d_Camera::Copy),
R"#(Copy properties of another camera.)#" , py::arg("theOther")
)
.def("SetDirectionFromEye",
(void (Graphic3d_Camera::*)( const gp_Dir & ) ) static_cast<void (Graphic3d_Camera::*)( const gp_Dir & ) >(&Graphic3d_Camera::SetDirectionFromEye),
R"#(Sets camera look direction preserving the current Eye() position. WARNING! This method does NOT verify that the current Up() vector is orthogonal to the new Direction.)#" , py::arg("theDir")
)
.def("SetDirection",
(void (Graphic3d_Camera::*)( const gp_Dir & ) ) static_cast<void (Graphic3d_Camera::*)( const gp_Dir & ) >(&Graphic3d_Camera::SetDirection),
R"#(Sets camera look direction and computes the new Eye position relative to current Center. WARNING! This method does NOT verify that the current Up() vector is orthogonal to the new Direction.)#" , py::arg("theDir")
)
.def("SetUp",
(void (Graphic3d_Camera::*)( const gp_Dir & ) ) static_cast<void (Graphic3d_Camera::*)( const gp_Dir & ) >(&Graphic3d_Camera::SetUp),
R"#(Sets camera Up direction vector, orthogonal to camera direction. WARNING! This method does NOT verify that the new Up vector is orthogonal to the current Direction().)#" , py::arg("theUp")
)
.def("OrthogonalizeUp",
(void (Graphic3d_Camera::*)() ) static_cast<void (Graphic3d_Camera::*)() >(&Graphic3d_Camera::OrthogonalizeUp),
R"#(Orthogonalize up direction vector.)#"
)
.def("OrthogonalizedUp",
(gp_Dir (Graphic3d_Camera::*)() const) static_cast<gp_Dir (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::OrthogonalizedUp),
R"#(Return a copy of orthogonalized up direction vector.)#"
)
.def("SideRight",
(gp_Dir (Graphic3d_Camera::*)() const) static_cast<gp_Dir (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::SideRight),
R"#(Right side direction.)#"
)
.def("MoveEyeTo",
(void (Graphic3d_Camera::*)( const gp_Pnt & ) ) static_cast<void (Graphic3d_Camera::*)( const gp_Pnt & ) >(&Graphic3d_Camera::MoveEyeTo),
R"#(Sets camera Eye position. Unlike SetEye(), this method only changes Eye point and preserves camera direction.)#" , py::arg("theEye")
)
.def("SetEyeAndCenter",
(void (Graphic3d_Camera::*)( const gp_Pnt & , const gp_Pnt & ) ) static_cast<void (Graphic3d_Camera::*)( const gp_Pnt & , const gp_Pnt & ) >(&Graphic3d_Camera::SetEyeAndCenter),
R"#(Sets camera Eye and Center positions.)#" , py::arg("theEye"), py::arg("theCenter")
)
.def("SetEye",
(void (Graphic3d_Camera::*)( const gp_Pnt & ) ) static_cast<void (Graphic3d_Camera::*)( const gp_Pnt & ) >(&Graphic3d_Camera::SetEye),
R"#(Sets camera Eye position. WARNING! For backward compatibility reasons, this method also changes view direction, so that the new direction is computed from new Eye position to old Center position.)#" , py::arg("theEye")
)
.def("Center",
(gp_Pnt (Graphic3d_Camera::*)() const) static_cast<gp_Pnt (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::Center),
R"#(Get Center of the camera, e.g. the point where camera looks at. This point is computed as Eye() translated along Direction() at Distance().)#"
)
.def("SetCenter",
(void (Graphic3d_Camera::*)( const gp_Pnt & ) ) static_cast<void (Graphic3d_Camera::*)( const gp_Pnt & ) >(&Graphic3d_Camera::SetCenter),
R"#(Sets Center of the camera, e.g. the point where camera looks at. This methods changes camera direction, so that the new direction is computed from current Eye position to specified Center position.)#" , py::arg("theCenter")
)
.def("Distance",
(Standard_Real (Graphic3d_Camera::*)() const) static_cast<Standard_Real (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::Distance),
R"#(Get distance of Eye from camera Center.)#"
)
.def("SetDistance",
(void (Graphic3d_Camera::*)( const Standard_Real ) ) static_cast<void (Graphic3d_Camera::*)( const Standard_Real ) >(&Graphic3d_Camera::SetDistance),
R"#(Set distance of Eye from camera Center.)#" , py::arg("theDistance")
)
.def("Scale",
(Standard_Real (Graphic3d_Camera::*)() const) static_cast<Standard_Real (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::Scale),
R"#(Get camera scale.)#"
)
.def("SetScale",
(void (Graphic3d_Camera::*)( const Standard_Real ) ) static_cast<void (Graphic3d_Camera::*)( const Standard_Real ) >(&Graphic3d_Camera::SetScale),
R"#(Sets camera scale. For orthographic projection the scale factor corresponds to parallel scale of view mapping (i.e. size of viewport). For perspective camera scale is converted to distance. The scale specifies equal size of the view projection in both dimensions assuming that the aspect is 1.0. The projection height and width are specified with the scale and correspondingly multiplied by the aspect.)#" , py::arg("theScale")
)
.def("SetAxialScale",
(void (Graphic3d_Camera::*)( const gp_XYZ & ) ) static_cast<void (Graphic3d_Camera::*)( const gp_XYZ & ) >(&Graphic3d_Camera::SetAxialScale),
R"#(Set camera axial scale.)#" , py::arg("theAxialScale")
)
.def("SetProjectionType",
(void (Graphic3d_Camera::*)( const Graphic3d_Camera::Projection ) ) static_cast<void (Graphic3d_Camera::*)( const Graphic3d_Camera::Projection ) >(&Graphic3d_Camera::SetProjectionType),
R"#(Change camera projection type. When switching to perspective projection from orthographic one, the ZNear and ZFar are reset to default values (0.001, 3000.0) if less than 0.0.)#" , py::arg("theProjection")
)
.def("ProjectionType",
(Graphic3d_Camera::Projection (Graphic3d_Camera::*)() const) static_cast<Graphic3d_Camera::Projection (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::ProjectionType),
R"#(Returns camera projection type.)#"
)
.def("IsOrthographic",
(Standard_Boolean (Graphic3d_Camera::*)() const) static_cast<Standard_Boolean (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::IsOrthographic),
R"#(Check that the camera projection is orthographic.)#"
)
.def("IsStereo",
(Standard_Boolean (Graphic3d_Camera::*)() const) static_cast<Standard_Boolean (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::IsStereo),
R"#(Check whether the camera projection is stereo. Please note that stereo rendering is now implemented with support of Quad buffering.)#"
)
.def("SetFOVy",
(void (Graphic3d_Camera::*)( const Standard_Real ) ) static_cast<void (Graphic3d_Camera::*)( const Standard_Real ) >(&Graphic3d_Camera::SetFOVy),
R"#(Set Field Of View (FOV) in y axis for perspective projection. Field of View in x axis is automatically scaled from view aspect ratio.)#" , py::arg("theFOVy")
)
.def("FOVy",
(Standard_Real (Graphic3d_Camera::*)() const) static_cast<Standard_Real (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::FOVy),
R"#(Get Field Of View (FOV) in y axis.)#"
)
.def("FOVx",
(Standard_Real (Graphic3d_Camera::*)() const) static_cast<Standard_Real (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::FOVx),
R"#(Get Field Of View (FOV) in x axis.)#"
)
.def("FOV2d",
(Standard_Real (Graphic3d_Camera::*)() const) static_cast<Standard_Real (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::FOV2d),
R"#(Get Field Of View (FOV) restriction for 2D on-screen elements; 180 degrees by default. When 2D FOV is smaller than FOVy or FOVx, 2D elements defined within offset from view corner will be extended to fit into specified 2D FOV. This can be useful to make 2D elements sharply visible, like in case of HMD normally having extra large FOVy.)#"
)
.def("SetFOV2d",
(void (Graphic3d_Camera::*)( Standard_Real ) ) static_cast<void (Graphic3d_Camera::*)( Standard_Real ) >(&Graphic3d_Camera::SetFOV2d),
R"#(Set Field Of View (FOV) restriction for 2D on-screen elements.)#" , py::arg("theFOV")
)
.def("FitMinMax",
(bool (Graphic3d_Camera::*)( const Bnd_Box & , const Standard_Real , const bool ) ) static_cast<bool (Graphic3d_Camera::*)( const Bnd_Box & , const Standard_Real , const bool ) >(&Graphic3d_Camera::FitMinMax),
R"#(Adjust camera to fit in specified AABB.)#" , py::arg("theBox"), py::arg("theResolution"), py::arg("theToEnlargeIfLine")
)
.def("ZFitAll",
(bool (Graphic3d_Camera::*)( const Standard_Real , const Bnd_Box & , const Bnd_Box & , Standard_Real & , Standard_Real & ) const) static_cast<bool (Graphic3d_Camera::*)( const Standard_Real , const Bnd_Box & , const Bnd_Box & , Standard_Real & , Standard_Real & ) const>(&Graphic3d_Camera::ZFitAll),
R"#(Estimate Z-min and Z-max planes of projection volume to match the displayed objects. The methods ensures that view volume will be close by depth range to the displayed objects. Fitting assumes that for orthogonal projection the view volume contains the displayed objects completely. For zoomed perspective view, the view volume is adjusted such that it contains the objects or their parts, located in front of the camera.)#" , py::arg("theScaleFactor"), py::arg("theMinMax"), py::arg("theGraphicBB"), py::arg("theZNear"), py::arg("theZFar")
)
.def("ZFitAll",
(void (Graphic3d_Camera::*)( const Standard_Real , const Bnd_Box & , const Bnd_Box & ) ) static_cast<void (Graphic3d_Camera::*)( const Standard_Real , const Bnd_Box & , const Bnd_Box & ) >(&Graphic3d_Camera::ZFitAll),
R"#(Change Z-min and Z-max planes of projection volume to match the displayed objects.)#" , py::arg("theScaleFactor"), py::arg("theMinMax"), py::arg("theGraphicBB")
)
.def("SetZRange",
(void (Graphic3d_Camera::*)( const Standard_Real , const Standard_Real ) ) static_cast<void (Graphic3d_Camera::*)( const Standard_Real , const Standard_Real ) >(&Graphic3d_Camera::SetZRange),
R"#(Change the Near and Far Z-clipping plane positions. For orthographic projection, theZNear, theZFar can be negative or positive. For perspective projection, only positive values are allowed. Program error exception is raised if non-positive values are specified for perspective projection or theZNear >= theZFar.)#" , py::arg("theZNear"), py::arg("theZFar")
)
.def("ZNear",
(Standard_Real (Graphic3d_Camera::*)() const) static_cast<Standard_Real (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::ZNear),
R"#(Get the Near Z-clipping plane position.)#"
)
.def("ZFar",
(Standard_Real (Graphic3d_Camera::*)() const) static_cast<Standard_Real (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::ZFar),
R"#(Get the Far Z-clipping plane position.)#"
)
.def("IsZeroToOneDepth",
(Standard_Boolean (Graphic3d_Camera::*)() const) static_cast<Standard_Boolean (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::IsZeroToOneDepth),
R"#(Return TRUE if camera should calculate projection matrix for [0, 1] depth range or for [-1, 1] range. FALSE by default.)#"
)
.def("SetZeroToOneDepth",
(void (Graphic3d_Camera::*)( Standard_Boolean ) ) static_cast<void (Graphic3d_Camera::*)( Standard_Boolean ) >(&Graphic3d_Camera::SetZeroToOneDepth),
R"#(Set using [0, 1] depth range or [-1, 1] range.)#" , py::arg("theIsZeroToOne")
)
.def("SetAspect",
(void (Graphic3d_Camera::*)( const Standard_Real ) ) static_cast<void (Graphic3d_Camera::*)( const Standard_Real ) >(&Graphic3d_Camera::SetAspect),
R"#(Changes width / height display ratio.)#" , py::arg("theAspect")
)
.def("Aspect",
(Standard_Real (Graphic3d_Camera::*)() const) static_cast<Standard_Real (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::Aspect),
R"#(Get camera display ratio.)#"
)
.def("SetZFocus",
(void (Graphic3d_Camera::*)( const Graphic3d_Camera::FocusType , const Standard_Real ) ) static_cast<void (Graphic3d_Camera::*)( const Graphic3d_Camera::FocusType , const Standard_Real ) >(&Graphic3d_Camera::SetZFocus),
R"#(Sets stereographic focus distance.)#" , py::arg("theType"), py::arg("theZFocus")
)
.def("ZFocus",
(Standard_Real (Graphic3d_Camera::*)() const) static_cast<Standard_Real (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::ZFocus),
R"#(Get stereographic focus value.)#"
)
.def("ZFocusType",
(Graphic3d_Camera::FocusType (Graphic3d_Camera::*)() const) static_cast<Graphic3d_Camera::FocusType (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::ZFocusType),
R"#(Get stereographic focus definition type.)#"
)
.def("SetIOD",
(void (Graphic3d_Camera::*)( const Graphic3d_Camera::IODType , const Standard_Real ) ) static_cast<void (Graphic3d_Camera::*)( const Graphic3d_Camera::IODType , const Standard_Real ) >(&Graphic3d_Camera::SetIOD),
R"#(Sets Intraocular distance.)#" , py::arg("theType"), py::arg("theIOD")
)
.def("IOD",
(Standard_Real (Graphic3d_Camera::*)() const) static_cast<Standard_Real (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::IOD),
R"#(Get Intraocular distance value.)#"
)
.def("GetIODType",
(Graphic3d_Camera::IODType (Graphic3d_Camera::*)() const) static_cast<Graphic3d_Camera::IODType (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::GetIODType),
R"#(Get Intraocular distance definition type.)#"
)
.def("SetTile",
(void (Graphic3d_Camera::*)( const Graphic3d_CameraTile & ) ) static_cast<void (Graphic3d_Camera::*)( const Graphic3d_CameraTile & ) >(&Graphic3d_Camera::SetTile),
R"#(Sets the Tile defining the drawing sub-area within View. Note that tile defining a region outside the view boundaries is also valid - use method Graphic3d_CameraTile::Cropped() to assign a cropped copy.)#" , py::arg("theTile")
)
.def("SetIdentityOrientation",
(void (Graphic3d_Camera::*)() ) static_cast<void (Graphic3d_Camera::*)() >(&Graphic3d_Camera::SetIdentityOrientation),
R"#(Sets camera parameters to make current orientation matrix identity one.)#"
)
.def("Transform",
(void (Graphic3d_Camera::*)( const gp_Trsf & ) ) static_cast<void (Graphic3d_Camera::*)( const gp_Trsf & ) >(&Graphic3d_Camera::Transform),
R"#(Transform orientation components of the camera: Eye, Up and Center points.)#" , py::arg("theTrsf")
)
.def("ViewDimensions",
(gp_XYZ (Graphic3d_Camera::*)() const) static_cast<gp_XYZ (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::ViewDimensions),
R"#(Calculate view plane size at center (target) point and distance between ZFar and ZNear planes.)#"
)
.def("ViewDimensions",
(gp_XYZ (Graphic3d_Camera::*)( const Standard_Real ) const) static_cast<gp_XYZ (Graphic3d_Camera::*)( const Standard_Real ) const>(&Graphic3d_Camera::ViewDimensions),
R"#(Calculate view plane size at center point with specified Z offset and distance between ZFar and ZNear planes.)#" , py::arg("theZValue")
)
.def("NDC2dOffsetX",
(Standard_Real (Graphic3d_Camera::*)() const) static_cast<Standard_Real (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::NDC2dOffsetX),
R"#(Return offset to the view corner in NDC space within dimension X for 2d on-screen elements, which is normally 0.5. Can be clamped when FOVx exceeds FOV2d.)#"
)
.def("NDC2dOffsetY",
(Standard_Real (Graphic3d_Camera::*)() const) static_cast<Standard_Real (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::NDC2dOffsetY),
R"#(Return offset to the view corner in NDC space within dimension X for 2d on-screen elements, which is normally 0.5. Can be clamped when FOVy exceeds FOV2d.)#"
)
.def("Frustum",
(void (Graphic3d_Camera::*)( gp_Pln & , gp_Pln & , gp_Pln & , gp_Pln & , gp_Pln & , gp_Pln & ) const) static_cast<void (Graphic3d_Camera::*)( gp_Pln & , gp_Pln & , gp_Pln & , gp_Pln & , gp_Pln & , gp_Pln & ) const>(&Graphic3d_Camera::Frustum),
R"#(Calculate WCS frustum planes for the camera projection volume. Frustum is a convex volume determined by six planes directing inwards. The frustum planes are usually used as inputs for camera algorithms. Thus, if any changes to projection matrix calculation are necessary, the frustum planes calculation should be also touched.)#" , py::arg("theLeft"), py::arg("theRight"), py::arg("theBottom"), py::arg("theTop"), py::arg("theNear"), py::arg("theFar")
)
.def("Project",
(gp_Pnt (Graphic3d_Camera::*)( const gp_Pnt & ) const) static_cast<gp_Pnt (Graphic3d_Camera::*)( const gp_Pnt & ) const>(&Graphic3d_Camera::Project),
R"#(Project point from world coordinate space to normalized device coordinates (mapping).)#" , py::arg("thePnt")
)
.def("UnProject",
(gp_Pnt (Graphic3d_Camera::*)( const gp_Pnt & ) const) static_cast<gp_Pnt (Graphic3d_Camera::*)( const gp_Pnt & ) const>(&Graphic3d_Camera::UnProject),
R"#(Unproject point from normalized device coordinates to world coordinate space.)#" , py::arg("thePnt")
)
.def("ConvertView2Proj",
(gp_Pnt (Graphic3d_Camera::*)( const gp_Pnt & ) const) static_cast<gp_Pnt (Graphic3d_Camera::*)( const gp_Pnt & ) const>(&Graphic3d_Camera::ConvertView2Proj),
R"#(Convert point from view coordinate space to projection coordinate space.)#" , py::arg("thePnt")
)
.def("ConvertProj2View",
(gp_Pnt (Graphic3d_Camera::*)( const gp_Pnt & ) const) static_cast<gp_Pnt (Graphic3d_Camera::*)( const gp_Pnt & ) const>(&Graphic3d_Camera::ConvertProj2View),
R"#(Convert point from projection coordinate space to view coordinate space.)#" , py::arg("thePnt")
)
.def("ConvertWorld2View",
(gp_Pnt (Graphic3d_Camera::*)( const gp_Pnt & ) const) static_cast<gp_Pnt (Graphic3d_Camera::*)( const gp_Pnt & ) const>(&Graphic3d_Camera::ConvertWorld2View),
R"#(Convert point from world coordinate space to view coordinate space.)#" , py::arg("thePnt")
)
.def("ConvertView2World",
(gp_Pnt (Graphic3d_Camera::*)( const gp_Pnt & ) const) static_cast<gp_Pnt (Graphic3d_Camera::*)( const gp_Pnt & ) const>(&Graphic3d_Camera::ConvertView2World),
R"#(Convert point from view coordinate space to world coordinates.)#" , py::arg("thePnt")
)
.def("ProjectionState",
(Standard_Size (Graphic3d_Camera::*)() const) static_cast<Standard_Size (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::ProjectionState),
R"#(Returns modification state of camera projection matrix)#"
)
.def("WorldViewState",
(Standard_Size (Graphic3d_Camera::*)() const) static_cast<Standard_Size (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::WorldViewState),
R"#(Returns modification state of camera world view transformation matrix.)#"
)
.def("InvalidateProjection",
(void (Graphic3d_Camera::*)() ) static_cast<void (Graphic3d_Camera::*)() >(&Graphic3d_Camera::InvalidateProjection),
R"#(Invalidate state of projection matrix. The matrix will be updated on request.)#"
)
.def("InvalidateOrientation",
(void (Graphic3d_Camera::*)() ) static_cast<void (Graphic3d_Camera::*)() >(&Graphic3d_Camera::InvalidateOrientation),
R"#(Invalidate orientation matrix. The matrix will be updated on request.)#"
)
.def("StereoProjection",
(void (Graphic3d_Camera::*)( NCollection_Mat4<Standard_Real> & , NCollection_Mat4<Standard_Real> & , NCollection_Mat4<Standard_Real> & , NCollection_Mat4<Standard_Real> & ) const) static_cast<void (Graphic3d_Camera::*)( NCollection_Mat4<Standard_Real> & , NCollection_Mat4<Standard_Real> & , NCollection_Mat4<Standard_Real> & , NCollection_Mat4<Standard_Real> & ) const>(&Graphic3d_Camera::StereoProjection),
R"#(Get stereo projection matrices.)#" , py::arg("theProjL"), py::arg("theHeadToEyeL"), py::arg("theProjR"), py::arg("theHeadToEyeR")
)
.def("StereoProjectionF",
(void (Graphic3d_Camera::*)( NCollection_Mat4<Standard_ShortReal> & , NCollection_Mat4<Standard_ShortReal> & , NCollection_Mat4<Standard_ShortReal> & , NCollection_Mat4<Standard_ShortReal> & ) const) static_cast<void (Graphic3d_Camera::*)( NCollection_Mat4<Standard_ShortReal> & , NCollection_Mat4<Standard_ShortReal> & , NCollection_Mat4<Standard_ShortReal> & , NCollection_Mat4<Standard_ShortReal> & ) const>(&Graphic3d_Camera::StereoProjectionF),
R"#(Get stereo projection matrices.)#" , py::arg("theProjL"), py::arg("theHeadToEyeL"), py::arg("theProjR"), py::arg("theHeadToEyeR")
)
.def("ResetCustomProjection",
(void (Graphic3d_Camera::*)() ) static_cast<void (Graphic3d_Camera::*)() >(&Graphic3d_Camera::ResetCustomProjection),
R"#(Unset all custom frustums and projection matrices.)#"
)
.def("IsCustomStereoFrustum",
(bool (Graphic3d_Camera::*)() const) static_cast<bool (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::IsCustomStereoFrustum),
R"#(Return TRUE if custom stereo frustums are set.)#"
)
.def("SetCustomStereoFrustums",
(void (Graphic3d_Camera::*)( const Aspect_FrustumLRBT<Standard_Real> & , const Aspect_FrustumLRBT<Standard_Real> & ) ) static_cast<void (Graphic3d_Camera::*)( const Aspect_FrustumLRBT<Standard_Real> & , const Aspect_FrustumLRBT<Standard_Real> & ) >(&Graphic3d_Camera::SetCustomStereoFrustums),
R"#(Set custom stereo frustums. These can be retrieved from APIs like OpenVR.)#" , py::arg("theFrustumL"), py::arg("theFrustumR")
)
.def("IsCustomStereoProjection",
(bool (Graphic3d_Camera::*)() const) static_cast<bool (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::IsCustomStereoProjection),
R"#(Return TRUE if custom stereo projection matrices are set.)#"
)
.def("SetCustomStereoProjection",
(void (Graphic3d_Camera::*)( const NCollection_Mat4<Standard_Real> & , const NCollection_Mat4<Standard_Real> & , const NCollection_Mat4<Standard_Real> & , const NCollection_Mat4<Standard_Real> & ) ) static_cast<void (Graphic3d_Camera::*)( const NCollection_Mat4<Standard_Real> & , const NCollection_Mat4<Standard_Real> & , const NCollection_Mat4<Standard_Real> & , const NCollection_Mat4<Standard_Real> & ) >(&Graphic3d_Camera::SetCustomStereoProjection),
R"#(Set custom stereo projection matrices.)#" , py::arg("theProjL"), py::arg("theHeadToEyeL"), py::arg("theProjR"), py::arg("theHeadToEyeR")
)
.def("IsCustomMonoProjection",
(bool (Graphic3d_Camera::*)() const) static_cast<bool (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::IsCustomMonoProjection),
R"#(Return TRUE if custom projection matrix is set.)#"
)
.def("SetCustomMonoProjection",
(void (Graphic3d_Camera::*)( const NCollection_Mat4<Standard_Real> & ) ) static_cast<void (Graphic3d_Camera::*)( const NCollection_Mat4<Standard_Real> & ) >(&Graphic3d_Camera::SetCustomMonoProjection),
R"#(Set custom projection matrix.)#" , py::arg("theProj")
)
.def("DumpJson",
(void (Graphic3d_Camera::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_Camera::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_Camera::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
.def("FrustumPoints",
(void (Graphic3d_Camera::*)( NCollection_Array1<Graphic3d_Vec3d> & , const NCollection_Mat4<Standard_Real> & ) const) static_cast<void (Graphic3d_Camera::*)( NCollection_Array1<Graphic3d_Vec3d> & , const NCollection_Mat4<Standard_Real> & ) const>(&Graphic3d_Camera::FrustumPoints),
R"#(Fill array of current view frustum corners. The size of this array is equal to FrustumVerticesNB. The order of vertices is as defined in FrustumVert_* enumeration.)#" , py::arg("thePoints"), py::arg("theModelWorld")=static_cast< const NCollection_Mat4<Standard_Real> &>(Graphic3d_Mat4d ( ))
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_Camera::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_Camera::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
.def_static("Interpolate_s",
[](const opencascade::handle<Graphic3d_Camera> & theStart,const opencascade::handle<Graphic3d_Camera> & theEnd,const double theT,Graphic3d_Camera& theCamera ){
opencascade::handle<Graphic3d_Camera> theCamera_ptr; theCamera_ptr = &theCamera;
Graphic3d_Camera::Interpolate(theStart,theEnd,theT,theCamera_ptr);
if ( theCamera_ptr.get() != &theCamera ) copy_if_copy_constructible(theCamera, *theCamera_ptr);
},
R"#(Linear interpolation tool for camera orientation and position. This tool interpolates camera parameters scale, eye, center, rotation (up and direction vectors) independently.)#" , py::arg("theStart"), py::arg("theEnd"), py::arg("theT"), py::arg("theCamera")
)
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Direction",
(const gp_Dir & (Graphic3d_Camera::*)() const) static_cast<const gp_Dir & (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::Direction),
R"#(Get camera look direction.)#"
)
.def("Up",
(const gp_Dir & (Graphic3d_Camera::*)() const) static_cast<const gp_Dir & (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::Up),
R"#(Get camera Up direction vector.)#"
)
.def("Eye",
(const gp_Pnt & (Graphic3d_Camera::*)() const) static_cast<const gp_Pnt & (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::Eye),
R"#(Get camera Eye position.)#"
)
.def("AxialScale",
(const gp_XYZ & (Graphic3d_Camera::*)() const) static_cast<const gp_XYZ & (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::AxialScale),
R"#(Get camera axial scale.)#"
)
.def("Tile",
(const Graphic3d_CameraTile & (Graphic3d_Camera::*)() const) static_cast<const Graphic3d_CameraTile & (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::Tile),
R"#(Get current tile.)#"
)
.def("WorldViewProjState",
(const Graphic3d_WorldViewProjState & (Graphic3d_Camera::*)() const) static_cast<const Graphic3d_WorldViewProjState & (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::WorldViewProjState),
R"#(Returns projection modification state of the camera.)#"
)
.def("OrientationMatrix",
(const Graphic3d_Mat4d & (Graphic3d_Camera::*)() const) static_cast<const Graphic3d_Mat4d & (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::OrientationMatrix),
R"#(Get orientation matrix.)#"
)
.def("OrientationMatrixF",
(const Graphic3d_Mat4 & (Graphic3d_Camera::*)() const) static_cast<const Graphic3d_Mat4 & (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::OrientationMatrixF),
R"#(Get orientation matrix of Standard_ShortReal precision.)#"
)
.def("ProjectionMatrix",
(const Graphic3d_Mat4d & (Graphic3d_Camera::*)() const) static_cast<const Graphic3d_Mat4d & (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::ProjectionMatrix),
R"#(Get monographic or middle point projection matrix used for monographic rendering and for point projection / unprojection.)#"
)
.def("ProjectionMatrixF",
(const Graphic3d_Mat4 & (Graphic3d_Camera::*)() const) static_cast<const Graphic3d_Mat4 & (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::ProjectionMatrixF),
R"#(Get monographic or middle point projection matrix of Standard_ShortReal precision used for monographic rendering and for point projection / unprojection.)#"
)
.def("ProjectionStereoLeft",
(const Graphic3d_Mat4d & (Graphic3d_Camera::*)() const) static_cast<const Graphic3d_Mat4d & (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::ProjectionStereoLeft),
R"#(Returns stereographic matrix computed for left eye. Please note that this method is used for rendering for Projection_Stereo.)#"
)
.def("ProjectionStereoLeftF",
(const Graphic3d_Mat4 & (Graphic3d_Camera::*)() const) static_cast<const Graphic3d_Mat4 & (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::ProjectionStereoLeftF),
R"#(Returns stereographic matrix of Standard_ShortReal precision computed for left eye. Please note that this method is used for rendering for Projection_Stereo.)#"
)
.def("ProjectionStereoRight",
(const Graphic3d_Mat4d & (Graphic3d_Camera::*)() const) static_cast<const Graphic3d_Mat4d & (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::ProjectionStereoRight),
R"#(Returns stereographic matrix computed for right eye. Please note that this method is used for rendering for Projection_Stereo.)#"
)
.def("ProjectionStereoRightF",
(const Graphic3d_Mat4 & (Graphic3d_Camera::*)() const) static_cast<const Graphic3d_Mat4 & (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::ProjectionStereoRightF),
R"#(Returns stereographic matrix of Standard_ShortReal precision computed for right eye. Please note that this method is used for rendering for Projection_Stereo.)#"
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_Camera::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_Camera::*)() const>(&Graphic3d_Camera::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_CameraTile from ./opencascade/Graphic3d_CameraTile.hxx
klass = m.attr("Graphic3d_CameraTile");
// nested enums
static_cast<py::class_<Graphic3d_CameraTile , shared_ptr<Graphic3d_CameraTile> >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("IsValid",
(bool (Graphic3d_CameraTile::*)() const) static_cast<bool (Graphic3d_CameraTile::*)() const>(&Graphic3d_CameraTile::IsValid),
R"#(Return true if Tile has been defined.)#"
)
.def("OffsetLowerLeft",
(Graphic3d_Vec2i (Graphic3d_CameraTile::*)() const) static_cast<Graphic3d_Vec2i (Graphic3d_CameraTile::*)() const>(&Graphic3d_CameraTile::OffsetLowerLeft),
R"#(Return offset position from lower-left corner.)#"
)
.def("Cropped",
(Graphic3d_CameraTile (Graphic3d_CameraTile::*)() const) static_cast<Graphic3d_CameraTile (Graphic3d_CameraTile::*)() const>(&Graphic3d_CameraTile::Cropped),
R"#(Return the copy cropped by total size)#"
)
.def("DumpJson",
(void (Graphic3d_CameraTile::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_CameraTile::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_CameraTile::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
.def_readwrite("TotalSize", &Graphic3d_CameraTile::TotalSize)
.def_readwrite("TileSize", &Graphic3d_CameraTile::TileSize)
.def_readwrite("Offset", &Graphic3d_CameraTile::Offset)
// methods returning by ref wrapped as properties
;
// Class Graphic3d_ClipPlane from ./opencascade/Graphic3d_ClipPlane.hxx
klass = m.attr("Graphic3d_ClipPlane");
// nested enums
static_cast<py::class_<Graphic3d_ClipPlane ,opencascade::handle<Graphic3d_ClipPlane> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Graphic3d_ClipPlane & >() , py::arg("theOther") )
.def(py::init< const NCollection_Vec4<Standard_Real> & >() , py::arg("theEquation") )
.def(py::init< const gp_Pln & >() , py::arg("thePlane") )
// custom constructors
// methods
.def("SetEquation",
(void (Graphic3d_ClipPlane::*)( const gp_Pln & ) ) static_cast<void (Graphic3d_ClipPlane::*)( const gp_Pln & ) >(&Graphic3d_ClipPlane::SetEquation),
R"#(Set plane equation by its geometrical definition. The equation is specified in "world" coordinate system.)#" , py::arg("thePlane")
)
.def("SetEquation",
(void (Graphic3d_ClipPlane::*)( const NCollection_Vec4<Standard_Real> & ) ) static_cast<void (Graphic3d_ClipPlane::*)( const NCollection_Vec4<Standard_Real> & ) >(&Graphic3d_ClipPlane::SetEquation),
R"#(Set 4-component equation vector for clipping plane. The equation is specified in "world" coordinate system.)#" , py::arg("theEquation")
)
.def("IsOn",
(Standard_Boolean (Graphic3d_ClipPlane::*)() const) static_cast<Standard_Boolean (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::IsOn),
R"#(Check that the clipping plane is turned on.)#"
)
.def("SetOn",
(void (Graphic3d_ClipPlane::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_ClipPlane::*)( const Standard_Boolean ) >(&Graphic3d_ClipPlane::SetOn),
R"#(Change state of the clipping plane.)#" , py::arg("theIsOn")
)
.def("SetCapping",
(void (Graphic3d_ClipPlane::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_ClipPlane::*)( const Standard_Boolean ) >(&Graphic3d_ClipPlane::SetCapping),
R"#(Change state of capping surface rendering.)#" , py::arg("theIsOn")
)
.def("IsCapping",
(Standard_Boolean (Graphic3d_ClipPlane::*)() const) static_cast<Standard_Boolean (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::IsCapping),
R"#(Check state of capping surface rendering.)#"
)
.def("Clone",
(opencascade::handle<Graphic3d_ClipPlane> (Graphic3d_ClipPlane::*)() const) static_cast<opencascade::handle<Graphic3d_ClipPlane> (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::Clone),
R"#(Clone plane. Virtual method to simplify copying procedure if plane class is redefined at application level to add specific fields to it e.g. id, name, etc.)#"
)
.def("IsChain",
(Standard_Boolean (Graphic3d_ClipPlane::*)() const) static_cast<Standard_Boolean (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::IsChain),
R"#(Return TRUE if this item defines a conjunction (logical AND) between a set of Planes. Graphic3d_ClipPlane item defines either a Clipping halfspace (single Clipping Plane) or a Clipping volume defined by a logical AND (conjunction) operation between a set of Planes defined as a Chain (so that the volume cuts a space only in case if check fails for ALL Planes in the Chain).)#"
)
.def("ChainPreviousPlane",
(opencascade::handle<Graphic3d_ClipPlane> (Graphic3d_ClipPlane::*)() const) static_cast<opencascade::handle<Graphic3d_ClipPlane> (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::ChainPreviousPlane),
R"#(Return the previous plane in a Chain of Planes defining logical AND operation, or NULL if there is no Chain or it is a first element in Chain. When clipping is defined by a Chain of Planes, it cuts a space only in case if check fails for all Planes in Chain.)#"
)
.def("NbChainNextPlanes",
(Standard_Integer (Graphic3d_ClipPlane::*)() const) static_cast<Standard_Integer (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::NbChainNextPlanes),
R"#(Return the number of chains in forward direction (including this item, so it is always >= 1). For a head of Chain - returns the length of entire Chain.)#"
)
.def("SetChainNextPlane",
(void (Graphic3d_ClipPlane::*)( const opencascade::handle<Graphic3d_ClipPlane> & ) ) static_cast<void (Graphic3d_ClipPlane::*)( const opencascade::handle<Graphic3d_ClipPlane> & ) >(&Graphic3d_ClipPlane::SetChainNextPlane),
R"#(Set the next plane in a Chain of Planes. This operation also updates relationship between chains (Previous/Next items), so that the previously set Next plane is cut off.)#" , py::arg("thePlane")
)
.def("CappingColor",
(Quantity_Color (Graphic3d_ClipPlane::*)() const) static_cast<Quantity_Color (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::CappingColor),
R"#(Return color for rendering capping surface.)#"
)
.def("SetCappingColor",
(void (Graphic3d_ClipPlane::*)( const Quantity_Color & ) ) static_cast<void (Graphic3d_ClipPlane::*)( const Quantity_Color & ) >(&Graphic3d_ClipPlane::SetCappingColor),
R"#(Set color for rendering capping surface.)#" , py::arg("theColor")
)
.def("SetCappingMaterial",
(void (Graphic3d_ClipPlane::*)( const Graphic3d_MaterialAspect & ) ) static_cast<void (Graphic3d_ClipPlane::*)( const Graphic3d_MaterialAspect & ) >(&Graphic3d_ClipPlane::SetCappingMaterial),
R"#(Set material for rendering capping surface.)#" , py::arg("theMat")
)
.def("SetCappingTexture",
(void (Graphic3d_ClipPlane::*)( const opencascade::handle<Graphic3d_TextureMap> & ) ) static_cast<void (Graphic3d_ClipPlane::*)( const opencascade::handle<Graphic3d_TextureMap> & ) >(&Graphic3d_ClipPlane::SetCappingTexture),
R"#(Set texture to be applied on capping surface.)#" , py::arg("theTexture")
)
.def("CappingTexture",
(opencascade::handle<Graphic3d_TextureMap> (Graphic3d_ClipPlane::*)() const) static_cast<opencascade::handle<Graphic3d_TextureMap> (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::CappingTexture),
R"#(Returns capping texture map.)#"
)
.def("SetCappingHatch",
(void (Graphic3d_ClipPlane::*)( const Aspect_HatchStyle ) ) static_cast<void (Graphic3d_ClipPlane::*)( const Aspect_HatchStyle ) >(&Graphic3d_ClipPlane::SetCappingHatch),
R"#(Set hatch style (stipple) and turn hatching on.)#" , py::arg("theStyle")
)
.def("CappingHatch",
(Aspect_HatchStyle (Graphic3d_ClipPlane::*)() const) static_cast<Aspect_HatchStyle (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::CappingHatch),
R"#(Returns hatching style.)#"
)
.def("SetCappingCustomHatch",
(void (Graphic3d_ClipPlane::*)( const opencascade::handle<Graphic3d_HatchStyle> & ) ) static_cast<void (Graphic3d_ClipPlane::*)( const opencascade::handle<Graphic3d_HatchStyle> & ) >(&Graphic3d_ClipPlane::SetCappingCustomHatch),
R"#(Set custom hatch style (stipple) and turn hatching on.)#" , py::arg("theStyle")
)
.def("SetCappingHatchOn",
(void (Graphic3d_ClipPlane::*)() ) static_cast<void (Graphic3d_ClipPlane::*)() >(&Graphic3d_ClipPlane::SetCappingHatchOn),
R"#(Turn on hatching.)#"
)
.def("SetCappingHatchOff",
(void (Graphic3d_ClipPlane::*)() ) static_cast<void (Graphic3d_ClipPlane::*)() >(&Graphic3d_ClipPlane::SetCappingHatchOff),
R"#(Turn off hatching.)#"
)
.def("IsHatchOn",
(Standard_Boolean (Graphic3d_ClipPlane::*)() const) static_cast<Standard_Boolean (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::IsHatchOn),
R"#(Returns True if hatching mask is turned on.)#"
)
.def("SetCappingAspect",
(void (Graphic3d_ClipPlane::*)( const opencascade::handle<Graphic3d_AspectFillArea3d> & ) ) static_cast<void (Graphic3d_ClipPlane::*)( const opencascade::handle<Graphic3d_AspectFillArea3d> & ) >(&Graphic3d_ClipPlane::SetCappingAspect),
R"#(Assign capping aspect.)#" , py::arg("theAspect")
)
.def("ToUseObjectMaterial",
(bool (Graphic3d_ClipPlane::*)() const) static_cast<bool (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::ToUseObjectMaterial),
R"#(Flag indicating whether material for capping plane should be taken from object. Default value: FALSE (use dedicated capping plane material).)#"
)
.def("SetUseObjectMaterial",
(void (Graphic3d_ClipPlane::*)( bool ) ) static_cast<void (Graphic3d_ClipPlane::*)( bool ) >(&Graphic3d_ClipPlane::SetUseObjectMaterial),
R"#(Set flag for controlling the source of capping plane material.)#" , py::arg("theToUse")
)
.def("ToUseObjectTexture",
(bool (Graphic3d_ClipPlane::*)() const) static_cast<bool (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::ToUseObjectTexture),
R"#(Flag indicating whether texture for capping plane should be taken from object. Default value: FALSE.)#"
)
.def("SetUseObjectTexture",
(void (Graphic3d_ClipPlane::*)( bool ) ) static_cast<void (Graphic3d_ClipPlane::*)( bool ) >(&Graphic3d_ClipPlane::SetUseObjectTexture),
R"#(Set flag for controlling the source of capping plane texture.)#" , py::arg("theToUse")
)
.def("ToUseObjectShader",
(bool (Graphic3d_ClipPlane::*)() const) static_cast<bool (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::ToUseObjectShader),
R"#(Flag indicating whether shader program for capping plane should be taken from object. Default value: FALSE.)#"
)
.def("SetUseObjectShader",
(void (Graphic3d_ClipPlane::*)( bool ) ) static_cast<void (Graphic3d_ClipPlane::*)( bool ) >(&Graphic3d_ClipPlane::SetUseObjectShader),
R"#(Set flag for controlling the source of capping plane shader program.)#" , py::arg("theToUse")
)
.def("ToUseObjectProperties",
(bool (Graphic3d_ClipPlane::*)() const) static_cast<bool (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::ToUseObjectProperties),
R"#(Return true if some fill area aspect properties should be taken from object.)#"
)
.def("ProbePoint",
(Graphic3d_ClipState (Graphic3d_ClipPlane::*)( const NCollection_Vec4<Standard_Real> & ) const) static_cast<Graphic3d_ClipState (Graphic3d_ClipPlane::*)( const NCollection_Vec4<Standard_Real> & ) const>(&Graphic3d_ClipPlane::ProbePoint),
R"#(Check if the given point is outside / inside / on section.)#" , py::arg("thePoint")
)
.def("ProbeBox",
(Graphic3d_ClipState (Graphic3d_ClipPlane::*)( const BVH_Box<Standard_Real, 3> & ) const) static_cast<Graphic3d_ClipState (Graphic3d_ClipPlane::*)( const BVH_Box<Standard_Real, 3> & ) const>(&Graphic3d_ClipPlane::ProbeBox),
R"#(Check if the given bounding box is fully outside / fully inside.)#" , py::arg("theBox")
)
.def("ProbeBoxTouch",
(Standard_Boolean (Graphic3d_ClipPlane::*)( const BVH_Box<Standard_Real, 3> & ) const) static_cast<Standard_Boolean (Graphic3d_ClipPlane::*)( const BVH_Box<Standard_Real, 3> & ) const>(&Graphic3d_ClipPlane::ProbeBoxTouch),
R"#(Check if the given bounding box is In and touch the clipping planes)#" , py::arg("theBox")
)
.def("ProbePointHalfspace",
(Graphic3d_ClipState (Graphic3d_ClipPlane::*)( const NCollection_Vec4<Standard_Real> & ) const) static_cast<Graphic3d_ClipState (Graphic3d_ClipPlane::*)( const NCollection_Vec4<Standard_Real> & ) const>(&Graphic3d_ClipPlane::ProbePointHalfspace),
R"#(Check if the given point is outside of the half-space (e.g. should be discarded by clipping plane).)#" , py::arg("thePoint")
)
.def("ProbeBoxHalfspace",
(Graphic3d_ClipState (Graphic3d_ClipPlane::*)( const BVH_Box<Standard_Real, 3> & ) const) static_cast<Graphic3d_ClipState (Graphic3d_ClipPlane::*)( const BVH_Box<Standard_Real, 3> & ) const>(&Graphic3d_ClipPlane::ProbeBoxHalfspace),
R"#(Check if the given bounding box is fully outside / fully inside the half-space.)#" , py::arg("theBox")
)
.def("IsPointOutHalfspace",
(bool (Graphic3d_ClipPlane::*)( const NCollection_Vec4<Standard_Real> & ) const) static_cast<bool (Graphic3d_ClipPlane::*)( const NCollection_Vec4<Standard_Real> & ) const>(&Graphic3d_ClipPlane::IsPointOutHalfspace),
R"#(Check if the given point is outside of the half-space (e.g. should be discarded by clipping plane).)#" , py::arg("thePoint")
)
.def("IsBoxFullOutHalfspace",
(bool (Graphic3d_ClipPlane::*)( const BVH_Box<Standard_Real, 3> & ) const) static_cast<bool (Graphic3d_ClipPlane::*)( const BVH_Box<Standard_Real, 3> & ) const>(&Graphic3d_ClipPlane::IsBoxFullOutHalfspace),
R"#(Check if the given bounding box is fully outside of the half-space (e.g. should be discarded by clipping plane).)#" , py::arg("theBox")
)
.def("ProbeBoxMaxPointHalfspace",
(Graphic3d_ClipState (Graphic3d_ClipPlane::*)( const BVH_Box<Standard_Real, 3> & ) const) static_cast<Graphic3d_ClipState (Graphic3d_ClipPlane::*)( const BVH_Box<Standard_Real, 3> & ) const>(&Graphic3d_ClipPlane::ProbeBoxMaxPointHalfspace),
R"#(Check if the given bounding box is fully outside of the half-space (e.g. should be discarded by clipping plane).)#" , py::arg("theBox")
)
.def("IsBoxFullInHalfspace",
(bool (Graphic3d_ClipPlane::*)( const BVH_Box<Standard_Real, 3> & ) const) static_cast<bool (Graphic3d_ClipPlane::*)( const BVH_Box<Standard_Real, 3> & ) const>(&Graphic3d_ClipPlane::IsBoxFullInHalfspace),
R"#(Check if the given bounding box is fully inside (or touches from inside) the half-space (e.g. NOT discarded by clipping plane).)#" , py::arg("theBox")
)
.def("DumpJson",
(void (Graphic3d_ClipPlane::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_ClipPlane::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_ClipPlane::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
.def("MCountEquation",
(unsigned int (Graphic3d_ClipPlane::*)() const) static_cast<unsigned int (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::MCountEquation),
R"#(Returns modification counter for equation.)#"
)
.def("MCountAspect",
(unsigned int (Graphic3d_ClipPlane::*)() const) static_cast<unsigned int (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::MCountAspect),
R"#(Returns modification counter for aspect.)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_ClipPlane::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_ClipPlane::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_ClipPlane::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::DynamicType),
R"#(None)#"
)
.def("GetEquation",
(const Graphic3d_Vec4d & (Graphic3d_ClipPlane::*)() const) static_cast<const Graphic3d_Vec4d & (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::GetEquation),
R"#(Get 4-component equation vector for clipping plane.)#"
)
.def("ReversedEquation",
(const Graphic3d_Vec4d & (Graphic3d_ClipPlane::*)() const) static_cast<const Graphic3d_Vec4d & (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::ReversedEquation),
R"#(Get 4-component equation vector for clipping plane.)#"
)
.def("ToPlane",
(const gp_Pln & (Graphic3d_ClipPlane::*)() const) static_cast<const gp_Pln & (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::ToPlane),
R"#(Get geometrical definition.)#"
)
.def("ChainNextPlane",
(const opencascade::handle<Graphic3d_ClipPlane> & (Graphic3d_ClipPlane::*)() const) static_cast<const opencascade::handle<Graphic3d_ClipPlane> & (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::ChainNextPlane),
R"#(Return the next plane in a Chain of Planes defining logical AND operation, or NULL if there is no chain or it is a last element in chain.)#"
)
.def("CappingMaterial",
(const Graphic3d_MaterialAspect & (Graphic3d_ClipPlane::*)() const) static_cast<const Graphic3d_MaterialAspect & (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::CappingMaterial),
R"#(Returns capping material.)#"
)
.def("CappingCustomHatch",
(const opencascade::handle<Graphic3d_HatchStyle> & (Graphic3d_ClipPlane::*)() const) static_cast<const opencascade::handle<Graphic3d_HatchStyle> & (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::CappingCustomHatch),
R"#(Returns hatching style.)#"
)
.def("GetId",
(const TCollection_AsciiString & (Graphic3d_ClipPlane::*)() const) static_cast<const TCollection_AsciiString & (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::GetId),
R"#(This ID is used for managing associated resources in graphical driver. The clip plane can be assigned within a range of IO which can be displayed in separate OpenGl contexts. For each of the context an associated OpenGl resource for graphical aspects should be created and kept. The resources are stored in graphical driver for each of individual groups of shared context under the clip plane identifier.)#"
)
.def("CappingAspect",
(const opencascade::handle<Graphic3d_AspectFillArea3d> & (Graphic3d_ClipPlane::*)() const) static_cast<const opencascade::handle<Graphic3d_AspectFillArea3d> & (Graphic3d_ClipPlane::*)() const>(&Graphic3d_ClipPlane::CappingAspect),
R"#(Return capping aspect.)#"
)
;
// Class Graphic3d_CubeMapOrder from ./opencascade/Graphic3d_CubeMapOrder.hxx
klass = m.attr("Graphic3d_CubeMapOrder");
// nested enums
static_cast<py::class_<Graphic3d_CubeMapOrder , shared_ptr<Graphic3d_CubeMapOrder> >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< unsigned char,unsigned char,unsigned char,unsigned char,unsigned char,unsigned char >() , py::arg("thePosXLocation"), py::arg("theNegXLocation"), py::arg("thePosYLocation"), py::arg("theNegYLocation"), py::arg("thePosZLocation"), py::arg("theNegZLocation") )
.def(py::init< const Graphic3d_ValidatedCubeMapOrder & >() , py::arg("theOrder") )
// custom constructors
// methods
.def("Set",
(Graphic3d_CubeMapOrder & (Graphic3d_CubeMapOrder::*)( const Graphic3d_CubeMapOrder & ) ) static_cast<Graphic3d_CubeMapOrder & (Graphic3d_CubeMapOrder::*)( const Graphic3d_CubeMapOrder & ) >(&Graphic3d_CubeMapOrder::Set),
R"#(Alias of 'operator='.)#" , py::arg("theOrder")
)
.def("Validated",
(Graphic3d_ValidatedCubeMapOrder (Graphic3d_CubeMapOrder::*)() const) static_cast<Graphic3d_ValidatedCubeMapOrder (Graphic3d_CubeMapOrder::*)() const>(&Graphic3d_CubeMapOrder::Validated),
R"#(Checks whether order is valid and returns object containing it. If order is invalid then exception will be thrown. This method is only way to create Graphic3d_ValidatedCubeMapOrder except copy constructor.)#"
)
.def("Set",
(Graphic3d_CubeMapOrder & (Graphic3d_CubeMapOrder::*)( Graphic3d_CubeMapSide , unsigned char ) ) static_cast<Graphic3d_CubeMapOrder & (Graphic3d_CubeMapOrder::*)( Graphic3d_CubeMapSide , unsigned char ) >(&Graphic3d_CubeMapOrder::Set),
R"#(Sets number of tile in packed cubemap image according passed cubemap side.)#" , py::arg("theCubeMapSide"), py::arg("theValue")
)
.def("Permute",
(Graphic3d_CubeMapOrder & (Graphic3d_CubeMapOrder::*)( const Graphic3d_ValidatedCubeMapOrder & ) ) static_cast<Graphic3d_CubeMapOrder & (Graphic3d_CubeMapOrder::*)( const Graphic3d_ValidatedCubeMapOrder & ) >(&Graphic3d_CubeMapOrder::Permute),
R"#(Applies another cubemap order as permutation for the current one.)#" , py::arg("anOrder")
)
.def("Permuted",
(Graphic3d_CubeMapOrder (Graphic3d_CubeMapOrder::*)( const Graphic3d_ValidatedCubeMapOrder & ) const) static_cast<Graphic3d_CubeMapOrder (Graphic3d_CubeMapOrder::*)( const Graphic3d_ValidatedCubeMapOrder & ) const>(&Graphic3d_CubeMapOrder::Permuted),
R"#(Returns permuted by other cubemap order copy of current one.)#" , py::arg("anOrder")
)
.def("Swap",
(Graphic3d_CubeMapOrder & (Graphic3d_CubeMapOrder::*)( Graphic3d_CubeMapSide , Graphic3d_CubeMapSide ) ) static_cast<Graphic3d_CubeMapOrder & (Graphic3d_CubeMapOrder::*)( Graphic3d_CubeMapSide , Graphic3d_CubeMapSide ) >(&Graphic3d_CubeMapOrder::Swap),
R"#(Swaps values of two cubemap sides.)#" , py::arg("theFirstSide"), py::arg("theSecondSide")
)
.def("Swapped",
(Graphic3d_CubeMapOrder (Graphic3d_CubeMapOrder::*)( Graphic3d_CubeMapSide , Graphic3d_CubeMapSide ) const) static_cast<Graphic3d_CubeMapOrder (Graphic3d_CubeMapOrder::*)( Graphic3d_CubeMapSide , Graphic3d_CubeMapSide ) const>(&Graphic3d_CubeMapOrder::Swapped),
R"#(Returns copy of current order with swapped values of two cubemap sides.)#" , py::arg("theFirstSide"), py::arg("theSecondSide")
)
.def("Get",
(unsigned char (Graphic3d_CubeMapOrder::*)( Graphic3d_CubeMapSide ) const) static_cast<unsigned char (Graphic3d_CubeMapOrder::*)( Graphic3d_CubeMapSide ) const>(&Graphic3d_CubeMapOrder::Get),
R"#(Returns value of passed cubemap side.)#" , py::arg("theCubeMapSide")
)
.def("IsEmpty",
(bool (Graphic3d_CubeMapOrder::*)() const) static_cast<bool (Graphic3d_CubeMapOrder::*)() const>(&Graphic3d_CubeMapOrder::IsEmpty),
R"#(Checks whether order is empty.)#"
)
.def("HasRepetitions",
(bool (Graphic3d_CubeMapOrder::*)() const) static_cast<bool (Graphic3d_CubeMapOrder::*)() const>(&Graphic3d_CubeMapOrder::HasRepetitions),
R"#(Checks whether order has repetitions.)#"
)
.def("HasOverflows",
(bool (Graphic3d_CubeMapOrder::*)() const) static_cast<bool (Graphic3d_CubeMapOrder::*)() const>(&Graphic3d_CubeMapOrder::HasOverflows),
R"#(Checks whether attempts to assign index greater than 5 to any side happed.)#"
)
.def("IsValid",
(bool (Graphic3d_CubeMapOrder::*)() const) static_cast<bool (Graphic3d_CubeMapOrder::*)() const>(&Graphic3d_CubeMapOrder::IsValid),
R"#(Checks whether order is valid. Order is valid when it doesn't have repetitions and there were not attempts to assign indexes greater than 5.)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("Default_s",
(const Graphic3d_ValidatedCubeMapOrder & (*)() ) static_cast<const Graphic3d_ValidatedCubeMapOrder & (*)() >(&Graphic3d_CubeMapOrder::Default),
R"#(Returns default order in protector container class. It is guaranteed to be valid.)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("SetDefault",
(Graphic3d_CubeMapOrder & (Graphic3d_CubeMapOrder::*)() ) static_cast<Graphic3d_CubeMapOrder & (Graphic3d_CubeMapOrder::*)() >(&Graphic3d_CubeMapOrder::SetDefault),
R"#(Sets default order (just from 0 to 5))#"
, py::return_value_policy::reference_internal
)
.def("Clear",
(Graphic3d_CubeMapOrder & (Graphic3d_CubeMapOrder::*)() ) static_cast<Graphic3d_CubeMapOrder & (Graphic3d_CubeMapOrder::*)() >(&Graphic3d_CubeMapOrder::Clear),
R"#(Makes order empty.)#"
, py::return_value_policy::reference_internal
)
;
// Class Graphic3d_CullingTool from ./opencascade/Graphic3d_CullingTool.hxx
klass = m.attr("Graphic3d_CullingTool");
// nested enums
static_cast<py::class_<Graphic3d_CullingTool , shared_ptr<Graphic3d_CullingTool> >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("SetViewVolume",
(void (Graphic3d_CullingTool::*)( const opencascade::handle<Graphic3d_Camera> & , const NCollection_Mat4<Standard_Real> & ) ) static_cast<void (Graphic3d_CullingTool::*)( const opencascade::handle<Graphic3d_Camera> & , const NCollection_Mat4<Standard_Real> & ) >(&Graphic3d_CullingTool::SetViewVolume),
R"#(Retrieves view volume's planes equations and its vertices from projection and world-view matrices.)#" , py::arg("theCamera"), py::arg("theModelWorld")=static_cast< const NCollection_Mat4<Standard_Real> &>(Graphic3d_Mat4d ( ))
)
.def("SetViewportSize",
(void (Graphic3d_CullingTool::*)( Standard_Integer , Standard_Integer , Standard_Real ) ) static_cast<void (Graphic3d_CullingTool::*)( Standard_Integer , Standard_Integer , Standard_Real ) >(&Graphic3d_CullingTool::SetViewportSize),
R"#(None)#" , py::arg("theViewportWidth"), py::arg("theViewportHeight"), py::arg("theResolutionRatio")
)
.def("SetCullingDistance",
(void (Graphic3d_CullingTool::*)( Graphic3d_CullingTool::CullingContext & , Standard_Real ) const) static_cast<void (Graphic3d_CullingTool::*)( Graphic3d_CullingTool::CullingContext & , Standard_Real ) const>(&Graphic3d_CullingTool::SetCullingDistance),
R"#(Setup distance culling.)#" , py::arg("theCtx"), py::arg("theDistance")
)
.def("SetCullingSize",
(void (Graphic3d_CullingTool::*)( Graphic3d_CullingTool::CullingContext & , Standard_Real ) const) static_cast<void (Graphic3d_CullingTool::*)( Graphic3d_CullingTool::CullingContext & , Standard_Real ) const>(&Graphic3d_CullingTool::SetCullingSize),
R"#(Setup size culling.)#" , py::arg("theCtx"), py::arg("theSize")
)
.def("CacheClipPtsProjections",
(void (Graphic3d_CullingTool::*)() ) static_cast<void (Graphic3d_CullingTool::*)() >(&Graphic3d_CullingTool::CacheClipPtsProjections),
R"#(Caches view volume's vertices projections along its normals and AABBs dimensions. Must be called at the beginning of each BVH tree traverse loop.)#"
)
.def("IsCulled",
(bool (Graphic3d_CullingTool::*)( const Graphic3d_CullingTool::CullingContext & , const NCollection_Vec3<Standard_Real> & , const NCollection_Vec3<Standard_Real> & , Standard_Boolean * ) const) static_cast<bool (Graphic3d_CullingTool::*)( const Graphic3d_CullingTool::CullingContext & , const NCollection_Vec3<Standard_Real> & , const NCollection_Vec3<Standard_Real> & , Standard_Boolean * ) const>(&Graphic3d_CullingTool::IsCulled),
R"#(Checks whether given AABB should be entirely culled or not.)#" , py::arg("theCtx"), py::arg("theMinPnt"), py::arg("theMaxPnt"), py::arg("theIsInside")=static_cast<Standard_Boolean *>(NULL)
)
.def("ViewportWidth",
(Standard_Integer (Graphic3d_CullingTool::*)() const) static_cast<Standard_Integer (Graphic3d_CullingTool::*)() const>(&Graphic3d_CullingTool::ViewportWidth),
R"#(None)#"
)
.def("ViewportHeight",
(Standard_Integer (Graphic3d_CullingTool::*)() const) static_cast<Standard_Integer (Graphic3d_CullingTool::*)() const>(&Graphic3d_CullingTool::ViewportHeight),
R"#(None)#"
)
.def("SignedPlanePointDistance",
(Standard_Real (Graphic3d_CullingTool::*)( const NCollection_Vec4<Standard_Real> & , const NCollection_Vec4<Standard_Real> & ) ) static_cast<Standard_Real (Graphic3d_CullingTool::*)( const NCollection_Vec4<Standard_Real> & , const NCollection_Vec4<Standard_Real> & ) >(&Graphic3d_CullingTool::SignedPlanePointDistance),
R"#(Calculates signed distance from plane to point.)#" , py::arg("theNormal"), py::arg("thePnt")
)
.def("IsOutFrustum",
(bool (Graphic3d_CullingTool::*)( const NCollection_Vec3<Standard_Real> & , const NCollection_Vec3<Standard_Real> & , Standard_Boolean * ) const) static_cast<bool (Graphic3d_CullingTool::*)( const NCollection_Vec3<Standard_Real> & , const NCollection_Vec3<Standard_Real> & , Standard_Boolean * ) const>(&Graphic3d_CullingTool::IsOutFrustum),
R"#(Detects if AABB overlaps view volume using separating axis theorem (SAT).)#" , py::arg("theMinPnt"), py::arg("theMaxPnt"), py::arg("theIsInside")=static_cast<Standard_Boolean *>(NULL)
)
.def("IsTooDistant",
(bool (Graphic3d_CullingTool::*)( const Graphic3d_CullingTool::CullingContext & , const NCollection_Vec3<Standard_Real> & , const NCollection_Vec3<Standard_Real> & , Standard_Boolean * ) const) static_cast<bool (Graphic3d_CullingTool::*)( const Graphic3d_CullingTool::CullingContext & , const NCollection_Vec3<Standard_Real> & , const NCollection_Vec3<Standard_Real> & , Standard_Boolean * ) const>(&Graphic3d_CullingTool::IsTooDistant),
R"#(Returns TRUE if given AABB should be discarded by distance culling criterion.)#" , py::arg("theCtx"), py::arg("theMinPnt"), py::arg("theMaxPnt"), py::arg("theIsInside")=static_cast<Standard_Boolean *>(NULL)
)
.def("IsTooSmall",
(bool (Graphic3d_CullingTool::*)( const Graphic3d_CullingTool::CullingContext & , const NCollection_Vec3<Standard_Real> & , const NCollection_Vec3<Standard_Real> & ) const) static_cast<bool (Graphic3d_CullingTool::*)( const Graphic3d_CullingTool::CullingContext & , const NCollection_Vec3<Standard_Real> & , const NCollection_Vec3<Standard_Real> & ) const>(&Graphic3d_CullingTool::IsTooSmall),
R"#(Returns TRUE if given AABB should be discarded by size culling criterion.)#" , py::arg("theCtx"), py::arg("theMinPnt"), py::arg("theMaxPnt")
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Camera",
(const opencascade::handle<Graphic3d_Camera> & (Graphic3d_CullingTool::*)() const) static_cast<const opencascade::handle<Graphic3d_Camera> & (Graphic3d_CullingTool::*)() const>(&Graphic3d_CullingTool::Camera),
R"#(Return the camera definition.)#"
)
.def("ProjectionMatrix",
(const Graphic3d_Mat4d & (Graphic3d_CullingTool::*)() const) static_cast<const Graphic3d_Mat4d & (Graphic3d_CullingTool::*)() const>(&Graphic3d_CullingTool::ProjectionMatrix),
R"#(Returns current projection matrix.)#"
)
.def("WorldViewMatrix",
(const Graphic3d_Mat4d & (Graphic3d_CullingTool::*)() const) static_cast<const Graphic3d_Mat4d & (Graphic3d_CullingTool::*)() const>(&Graphic3d_CullingTool::WorldViewMatrix),
R"#(Returns current world view transformation matrix.)#"
)
.def("WorldViewProjState",
(const Graphic3d_WorldViewProjState & (Graphic3d_CullingTool::*)() const) static_cast<const Graphic3d_WorldViewProjState & (Graphic3d_CullingTool::*)() const>(&Graphic3d_CullingTool::WorldViewProjState),
R"#(Returns state of current world view projection transformation matrices.)#"
)
.def("CameraEye",
(const Graphic3d_Vec3d & (Graphic3d_CullingTool::*)() const) static_cast<const Graphic3d_Vec3d & (Graphic3d_CullingTool::*)() const>(&Graphic3d_CullingTool::CameraEye),
R"#(Returns camera eye position.)#"
)
.def("CameraDirection",
(const Graphic3d_Vec3d & (Graphic3d_CullingTool::*)() const) static_cast<const Graphic3d_Vec3d & (Graphic3d_CullingTool::*)() const>(&Graphic3d_CullingTool::CameraDirection),
R"#(Returns camera direction.)#"
)
;
// Class Graphic3d_DataStructureManager from ./opencascade/Graphic3d_DataStructureManager.hxx
klass = m.attr("Graphic3d_DataStructureManager");
// nested enums
static_cast<py::class_<Graphic3d_DataStructureManager ,opencascade::handle<Graphic3d_DataStructureManager> ,Py_Graphic3d_DataStructureManager , Standard_Transient >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_DataStructureManager::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_DataStructureManager::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_DataStructureManager::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_DataStructureManager::*)() const>(&Graphic3d_DataStructureManager::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_FrameStats from ./opencascade/Graphic3d_FrameStats.hxx
klass = m.attr("Graphic3d_FrameStats");
// nested enums
static_cast<py::class_<Graphic3d_FrameStats ,opencascade::handle<Graphic3d_FrameStats> ,Py_Graphic3d_FrameStats , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("UpdateInterval",
(Standard_Real (Graphic3d_FrameStats::*)() const) static_cast<Standard_Real (Graphic3d_FrameStats::*)() const>(&Graphic3d_FrameStats::UpdateInterval),
R"#(Returns interval in seconds for updating meters across several frames; 1 second by default.)#"
)
.def("SetUpdateInterval",
(void (Graphic3d_FrameStats::*)( Standard_Real ) ) static_cast<void (Graphic3d_FrameStats::*)( Standard_Real ) >(&Graphic3d_FrameStats::SetUpdateInterval),
R"#(Sets interval in seconds for updating values.)#" , py::arg("theInterval")
)
.def("IsLongLineFormat",
(Standard_Boolean (Graphic3d_FrameStats::*)() const) static_cast<Standard_Boolean (Graphic3d_FrameStats::*)() const>(&Graphic3d_FrameStats::IsLongLineFormat),
R"#(Prefer longer lines over more greater of lines.)#"
)
.def("SetLongLineFormat",
(void (Graphic3d_FrameStats::*)( Standard_Boolean ) ) static_cast<void (Graphic3d_FrameStats::*)( Standard_Boolean ) >(&Graphic3d_FrameStats::SetLongLineFormat),
R"#(Set if format should prefer longer lines over greater number of lines.)#" , py::arg("theValue")
)
.def("FrameStart",
(void (Graphic3d_FrameStats::*)( const opencascade::handle<Graphic3d_CView> & , bool ) ) static_cast<void (Graphic3d_FrameStats::*)( const opencascade::handle<Graphic3d_CView> & , bool ) >(&Graphic3d_FrameStats::FrameStart),
R"#(Frame redraw started.)#" , py::arg("theView"), py::arg("theIsImmediateOnly")
)
.def("FrameEnd",
(void (Graphic3d_FrameStats::*)( const opencascade::handle<Graphic3d_CView> & , bool ) ) static_cast<void (Graphic3d_FrameStats::*)( const opencascade::handle<Graphic3d_CView> & , bool ) >(&Graphic3d_FrameStats::FrameEnd),
R"#(Frame redraw finished.)#" , py::arg("theView"), py::arg("theIsImmediateOnly")
)
.def("FormatStats",
(TCollection_AsciiString (Graphic3d_FrameStats::*)( Graphic3d_RenderingParams::PerfCounters ) const) static_cast<TCollection_AsciiString (Graphic3d_FrameStats::*)( Graphic3d_RenderingParams::PerfCounters ) const>(&Graphic3d_FrameStats::FormatStats),
R"#(Returns formatted string.)#" , py::arg("theFlags")
)
.def("FormatStats",
(void (Graphic3d_FrameStats::*)( NCollection_IndexedDataMap<TCollection_AsciiString, TCollection_AsciiString> & , Graphic3d_RenderingParams::PerfCounters ) const) static_cast<void (Graphic3d_FrameStats::*)( NCollection_IndexedDataMap<TCollection_AsciiString, TCollection_AsciiString> & , Graphic3d_RenderingParams::PerfCounters ) const>(&Graphic3d_FrameStats::FormatStats),
R"#(Fill in the dictionary with formatted statistic info.)#" , py::arg("theDict"), py::arg("theFlags")
)
.def("FrameDuration",
(Standard_Real (Graphic3d_FrameStats::*)() const) static_cast<Standard_Real (Graphic3d_FrameStats::*)() const>(&Graphic3d_FrameStats::FrameDuration),
R"#(Returns duration of the last frame in seconds.)#"
)
.def("FrameRate",
(Standard_Real (Graphic3d_FrameStats::*)() const) static_cast<Standard_Real (Graphic3d_FrameStats::*)() const>(&Graphic3d_FrameStats::FrameRate),
R"#(Returns FPS (frames per seconds, elapsed time). This number indicates an actual frame rate averaged for several frames within UpdateInterval() duration, basing on a real elapsed time between updates.)#"
)
.def("FrameRateCpu",
(Standard_Real (Graphic3d_FrameStats::*)() const) static_cast<Standard_Real (Graphic3d_FrameStats::*)() const>(&Graphic3d_FrameStats::FrameRateCpu),
R"#(Returns CPU FPS (frames per seconds, CPU time). This number indicates a PREDICTED frame rate, basing on CPU elapsed time between updates and NOT real elapsed time (which might include periods of CPU inactivity). Number is expected to be greater then actual frame rate returned by FrameRate(). Values significantly greater actual frame rate indicate that rendering is limited by GPU performance (CPU is stalled in-between), while values around actual frame rate indicate rendering being limited by CPU performance (GPU is stalled in-between).)#"
)
.def("CounterValue",
(Standard_Size (Graphic3d_FrameStats::*)( Graphic3d_FrameStatsCounter ) const) static_cast<Standard_Size (Graphic3d_FrameStats::*)( Graphic3d_FrameStatsCounter ) const>(&Graphic3d_FrameStats::CounterValue),
R"#(Returns value of specified counter, cached between stats updates. Should NOT be called between ::FrameStart() and ::FrameEnd() calls.)#" , py::arg("theCounter")
)
.def("TimerValue",
(Standard_Real (Graphic3d_FrameStats::*)( Graphic3d_FrameStatsTimer ) const) static_cast<Standard_Real (Graphic3d_FrameStats::*)( Graphic3d_FrameStatsTimer ) const>(&Graphic3d_FrameStats::TimerValue),
R"#(Returns value of specified timer for modification, should be called between ::FrameStart() and ::FrameEnd() calls. Should NOT be called between ::FrameStart() and ::FrameEnd() calls.)#" , py::arg("theTimer")
)
.def("HasCulledLayers",
(Standard_Boolean (Graphic3d_FrameStats::*)() const) static_cast<Standard_Boolean (Graphic3d_FrameStats::*)() const>(&Graphic3d_FrameStats::HasCulledLayers),
R"#(Returns TRUE if some Layers have been culled.)#"
)
.def("HasCulledStructs",
(Standard_Boolean (Graphic3d_FrameStats::*)() const) static_cast<Standard_Boolean (Graphic3d_FrameStats::*)() const>(&Graphic3d_FrameStats::HasCulledStructs),
R"#(Returns TRUE if some structures have been culled.)#"
)
.def("LastDataFrameIndex",
(Standard_Integer (Graphic3d_FrameStats::*)() const) static_cast<Standard_Integer (Graphic3d_FrameStats::*)() const>(&Graphic3d_FrameStats::LastDataFrameIndex),
R"#(Returns last data frame index.)#"
)
.def("ChangeCounter",
(Standard_Size & (Graphic3d_FrameStats::*)( Graphic3d_FrameStatsCounter ) ) static_cast<Standard_Size & (Graphic3d_FrameStats::*)( Graphic3d_FrameStatsCounter ) >(&Graphic3d_FrameStats::ChangeCounter),
R"#(Returns value of specified counter for modification, should be called between ::FrameStart() and ::FrameEnd() calls.)#" , py::arg("theCounter")
)
.def("ChangeTimer",
(Standard_Real & (Graphic3d_FrameStats::*)( Graphic3d_FrameStatsTimer ) ) static_cast<Standard_Real & (Graphic3d_FrameStats::*)( Graphic3d_FrameStatsTimer ) >(&Graphic3d_FrameStats::ChangeTimer),
R"#(Returns value of specified timer for modification, should be called between ::FrameStart() and ::FrameEnd() calls.)#" , py::arg("theTimer")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_FrameStats::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_FrameStats::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_FrameStats::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_FrameStats::*)() const>(&Graphic3d_FrameStats::DynamicType),
R"#(None)#"
)
.def("LastDataFrame",
(const Graphic3d_FrameStatsData & (Graphic3d_FrameStats::*)() const) static_cast<const Graphic3d_FrameStatsData & (Graphic3d_FrameStats::*)() const>(&Graphic3d_FrameStats::LastDataFrame),
R"#(Returns last data frame, cached between stats updates. Should NOT be called between ::FrameStart() and ::FrameEnd() calls.)#"
)
.def("DataFrames",
(const NCollection_Array1<Graphic3d_FrameStatsData> & (Graphic3d_FrameStats::*)() const) static_cast<const NCollection_Array1<Graphic3d_FrameStatsData> & (Graphic3d_FrameStats::*)() const>(&Graphic3d_FrameStats::DataFrames),
R"#(Returns data frames.)#"
)
.def("ChangeDataFrames",
(NCollection_Array1<Graphic3d_FrameStatsData> & (Graphic3d_FrameStats::*)() ) static_cast<NCollection_Array1<Graphic3d_FrameStatsData> & (Graphic3d_FrameStats::*)() >(&Graphic3d_FrameStats::ChangeDataFrames),
R"#(Returns data frames.)#"
, py::return_value_policy::reference_internal
)
.def("ActiveDataFrame",
(Graphic3d_FrameStatsDataTmp & (Graphic3d_FrameStats::*)() ) static_cast<Graphic3d_FrameStatsDataTmp & (Graphic3d_FrameStats::*)() >(&Graphic3d_FrameStats::ActiveDataFrame),
R"#(Returns currently filling data frame for modification, should be called between ::FrameStart() and ::FrameEnd() calls.)#"
, py::return_value_policy::reference_internal
)
;
// Class Graphic3d_FrameStatsData from ./opencascade/Graphic3d_FrameStatsData.hxx
klass = m.attr("Graphic3d_FrameStatsData");
// nested enums
static_cast<py::class_<Graphic3d_FrameStatsData , shared_ptr<Graphic3d_FrameStatsData> >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Graphic3d_FrameStatsData & >() , py::arg("theOther") )
// custom constructors
// methods
.def("FrameRate",
(Standard_Real (Graphic3d_FrameStatsData::*)() const) static_cast<Standard_Real (Graphic3d_FrameStatsData::*)() const>(&Graphic3d_FrameStatsData::FrameRate),
R"#(Returns FPS (frames per seconds, elapsed time). This number indicates an actual frame rate averaged for several frames within UpdateInterval() duration, basing on a real elapsed time between updates.)#"
)
.def("FrameRateCpu",
(Standard_Real (Graphic3d_FrameStatsData::*)() const) static_cast<Standard_Real (Graphic3d_FrameStatsData::*)() const>(&Graphic3d_FrameStatsData::FrameRateCpu),
R"#(Returns CPU FPS (frames per seconds, CPU time). This number indicates a PREDICTED frame rate, basing on CPU elapsed time between updates and NOT real elapsed time (which might include periods of CPU inactivity). Number is expected to be greater then actual frame rate returned by FrameRate(). Values significantly greater actual frame rate indicate that rendering is limited by GPU performance (CPU is stalled in-between), while values around actual frame rate indicate rendering being limited by CPU performance (GPU is stalled in-between).)#"
)
.def("ImmediateFrameRate",
(Standard_Real (Graphic3d_FrameStatsData::*)() const) static_cast<Standard_Real (Graphic3d_FrameStatsData::*)() const>(&Graphic3d_FrameStatsData::ImmediateFrameRate),
R"#(Returns FPS for immediate redraws.)#"
)
.def("ImmediateFrameRateCpu",
(Standard_Real (Graphic3d_FrameStatsData::*)() const) static_cast<Standard_Real (Graphic3d_FrameStatsData::*)() const>(&Graphic3d_FrameStatsData::ImmediateFrameRateCpu),
R"#(Returns CPU FPS for immediate redraws.)#"
)
.def("CounterValue",
(Standard_Size (Graphic3d_FrameStatsData::*)( Graphic3d_FrameStatsCounter ) const) static_cast<Standard_Size (Graphic3d_FrameStatsData::*)( Graphic3d_FrameStatsCounter ) const>(&Graphic3d_FrameStatsData::CounterValue),
R"#(Get counter value.)#" , py::arg("theIndex")
)
.def("TimerValue",
(Standard_Real (Graphic3d_FrameStatsData::*)( Graphic3d_FrameStatsTimer ) const) static_cast<Standard_Real (Graphic3d_FrameStatsData::*)( Graphic3d_FrameStatsTimer ) const>(&Graphic3d_FrameStatsData::TimerValue),
R"#(Get timer value.)#" , py::arg("theIndex")
)
.def("Reset",
(void (Graphic3d_FrameStatsData::*)() ) static_cast<void (Graphic3d_FrameStatsData::*)() >(&Graphic3d_FrameStatsData::Reset),
R"#(Reset data.)#"
)
.def("FillMax",
(void (Graphic3d_FrameStatsData::*)( const Graphic3d_FrameStatsData & ) ) static_cast<void (Graphic3d_FrameStatsData::*)( const Graphic3d_FrameStatsData & ) >(&Graphic3d_FrameStatsData::FillMax),
R"#(Fill with maximum values.)#" , py::arg("theOther")
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class Graphic3d_Fresnel from ./opencascade/Graphic3d_BSDF.hxx
klass = m.attr("Graphic3d_Fresnel");
// nested enums
static_cast<py::class_<Graphic3d_Fresnel , shared_ptr<Graphic3d_Fresnel> >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("Serialize",
(Graphic3d_Vec4 (Graphic3d_Fresnel::*)() const) static_cast<Graphic3d_Vec4 (Graphic3d_Fresnel::*)() const>(&Graphic3d_Fresnel::Serialize),
R"#(Returns serialized representation of Fresnel factor.)#"
)
.def("FresnelType",
(Graphic3d_FresnelModel (Graphic3d_Fresnel::*)() const) static_cast<Graphic3d_FresnelModel (Graphic3d_Fresnel::*)() const>(&Graphic3d_Fresnel::FresnelType),
R"#(Returns type of Fresnel.)#"
)
.def("DumpJson",
(void (Graphic3d_Fresnel::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_Fresnel::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_Fresnel::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
// static methods
.def_static("CreateSchlick_s",
(Graphic3d_Fresnel (*)( const NCollection_Vec3<Standard_ShortReal> & ) ) static_cast<Graphic3d_Fresnel (*)( const NCollection_Vec3<Standard_ShortReal> & ) >(&Graphic3d_Fresnel::CreateSchlick),
R"#(Creates Schlick's approximation of Fresnel factor.)#" , py::arg("theSpecularColor")
)
.def_static("CreateConstant_s",
(Graphic3d_Fresnel (*)( const Standard_ShortReal ) ) static_cast<Graphic3d_Fresnel (*)( const Standard_ShortReal ) >(&Graphic3d_Fresnel::CreateConstant),
R"#(Creates Fresnel factor for constant reflection.)#" , py::arg("theReflection")
)
.def_static("CreateDielectric_s",
(Graphic3d_Fresnel (*)( Standard_ShortReal ) ) static_cast<Graphic3d_Fresnel (*)( Standard_ShortReal ) >(&Graphic3d_Fresnel::CreateDielectric),
R"#(Creates Fresnel factor for physical-based dielectric model.)#" , py::arg("theRefractionIndex")
)
.def_static("CreateConductor_s",
(Graphic3d_Fresnel (*)( Standard_ShortReal , Standard_ShortReal ) ) static_cast<Graphic3d_Fresnel (*)( Standard_ShortReal , Standard_ShortReal ) >(&Graphic3d_Fresnel::CreateConductor),
R"#(Creates Fresnel factor for physical-based conductor model.)#" , py::arg("theRefractionIndex"), py::arg("theAbsorptionIndex")
)
.def_static("CreateConductor_s",
(Graphic3d_Fresnel (*)( const NCollection_Vec3<Standard_ShortReal> & , const NCollection_Vec3<Standard_ShortReal> & ) ) static_cast<Graphic3d_Fresnel (*)( const NCollection_Vec3<Standard_ShortReal> & , const NCollection_Vec3<Standard_ShortReal> & ) >(&Graphic3d_Fresnel::CreateConductor),
R"#(Creates Fresnel factor for physical-based conductor model (spectral version).)#" , py::arg("theRefractionIndex"), py::arg("theAbsorptionIndex")
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class Graphic3d_GraduatedTrihedron from ./opencascade/Graphic3d_GraduatedTrihedron.hxx
klass = m.attr("Graphic3d_GraduatedTrihedron");
// nested enums
static_cast<py::class_<Graphic3d_GraduatedTrihedron , shared_ptr<Graphic3d_GraduatedTrihedron> >>(klass)
// constructors
.def(py::init< const TCollection_AsciiString &,const Font_FontAspect &,const Standard_Integer,const TCollection_AsciiString &,const Font_FontAspect &,const Standard_Integer,const Standard_ShortReal,const Quantity_Color,const Standard_Boolean,const Standard_Boolean >() , py::arg("theNamesFont")=static_cast<const TCollection_AsciiString &>("Arial"), py::arg("theNamesStyle")=static_cast<const Font_FontAspect &>(Font_FA_Bold), py::arg("theNamesSize")=static_cast<const Standard_Integer>(12), py::arg("theValuesFont")=static_cast<const TCollection_AsciiString &>("Arial"), py::arg("theValuesStyle")=static_cast<const Font_FontAspect &>(Font_FA_Regular), py::arg("theValuesSize")=static_cast<const Standard_Integer>(12), py::arg("theArrowsLength")=static_cast<const Standard_ShortReal>(30.0f), py::arg("theGridColor")=static_cast<const Quantity_Color>(Quantity_NOC_WHITE), py::arg("theToDrawGrid")=static_cast<const Standard_Boolean>(Standard_True), py::arg("theToDrawAxes")=static_cast<const Standard_Boolean>(Standard_True) )
// custom constructors
// methods
.def("ChangeAxisAspect",
(Graphic3d_GraduatedTrihedron::AxisAspect & (Graphic3d_GraduatedTrihedron::*)( const Standard_Integer ) ) static_cast<Graphic3d_GraduatedTrihedron::AxisAspect & (Graphic3d_GraduatedTrihedron::*)( const Standard_Integer ) >(&Graphic3d_GraduatedTrihedron::ChangeAxisAspect),
R"#(None)#" , py::arg("theIndex")
)
.def("AxisAspectAt",
(const Graphic3d_GraduatedTrihedron::AxisAspect & (Graphic3d_GraduatedTrihedron::*)( const Standard_Integer ) const) static_cast<const Graphic3d_GraduatedTrihedron::AxisAspect & (Graphic3d_GraduatedTrihedron::*)( const Standard_Integer ) const>(&Graphic3d_GraduatedTrihedron::AxisAspectAt),
R"#(None)#" , py::arg("theIndex")
)
.def("ArrowsLength",
(Standard_ShortReal (Graphic3d_GraduatedTrihedron::*)() const) static_cast<Standard_ShortReal (Graphic3d_GraduatedTrihedron::*)() const>(&Graphic3d_GraduatedTrihedron::ArrowsLength),
R"#(None)#"
)
.def("SetArrowsLength",
(void (Graphic3d_GraduatedTrihedron::*)( const Standard_ShortReal ) ) static_cast<void (Graphic3d_GraduatedTrihedron::*)( const Standard_ShortReal ) >(&Graphic3d_GraduatedTrihedron::SetArrowsLength),
R"#(None)#" , py::arg("theValue")
)
.def("SetGridColor",
(void (Graphic3d_GraduatedTrihedron::*)( const Quantity_Color & ) ) static_cast<void (Graphic3d_GraduatedTrihedron::*)( const Quantity_Color & ) >(&Graphic3d_GraduatedTrihedron::SetGridColor),
R"#(None)#" , py::arg("theColor")
)
.def("ToDrawGrid",
(Standard_Boolean (Graphic3d_GraduatedTrihedron::*)() const) static_cast<Standard_Boolean (Graphic3d_GraduatedTrihedron::*)() const>(&Graphic3d_GraduatedTrihedron::ToDrawGrid),
R"#(None)#"
)
.def("SetDrawGrid",
(void (Graphic3d_GraduatedTrihedron::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_GraduatedTrihedron::*)( const Standard_Boolean ) >(&Graphic3d_GraduatedTrihedron::SetDrawGrid),
R"#(None)#" , py::arg("theToDraw")
)
.def("ToDrawAxes",
(Standard_Boolean (Graphic3d_GraduatedTrihedron::*)() const) static_cast<Standard_Boolean (Graphic3d_GraduatedTrihedron::*)() const>(&Graphic3d_GraduatedTrihedron::ToDrawAxes),
R"#(None)#"
)
.def("SetDrawAxes",
(void (Graphic3d_GraduatedTrihedron::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_GraduatedTrihedron::*)( const Standard_Boolean ) >(&Graphic3d_GraduatedTrihedron::SetDrawAxes),
R"#(None)#" , py::arg("theToDraw")
)
.def("SetNamesFont",
(void (Graphic3d_GraduatedTrihedron::*)( const TCollection_AsciiString & ) ) static_cast<void (Graphic3d_GraduatedTrihedron::*)( const TCollection_AsciiString & ) >(&Graphic3d_GraduatedTrihedron::SetNamesFont),
R"#(None)#" , py::arg("theFont")
)
.def("NamesFontAspect",
(Font_FontAspect (Graphic3d_GraduatedTrihedron::*)() const) static_cast<Font_FontAspect (Graphic3d_GraduatedTrihedron::*)() const>(&Graphic3d_GraduatedTrihedron::NamesFontAspect),
R"#(None)#"
)
.def("SetNamesFontAspect",
(void (Graphic3d_GraduatedTrihedron::*)( Font_FontAspect ) ) static_cast<void (Graphic3d_GraduatedTrihedron::*)( Font_FontAspect ) >(&Graphic3d_GraduatedTrihedron::SetNamesFontAspect),
R"#(None)#" , py::arg("theAspect")
)
.def("NamesSize",
(Standard_Integer (Graphic3d_GraduatedTrihedron::*)() const) static_cast<Standard_Integer (Graphic3d_GraduatedTrihedron::*)() const>(&Graphic3d_GraduatedTrihedron::NamesSize),
R"#(None)#"
)
.def("SetNamesSize",
(void (Graphic3d_GraduatedTrihedron::*)( const Standard_Integer ) ) static_cast<void (Graphic3d_GraduatedTrihedron::*)( const Standard_Integer ) >(&Graphic3d_GraduatedTrihedron::SetNamesSize),
R"#(None)#" , py::arg("theValue")
)
.def("SetValuesFont",
(void (Graphic3d_GraduatedTrihedron::*)( const TCollection_AsciiString & ) ) static_cast<void (Graphic3d_GraduatedTrihedron::*)( const TCollection_AsciiString & ) >(&Graphic3d_GraduatedTrihedron::SetValuesFont),
R"#(None)#" , py::arg("theFont")
)
.def("ValuesFontAspect",
(Font_FontAspect (Graphic3d_GraduatedTrihedron::*)() const) static_cast<Font_FontAspect (Graphic3d_GraduatedTrihedron::*)() const>(&Graphic3d_GraduatedTrihedron::ValuesFontAspect),
R"#(None)#"
)
.def("SetValuesFontAspect",
(void (Graphic3d_GraduatedTrihedron::*)( Font_FontAspect ) ) static_cast<void (Graphic3d_GraduatedTrihedron::*)( Font_FontAspect ) >(&Graphic3d_GraduatedTrihedron::SetValuesFontAspect),
R"#(None)#" , py::arg("theAspect")
)
.def("ValuesSize",
(Standard_Integer (Graphic3d_GraduatedTrihedron::*)() const) static_cast<Standard_Integer (Graphic3d_GraduatedTrihedron::*)() const>(&Graphic3d_GraduatedTrihedron::ValuesSize),
R"#(None)#"
)
.def("SetValuesSize",
(void (Graphic3d_GraduatedTrihedron::*)( const Standard_Integer ) ) static_cast<void (Graphic3d_GraduatedTrihedron::*)( const Standard_Integer ) >(&Graphic3d_GraduatedTrihedron::SetValuesSize),
R"#(None)#" , py::arg("theValue")
)
.def("CubicAxesCallback",
(Standard_Boolean (Graphic3d_GraduatedTrihedron::*)( Graphic3d_CView * ) const) static_cast<Standard_Boolean (Graphic3d_GraduatedTrihedron::*)( Graphic3d_CView * ) const>(&Graphic3d_GraduatedTrihedron::CubicAxesCallback),
R"#(None)#" , py::arg("theView")
)
.def("SetCubicAxesCallback",
(void (Graphic3d_GraduatedTrihedron::*)( const Graphic3d_GraduatedTrihedron::MinMaxValuesCallback ) ) static_cast<void (Graphic3d_GraduatedTrihedron::*)( const Graphic3d_GraduatedTrihedron::MinMaxValuesCallback ) >(&Graphic3d_GraduatedTrihedron::SetCubicAxesCallback),
R"#(None)#" , py::arg("theCallback")
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("ChangeXAxisAspect",
(Graphic3d_GraduatedTrihedron::AxisAspect & (Graphic3d_GraduatedTrihedron::*)() ) static_cast<Graphic3d_GraduatedTrihedron::AxisAspect & (Graphic3d_GraduatedTrihedron::*)() >(&Graphic3d_GraduatedTrihedron::ChangeXAxisAspect),
R"#(None)#"
, py::return_value_policy::reference_internal
)
.def("ChangeYAxisAspect",
(Graphic3d_GraduatedTrihedron::AxisAspect & (Graphic3d_GraduatedTrihedron::*)() ) static_cast<Graphic3d_GraduatedTrihedron::AxisAspect & (Graphic3d_GraduatedTrihedron::*)() >(&Graphic3d_GraduatedTrihedron::ChangeYAxisAspect),
R"#(None)#"
, py::return_value_policy::reference_internal
)
.def("ChangeZAxisAspect",
(Graphic3d_GraduatedTrihedron::AxisAspect & (Graphic3d_GraduatedTrihedron::*)() ) static_cast<Graphic3d_GraduatedTrihedron::AxisAspect & (Graphic3d_GraduatedTrihedron::*)() >(&Graphic3d_GraduatedTrihedron::ChangeZAxisAspect),
R"#(None)#"
, py::return_value_policy::reference_internal
)
.def("XAxisAspect",
(const Graphic3d_GraduatedTrihedron::AxisAspect & (Graphic3d_GraduatedTrihedron::*)() const) static_cast<const Graphic3d_GraduatedTrihedron::AxisAspect & (Graphic3d_GraduatedTrihedron::*)() const>(&Graphic3d_GraduatedTrihedron::XAxisAspect),
R"#(None)#"
)
.def("YAxisAspect",
(const Graphic3d_GraduatedTrihedron::AxisAspect & (Graphic3d_GraduatedTrihedron::*)() const) static_cast<const Graphic3d_GraduatedTrihedron::AxisAspect & (Graphic3d_GraduatedTrihedron::*)() const>(&Graphic3d_GraduatedTrihedron::YAxisAspect),
R"#(None)#"
)
.def("ZAxisAspect",
(const Graphic3d_GraduatedTrihedron::AxisAspect & (Graphic3d_GraduatedTrihedron::*)() const) static_cast<const Graphic3d_GraduatedTrihedron::AxisAspect & (Graphic3d_GraduatedTrihedron::*)() const>(&Graphic3d_GraduatedTrihedron::ZAxisAspect),
R"#(None)#"
)
.def("GridColor",
(const Quantity_Color & (Graphic3d_GraduatedTrihedron::*)() const) static_cast<const Quantity_Color & (Graphic3d_GraduatedTrihedron::*)() const>(&Graphic3d_GraduatedTrihedron::GridColor),
R"#(None)#"
)
.def("NamesFont",
(const TCollection_AsciiString & (Graphic3d_GraduatedTrihedron::*)() const) static_cast<const TCollection_AsciiString & (Graphic3d_GraduatedTrihedron::*)() const>(&Graphic3d_GraduatedTrihedron::NamesFont),
R"#(None)#"
)
.def("ValuesFont",
(const TCollection_AsciiString & (Graphic3d_GraduatedTrihedron::*)() const) static_cast<const TCollection_AsciiString & (Graphic3d_GraduatedTrihedron::*)() const>(&Graphic3d_GraduatedTrihedron::ValuesFont),
R"#(None)#"
)
;
// Class Graphic3d_GraphicDriver from ./opencascade/Graphic3d_GraphicDriver.hxx
klass = m.attr("Graphic3d_GraphicDriver");
// nested enums
static_cast<py::class_<Graphic3d_GraphicDriver ,opencascade::handle<Graphic3d_GraphicDriver> ,Py_Graphic3d_GraphicDriver , Standard_Transient >>(klass)
// constructors
// custom constructors
// methods
.def("InquireLimit",
(Standard_Integer (Graphic3d_GraphicDriver::*)( const Graphic3d_TypeOfLimit ) const) static_cast<Standard_Integer (Graphic3d_GraphicDriver::*)( const Graphic3d_TypeOfLimit ) const>(&Graphic3d_GraphicDriver::InquireLimit),
R"#(Request limit of graphic resource of specific type.)#" , py::arg("theType")
)
.def("InquireLightLimit",
(Standard_Integer (Graphic3d_GraphicDriver::*)() const) static_cast<Standard_Integer (Graphic3d_GraphicDriver::*)() const>(&Graphic3d_GraphicDriver::InquireLightLimit),
R"#(Request maximum number of active light sources supported by driver and hardware.)#"
)
.def("InquirePlaneLimit",
(Standard_Integer (Graphic3d_GraphicDriver::*)() const) static_cast<Standard_Integer (Graphic3d_GraphicDriver::*)() const>(&Graphic3d_GraphicDriver::InquirePlaneLimit),
R"#(Request maximum number of active clipping planes supported by driver and hardware.)#"
)
.def("InquireViewLimit",
(Standard_Integer (Graphic3d_GraphicDriver::*)() const) static_cast<Standard_Integer (Graphic3d_GraphicDriver::*)() const>(&Graphic3d_GraphicDriver::InquireViewLimit),
R"#(Request maximum number of views supported by driver.)#"
)
.def("CreateStructure",
(opencascade::handle<Graphic3d_CStructure> (Graphic3d_GraphicDriver::*)( const opencascade::handle<Graphic3d_StructureManager> & ) ) static_cast<opencascade::handle<Graphic3d_CStructure> (Graphic3d_GraphicDriver::*)( const opencascade::handle<Graphic3d_StructureManager> & ) >(&Graphic3d_GraphicDriver::CreateStructure),
R"#(Creates new empty graphic structure)#" , py::arg("theManager")
)
.def("CreateView",
(opencascade::handle<Graphic3d_CView> (Graphic3d_GraphicDriver::*)( const opencascade::handle<Graphic3d_StructureManager> & ) ) static_cast<opencascade::handle<Graphic3d_CView> (Graphic3d_GraphicDriver::*)( const opencascade::handle<Graphic3d_StructureManager> & ) >(&Graphic3d_GraphicDriver::CreateView),
R"#(Creates new view for this graphic driver.)#" , py::arg("theMgr")
)
.def("RemoveView",
(void (Graphic3d_GraphicDriver::*)( const opencascade::handle<Graphic3d_CView> & ) ) static_cast<void (Graphic3d_GraphicDriver::*)( const opencascade::handle<Graphic3d_CView> & ) >(&Graphic3d_GraphicDriver::RemoveView),
R"#(Removes view from graphic driver and releases its resources.)#" , py::arg("theView")
)
.def("EnableVBO",
(void (Graphic3d_GraphicDriver::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_GraphicDriver::*)( const Standard_Boolean ) >(&Graphic3d_GraphicDriver::EnableVBO),
R"#(enables/disables usage of OpenGL vertex buffer arrays while drawing primitive arrays)#" , py::arg("status")
)
.def("IsVerticalSync",
(bool (Graphic3d_GraphicDriver::*)() const) static_cast<bool (Graphic3d_GraphicDriver::*)() const>(&Graphic3d_GraphicDriver::IsVerticalSync),
R"#(Returns TRUE if vertical synchronization with display refresh rate (VSync) should be used; TRUE by default.)#"
)
.def("SetVerticalSync",
(void (Graphic3d_GraphicDriver::*)( bool ) ) static_cast<void (Graphic3d_GraphicDriver::*)( bool ) >(&Graphic3d_GraphicDriver::SetVerticalSync),
R"#(Set if vertical synchronization with display refresh rate (VSync) should be used.)#" , py::arg("theToEnable")
)
.def("MemoryInfo",
(Standard_Boolean (Graphic3d_GraphicDriver::*)( Standard_Size & , TCollection_AsciiString & ) const) static_cast<Standard_Boolean (Graphic3d_GraphicDriver::*)( Standard_Size & , TCollection_AsciiString & ) const>(&Graphic3d_GraphicDriver::MemoryInfo),
R"#(Returns information about GPU memory usage.)#" , py::arg("theFreeBytes"), py::arg("theInfo")
)
.def("DefaultTextHeight",
(Standard_ShortReal (Graphic3d_GraphicDriver::*)() const) static_cast<Standard_ShortReal (Graphic3d_GraphicDriver::*)() const>(&Graphic3d_GraphicDriver::DefaultTextHeight),
R"#(None)#"
)
.def("TextSize",
(void (Graphic3d_GraphicDriver::*)( const opencascade::handle<Graphic3d_CView> & , const Standard_CString , const Standard_ShortReal , Standard_ShortReal & , Standard_ShortReal & , Standard_ShortReal & ) const) static_cast<void (Graphic3d_GraphicDriver::*)( const opencascade::handle<Graphic3d_CView> & , const Standard_CString , const Standard_ShortReal , Standard_ShortReal & , Standard_ShortReal & , Standard_ShortReal & ) const>(&Graphic3d_GraphicDriver::TextSize),
R"#(Computes text width.)#" , py::arg("theView"), py::arg("theText"), py::arg("theHeight"), py::arg("theWidth"), py::arg("theAscent"), py::arg("theDescent")
)
.def("InsertLayerBefore",
(void (Graphic3d_GraphicDriver::*)( const Graphic3d_ZLayerId , const Graphic3d_ZLayerSettings & , const Graphic3d_ZLayerId ) ) static_cast<void (Graphic3d_GraphicDriver::*)( const Graphic3d_ZLayerId , const Graphic3d_ZLayerSettings & , const Graphic3d_ZLayerId ) >(&Graphic3d_GraphicDriver::InsertLayerBefore),
R"#(Adds a layer to all views. To add a structure to desired layer on display it is necessary to set the layer ID for the structure.)#" , py::arg("theNewLayerId"), py::arg("theSettings"), py::arg("theLayerAfter")
)
.def("InsertLayerAfter",
(void (Graphic3d_GraphicDriver::*)( const Graphic3d_ZLayerId , const Graphic3d_ZLayerSettings & , const Graphic3d_ZLayerId ) ) static_cast<void (Graphic3d_GraphicDriver::*)( const Graphic3d_ZLayerId , const Graphic3d_ZLayerSettings & , const Graphic3d_ZLayerId ) >(&Graphic3d_GraphicDriver::InsertLayerAfter),
R"#(Adds a layer to all views.)#" , py::arg("theNewLayerId"), py::arg("theSettings"), py::arg("theLayerBefore")
)
.def("RemoveZLayer",
(void (Graphic3d_GraphicDriver::*)( const Graphic3d_ZLayerId ) ) static_cast<void (Graphic3d_GraphicDriver::*)( const Graphic3d_ZLayerId ) >(&Graphic3d_GraphicDriver::RemoveZLayer),
R"#(Removes Z layer. All structures displayed at the moment in layer will be displayed in default layer (the bottom-level z layer). By default, there are always default bottom-level layer that can't be removed. The passed theLayerId should be not less than 0 (reserved for default layers that can not be removed).)#" , py::arg("theLayerId")
)
.def("ZLayers",
(void (Graphic3d_GraphicDriver::*)( NCollection_Sequence<Standard_Integer> & ) const) static_cast<void (Graphic3d_GraphicDriver::*)( NCollection_Sequence<Standard_Integer> & ) const>(&Graphic3d_GraphicDriver::ZLayers),
R"#(Returns list of Z layers defined for the graphical driver.)#" , py::arg("theLayerSeq")
)
.def("SetZLayerSettings",
(void (Graphic3d_GraphicDriver::*)( const Graphic3d_ZLayerId , const Graphic3d_ZLayerSettings & ) ) static_cast<void (Graphic3d_GraphicDriver::*)( const Graphic3d_ZLayerId , const Graphic3d_ZLayerSettings & ) >(&Graphic3d_GraphicDriver::SetZLayerSettings),
R"#(Sets the settings for a single Z layer.)#" , py::arg("theLayerId"), py::arg("theSettings")
)
.def("ZLayerSettings",
(const Graphic3d_ZLayerSettings & (Graphic3d_GraphicDriver::*)( const Graphic3d_ZLayerId ) const) static_cast<const Graphic3d_ZLayerSettings & (Graphic3d_GraphicDriver::*)( const Graphic3d_ZLayerId ) const>(&Graphic3d_GraphicDriver::ZLayerSettings),
R"#(Returns the settings of a single Z layer.)#" , py::arg("theLayerId")
)
.def("ViewExists",
(Standard_Boolean (Graphic3d_GraphicDriver::*)( const opencascade::handle<Aspect_Window> & , opencascade::handle<Graphic3d_CView> & ) ) static_cast<Standard_Boolean (Graphic3d_GraphicDriver::*)( const opencascade::handle<Aspect_Window> & , opencascade::handle<Graphic3d_CView> & ) >(&Graphic3d_GraphicDriver::ViewExists),
R"#(Returns view associated with the window if it is exists and is activated. Returns Standard_True if the view associated to the window exists.)#" , py::arg("theWindow"), py::arg("theView")
)
.def("NewIdentification",
(Standard_Integer (Graphic3d_GraphicDriver::*)() ) static_cast<Standard_Integer (Graphic3d_GraphicDriver::*)() >(&Graphic3d_GraphicDriver::NewIdentification),
R"#(Returns a new identification number for a new structure.)#"
)
.def("RemoveIdentification",
(void (Graphic3d_GraphicDriver::*)( const Standard_Integer ) ) static_cast<void (Graphic3d_GraphicDriver::*)( const Standard_Integer ) >(&Graphic3d_GraphicDriver::RemoveIdentification),
R"#(Frees the identifier of a structure.)#" , py::arg("theId")
)
.def("DumpJson",
(void (Graphic3d_GraphicDriver::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_GraphicDriver::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_GraphicDriver::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
.def("RemoveStructure",
[]( Graphic3d_GraphicDriver &self , Graphic3d_CStructure& theCStructure ){
opencascade::handle<Graphic3d_CStructure> theCStructure_ptr; theCStructure_ptr = &theCStructure;
self.RemoveStructure(theCStructure_ptr);
if ( theCStructure_ptr.get() != &theCStructure ) copy_if_copy_constructible(theCStructure, *theCStructure_ptr);
return std::make_tuple(); },
R"#(Removes structure from graphic driver and releases its resources.)#" , py::arg("theCStructure")
)
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_GraphicDriver::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_GraphicDriver::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_GraphicDriver::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_GraphicDriver::*)() const>(&Graphic3d_GraphicDriver::DynamicType),
R"#(None)#"
)
.def("GetDisplayConnection",
(const opencascade::handle<Aspect_DisplayConnection> & (Graphic3d_GraphicDriver::*)() const) static_cast<const opencascade::handle<Aspect_DisplayConnection> & (Graphic3d_GraphicDriver::*)() const>(&Graphic3d_GraphicDriver::GetDisplayConnection),
R"#(returns Handle to display connection)#"
)
;
// Class Graphic3d_GraphicDriverFactory from ./opencascade/Graphic3d_GraphicDriverFactory.hxx
klass = m.attr("Graphic3d_GraphicDriverFactory");
// nested enums
static_cast<py::class_<Graphic3d_GraphicDriverFactory ,opencascade::handle<Graphic3d_GraphicDriverFactory> ,Py_Graphic3d_GraphicDriverFactory , Standard_Transient >>(klass)
// constructors
// custom constructors
// methods
.def("CreateDriver",
(opencascade::handle<Graphic3d_GraphicDriver> (Graphic3d_GraphicDriverFactory::*)( const opencascade::handle<Aspect_DisplayConnection> & ) ) static_cast<opencascade::handle<Graphic3d_GraphicDriver> (Graphic3d_GraphicDriverFactory::*)( const opencascade::handle<Aspect_DisplayConnection> & ) >(&Graphic3d_GraphicDriverFactory::CreateDriver),
R"#(Creates new empty graphic driver.)#" , py::arg("theDisp")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_GraphicDriverFactory::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_GraphicDriverFactory::get_type_descriptor),
R"#(None)#"
)
.def_static("RegisterFactory_s",
(void (*)( const opencascade::handle<Graphic3d_GraphicDriverFactory> & , bool ) ) static_cast<void (*)( const opencascade::handle<Graphic3d_GraphicDriverFactory> & , bool ) >(&Graphic3d_GraphicDriverFactory::RegisterFactory),
R"#(Registers factory.)#" , py::arg("theFactory"), py::arg("theIsPreferred")=static_cast<bool>(false)
)
.def_static("UnregisterFactory_s",
(void (*)( const TCollection_AsciiString & ) ) static_cast<void (*)( const TCollection_AsciiString & ) >(&Graphic3d_GraphicDriverFactory::UnregisterFactory),
R"#(Unregisters factory.)#" , py::arg("theName")
)
.def_static("DefaultDriverFactory_s",
(opencascade::handle<Graphic3d_GraphicDriverFactory> (*)() ) static_cast<opencascade::handle<Graphic3d_GraphicDriverFactory> (*)() >(&Graphic3d_GraphicDriverFactory::DefaultDriverFactory),
R"#(Return default driver factory or NULL if no one was registered.)#"
)
.def_static("DriverFactories_s",
(const Graphic3d_GraphicDriverFactoryList & (*)() ) static_cast<const Graphic3d_GraphicDriverFactoryList & (*)() >(&Graphic3d_GraphicDriverFactory::DriverFactories),
R"#(Return the global map of registered driver factories.)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_GraphicDriverFactory::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_GraphicDriverFactory::*)() const>(&Graphic3d_GraphicDriverFactory::DynamicType),
R"#(None)#"
)
.def("Name",
(const TCollection_AsciiString & (Graphic3d_GraphicDriverFactory::*)() const) static_cast<const TCollection_AsciiString & (Graphic3d_GraphicDriverFactory::*)() const>(&Graphic3d_GraphicDriverFactory::Name),
R"#(Return driver factory name.)#"
)
;
// Class Graphic3d_Group from ./opencascade/Graphic3d_Group.hxx
klass = m.attr("Graphic3d_Group");
// nested enums
static_cast<py::class_<Graphic3d_Group ,opencascade::handle<Graphic3d_Group> ,Py_Graphic3d_Group , Standard_Transient >>(klass)
// constructors
// custom constructors
// methods
.def("Clear",
(void (Graphic3d_Group::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_Group::*)( const Standard_Boolean ) >(&Graphic3d_Group::Clear),
R"#(Suppress all primitives and attributes of <me>. To clear group without update in Graphic3d_StructureManager pass Standard_False as <theUpdateStructureMgr>. This used on context and viewer destruction, when the pointer to structure manager in Graphic3d_Structure could be already released (pointers are used here to avoid handle cross-reference);)#" , py::arg("theUpdateStructureMgr")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("Remove",
(void (Graphic3d_Group::*)() ) static_cast<void (Graphic3d_Group::*)() >(&Graphic3d_Group::Remove),
R"#(Suppress the group <me> in the structure. Warning: No more graphic operations in <me> after this call. Modifies the current modelling transform persistence (pan, zoom or rotate) Get the current modelling transform persistence (pan, zoom or rotate))#"
)
.def("Aspects",
(opencascade::handle<Graphic3d_Aspects> (Graphic3d_Group::*)() const) static_cast<opencascade::handle<Graphic3d_Aspects> (Graphic3d_Group::*)() const>(&Graphic3d_Group::Aspects),
R"#(Return fill area aspect.)#"
)
.def("SetGroupPrimitivesAspect",
(void (Graphic3d_Group::*)( const opencascade::handle<Graphic3d_Aspects> & ) ) static_cast<void (Graphic3d_Group::*)( const opencascade::handle<Graphic3d_Aspects> & ) >(&Graphic3d_Group::SetGroupPrimitivesAspect),
R"#(Modifies the context for all the face primitives of the group.)#" , py::arg("theAspect")
)
.def("SetPrimitivesAspect",
(void (Graphic3d_Group::*)( const opencascade::handle<Graphic3d_Aspects> & ) ) static_cast<void (Graphic3d_Group::*)( const opencascade::handle<Graphic3d_Aspects> & ) >(&Graphic3d_Group::SetPrimitivesAspect),
R"#(Modifies the current context of the group to give another aspect for all the primitives created after this call in the group.)#" , py::arg("theAspect")
)
.def("SynchronizeAspects",
(void (Graphic3d_Group::*)() ) static_cast<void (Graphic3d_Group::*)() >(&Graphic3d_Group::SynchronizeAspects),
R"#(Update presentation aspects after their modification.)#"
)
.def("ReplaceAspects",
(void (Graphic3d_Group::*)( const NCollection_DataMap<opencascade::handle<Graphic3d_Aspects>, opencascade::handle<Graphic3d_Aspects>> & ) ) static_cast<void (Graphic3d_Group::*)( const NCollection_DataMap<opencascade::handle<Graphic3d_Aspects>, opencascade::handle<Graphic3d_Aspects>> & ) >(&Graphic3d_Group::ReplaceAspects),
R"#(Replace aspects specified in the replacement map.)#" , py::arg("theMap")
)
.def("AddText",
(void (Graphic3d_Group::*)( const opencascade::handle<Graphic3d_Text> & , const Standard_Boolean ) ) static_cast<void (Graphic3d_Group::*)( const opencascade::handle<Graphic3d_Text> & , const Standard_Boolean ) >(&Graphic3d_Group::AddText),
R"#(Adds a text for display)#" , py::arg("theTextParams"), py::arg("theToEvalMinMax")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("AddPrimitiveArray",
(void (Graphic3d_Group::*)( const Graphic3d_TypeOfPrimitiveArray , const opencascade::handle<Graphic3d_IndexBuffer> & , const opencascade::handle<Graphic3d_Buffer> & , const opencascade::handle<Graphic3d_BoundBuffer> & , const Standard_Boolean ) ) static_cast<void (Graphic3d_Group::*)( const Graphic3d_TypeOfPrimitiveArray , const opencascade::handle<Graphic3d_IndexBuffer> & , const opencascade::handle<Graphic3d_Buffer> & , const opencascade::handle<Graphic3d_BoundBuffer> & , const Standard_Boolean ) >(&Graphic3d_Group::AddPrimitiveArray),
R"#(Adds an array of primitives for display)#" , py::arg("theType"), py::arg("theIndices"), py::arg("theAttribs"), py::arg("theBounds"), py::arg("theToEvalMinMax")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("AddPrimitiveArray",
(void (Graphic3d_Group::*)( const opencascade::handle<Graphic3d_ArrayOfPrimitives> & , const Standard_Boolean ) ) static_cast<void (Graphic3d_Group::*)( const opencascade::handle<Graphic3d_ArrayOfPrimitives> & , const Standard_Boolean ) >(&Graphic3d_Group::AddPrimitiveArray),
R"#(Adds an array of primitives for display)#" , py::arg("thePrim"), py::arg("theToEvalMinMax")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("SetStencilTestOptions",
(void (Graphic3d_Group::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_Group::*)( const Standard_Boolean ) >(&Graphic3d_Group::SetStencilTestOptions),
R"#(sets the stencil test to theIsEnabled state;)#" , py::arg("theIsEnabled")
)
.def("SetFlippingOptions",
(void (Graphic3d_Group::*)( const Standard_Boolean , const gp_Ax2 & ) ) static_cast<void (Graphic3d_Group::*)( const Standard_Boolean , const gp_Ax2 & ) >(&Graphic3d_Group::SetFlippingOptions),
R"#(sets the flipping to theIsEnabled state.)#" , py::arg("theIsEnabled"), py::arg("theRefPlane")
)
.def("SetTransformPersistence",
(void (Graphic3d_Group::*)( const opencascade::handle<Graphic3d_TransformPers> & ) ) static_cast<void (Graphic3d_Group::*)( const opencascade::handle<Graphic3d_TransformPers> & ) >(&Graphic3d_Group::SetTransformPersistence),
R"#(Set transformation persistence.)#" , py::arg("theTrsfPers")
)
.def("IsDeleted",
(Standard_Boolean (Graphic3d_Group::*)() const) static_cast<Standard_Boolean (Graphic3d_Group::*)() const>(&Graphic3d_Group::IsDeleted),
R"#(Returns Standard_True if the group <me> is deleted. <me> is deleted after the call Remove (me) or the associated structure is deleted.)#"
)
.def("IsEmpty",
(Standard_Boolean (Graphic3d_Group::*)() const) static_cast<Standard_Boolean (Graphic3d_Group::*)() const>(&Graphic3d_Group::IsEmpty),
R"#(Returns Standard_True if the group <me> is empty.)#"
)
.def("SetMinMaxValues",
(void (Graphic3d_Group::*)( const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real ) ) static_cast<void (Graphic3d_Group::*)( const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real ) >(&Graphic3d_Group::SetMinMaxValues),
R"#(Sets the coordinates of the boundary box of the group.)#" , py::arg("theXMin"), py::arg("theYMin"), py::arg("theZMin"), py::arg("theXMax"), py::arg("theYMax"), py::arg("theZMax")
)
.def("Structure",
(opencascade::handle<Graphic3d_Structure> (Graphic3d_Group::*)() const) static_cast<opencascade::handle<Graphic3d_Structure> (Graphic3d_Group::*)() const>(&Graphic3d_Group::Structure),
R"#(Returns the structure containing the group <me>.)#"
)
.def("SetClosed",
(void (Graphic3d_Group::*)( const bool ) ) static_cast<void (Graphic3d_Group::*)( const bool ) >(&Graphic3d_Group::SetClosed),
R"#(Changes property shown that primitive arrays within this group form closed volume (do no contain open shells).)#" , py::arg("theIsClosed")
)
.def("IsClosed",
(bool (Graphic3d_Group::*)() const) static_cast<bool (Graphic3d_Group::*)() const>(&Graphic3d_Group::IsClosed),
R"#(Return true if primitive arrays within this graphic group form closed volume (do no contain open shells).)#"
)
.def("Marker",
(void (Graphic3d_Group::*)( const Graphic3d_Vertex & , const Standard_Boolean ) ) static_cast<void (Graphic3d_Group::*)( const Graphic3d_Vertex & , const Standard_Boolean ) >(&Graphic3d_Group::Marker),
R"#()#" , py::arg("thePoint"), py::arg("theToEvalMinMax")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("Text",
(void (Graphic3d_Group::*)( const Standard_CString , const Graphic3d_Vertex & , const Standard_Real , const Standard_Real , const Graphic3d_TextPath , const Graphic3d_HorizontalTextAlignment , const Graphic3d_VerticalTextAlignment , const Standard_Boolean ) ) static_cast<void (Graphic3d_Group::*)( const Standard_CString , const Graphic3d_Vertex & , const Standard_Real , const Standard_Real , const Graphic3d_TextPath , const Graphic3d_HorizontalTextAlignment , const Graphic3d_VerticalTextAlignment , const Standard_Boolean ) >(&Graphic3d_Group::Text),
R"#(Creates the string <AText> at position <APoint>. The 3D point of attachment is projected. The text is written in the plane of projection. The attributes are given with respect to the plane of projection. AHeight : Height of text. (Relative to the Normalized Projection Coordinates (NPC) Space). AAngle : Orientation of the text (with respect to the horizontal).)#" , py::arg("AText"), py::arg("APoint"), py::arg("AHeight"), py::arg("AAngle"), py::arg("ATp"), py::arg("AHta"), py::arg("AVta"), py::arg("EvalMinMax")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("Text",
(void (Graphic3d_Group::*)( const Standard_CString , const Graphic3d_Vertex & , const Standard_Real , const Standard_Boolean ) ) static_cast<void (Graphic3d_Group::*)( const Standard_CString , const Graphic3d_Vertex & , const Standard_Real , const Standard_Boolean ) >(&Graphic3d_Group::Text),
R"#(Creates the string <AText> at position <APoint>. The 3D point of attachment is projected. The text is written in the plane of projection. The attributes are given with respect to the plane of projection. AHeight : Height of text. (Relative to the Normalized Projection Coordinates (NPC) Space). The other attributes have the following default values: AAngle : PI / 2. ATp : TP_RIGHT AHta : HTA_LEFT AVta : VTA_BOTTOM)#" , py::arg("AText"), py::arg("APoint"), py::arg("AHeight"), py::arg("EvalMinMax")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("Text",
(void (Graphic3d_Group::*)( const TCollection_ExtendedString & , const Graphic3d_Vertex & , const Standard_Real , const Standard_Real , const Graphic3d_TextPath , const Graphic3d_HorizontalTextAlignment , const Graphic3d_VerticalTextAlignment , const Standard_Boolean ) ) static_cast<void (Graphic3d_Group::*)( const TCollection_ExtendedString & , const Graphic3d_Vertex & , const Standard_Real , const Standard_Real , const Graphic3d_TextPath , const Graphic3d_HorizontalTextAlignment , const Graphic3d_VerticalTextAlignment , const Standard_Boolean ) >(&Graphic3d_Group::Text),
R"#(Creates the string <AText> at position <APoint>. The 3D point of attachment is projected. The text is written in the plane of projection. The attributes are given with respect to the plane of projection. AHeight : Height of text. (Relative to the Normalized Projection Coordinates (NPC) Space). AAngle : Orientation of the text (with respect to the horizontal).)#" , py::arg("AText"), py::arg("APoint"), py::arg("AHeight"), py::arg("AAngle"), py::arg("ATp"), py::arg("AHta"), py::arg("AVta"), py::arg("EvalMinMax")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("Text",
(void (Graphic3d_Group::*)( const TCollection_ExtendedString & , const Graphic3d_Vertex & , const Standard_Real , const Standard_Boolean ) ) static_cast<void (Graphic3d_Group::*)( const TCollection_ExtendedString & , const Graphic3d_Vertex & , const Standard_Real , const Standard_Boolean ) >(&Graphic3d_Group::Text),
R"#(Creates the string <AText> at position <APoint>. The 3D point of attachment is projected. The text is written in the plane of projection. The attributes are given with respect to the plane of projection. AHeight : Height of text. (Relative to the Normalized Projection Coordinates (NPC) Space). The other attributes have the following default values: AAngle : PI / 2. ATp : TP_RIGHT AHta : HTA_LEFT AVta : VTA_BOTTOM)#" , py::arg("AText"), py::arg("APoint"), py::arg("AHeight"), py::arg("EvalMinMax")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("Text",
(void (Graphic3d_Group::*)( const Standard_CString , const gp_Ax2 & , const Standard_Real , const Standard_Real , const Graphic3d_TextPath , const Graphic3d_HorizontalTextAlignment , const Graphic3d_VerticalTextAlignment , const Standard_Boolean , const Standard_Boolean ) ) static_cast<void (Graphic3d_Group::*)( const Standard_CString , const gp_Ax2 & , const Standard_Real , const Standard_Real , const Graphic3d_TextPath , const Graphic3d_HorizontalTextAlignment , const Graphic3d_VerticalTextAlignment , const Standard_Boolean , const Standard_Boolean ) >(&Graphic3d_Group::Text),
R"#(Creates the string <theText> at orientation <theOrientation> in 3D space.)#" , py::arg("theTextUtf"), py::arg("theOrientation"), py::arg("theHeight"), py::arg("theAngle"), py::arg("theTp"), py::arg("theHTA"), py::arg("theVTA"), py::arg("theToEvalMinMax")=static_cast<const Standard_Boolean>(Standard_True), py::arg("theHasOwnAnchor")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("Text",
(void (Graphic3d_Group::*)( const TCollection_ExtendedString & , const gp_Ax2 & , const Standard_Real , const Standard_Real , const Graphic3d_TextPath , const Graphic3d_HorizontalTextAlignment , const Graphic3d_VerticalTextAlignment , const Standard_Boolean , const Standard_Boolean ) ) static_cast<void (Graphic3d_Group::*)( const TCollection_ExtendedString & , const gp_Ax2 & , const Standard_Real , const Standard_Real , const Graphic3d_TextPath , const Graphic3d_HorizontalTextAlignment , const Graphic3d_VerticalTextAlignment , const Standard_Boolean , const Standard_Boolean ) >(&Graphic3d_Group::Text),
R"#(Creates the string <theText> at orientation <theOrientation> in 3D space.)#" , py::arg("theText"), py::arg("theOrientation"), py::arg("theHeight"), py::arg("theAngle"), py::arg("theTp"), py::arg("theHTA"), py::arg("theVTA"), py::arg("theToEvalMinMax")=static_cast<const Standard_Boolean>(Standard_True), py::arg("theHasOwnAnchor")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("DumpJson",
(void (Graphic3d_Group::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_Group::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_Group::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
.def("MinMaxValues",
[]( Graphic3d_Group &self ){
Standard_Real theXMin;
Standard_Real theYMin;
Standard_Real theZMin;
Standard_Real theXMax;
Standard_Real theYMax;
Standard_Real theZMax;
self.MinMaxValues(theXMin,theYMin,theZMin,theXMax,theYMax,theZMax);
return std::make_tuple(theXMin,theYMin,theZMin,theXMax,theYMax,theZMax); },
R"#(Returns the coordinates of the boundary box of the group.)#"
)
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_Group::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_Group::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_Group::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_Group::*)() const>(&Graphic3d_Group::DynamicType),
R"#(None)#"
)
.def("TransformPersistence",
(const opencascade::handle<Graphic3d_TransformPers> & (Graphic3d_Group::*)() const) static_cast<const opencascade::handle<Graphic3d_TransformPers> & (Graphic3d_Group::*)() const>(&Graphic3d_Group::TransformPersistence),
R"#(Return transformation persistence.)#"
)
.def("BoundingBox",
(const Graphic3d_BndBox4f & (Graphic3d_Group::*)() const) static_cast<const Graphic3d_BndBox4f & (Graphic3d_Group::*)() const>(&Graphic3d_Group::BoundingBox),
R"#(Returns boundary box of the group <me> without transformation applied,)#"
)
.def("ChangeBoundingBox",
(Graphic3d_BndBox4f & (Graphic3d_Group::*)() ) static_cast<Graphic3d_BndBox4f & (Graphic3d_Group::*)() >(&Graphic3d_Group::ChangeBoundingBox),
R"#(Returns non-const boundary box of the group <me> without transformation applied,)#"
, py::return_value_policy::reference_internal
)
;
// Class Graphic3d_HatchStyle from ./opencascade/Graphic3d_HatchStyle.hxx
klass = m.attr("Graphic3d_HatchStyle");
// nested enums
static_cast<py::class_<Graphic3d_HatchStyle ,opencascade::handle<Graphic3d_HatchStyle> , Standard_Transient >>(klass)
// constructors
.def(py::init< const opencascade::handle<Image_PixMap> & >() , py::arg("thePattern") )
.def(py::init< const Aspect_HatchStyle >() , py::arg("theType") )
// custom constructors
// methods
.def("Pattern",
(const Standard_Byte * (Graphic3d_HatchStyle::*)() const) static_cast<const Standard_Byte * (Graphic3d_HatchStyle::*)() const>(&Graphic3d_HatchStyle::Pattern),
R"#(Returns the pattern of custom hatch style)#"
)
.def("HatchType",
(Standard_Integer (Graphic3d_HatchStyle::*)() const) static_cast<Standard_Integer (Graphic3d_HatchStyle::*)() const>(&Graphic3d_HatchStyle::HatchType),
R"#(In case if predefined OCCT style is used, returns index in Aspect_HatchStyle enumeration. If the style is custom, returns unique index of the style)#"
)
.def("DumpJson",
(void (Graphic3d_HatchStyle::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_HatchStyle::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_HatchStyle::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_HatchStyle::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_HatchStyle::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_HatchStyle::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_HatchStyle::*)() const>(&Graphic3d_HatchStyle::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_Layer from ./opencascade/Graphic3d_Layer.hxx
klass = m.attr("Graphic3d_Layer");
// nested enums
static_cast<py::class_<Graphic3d_Layer ,opencascade::handle<Graphic3d_Layer> , Standard_Transient >>(klass)
// constructors
.def(py::init< Graphic3d_ZLayerId,const opencascade::handle<Select3D_BVHBuilder3d> & >() , py::arg("theId"), py::arg("theBuilder") )
// custom constructors
// methods
.def("LayerId",
(Graphic3d_ZLayerId (Graphic3d_Layer::*)() const) static_cast<Graphic3d_ZLayerId (Graphic3d_Layer::*)() const>(&Graphic3d_Layer::LayerId),
R"#(Return layer id.)#"
)
.def("SetFrustumCullingBVHBuilder",
(void (Graphic3d_Layer::*)( const opencascade::handle<Select3D_BVHBuilder3d> & ) ) static_cast<void (Graphic3d_Layer::*)( const opencascade::handle<Select3D_BVHBuilder3d> & ) >(&Graphic3d_Layer::SetFrustumCullingBVHBuilder),
R"#(Assigns BVH tree builder for frustum culling.)#" , py::arg("theBuilder")
)
.def("IsImmediate",
(Standard_Boolean (Graphic3d_Layer::*)() const) static_cast<Standard_Boolean (Graphic3d_Layer::*)() const>(&Graphic3d_Layer::IsImmediate),
R"#(Return true if layer was marked with immediate flag.)#"
)
.def("SetLayerSettings",
(void (Graphic3d_Layer::*)( const Graphic3d_ZLayerSettings & ) ) static_cast<void (Graphic3d_Layer::*)( const Graphic3d_ZLayerSettings & ) >(&Graphic3d_Layer::SetLayerSettings),
R"#(Sets settings of the layer object.)#" , py::arg("theSettings")
)
.def("Add",
(void (Graphic3d_Layer::*)( const Graphic3d_CStructure * , Graphic3d_DisplayPriority , Standard_Boolean ) ) static_cast<void (Graphic3d_Layer::*)( const Graphic3d_CStructure * , Graphic3d_DisplayPriority , Standard_Boolean ) >(&Graphic3d_Layer::Add),
R"#(None)#" , py::arg("theStruct"), py::arg("thePriority"), py::arg("isForChangePriority")=static_cast<Standard_Boolean>(Standard_False)
)
.def("Remove",
(bool (Graphic3d_Layer::*)( const Graphic3d_CStructure * , Graphic3d_DisplayPriority & , Standard_Boolean ) ) static_cast<bool (Graphic3d_Layer::*)( const Graphic3d_CStructure * , Graphic3d_DisplayPriority & , Standard_Boolean ) >(&Graphic3d_Layer::Remove),
R"#(Remove structure and returns its priority, if the structure is not found, method returns negative value)#" , py::arg("theStruct"), py::arg("thePriority"), py::arg("isForChangePriority")=static_cast<Standard_Boolean>(Standard_False)
)
.def("NbStructures",
(Standard_Integer (Graphic3d_Layer::*)() const) static_cast<Standard_Integer (Graphic3d_Layer::*)() const>(&Graphic3d_Layer::NbStructures),
R"#(Returns the number of structures)#"
)
.def("NbStructuresNotCulled",
(Standard_Integer (Graphic3d_Layer::*)() const) static_cast<Standard_Integer (Graphic3d_Layer::*)() const>(&Graphic3d_Layer::NbStructuresNotCulled),
R"#(Number of NOT culled structures in the layer.)#"
)
.def("NbPriorities",
(Standard_Integer (Graphic3d_Layer::*)() const) static_cast<Standard_Integer (Graphic3d_Layer::*)() const>(&Graphic3d_Layer::NbPriorities),
R"#(Returns the number of available priority levels)#"
)
.def("Append",
(Standard_Boolean (Graphic3d_Layer::*)( const Graphic3d_Layer & ) ) static_cast<Standard_Boolean (Graphic3d_Layer::*)( const Graphic3d_Layer & ) >(&Graphic3d_Layer::Append),
R"#(Append layer of acceptable type (with similar number of priorities or less). Returns Standard_False if the list can not be accepted.)#" , py::arg("theOther")
)
.def("Structures",
(const Graphic3d_IndexedMapOfStructure & (Graphic3d_Layer::*)( Graphic3d_DisplayPriority ) const) static_cast<const Graphic3d_IndexedMapOfStructure & (Graphic3d_Layer::*)( Graphic3d_DisplayPriority ) const>(&Graphic3d_Layer::Structures),
R"#(Returns structures for specified priority.)#" , py::arg("thePriority")
)
.def("InvalidateBVHData",
(void (Graphic3d_Layer::*)() ) static_cast<void (Graphic3d_Layer::*)() >(&Graphic3d_Layer::InvalidateBVHData),
R"#(Marks BVH tree for given priority list as dirty and marks primitive set for rebuild.)#"
)
.def("InvalidateBoundingBox",
(void (Graphic3d_Layer::*)() const) static_cast<void (Graphic3d_Layer::*)() const>(&Graphic3d_Layer::InvalidateBoundingBox),
R"#(Marks cached bounding box as obsolete.)#"
)
.def("BoundingBox",
(Bnd_Box (Graphic3d_Layer::*)( Standard_Integer , const opencascade::handle<Graphic3d_Camera> & , Standard_Integer , Standard_Integer , Standard_Boolean ) const) static_cast<Bnd_Box (Graphic3d_Layer::*)( Standard_Integer , const opencascade::handle<Graphic3d_Camera> & , Standard_Integer , Standard_Integer , Standard_Boolean ) const>(&Graphic3d_Layer::BoundingBox),
R"#(Returns layer bounding box.)#" , py::arg("theViewId"), py::arg("theCamera"), py::arg("theWindowWidth"), py::arg("theWindowHeight"), py::arg("theToIncludeAuxiliary")
)
.def("considerZoomPersistenceObjects",
(Standard_Real (Graphic3d_Layer::*)( Standard_Integer , const opencascade::handle<Graphic3d_Camera> & , Standard_Integer , Standard_Integer ) const) static_cast<Standard_Real (Graphic3d_Layer::*)( Standard_Integer , const opencascade::handle<Graphic3d_Camera> & , Standard_Integer , Standard_Integer ) const>(&Graphic3d_Layer::considerZoomPersistenceObjects),
R"#(Returns zoom-scale factor.)#" , py::arg("theViewId"), py::arg("theCamera"), py::arg("theWindowWidth"), py::arg("theWindowHeight")
)
.def("UpdateCulling",
(void (Graphic3d_Layer::*)( Standard_Integer , const Graphic3d_CullingTool & , const Graphic3d_RenderingParams::FrustumCulling ) ) static_cast<void (Graphic3d_Layer::*)( Standard_Integer , const Graphic3d_CullingTool & , const Graphic3d_RenderingParams::FrustumCulling ) >(&Graphic3d_Layer::UpdateCulling),
R"#(Update culling state - should be called before rendering. Traverses through BVH tree to determine which structures are in view volume.)#" , py::arg("theViewId"), py::arg("theSelector"), py::arg("theFrustumCullingState")
)
.def("IsCulled",
(bool (Graphic3d_Layer::*)() const) static_cast<bool (Graphic3d_Layer::*)() const>(&Graphic3d_Layer::IsCulled),
R"#(Returns TRUE if layer is empty or has been discarded entirely by culling test.)#"
)
.def("NbOfTransformPersistenceObjects",
(Standard_Integer (Graphic3d_Layer::*)() const) static_cast<Standard_Integer (Graphic3d_Layer::*)() const>(&Graphic3d_Layer::NbOfTransformPersistenceObjects),
R"#(Returns number of transform persistence objects.)#"
)
.def("DumpJson",
(void (Graphic3d_Layer::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_Layer::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_Layer::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_Layer::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_Layer::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_Layer::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_Layer::*)() const>(&Graphic3d_Layer::DynamicType),
R"#(None)#"
)
.def("FrustumCullingBVHBuilder",
(const opencascade::handle<Select3D_BVHBuilder3d> & (Graphic3d_Layer::*)() const) static_cast<const opencascade::handle<Select3D_BVHBuilder3d> & (Graphic3d_Layer::*)() const>(&Graphic3d_Layer::FrustumCullingBVHBuilder),
R"#(Returns BVH tree builder for frustum culling.)#"
)
.def("LayerSettings",
(const Graphic3d_ZLayerSettings & (Graphic3d_Layer::*)() const) static_cast<const Graphic3d_ZLayerSettings & (Graphic3d_Layer::*)() const>(&Graphic3d_Layer::LayerSettings),
R"#(Returns settings of the layer object.)#"
)
.def("ArrayOfStructures",
(const Graphic3d_ArrayOfIndexedMapOfStructure & (Graphic3d_Layer::*)() const) static_cast<const Graphic3d_ArrayOfIndexedMapOfStructure & (Graphic3d_Layer::*)() const>(&Graphic3d_Layer::ArrayOfStructures),
R"#(Returns array of structures.)#"
)
.def("NonCullableStructures",
(const NCollection_IndexedMap<const Graphic3d_CStructure *> & (Graphic3d_Layer::*)() const) static_cast<const NCollection_IndexedMap<const Graphic3d_CStructure *> & (Graphic3d_Layer::*)() const>(&Graphic3d_Layer::NonCullableStructures),
R"#(Returns indexed map of always rendered structures.)#"
)
;
// Class Graphic3d_LightSet from ./opencascade/Graphic3d_LightSet.hxx
klass = m.attr("Graphic3d_LightSet");
// nested enums
py::enum_<Graphic3d_LightSet::IterationFilter>(klass, "IterationFilter_e", R"#(Iteration filter flags.)#")
.value("IterationFilter_None", Graphic3d_LightSet::IterationFilter::IterationFilter_None)
.value("IterationFilter_ExcludeAmbient", Graphic3d_LightSet::IterationFilter::IterationFilter_ExcludeAmbient)
.value("IterationFilter_ExcludeDisabled", Graphic3d_LightSet::IterationFilter::IterationFilter_ExcludeDisabled)
.value("IterationFilter_ExcludeNoShadow", Graphic3d_LightSet::IterationFilter::IterationFilter_ExcludeNoShadow)
.value("IterationFilter_ExcludeDisabledAndAmbient", Graphic3d_LightSet::IterationFilter::IterationFilter_ExcludeDisabledAndAmbient)
.value("IterationFilter_ActiveShadowCasters", Graphic3d_LightSet::IterationFilter::IterationFilter_ActiveShadowCasters).export_values();
static_cast<py::class_<Graphic3d_LightSet ,opencascade::handle<Graphic3d_LightSet> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("Lower",
(Standard_Integer (Graphic3d_LightSet::*)() const) static_cast<Standard_Integer (Graphic3d_LightSet::*)() const>(&Graphic3d_LightSet::Lower),
R"#(Return lower light index.)#"
)
.def("Upper",
(Standard_Integer (Graphic3d_LightSet::*)() const) static_cast<Standard_Integer (Graphic3d_LightSet::*)() const>(&Graphic3d_LightSet::Upper),
R"#(Return upper light index.)#"
)
.def("IsEmpty",
(Standard_Boolean (Graphic3d_LightSet::*)() const) static_cast<Standard_Boolean (Graphic3d_LightSet::*)() const>(&Graphic3d_LightSet::IsEmpty),
R"#(Return TRUE if lights list is empty.)#"
)
.def("Extent",
(Standard_Integer (Graphic3d_LightSet::*)() const) static_cast<Standard_Integer (Graphic3d_LightSet::*)() const>(&Graphic3d_LightSet::Extent),
R"#(Return number of light sources.)#"
)
.def("Value",
(const opencascade::handle<Graphic3d_CLight> & (Graphic3d_LightSet::*)( Standard_Integer ) const) static_cast<const opencascade::handle<Graphic3d_CLight> & (Graphic3d_LightSet::*)( Standard_Integer ) const>(&Graphic3d_LightSet::Value),
R"#(Return the light source for specified index within range [Lower(), Upper()].)#" , py::arg("theIndex")
)
.def("Contains",
(Standard_Boolean (Graphic3d_LightSet::*)( const opencascade::handle<Graphic3d_CLight> & ) const) static_cast<Standard_Boolean (Graphic3d_LightSet::*)( const opencascade::handle<Graphic3d_CLight> & ) const>(&Graphic3d_LightSet::Contains),
R"#(Return TRUE if light source is defined in this set.)#" , py::arg("theLight")
)
.def("Add",
(Standard_Boolean (Graphic3d_LightSet::*)( const opencascade::handle<Graphic3d_CLight> & ) ) static_cast<Standard_Boolean (Graphic3d_LightSet::*)( const opencascade::handle<Graphic3d_CLight> & ) >(&Graphic3d_LightSet::Add),
R"#(Append new light source.)#" , py::arg("theLight")
)
.def("Remove",
(Standard_Boolean (Graphic3d_LightSet::*)( const opencascade::handle<Graphic3d_CLight> & ) ) static_cast<Standard_Boolean (Graphic3d_LightSet::*)( const opencascade::handle<Graphic3d_CLight> & ) >(&Graphic3d_LightSet::Remove),
R"#(Remove light source.)#" , py::arg("theLight")
)
.def("NbLightsOfType",
(Standard_Integer (Graphic3d_LightSet::*)( Graphic3d_TypeOfLightSource ) const) static_cast<Standard_Integer (Graphic3d_LightSet::*)( Graphic3d_TypeOfLightSource ) const>(&Graphic3d_LightSet::NbLightsOfType),
R"#(Returns total amount of lights of specified type.)#" , py::arg("theType")
)
.def("UpdateRevision",
(Standard_Size (Graphic3d_LightSet::*)() ) static_cast<Standard_Size (Graphic3d_LightSet::*)() >(&Graphic3d_LightSet::UpdateRevision),
R"#(Update light sources revision.)#"
)
.def("Revision",
(Standard_Size (Graphic3d_LightSet::*)() const) static_cast<Standard_Size (Graphic3d_LightSet::*)() const>(&Graphic3d_LightSet::Revision),
R"#(Return light sources revision.)#"
)
.def("NbEnabled",
(Standard_Integer (Graphic3d_LightSet::*)() const) static_cast<Standard_Integer (Graphic3d_LightSet::*)() const>(&Graphic3d_LightSet::NbEnabled),
R"#(Returns total amount of enabled lights EXCLUDING ambient.)#"
)
.def("NbEnabledLightsOfType",
(Standard_Integer (Graphic3d_LightSet::*)( Graphic3d_TypeOfLightSource ) const) static_cast<Standard_Integer (Graphic3d_LightSet::*)( Graphic3d_TypeOfLightSource ) const>(&Graphic3d_LightSet::NbEnabledLightsOfType),
R"#(Returns total amount of enabled lights of specified type.)#" , py::arg("theType")
)
.def("NbCastShadows",
(Standard_Integer (Graphic3d_LightSet::*)() const) static_cast<Standard_Integer (Graphic3d_LightSet::*)() const>(&Graphic3d_LightSet::NbCastShadows),
R"#(Returns total amount of enabled lights castings shadows.)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_LightSet::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_LightSet::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_LightSet::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_LightSet::*)() const>(&Graphic3d_LightSet::DynamicType),
R"#(None)#"
)
.def("AmbientColor",
(const Graphic3d_Vec4 & (Graphic3d_LightSet::*)() const) static_cast<const Graphic3d_Vec4 & (Graphic3d_LightSet::*)() const>(&Graphic3d_LightSet::AmbientColor),
R"#(Returns cumulative ambient color, which is computed as sum of all enabled ambient light sources. Values are NOT clamped (can be greater than 1.0f) and alpha component is fixed to 1.0f.)#"
)
.def("KeyEnabledLong",
(const TCollection_AsciiString & (Graphic3d_LightSet::*)() const) static_cast<const TCollection_AsciiString & (Graphic3d_LightSet::*)() const>(&Graphic3d_LightSet::KeyEnabledLong),
R"#(Returns a string defining a list of enabled light sources as concatenation of letters 'd' (Directional), 'p' (Point), 's' (Spot) depending on the type of light source in the list. Example: "dppp".)#"
)
.def("KeyEnabledShort",
(const TCollection_AsciiString & (Graphic3d_LightSet::*)() const) static_cast<const TCollection_AsciiString & (Graphic3d_LightSet::*)() const>(&Graphic3d_LightSet::KeyEnabledShort),
R"#(Returns a string defining a list of enabled light sources as concatenation of letters 'd' (Directional), 'p' (Point), 's' (Spot) depending on the type of light source in the list, specified only once. Example: "dp".)#"
)
;
// Class Graphic3d_MarkerImage from ./opencascade/Graphic3d_MarkerImage.hxx
klass = m.attr("Graphic3d_MarkerImage");
// nested enums
static_cast<py::class_<Graphic3d_MarkerImage ,opencascade::handle<Graphic3d_MarkerImage> , Standard_Transient >>(klass)
// constructors
.def(py::init< const opencascade::handle<Image_PixMap> &,const opencascade::handle<Image_PixMap> & >() , py::arg("theImage"), py::arg("theImageAlpha")=static_cast<const opencascade::handle<Image_PixMap> &>(Handle ( Image_PixMap ) ( )) )
.def(py::init< const opencascade::handle<TColStd_HArray1OfByte> &,const Standard_Integer,const Standard_Integer >() , py::arg("theBitMap"), py::arg("theWidth"), py::arg("theHeight") )
// custom constructors
// methods
.def("IsColoredImage",
(bool (Graphic3d_MarkerImage::*)() const) static_cast<bool (Graphic3d_MarkerImage::*)() const>(&Graphic3d_MarkerImage::IsColoredImage),
R"#(Return TRUE if marker image has colors (e.g. RGBA and not grayscale).)#"
)
.def("GetBitMapArray",
(opencascade::handle<TColStd_HArray1OfByte> (Graphic3d_MarkerImage::*)( const Standard_Real , const Standard_Boolean ) const) static_cast<opencascade::handle<TColStd_HArray1OfByte> (Graphic3d_MarkerImage::*)( const Standard_Real , const Standard_Boolean ) const>(&Graphic3d_MarkerImage::GetBitMapArray),
R"#(Return marker image as array of bytes. If an instance of the class has been initialized with image, it will be converted to bitmap based on the parameter theAlphaValue.)#" , py::arg("theAlphaValue")=static_cast<const Standard_Real>(0.5), py::arg("theIsTopDown")=static_cast<const Standard_Boolean>(false)
)
// methods using call by reference i.s.o. return
.def("GetTextureSize",
[]( Graphic3d_MarkerImage &self ){
Standard_Integer theWidth;
Standard_Integer theHeight;
self.GetTextureSize(theWidth,theHeight);
return std::make_tuple(theWidth,theHeight); },
R"#(Return texture size)#"
)
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_MarkerImage::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_MarkerImage::get_type_descriptor),
R"#(None)#"
)
.def_static("StandardMarker_s",
(opencascade::handle<Graphic3d_MarkerImage> (*)( const Aspect_TypeOfMarker , const Standard_ShortReal , const NCollection_Vec4<Standard_ShortReal> & ) ) static_cast<opencascade::handle<Graphic3d_MarkerImage> (*)( const Aspect_TypeOfMarker , const Standard_ShortReal , const NCollection_Vec4<Standard_ShortReal> & ) >(&Graphic3d_MarkerImage::StandardMarker),
R"#(Returns a marker image for the marker of the specified type, scale and color.)#" , py::arg("theMarkerType"), py::arg("theScale"), py::arg("theColor")
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_MarkerImage::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_MarkerImage::*)() const>(&Graphic3d_MarkerImage::DynamicType),
R"#(None)#"
)
.def("GetImage",
(const opencascade::handle<Image_PixMap> & (Graphic3d_MarkerImage::*)() ) static_cast<const opencascade::handle<Image_PixMap> & (Graphic3d_MarkerImage::*)() >(&Graphic3d_MarkerImage::GetImage),
R"#(Return marker image. If an instance of the class has been initialized with a bitmap, it will be converted to image.)#"
)
.def("GetImageAlpha",
(const opencascade::handle<Image_PixMap> & (Graphic3d_MarkerImage::*)() ) static_cast<const opencascade::handle<Image_PixMap> & (Graphic3d_MarkerImage::*)() >(&Graphic3d_MarkerImage::GetImageAlpha),
R"#(Return image alpha as grayscale image. Note that if an instance of the class has been initialized with a bitmap or with grayscale image this method will return exactly the same image as GetImage())#"
)
.def("GetImageId",
(const TCollection_AsciiString & (Graphic3d_MarkerImage::*)() const) static_cast<const TCollection_AsciiString & (Graphic3d_MarkerImage::*)() const>(&Graphic3d_MarkerImage::GetImageId),
R"#(Return an unique ID. This ID will be used to manage resource in graphic driver.)#"
)
.def("GetImageAlphaId",
(const TCollection_AsciiString & (Graphic3d_MarkerImage::*)() const) static_cast<const TCollection_AsciiString & (Graphic3d_MarkerImage::*)() const>(&Graphic3d_MarkerImage::GetImageAlphaId),
R"#(Return an unique ID. This ID will be used to manage resource in graphic driver.)#"
)
;
// Class Graphic3d_MaterialAspect from ./opencascade/Graphic3d_MaterialAspect.hxx
klass = m.attr("Graphic3d_MaterialAspect");
// nested enums
static_cast<py::class_<Graphic3d_MaterialAspect , shared_ptr<Graphic3d_MaterialAspect> >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Graphic3d_NameOfMaterial >() , py::arg("theName") )
// custom constructors
// methods
.def("Name",
(Graphic3d_NameOfMaterial (Graphic3d_MaterialAspect::*)() const) static_cast<Graphic3d_NameOfMaterial (Graphic3d_MaterialAspect::*)() const>(&Graphic3d_MaterialAspect::Name),
R"#(Returns the material name (within predefined enumeration).)#"
)
.def("RequestedName",
(Graphic3d_NameOfMaterial (Graphic3d_MaterialAspect::*)() const) static_cast<Graphic3d_NameOfMaterial (Graphic3d_MaterialAspect::*)() const>(&Graphic3d_MaterialAspect::RequestedName),
R"#(Returns the material name within predefined enumeration which has been requested (before modifications).)#"
)
.def("MaterialName",
(Standard_CString (Graphic3d_MaterialAspect::*)() const) static_cast<Standard_CString (Graphic3d_MaterialAspect::*)() const>(&Graphic3d_MaterialAspect::MaterialName),
R"#(Returns the given name of this material. This might be:)#"
)
.def("SetMaterialName",
(void (Graphic3d_MaterialAspect::*)( const TCollection_AsciiString & ) ) static_cast<void (Graphic3d_MaterialAspect::*)( const TCollection_AsciiString & ) >(&Graphic3d_MaterialAspect::SetMaterialName),
R"#(The current material become a "UserDefined" material. Set the name of the "UserDefined" material.)#" , py::arg("theName")
)
.def("Reset",
(void (Graphic3d_MaterialAspect::*)() ) static_cast<void (Graphic3d_MaterialAspect::*)() >(&Graphic3d_MaterialAspect::Reset),
R"#(Resets the material with the original values according to the material name but leave the current color values untouched for the material of type ASPECT.)#"
)
.def("SetColor",
(void (Graphic3d_MaterialAspect::*)( const Quantity_Color & ) ) static_cast<void (Graphic3d_MaterialAspect::*)( const Quantity_Color & ) >(&Graphic3d_MaterialAspect::SetColor),
R"#(Modifies the ambient and diffuse color of the surface. WARNING! Has no effect for Graphic3d_MATERIAL_ASPECT material (color should be set to Graphic3d_Aspects::SetInteriorColor()).)#" , py::arg("theColor")
)
.def("Transparency",
(Standard_ShortReal (Graphic3d_MaterialAspect::*)() const) static_cast<Standard_ShortReal (Graphic3d_MaterialAspect::*)() const>(&Graphic3d_MaterialAspect::Transparency),
R"#(Returns the transparency coefficient of the surface (1.0 - Alpha); 0.0 means opaque.)#"
)
.def("Alpha",
(Standard_ShortReal (Graphic3d_MaterialAspect::*)() const) static_cast<Standard_ShortReal (Graphic3d_MaterialAspect::*)() const>(&Graphic3d_MaterialAspect::Alpha),
R"#(Returns the alpha coefficient of the surface (1.0 - Transparency); 1.0 means opaque.)#"
)
.def("SetTransparency",
(void (Graphic3d_MaterialAspect::*)( const Standard_ShortReal ) ) static_cast<void (Graphic3d_MaterialAspect::*)( const Standard_ShortReal ) >(&Graphic3d_MaterialAspect::SetTransparency),
R"#(Modifies the transparency coefficient of the surface, where 0 is opaque and 1 is fully transparent. Transparency is applicable to materials that have at least one of reflection modes (ambient, diffuse, specular or emissive) enabled. See also SetReflectionModeOn() and SetReflectionModeOff() methods.)#" , py::arg("theValue")
)
.def("SetAlpha",
(void (Graphic3d_MaterialAspect::*)( Standard_ShortReal ) ) static_cast<void (Graphic3d_MaterialAspect::*)( Standard_ShortReal ) >(&Graphic3d_MaterialAspect::SetAlpha),
R"#(Modifies the alpha coefficient of the surface, where 1.0 is opaque and 0.0 is fully transparent.)#" , py::arg("theValue")
)
.def("SetAmbientColor",
(void (Graphic3d_MaterialAspect::*)( const Quantity_Color & ) ) static_cast<void (Graphic3d_MaterialAspect::*)( const Quantity_Color & ) >(&Graphic3d_MaterialAspect::SetAmbientColor),
R"#(Modifies the ambient color of the surface.)#" , py::arg("theColor")
)
.def("SetDiffuseColor",
(void (Graphic3d_MaterialAspect::*)( const Quantity_Color & ) ) static_cast<void (Graphic3d_MaterialAspect::*)( const Quantity_Color & ) >(&Graphic3d_MaterialAspect::SetDiffuseColor),
R"#(Modifies the diffuse color of the surface.)#" , py::arg("theColor")
)
.def("SetSpecularColor",
(void (Graphic3d_MaterialAspect::*)( const Quantity_Color & ) ) static_cast<void (Graphic3d_MaterialAspect::*)( const Quantity_Color & ) >(&Graphic3d_MaterialAspect::SetSpecularColor),
R"#(Modifies the specular color of the surface.)#" , py::arg("theColor")
)
.def("SetEmissiveColor",
(void (Graphic3d_MaterialAspect::*)( const Quantity_Color & ) ) static_cast<void (Graphic3d_MaterialAspect::*)( const Quantity_Color & ) >(&Graphic3d_MaterialAspect::SetEmissiveColor),
R"#(Modifies the emissive color of the surface.)#" , py::arg("theColor")
)
.def("Shininess",
(Standard_ShortReal (Graphic3d_MaterialAspect::*)() const) static_cast<Standard_ShortReal (Graphic3d_MaterialAspect::*)() const>(&Graphic3d_MaterialAspect::Shininess),
R"#(Returns the luminosity of the surface.)#"
)
.def("SetShininess",
(void (Graphic3d_MaterialAspect::*)( const Standard_ShortReal ) ) static_cast<void (Graphic3d_MaterialAspect::*)( const Standard_ShortReal ) >(&Graphic3d_MaterialAspect::SetShininess),
R"#(Modifies the luminosity of the surface. Warning: Raises MaterialDefinitionError if given value is a negative value or greater than 1.0.)#" , py::arg("theValue")
)
.def("IncreaseShine",
(void (Graphic3d_MaterialAspect::*)( const Standard_ShortReal ) ) static_cast<void (Graphic3d_MaterialAspect::*)( const Standard_ShortReal ) >(&Graphic3d_MaterialAspect::IncreaseShine),
R"#(Increases or decreases the luminosity.)#" , py::arg("theDelta")
)
.def("RefractionIndex",
(Standard_ShortReal (Graphic3d_MaterialAspect::*)() const) static_cast<Standard_ShortReal (Graphic3d_MaterialAspect::*)() const>(&Graphic3d_MaterialAspect::RefractionIndex),
R"#(Returns the refraction index of the material)#"
)
.def("SetRefractionIndex",
(void (Graphic3d_MaterialAspect::*)( const Standard_ShortReal ) ) static_cast<void (Graphic3d_MaterialAspect::*)( const Standard_ShortReal ) >(&Graphic3d_MaterialAspect::SetRefractionIndex),
R"#(Modifies the refraction index of the material. Warning: Raises MaterialDefinitionError if given value is a lesser than 1.0.)#" , py::arg("theValue")
)
.def("SetBSDF",
(void (Graphic3d_MaterialAspect::*)( const Graphic3d_BSDF & ) ) static_cast<void (Graphic3d_MaterialAspect::*)( const Graphic3d_BSDF & ) >(&Graphic3d_MaterialAspect::SetBSDF),
R"#(Modifies the BSDF (bidirectional scattering distribution function).)#" , py::arg("theBSDF")
)
.def("SetPBRMaterial",
(void (Graphic3d_MaterialAspect::*)( const Graphic3d_PBRMaterial & ) ) static_cast<void (Graphic3d_MaterialAspect::*)( const Graphic3d_PBRMaterial & ) >(&Graphic3d_MaterialAspect::SetPBRMaterial),
R"#(Modifies the physically based representation of material)#" , py::arg("thePBRMaterial")
)
.def("ReflectionMode",
(Standard_Boolean (Graphic3d_MaterialAspect::*)( const Graphic3d_TypeOfReflection ) const) static_cast<Standard_Boolean (Graphic3d_MaterialAspect::*)( const Graphic3d_TypeOfReflection ) const>(&Graphic3d_MaterialAspect::ReflectionMode),
R"#(Returns TRUE if the reflection mode is active, FALSE otherwise.)#" , py::arg("theType")
)
.def("MaterialType",
(Graphic3d_TypeOfMaterial (Graphic3d_MaterialAspect::*)() const) static_cast<Graphic3d_TypeOfMaterial (Graphic3d_MaterialAspect::*)() const>(&Graphic3d_MaterialAspect::MaterialType),
R"#(Returns material type.)#"
)
.def("MaterialType",
(Standard_Boolean (Graphic3d_MaterialAspect::*)( const Graphic3d_TypeOfMaterial ) const) static_cast<Standard_Boolean (Graphic3d_MaterialAspect::*)( const Graphic3d_TypeOfMaterial ) const>(&Graphic3d_MaterialAspect::MaterialType),
R"#(Returns TRUE if type of this material is equal to specified type.)#" , py::arg("theType")
)
.def("SetMaterialType",
(void (Graphic3d_MaterialAspect::*)( const Graphic3d_TypeOfMaterial ) ) static_cast<void (Graphic3d_MaterialAspect::*)( const Graphic3d_TypeOfMaterial ) >(&Graphic3d_MaterialAspect::SetMaterialType),
R"#(Set material type.)#" , py::arg("theType")
)
.def("IsDifferent",
(Standard_Boolean (Graphic3d_MaterialAspect::*)( const Graphic3d_MaterialAspect & ) const) static_cast<Standard_Boolean (Graphic3d_MaterialAspect::*)( const Graphic3d_MaterialAspect & ) const>(&Graphic3d_MaterialAspect::IsDifferent),
R"#(Returns TRUE if this material differs from specified one.)#" , py::arg("theOther")
)
.def("IsEqual",
(Standard_Boolean (Graphic3d_MaterialAspect::*)( const Graphic3d_MaterialAspect & ) const) static_cast<Standard_Boolean (Graphic3d_MaterialAspect::*)( const Graphic3d_MaterialAspect & ) const>(&Graphic3d_MaterialAspect::IsEqual),
R"#(Returns TRUE if this material is identical to specified one.)#" , py::arg("theOther")
)
.def("DumpJson",
(void (Graphic3d_MaterialAspect::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_MaterialAspect::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_MaterialAspect::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
.def("SetReflectionModeOff",
(void (Graphic3d_MaterialAspect::*)( const Graphic3d_TypeOfReflection ) ) static_cast<void (Graphic3d_MaterialAspect::*)( const Graphic3d_TypeOfReflection ) >(&Graphic3d_MaterialAspect::SetReflectionModeOff),
R"#(Deactivates the reflective properties of the surface with specified reflection type.)#" , py::arg("theType")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("NumberOfMaterials_s",
(Standard_Integer (*)() ) static_cast<Standard_Integer (*)() >(&Graphic3d_MaterialAspect::NumberOfMaterials),
R"#(Returns the number of predefined textures.)#"
)
.def_static("MaterialName_s",
(Standard_CString (*)( const Standard_Integer ) ) static_cast<Standard_CString (*)( const Standard_Integer ) >(&Graphic3d_MaterialAspect::MaterialName),
R"#(Returns the name of the predefined material of specified rank within range [1, NumberOfMaterials()].)#" , py::arg("theRank")
)
.def_static("MaterialType_s",
(Graphic3d_TypeOfMaterial (*)( const Standard_Integer ) ) static_cast<Graphic3d_TypeOfMaterial (*)( const Standard_Integer ) >(&Graphic3d_MaterialAspect::MaterialType),
R"#(Returns the type of the predefined material of specified rank within range [1, NumberOfMaterials()].)#" , py::arg("theRank")
)
.def_static("MaterialFromName_s",
(Standard_Boolean (*)( const Standard_CString , Graphic3d_NameOfMaterial & ) ) static_cast<Standard_Boolean (*)( const Standard_CString , Graphic3d_NameOfMaterial & ) >(&Graphic3d_MaterialAspect::MaterialFromName),
R"#(Finds the material for specified name.)#" , py::arg("theName"), py::arg("theMat")
)
.def_static("MaterialFromName_s",
(Graphic3d_NameOfMaterial (*)( const Standard_CString ) ) static_cast<Graphic3d_NameOfMaterial (*)( const Standard_CString ) >(&Graphic3d_MaterialAspect::MaterialFromName),
R"#(Returns the material for specified name or Graphic3d_NameOfMaterial_DEFAULT if name is unknown.)#" , py::arg("theName")
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("StringName",
(const TCollection_AsciiString & (Graphic3d_MaterialAspect::*)() const) static_cast<const TCollection_AsciiString & (Graphic3d_MaterialAspect::*)() const>(&Graphic3d_MaterialAspect::StringName),
R"#(Returns the given name of this material. This might be: - given name set by method ::SetMaterialName() - standard name for a material within enumeration - "UserDefined" for non-standard material without name specified externally.)#"
)
.def("Color",
(const Quantity_Color & (Graphic3d_MaterialAspect::*)() const) static_cast<const Quantity_Color & (Graphic3d_MaterialAspect::*)() const>(&Graphic3d_MaterialAspect::Color),
R"#(Returns the diffuse color of the surface. WARNING! This method does NOT return color for Graphic3d_MATERIAL_ASPECT material (color is defined by Graphic3d_Aspects::InteriorColor()).)#"
)
.def("AmbientColor",
(const Quantity_Color & (Graphic3d_MaterialAspect::*)() const) static_cast<const Quantity_Color & (Graphic3d_MaterialAspect::*)() const>(&Graphic3d_MaterialAspect::AmbientColor),
R"#(Returns the ambient color of the surface.)#"
)
.def("DiffuseColor",
(const Quantity_Color & (Graphic3d_MaterialAspect::*)() const) static_cast<const Quantity_Color & (Graphic3d_MaterialAspect::*)() const>(&Graphic3d_MaterialAspect::DiffuseColor),
R"#(Returns the diffuse color of the surface.)#"
)
.def("SpecularColor",
(const Quantity_Color & (Graphic3d_MaterialAspect::*)() const) static_cast<const Quantity_Color & (Graphic3d_MaterialAspect::*)() const>(&Graphic3d_MaterialAspect::SpecularColor),
R"#(Returns the specular color of the surface.)#"
)
.def("EmissiveColor",
(const Quantity_Color & (Graphic3d_MaterialAspect::*)() const) static_cast<const Quantity_Color & (Graphic3d_MaterialAspect::*)() const>(&Graphic3d_MaterialAspect::EmissiveColor),
R"#(Returns the emissive color of the surface.)#"
)
.def("BSDF",
(const Graphic3d_BSDF & (Graphic3d_MaterialAspect::*)() const) static_cast<const Graphic3d_BSDF & (Graphic3d_MaterialAspect::*)() const>(&Graphic3d_MaterialAspect::BSDF),
R"#(Returns BSDF (bidirectional scattering distribution function).)#"
)
.def("PBRMaterial",
(const Graphic3d_PBRMaterial & (Graphic3d_MaterialAspect::*)() const) static_cast<const Graphic3d_PBRMaterial & (Graphic3d_MaterialAspect::*)() const>(&Graphic3d_MaterialAspect::PBRMaterial),
R"#(Returns physically based representation of material)#"
)
;
// Class Graphic3d_PBRMaterial from ./opencascade/Graphic3d_PBRMaterial.hxx
klass = m.attr("Graphic3d_PBRMaterial");
// nested enums
static_cast<py::class_<Graphic3d_PBRMaterial , shared_ptr<Graphic3d_PBRMaterial> >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Graphic3d_BSDF & >() , py::arg("theBSDF") )
// custom constructors
// methods
.def("Metallic",
(Standard_ShortReal (Graphic3d_PBRMaterial::*)() const) static_cast<Standard_ShortReal (Graphic3d_PBRMaterial::*)() const>(&Graphic3d_PBRMaterial::Metallic),
R"#(Returns material's metallic coefficient in [0, 1] range. 1 for metals and 0 for dielectrics. It is preferable to be exactly 0 or 1. Average values are needed for textures mixing in shader.)#"
)
.def("SetMetallic",
(void (Graphic3d_PBRMaterial::*)( Standard_ShortReal ) ) static_cast<void (Graphic3d_PBRMaterial::*)( Standard_ShortReal ) >(&Graphic3d_PBRMaterial::SetMetallic),
R"#(Modifies metallic coefficient of material in [0, 1] range.)#" , py::arg("theMetallic")
)
.def("Roughness",
(Standard_ShortReal (Graphic3d_PBRMaterial::*)() const) static_cast<Standard_ShortReal (Graphic3d_PBRMaterial::*)() const>(&Graphic3d_PBRMaterial::Roughness),
R"#(Returns real value of roughness in [MinRoughness, 1] range for calculations.)#"
)
.def("NormalizedRoughness",
(Standard_ShortReal (Graphic3d_PBRMaterial::*)() const) static_cast<Standard_ShortReal (Graphic3d_PBRMaterial::*)() const>(&Graphic3d_PBRMaterial::NormalizedRoughness),
R"#(Returns roughness mapping parameter in [0, 1] range. Roughness is defined in [0, 1] for handful material settings and is mapped to [MinRoughness, 1] for calculations.)#"
)
.def("SetRoughness",
(void (Graphic3d_PBRMaterial::*)( Standard_ShortReal ) ) static_cast<void (Graphic3d_PBRMaterial::*)( Standard_ShortReal ) >(&Graphic3d_PBRMaterial::SetRoughness),
R"#(Modifies roughness coefficient of material in [0, 1] range.)#" , py::arg("theRoughness")
)
.def("IOR",
(Standard_ShortReal (Graphic3d_PBRMaterial::*)() const) static_cast<Standard_ShortReal (Graphic3d_PBRMaterial::*)() const>(&Graphic3d_PBRMaterial::IOR),
R"#(Returns index of refraction in [1, 3] range.)#"
)
.def("SetIOR",
(void (Graphic3d_PBRMaterial::*)( Standard_ShortReal ) ) static_cast<void (Graphic3d_PBRMaterial::*)( Standard_ShortReal ) >(&Graphic3d_PBRMaterial::SetIOR),
R"#(Modifies index of refraction in [1, 3] range. In practice affects only on non-metal materials reflection possibilities.)#" , py::arg("theIOR")
)
.def("SetColor",
(void (Graphic3d_PBRMaterial::*)( const Quantity_ColorRGBA & ) ) static_cast<void (Graphic3d_PBRMaterial::*)( const Quantity_ColorRGBA & ) >(&Graphic3d_PBRMaterial::SetColor),
R"#(Modifies albedo color with alpha component.)#" , py::arg("theColor")
)
.def("SetColor",
(void (Graphic3d_PBRMaterial::*)( const Quantity_Color & ) ) static_cast<void (Graphic3d_PBRMaterial::*)( const Quantity_Color & ) >(&Graphic3d_PBRMaterial::SetColor),
R"#(Modifies only albedo color.)#" , py::arg("theColor")
)
.def("Alpha",
(Standard_ShortReal (Graphic3d_PBRMaterial::*)() const) static_cast<Standard_ShortReal (Graphic3d_PBRMaterial::*)() const>(&Graphic3d_PBRMaterial::Alpha),
R"#(Returns alpha component in range [0, 1].)#"
)
.def("SetAlpha",
(void (Graphic3d_PBRMaterial::*)( Standard_ShortReal ) ) static_cast<void (Graphic3d_PBRMaterial::*)( Standard_ShortReal ) >(&Graphic3d_PBRMaterial::SetAlpha),
R"#(Modifies alpha component.)#" , py::arg("theAlpha")
)
.def("Emission",
(Graphic3d_Vec3 (Graphic3d_PBRMaterial::*)() const) static_cast<Graphic3d_Vec3 (Graphic3d_PBRMaterial::*)() const>(&Graphic3d_PBRMaterial::Emission),
R"#(Returns light intensity emitted by material. Values are greater or equal 0.)#"
)
.def("SetEmission",
(void (Graphic3d_PBRMaterial::*)( const NCollection_Vec3<Standard_ShortReal> & ) ) static_cast<void (Graphic3d_PBRMaterial::*)( const NCollection_Vec3<Standard_ShortReal> & ) >(&Graphic3d_PBRMaterial::SetEmission),
R"#(Modifies light intensity emitted by material.)#" , py::arg("theEmission")
)
.def("SetBSDF",
(void (Graphic3d_PBRMaterial::*)( const Graphic3d_BSDF & ) ) static_cast<void (Graphic3d_PBRMaterial::*)( const Graphic3d_BSDF & ) >(&Graphic3d_PBRMaterial::SetBSDF),
R"#(Generates material in Metallic-Roughness system from Graphic3d_BSDF.)#" , py::arg("theBSDF")
)
.def("DumpJson",
(void (Graphic3d_PBRMaterial::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_PBRMaterial::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_PBRMaterial::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
// static methods
.def_static("Roughness_s",
(Standard_ShortReal (*)( Standard_ShortReal ) ) static_cast<Standard_ShortReal (*)( Standard_ShortReal ) >(&Graphic3d_PBRMaterial::Roughness),
R"#(Maps roughness from [0, 1] to [MinRoughness, 1] for calculations.)#" , py::arg("theNormalizedRoughness")
)
.def_static("GenerateEnvLUT_s",
(void (*)( const opencascade::handle<Image_PixMap> & , unsigned int ) ) static_cast<void (*)( const opencascade::handle<Image_PixMap> & , unsigned int ) >(&Graphic3d_PBRMaterial::GenerateEnvLUT),
R"#(Generates 2D look up table of scale and bias for fresnell zero coefficient. It is needed for calculation reflectance part of environment lighting.)#" , py::arg("theLUT"), py::arg("theNbIntegralSamples")=static_cast<unsigned int>(1024)
)
.def_static("RoughnessFromSpecular_s",
(Standard_ShortReal (*)( const Quantity_Color & , const Standard_Real ) ) static_cast<Standard_ShortReal (*)( const Quantity_Color & , const Standard_Real ) >(&Graphic3d_PBRMaterial::RoughnessFromSpecular),
R"#(Compute material roughness from common material (specular color + shininess).)#" , py::arg("theSpecular"), py::arg("theShiness")
)
.def_static("MetallicFromSpecular_s",
(Standard_ShortReal (*)( const Quantity_Color & ) ) static_cast<Standard_ShortReal (*)( const Quantity_Color & ) >(&Graphic3d_PBRMaterial::MetallicFromSpecular),
R"#(Compute material metallicity from common material (specular color).)#" , py::arg("theSpecular")
)
.def_static("MinRoughness_s",
(Standard_ShortReal (*)() ) static_cast<Standard_ShortReal (*)() >(&Graphic3d_PBRMaterial::MinRoughness),
R"#(Roughness cannot be 0 in real calculations, so it returns minimal achievable level of roughness in practice)#"
)
.def_static("SpecIBLMapSamplesFactor_s",
(Standard_ShortReal (*)( Standard_ShortReal , Standard_ShortReal ) ) static_cast<Standard_ShortReal (*)( Standard_ShortReal , Standard_ShortReal ) >(&Graphic3d_PBRMaterial::SpecIBLMapSamplesFactor),
R"#(Shows how much times less samples can be used in certain roughness value specular IBL map generation in compare with samples number for map with roughness of 1. Specular IBL maps with less roughness values have higher resolution but require less samples for the same quality of baking. So that reducing samples number is good strategy to improve performance of baking. The samples number for specular IBL map with roughness of 1 (the maximum possible samples number) is expected to be defined as baking parameter. Samples number for other roughness values can be calculated by multiplication origin samples number by this factor.)#" , py::arg("theProbability"), py::arg("theRoughness")
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Color",
(const Quantity_ColorRGBA & (Graphic3d_PBRMaterial::*)() const) static_cast<const Quantity_ColorRGBA & (Graphic3d_PBRMaterial::*)() const>(&Graphic3d_PBRMaterial::Color),
R"#(Returns albedo color with alpha component of material.)#"
)
;
// Class Graphic3d_PolygonOffset from ./opencascade/Graphic3d_PolygonOffset.hxx
klass = m.attr("Graphic3d_PolygonOffset");
// nested enums
static_cast<py::class_<Graphic3d_PolygonOffset , shared_ptr<Graphic3d_PolygonOffset> >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("DumpJson",
(void (Graphic3d_PolygonOffset::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_PolygonOffset::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_PolygonOffset::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
.def_readwrite("Mode", &Graphic3d_PolygonOffset::Mode)
.def_readwrite("Factor", &Graphic3d_PolygonOffset::Factor)
.def_readwrite("Units", &Graphic3d_PolygonOffset::Units)
// methods returning by ref wrapped as properties
;
// Class Graphic3d_PresentationAttributes from ./opencascade/Graphic3d_PresentationAttributes.hxx
klass = m.attr("Graphic3d_PresentationAttributes");
// nested enums
static_cast<py::class_<Graphic3d_PresentationAttributes ,opencascade::handle<Graphic3d_PresentationAttributes> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("Method",
(Aspect_TypeOfHighlightMethod (Graphic3d_PresentationAttributes::*)() const) static_cast<Aspect_TypeOfHighlightMethod (Graphic3d_PresentationAttributes::*)() const>(&Graphic3d_PresentationAttributes::Method),
R"#(Returns highlight method, Aspect_TOHM_COLOR by default.)#"
)
.def("SetMethod",
(void (Graphic3d_PresentationAttributes::*)( const Aspect_TypeOfHighlightMethod ) ) static_cast<void (Graphic3d_PresentationAttributes::*)( const Aspect_TypeOfHighlightMethod ) >(&Graphic3d_PresentationAttributes::SetMethod),
R"#(Changes highlight method to the given one.)#" , py::arg("theMethod")
)
.def("SetColor",
(void (Graphic3d_PresentationAttributes::*)( const Quantity_Color & ) ) static_cast<void (Graphic3d_PresentationAttributes::*)( const Quantity_Color & ) >(&Graphic3d_PresentationAttributes::SetColor),
R"#(Sets basic presentation color (RGB components, does not modifies transparency).)#" , py::arg("theColor")
)
.def("Transparency",
(Standard_ShortReal (Graphic3d_PresentationAttributes::*)() const) static_cast<Standard_ShortReal (Graphic3d_PresentationAttributes::*)() const>(&Graphic3d_PresentationAttributes::Transparency),
R"#(Returns basic presentation transparency (0 - opaque, 1 - fully transparent), 0 by default (opaque).)#"
)
.def("SetTransparency",
(void (Graphic3d_PresentationAttributes::*)( const Standard_ShortReal ) ) static_cast<void (Graphic3d_PresentationAttributes::*)( const Standard_ShortReal ) >(&Graphic3d_PresentationAttributes::SetTransparency),
R"#(Sets basic presentation transparency (0 - opaque, 1 - fully transparent).)#" , py::arg("theTranspCoef")
)
.def("ZLayer",
(Graphic3d_ZLayerId (Graphic3d_PresentationAttributes::*)() const) static_cast<Graphic3d_ZLayerId (Graphic3d_PresentationAttributes::*)() const>(&Graphic3d_PresentationAttributes::ZLayer),
R"#(Returns presentation Zlayer, Graphic3d_ZLayerId_Default by default. Graphic3d_ZLayerId_UNKNOWN means undefined (a layer of main presentation to be used).)#"
)
.def("SetZLayer",
(void (Graphic3d_PresentationAttributes::*)( const Graphic3d_ZLayerId ) ) static_cast<void (Graphic3d_PresentationAttributes::*)( const Graphic3d_ZLayerId ) >(&Graphic3d_PresentationAttributes::SetZLayer),
R"#(Sets presentation Zlayer.)#" , py::arg("theLayer")
)
.def("DisplayMode",
(Standard_Integer (Graphic3d_PresentationAttributes::*)() const) static_cast<Standard_Integer (Graphic3d_PresentationAttributes::*)() const>(&Graphic3d_PresentationAttributes::DisplayMode),
R"#(Returns display mode, 0 by default. -1 means undefined (main display mode of presentation to be used).)#"
)
.def("SetDisplayMode",
(void (Graphic3d_PresentationAttributes::*)( const Standard_Integer ) ) static_cast<void (Graphic3d_PresentationAttributes::*)( const Standard_Integer ) >(&Graphic3d_PresentationAttributes::SetDisplayMode),
R"#(Sets display mode.)#" , py::arg("theMode")
)
.def("SetBasicFillAreaAspect",
(void (Graphic3d_PresentationAttributes::*)( const opencascade::handle<Graphic3d_AspectFillArea3d> & ) ) static_cast<void (Graphic3d_PresentationAttributes::*)( const opencascade::handle<Graphic3d_AspectFillArea3d> & ) >(&Graphic3d_PresentationAttributes::SetBasicFillAreaAspect),
R"#(Sets basic presentation fill area aspect.)#" , py::arg("theAspect")
)
.def("DumpJson",
(void (Graphic3d_PresentationAttributes::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_PresentationAttributes::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_PresentationAttributes::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_PresentationAttributes::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_PresentationAttributes::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_PresentationAttributes::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_PresentationAttributes::*)() const>(&Graphic3d_PresentationAttributes::DynamicType),
R"#(None)#"
)
.def("ColorRGBA",
(const Quantity_ColorRGBA & (Graphic3d_PresentationAttributes::*)() const) static_cast<const Quantity_ColorRGBA & (Graphic3d_PresentationAttributes::*)() const>(&Graphic3d_PresentationAttributes::ColorRGBA),
R"#(Returns basic presentation color (including alpha channel).)#"
)
.def("Color",
(const Quantity_Color & (Graphic3d_PresentationAttributes::*)() const) static_cast<const Quantity_Color & (Graphic3d_PresentationAttributes::*)() const>(&Graphic3d_PresentationAttributes::Color),
R"#(Returns basic presentation color, Quantity_NOC_WHITE by default.)#"
)
.def("BasicFillAreaAspect",
(const opencascade::handle<Graphic3d_AspectFillArea3d> & (Graphic3d_PresentationAttributes::*)() const) static_cast<const opencascade::handle<Graphic3d_AspectFillArea3d> & (Graphic3d_PresentationAttributes::*)() const>(&Graphic3d_PresentationAttributes::BasicFillAreaAspect),
R"#(Return basic presentation fill area aspect, NULL by default. When set, might be used instead of Color() property.)#"
)
;
// Class Graphic3d_RenderingParams from ./opencascade/Graphic3d_RenderingParams.hxx
klass = m.attr("Graphic3d_RenderingParams");
// nested enums
py::enum_<Graphic3d_RenderingParams::Anaglyph>(klass, "Anaglyph_e", R"#(Anaglyph filter presets.)#")
.value("Anaglyph_RedCyan_Simple", Graphic3d_RenderingParams::Anaglyph::Anaglyph_RedCyan_Simple)
.value("Anaglyph_RedCyan_Optimized", Graphic3d_RenderingParams::Anaglyph::Anaglyph_RedCyan_Optimized)
.value("Anaglyph_YellowBlue_Simple", Graphic3d_RenderingParams::Anaglyph::Anaglyph_YellowBlue_Simple)
.value("Anaglyph_YellowBlue_Optimized", Graphic3d_RenderingParams::Anaglyph::Anaglyph_YellowBlue_Optimized)
.value("Anaglyph_GreenMagenta_Simple", Graphic3d_RenderingParams::Anaglyph::Anaglyph_GreenMagenta_Simple)
.value("Anaglyph_UserDefined", Graphic3d_RenderingParams::Anaglyph::Anaglyph_UserDefined).export_values();
py::enum_<Graphic3d_RenderingParams::PerfCounters>(klass, "PerfCounters_e", R"#(Statistics display flags. If not specified otherwise, the counter value is computed for a single rendered frame.)#")
.value("PerfCounters_NONE", Graphic3d_RenderingParams::PerfCounters::PerfCounters_NONE)
.value("PerfCounters_FrameRate", Graphic3d_RenderingParams::PerfCounters::PerfCounters_FrameRate)
.value("PerfCounters_CPU", Graphic3d_RenderingParams::PerfCounters::PerfCounters_CPU)
.value("PerfCounters_Layers", Graphic3d_RenderingParams::PerfCounters::PerfCounters_Layers)
.value("PerfCounters_Structures", Graphic3d_RenderingParams::PerfCounters::PerfCounters_Structures)
.value("PerfCounters_Groups", Graphic3d_RenderingParams::PerfCounters::PerfCounters_Groups)
.value("PerfCounters_GroupArrays", Graphic3d_RenderingParams::PerfCounters::PerfCounters_GroupArrays)
.value("PerfCounters_Triangles", Graphic3d_RenderingParams::PerfCounters::PerfCounters_Triangles)
.value("PerfCounters_Points", Graphic3d_RenderingParams::PerfCounters::PerfCounters_Points)
.value("PerfCounters_Lines", Graphic3d_RenderingParams::PerfCounters::PerfCounters_Lines)
.value("PerfCounters_EstimMem", Graphic3d_RenderingParams::PerfCounters::PerfCounters_EstimMem)
.value("PerfCounters_FrameTime", Graphic3d_RenderingParams::PerfCounters::PerfCounters_FrameTime)
.value("PerfCounters_FrameTimeMax", Graphic3d_RenderingParams::PerfCounters::PerfCounters_FrameTimeMax)
.value("PerfCounters_SkipImmediate", Graphic3d_RenderingParams::PerfCounters::PerfCounters_SkipImmediate)
.value("PerfCounters_Basic", Graphic3d_RenderingParams::PerfCounters::PerfCounters_Basic)
.value("PerfCounters_Extended", Graphic3d_RenderingParams::PerfCounters::PerfCounters_Extended)
.value("PerfCounters_All", Graphic3d_RenderingParams::PerfCounters::PerfCounters_All).export_values();
py::enum_<Graphic3d_RenderingParams::FrustumCulling>(klass, "FrustumCulling_e", R"#(State of frustum culling optimization.)#")
.value("FrustumCulling_Off", Graphic3d_RenderingParams::FrustumCulling::FrustumCulling_Off)
.value("FrustumCulling_On", Graphic3d_RenderingParams::FrustumCulling::FrustumCulling_On)
.value("FrustumCulling_NoUpdate", Graphic3d_RenderingParams::FrustumCulling::FrustumCulling_NoUpdate).export_values();
static_cast<py::class_<Graphic3d_RenderingParams , shared_ptr<Graphic3d_RenderingParams> >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("ResolutionRatio",
(Standard_ShortReal (Graphic3d_RenderingParams::*)() const) static_cast<Standard_ShortReal (Graphic3d_RenderingParams::*)() const>(&Graphic3d_RenderingParams::ResolutionRatio),
R"#(Returns resolution ratio.)#"
)
.def("DumpJson",
(void (Graphic3d_RenderingParams::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_RenderingParams::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_RenderingParams::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
.def_readwrite("Method", &Graphic3d_RenderingParams::Method)
.def_readwrite("ShadingModel", &Graphic3d_RenderingParams::ShadingModel)
.def_readwrite("TransparencyMethod", &Graphic3d_RenderingParams::TransparencyMethod)
.def_readwrite("FontHinting", &Graphic3d_RenderingParams::FontHinting)
.def_readwrite("LineFeather", &Graphic3d_RenderingParams::LineFeather)
.def_readwrite("PbrEnvPow2Size", &Graphic3d_RenderingParams::PbrEnvPow2Size)
.def_readwrite("PbrEnvSpecMapNbLevels", &Graphic3d_RenderingParams::PbrEnvSpecMapNbLevels)
.def_readwrite("PbrEnvBakingDiffNbSamples", &Graphic3d_RenderingParams::PbrEnvBakingDiffNbSamples)
.def_readwrite("PbrEnvBakingSpecNbSamples", &Graphic3d_RenderingParams::PbrEnvBakingSpecNbSamples)
.def_readwrite("PbrEnvBakingProbability", &Graphic3d_RenderingParams::PbrEnvBakingProbability)
.def_readwrite("OitDepthFactor", &Graphic3d_RenderingParams::OitDepthFactor)
.def_readwrite("NbOitDepthPeelingLayers", &Graphic3d_RenderingParams::NbOitDepthPeelingLayers)
.def_readwrite("NbMsaaSamples", &Graphic3d_RenderingParams::NbMsaaSamples)
.def_readwrite("RenderResolutionScale", &Graphic3d_RenderingParams::RenderResolutionScale)
.def_readwrite("ShadowMapResolution", &Graphic3d_RenderingParams::ShadowMapResolution)
.def_readwrite("ShadowMapBias", &Graphic3d_RenderingParams::ShadowMapBias)
.def_readwrite("ToEnableDepthPrepass", &Graphic3d_RenderingParams::ToEnableDepthPrepass)
.def_readwrite("ToEnableAlphaToCoverage", &Graphic3d_RenderingParams::ToEnableAlphaToCoverage)
.def_readwrite("IsGlobalIlluminationEnabled", &Graphic3d_RenderingParams::IsGlobalIlluminationEnabled)
.def_readwrite("SamplesPerPixel", &Graphic3d_RenderingParams::SamplesPerPixel)
.def_readwrite("RaytracingDepth", &Graphic3d_RenderingParams::RaytracingDepth)
.def_readwrite("IsShadowEnabled", &Graphic3d_RenderingParams::IsShadowEnabled)
.def_readwrite("IsReflectionEnabled", &Graphic3d_RenderingParams::IsReflectionEnabled)
.def_readwrite("IsAntialiasingEnabled", &Graphic3d_RenderingParams::IsAntialiasingEnabled)
.def_readwrite("IsTransparentShadowEnabled", &Graphic3d_RenderingParams::IsTransparentShadowEnabled)
.def_readwrite("UseEnvironmentMapBackground", &Graphic3d_RenderingParams::UseEnvironmentMapBackground)
.def_readwrite("ToIgnoreNormalMapInRayTracing", &Graphic3d_RenderingParams::ToIgnoreNormalMapInRayTracing)
.def_readwrite("CoherentPathTracingMode", &Graphic3d_RenderingParams::CoherentPathTracingMode)
.def_readwrite("AdaptiveScreenSampling", &Graphic3d_RenderingParams::AdaptiveScreenSampling)
.def_readwrite("AdaptiveScreenSamplingAtomic", &Graphic3d_RenderingParams::AdaptiveScreenSamplingAtomic)
.def_readwrite("ShowSamplingTiles", &Graphic3d_RenderingParams::ShowSamplingTiles)
.def_readwrite("TwoSidedBsdfModels", &Graphic3d_RenderingParams::TwoSidedBsdfModels)
.def_readwrite("RadianceClampingValue", &Graphic3d_RenderingParams::RadianceClampingValue)
.def_readwrite("RebuildRayTracingShaders", &Graphic3d_RenderingParams::RebuildRayTracingShaders)
.def_readwrite("RayTracingTileSize", &Graphic3d_RenderingParams::RayTracingTileSize)
.def_readwrite("NbRayTracingTiles", &Graphic3d_RenderingParams::NbRayTracingTiles)
.def_readwrite("CameraApertureRadius", &Graphic3d_RenderingParams::CameraApertureRadius)
.def_readwrite("CameraFocalPlaneDist", &Graphic3d_RenderingParams::CameraFocalPlaneDist)
.def_readwrite("ToneMappingMethod", &Graphic3d_RenderingParams::ToneMappingMethod)
.def_readwrite("Exposure", &Graphic3d_RenderingParams::Exposure)
.def_readwrite("WhitePoint", &Graphic3d_RenderingParams::WhitePoint)
.def_readwrite("StereoMode", &Graphic3d_RenderingParams::StereoMode)
.def_readwrite("HmdFov2d", &Graphic3d_RenderingParams::HmdFov2d)
.def_readwrite("AnaglyphLeft", &Graphic3d_RenderingParams::AnaglyphLeft)
.def_readwrite("AnaglyphRight", &Graphic3d_RenderingParams::AnaglyphRight)
.def_readwrite("ToReverseStereo", &Graphic3d_RenderingParams::ToReverseStereo)
.def_readwrite("ToSmoothInterlacing", &Graphic3d_RenderingParams::ToSmoothInterlacing)
.def_readwrite("ToMirrorComposer", &Graphic3d_RenderingParams::ToMirrorComposer)
.def_readwrite("ChartSize", &Graphic3d_RenderingParams::ChartSize)
.def_readwrite("StatsUpdateInterval", &Graphic3d_RenderingParams::StatsUpdateInterval)
.def_readwrite("StatsTextHeight", &Graphic3d_RenderingParams::StatsTextHeight)
.def_readwrite("StatsNbFrames", &Graphic3d_RenderingParams::StatsNbFrames)
.def_readwrite("StatsMaxChartTime", &Graphic3d_RenderingParams::StatsMaxChartTime)
.def_readwrite("ToShowStats", &Graphic3d_RenderingParams::ToShowStats)
// methods returning by ref wrapped as properties
;
// Class Graphic3d_SequenceOfHClipPlane from ./opencascade/Graphic3d_SequenceOfHClipPlane.hxx
klass = m.attr("Graphic3d_SequenceOfHClipPlane");
// nested enums
static_cast<py::class_<Graphic3d_SequenceOfHClipPlane ,opencascade::handle<Graphic3d_SequenceOfHClipPlane> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("ToOverrideGlobal",
(Standard_Boolean (Graphic3d_SequenceOfHClipPlane::*)() const) static_cast<Standard_Boolean (Graphic3d_SequenceOfHClipPlane::*)() const>(&Graphic3d_SequenceOfHClipPlane::ToOverrideGlobal),
R"#(Return true if local properties should override global properties.)#"
)
.def("SetOverrideGlobal",
(void (Graphic3d_SequenceOfHClipPlane::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_SequenceOfHClipPlane::*)( const Standard_Boolean ) >(&Graphic3d_SequenceOfHClipPlane::SetOverrideGlobal),
R"#(Setup flag defining if local properties should override global properties.)#" , py::arg("theToOverride")
)
.def("IsEmpty",
(bool (Graphic3d_SequenceOfHClipPlane::*)() const) static_cast<bool (Graphic3d_SequenceOfHClipPlane::*)() const>(&Graphic3d_SequenceOfHClipPlane::IsEmpty),
R"#(Return TRUE if sequence is empty.)#"
)
.def("Size",
(Standard_Integer (Graphic3d_SequenceOfHClipPlane::*)() const) static_cast<Standard_Integer (Graphic3d_SequenceOfHClipPlane::*)() const>(&Graphic3d_SequenceOfHClipPlane::Size),
R"#(Return the number of items in sequence.)#"
)
.def("Append",
(bool (Graphic3d_SequenceOfHClipPlane::*)( const opencascade::handle<Graphic3d_ClipPlane> & ) ) static_cast<bool (Graphic3d_SequenceOfHClipPlane::*)( const opencascade::handle<Graphic3d_ClipPlane> & ) >(&Graphic3d_SequenceOfHClipPlane::Append),
R"#(Append a plane.)#" , py::arg("theItem")
)
.def("Remove",
(bool (Graphic3d_SequenceOfHClipPlane::*)( const opencascade::handle<Graphic3d_ClipPlane> & ) ) static_cast<bool (Graphic3d_SequenceOfHClipPlane::*)( const opencascade::handle<Graphic3d_ClipPlane> & ) >(&Graphic3d_SequenceOfHClipPlane::Remove),
R"#(Remove a plane.)#" , py::arg("theItem")
)
.def("Remove",
(void (Graphic3d_SequenceOfHClipPlane::*)( Graphic3d_SequenceOfHClipPlane::Iterator & ) ) static_cast<void (Graphic3d_SequenceOfHClipPlane::*)( Graphic3d_SequenceOfHClipPlane::Iterator & ) >(&Graphic3d_SequenceOfHClipPlane::Remove),
R"#(Remove a plane.)#" , py::arg("theItem")
)
.def("Clear",
(void (Graphic3d_SequenceOfHClipPlane::*)() ) static_cast<void (Graphic3d_SequenceOfHClipPlane::*)() >(&Graphic3d_SequenceOfHClipPlane::Clear),
R"#(Clear the items out.)#"
)
.def("DumpJson",
(void (Graphic3d_SequenceOfHClipPlane::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_SequenceOfHClipPlane::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_SequenceOfHClipPlane::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_SequenceOfHClipPlane::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_SequenceOfHClipPlane::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_SequenceOfHClipPlane::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_SequenceOfHClipPlane::*)() const>(&Graphic3d_SequenceOfHClipPlane::DynamicType),
R"#(None)#"
)
.def("First",
(const opencascade::handle<Graphic3d_ClipPlane> & (Graphic3d_SequenceOfHClipPlane::*)() const) static_cast<const opencascade::handle<Graphic3d_ClipPlane> & (Graphic3d_SequenceOfHClipPlane::*)() const>(&Graphic3d_SequenceOfHClipPlane::First),
R"#(Return the first item in sequence.)#"
)
;
// Class Graphic3d_ShaderAttribute from ./opencascade/Graphic3d_ShaderAttribute.hxx
klass = m.attr("Graphic3d_ShaderAttribute");
// nested enums
static_cast<py::class_<Graphic3d_ShaderAttribute ,opencascade::handle<Graphic3d_ShaderAttribute> , Standard_Transient >>(klass)
// constructors
.def(py::init< const TCollection_AsciiString &,const int >() , py::arg("theName"), py::arg("theLocation") )
// custom constructors
// methods
.def("Location",
(int (Graphic3d_ShaderAttribute::*)() const) static_cast<int (Graphic3d_ShaderAttribute::*)() const>(&Graphic3d_ShaderAttribute::Location),
R"#(Returns attribute location to be bound on GLSL program linkage stage.)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_ShaderAttribute::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_ShaderAttribute::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Name",
(const TCollection_AsciiString & (Graphic3d_ShaderAttribute::*)() const) static_cast<const TCollection_AsciiString & (Graphic3d_ShaderAttribute::*)() const>(&Graphic3d_ShaderAttribute::Name),
R"#(Returns name of shader variable.)#"
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_ShaderAttribute::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_ShaderAttribute::*)() const>(&Graphic3d_ShaderAttribute::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_ShaderManager from ./opencascade/Graphic3d_ShaderManager.hxx
klass = m.attr("Graphic3d_ShaderManager");
// nested enums
static_cast<py::class_<Graphic3d_ShaderManager ,opencascade::handle<Graphic3d_ShaderManager> , Standard_Transient >>(klass)
// constructors
.def(py::init< Aspect_GraphicsLibrary >() , py::arg("theGapi") )
// custom constructors
// methods
.def("IsGapiGreaterEqual",
(bool (Graphic3d_ShaderManager::*)( Standard_Integer , Standard_Integer ) const) static_cast<bool (Graphic3d_ShaderManager::*)( Standard_Integer , Standard_Integer ) const>(&Graphic3d_ShaderManager::IsGapiGreaterEqual),
R"#(Returns true if detected GL version is greater or equal to requested one.)#" , py::arg("theVerMajor"), py::arg("theVerMinor")
)
.def("GapiVersionMajor",
(Standard_Integer (Graphic3d_ShaderManager::*)() const) static_cast<Standard_Integer (Graphic3d_ShaderManager::*)() const>(&Graphic3d_ShaderManager::GapiVersionMajor),
R"#(Return GAPI version major number.)#"
)
.def("GapiVersionMinor",
(Standard_Integer (Graphic3d_ShaderManager::*)() const) static_cast<Standard_Integer (Graphic3d_ShaderManager::*)() const>(&Graphic3d_ShaderManager::GapiVersionMinor),
R"#(Return GAPI version minor number.)#"
)
.def("SetGapiVersion",
(void (Graphic3d_ShaderManager::*)( Standard_Integer , Standard_Integer ) ) static_cast<void (Graphic3d_ShaderManager::*)( Standard_Integer , Standard_Integer ) >(&Graphic3d_ShaderManager::SetGapiVersion),
R"#(Return GAPI version major number.)#" , py::arg("theVerMajor"), py::arg("theVerMinor")
)
.def("UseRedAlpha",
(bool (Graphic3d_ShaderManager::*)() const) static_cast<bool (Graphic3d_ShaderManager::*)() const>(&Graphic3d_ShaderManager::UseRedAlpha),
R"#(Return TRUE if RED channel should be used instead of ALPHA for single-channel textures (e.g. GAPI supports only GL_RED textures and not GL_ALPHA).)#"
)
.def("SetUseRedAlpha",
(void (Graphic3d_ShaderManager::*)( bool ) ) static_cast<void (Graphic3d_ShaderManager::*)( bool ) >(&Graphic3d_ShaderManager::SetUseRedAlpha),
R"#(Set if RED channel should be used instead of ALPHA for single-channel textures.)#" , py::arg("theUseRedAlpha")
)
.def("HasFlatShading",
(bool (Graphic3d_ShaderManager::*)() const) static_cast<bool (Graphic3d_ShaderManager::*)() const>(&Graphic3d_ShaderManager::HasFlatShading),
R"#(Return flag indicating flat shading usage; TRUE by default.)#"
)
.def("ToReverseDFdxSign",
(bool (Graphic3d_ShaderManager::*)() const) static_cast<bool (Graphic3d_ShaderManager::*)() const>(&Graphic3d_ShaderManager::ToReverseDFdxSign),
R"#(Return flag indicating flat shading should reverse normal flag; FALSE by default.)#"
)
.def("SetFlatShading",
(void (Graphic3d_ShaderManager::*)( bool , bool ) ) static_cast<void (Graphic3d_ShaderManager::*)( bool , bool ) >(&Graphic3d_ShaderManager::SetFlatShading),
R"#(Set flag indicating flat shading usage.)#" , py::arg("theToUse"), py::arg("theToReverseSign")
)
.def("ToEmulateDepthClamp",
(bool (Graphic3d_ShaderManager::*)() const) static_cast<bool (Graphic3d_ShaderManager::*)() const>(&Graphic3d_ShaderManager::ToEmulateDepthClamp),
R"#(Return TRUE if depth clamping should be emulated by GLSL program; TRUE by default.)#"
)
.def("SetEmulateDepthClamp",
(void (Graphic3d_ShaderManager::*)( bool ) ) static_cast<void (Graphic3d_ShaderManager::*)( bool ) >(&Graphic3d_ShaderManager::SetEmulateDepthClamp),
R"#(Set if depth clamping should be emulated by GLSL program.)#" , py::arg("theToEmulate")
)
.def("HasGlslExtension",
(bool (Graphic3d_ShaderManager::*)( Graphic3d_GlslExtension ) const) static_cast<bool (Graphic3d_ShaderManager::*)( Graphic3d_GlslExtension ) const>(&Graphic3d_ShaderManager::HasGlslExtension),
R"#(Return TRUE if specified extension is available.)#" , py::arg("theExt")
)
.def("EnableGlslExtension",
(void (Graphic3d_ShaderManager::*)( Graphic3d_GlslExtension , bool ) ) static_cast<void (Graphic3d_ShaderManager::*)( Graphic3d_GlslExtension , bool ) >(&Graphic3d_ShaderManager::EnableGlslExtension),
R"#(Set if specified extension is available or not.)#" , py::arg("theExt"), py::arg("theToEnable")=static_cast<bool>(true)
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_ShaderManager::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_ShaderManager::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_ShaderManager::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_ShaderManager::*)() const>(&Graphic3d_ShaderManager::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_ShaderObject from ./opencascade/Graphic3d_ShaderObject.hxx
klass = m.attr("Graphic3d_ShaderObject");
// nested enums
static_cast<py::class_<Graphic3d_ShaderObject ,opencascade::handle<Graphic3d_ShaderObject> , Standard_Transient >>(klass)
// constructors
// custom constructors
// methods
.def("IsDone",
(Standard_Boolean (Graphic3d_ShaderObject::*)() const) static_cast<Standard_Boolean (Graphic3d_ShaderObject::*)() const>(&Graphic3d_ShaderObject::IsDone),
R"#(Checks if the shader object is valid or not.)#"
)
.def("Type",
(Graphic3d_TypeOfShaderObject (Graphic3d_ShaderObject::*)() const) static_cast<Graphic3d_TypeOfShaderObject (Graphic3d_ShaderObject::*)() const>(&Graphic3d_ShaderObject::Type),
R"#(Returns type of the shader object.)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("CreateFromFile_s",
(opencascade::handle<Graphic3d_ShaderObject> (*)( const Graphic3d_TypeOfShaderObject , const TCollection_AsciiString & ) ) static_cast<opencascade::handle<Graphic3d_ShaderObject> (*)( const Graphic3d_TypeOfShaderObject , const TCollection_AsciiString & ) >(&Graphic3d_ShaderObject::CreateFromFile),
R"#(Creates new shader object from specified file.)#" , py::arg("theType"), py::arg("thePath")
)
.def_static("CreateFromSource_s",
(opencascade::handle<Graphic3d_ShaderObject> (*)( const Graphic3d_TypeOfShaderObject , const TCollection_AsciiString & ) ) static_cast<opencascade::handle<Graphic3d_ShaderObject> (*)( const Graphic3d_TypeOfShaderObject , const TCollection_AsciiString & ) >(&Graphic3d_ShaderObject::CreateFromSource),
R"#(Creates new shader object from specified source.)#" , py::arg("theType"), py::arg("theSource")
)
.def_static("CreateFromSource_s",
(opencascade::handle<Graphic3d_ShaderObject> (*)( TCollection_AsciiString & , Graphic3d_TypeOfShaderObject , const NCollection_Sequence<Graphic3d_ShaderObject::ShaderVariable> & , const NCollection_Sequence<Graphic3d_ShaderObject::ShaderVariable> & , const TCollection_AsciiString & , const TCollection_AsciiString & , Standard_Integer ) ) static_cast<opencascade::handle<Graphic3d_ShaderObject> (*)( TCollection_AsciiString & , Graphic3d_TypeOfShaderObject , const NCollection_Sequence<Graphic3d_ShaderObject::ShaderVariable> & , const NCollection_Sequence<Graphic3d_ShaderObject::ShaderVariable> & , const TCollection_AsciiString & , const TCollection_AsciiString & , Standard_Integer ) >(&Graphic3d_ShaderObject::CreateFromSource),
R"#(This is a preprocessor for Graphic3d_ShaderObject::CreateFromSource() function. Creates a new shader object from specified source according to list of uniforms and in/out variables.)#" , py::arg("theSource"), py::arg("theType"), py::arg("theUniforms"), py::arg("theStageInOuts"), py::arg("theInName")=static_cast<const TCollection_AsciiString &>(TCollection_AsciiString ( )), py::arg("theOutName")=static_cast<const TCollection_AsciiString &>(TCollection_AsciiString ( )), py::arg("theNbGeomInputVerts")=static_cast<Standard_Integer>(0)
)
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_ShaderObject::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_ShaderObject::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Path",
(const OSD_Path & (Graphic3d_ShaderObject::*)() const) static_cast<const OSD_Path & (Graphic3d_ShaderObject::*)() const>(&Graphic3d_ShaderObject::Path),
R"#(Returns the full path to the shader source.)#"
)
.def("Source",
(const TCollection_AsciiString & (Graphic3d_ShaderObject::*)() const) static_cast<const TCollection_AsciiString & (Graphic3d_ShaderObject::*)() const>(&Graphic3d_ShaderObject::Source),
R"#(Returns the source code of the shader object.)#"
)
.def("GetId",
(const TCollection_AsciiString & (Graphic3d_ShaderObject::*)() const) static_cast<const TCollection_AsciiString & (Graphic3d_ShaderObject::*)() const>(&Graphic3d_ShaderObject::GetId),
R"#(Returns unique ID used to manage resource in graphic driver.)#"
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_ShaderObject::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_ShaderObject::*)() const>(&Graphic3d_ShaderObject::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_ShaderProgram from ./opencascade/Graphic3d_ShaderProgram.hxx
klass = m.attr("Graphic3d_ShaderProgram");
// nested enums
static_cast<py::class_<Graphic3d_ShaderProgram ,opencascade::handle<Graphic3d_ShaderProgram> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("IsDone",
(Standard_Boolean (Graphic3d_ShaderProgram::*)() const) static_cast<Standard_Boolean (Graphic3d_ShaderProgram::*)() const>(&Graphic3d_ShaderProgram::IsDone),
R"#(Checks if the program object is valid or not.)#"
)
.def("SetId",
(void (Graphic3d_ShaderProgram::*)( const TCollection_AsciiString & ) ) static_cast<void (Graphic3d_ShaderProgram::*)( const TCollection_AsciiString & ) >(&Graphic3d_ShaderProgram::SetId),
R"#(Sets unique ID used to manage resource in graphic driver. WARNING! Graphic3d_ShaderProgram constructor generates a unique id for proper resource management; however if application overrides it, it is responsibility of application to avoid name collisions.)#" , py::arg("theId")
)
.def("SetHeader",
(void (Graphic3d_ShaderProgram::*)( const TCollection_AsciiString & ) ) static_cast<void (Graphic3d_ShaderProgram::*)( const TCollection_AsciiString & ) >(&Graphic3d_ShaderProgram::SetHeader),
R"#(Setup GLSL header containing language version code and used extensions. Will be prepended to the very beginning of the source code. Example:)#" , py::arg("theHeader")
)
.def("AppendToHeader",
(void (Graphic3d_ShaderProgram::*)( const TCollection_AsciiString & ) ) static_cast<void (Graphic3d_ShaderProgram::*)( const TCollection_AsciiString & ) >(&Graphic3d_ShaderProgram::AppendToHeader),
R"#(Append line to GLSL header.)#" , py::arg("theHeaderLine")
)
.def("NbLightsMax",
(Standard_Integer (Graphic3d_ShaderProgram::*)() const) static_cast<Standard_Integer (Graphic3d_ShaderProgram::*)() const>(&Graphic3d_ShaderProgram::NbLightsMax),
R"#(Return the length of array of light sources (THE_MAX_LIGHTS), to be used for initialization occLightSources. Default value is THE_MAX_LIGHTS_DEFAULT.)#"
)
.def("SetNbLightsMax",
(void (Graphic3d_ShaderProgram::*)( Standard_Integer ) ) static_cast<void (Graphic3d_ShaderProgram::*)( Standard_Integer ) >(&Graphic3d_ShaderProgram::SetNbLightsMax),
R"#(Specify the length of array of light sources (THE_MAX_LIGHTS).)#" , py::arg("theNbLights")
)
.def("NbShadowMaps",
(Standard_Integer (Graphic3d_ShaderProgram::*)() const) static_cast<Standard_Integer (Graphic3d_ShaderProgram::*)() const>(&Graphic3d_ShaderProgram::NbShadowMaps),
R"#(Return the length of array of shadow maps (THE_NB_SHADOWMAPS); 0 by default.)#"
)
.def("SetNbShadowMaps",
(void (Graphic3d_ShaderProgram::*)( Standard_Integer ) ) static_cast<void (Graphic3d_ShaderProgram::*)( Standard_Integer ) >(&Graphic3d_ShaderProgram::SetNbShadowMaps),
R"#(Specify the length of array of shadow maps (THE_NB_SHADOWMAPS).)#" , py::arg("theNbMaps")
)
.def("NbClipPlanesMax",
(Standard_Integer (Graphic3d_ShaderProgram::*)() const) static_cast<Standard_Integer (Graphic3d_ShaderProgram::*)() const>(&Graphic3d_ShaderProgram::NbClipPlanesMax),
R"#(Return the length of array of clipping planes (THE_MAX_CLIP_PLANES), to be used for initialization occClipPlaneEquations. Default value is THE_MAX_CLIP_PLANES_DEFAULT.)#"
)
.def("SetNbClipPlanesMax",
(void (Graphic3d_ShaderProgram::*)( Standard_Integer ) ) static_cast<void (Graphic3d_ShaderProgram::*)( Standard_Integer ) >(&Graphic3d_ShaderProgram::SetNbClipPlanesMax),
R"#(Specify the length of array of clipping planes (THE_MAX_CLIP_PLANES).)#" , py::arg("theNbPlanes")
)
.def("AttachShader",
(Standard_Boolean (Graphic3d_ShaderProgram::*)( const opencascade::handle<Graphic3d_ShaderObject> & ) ) static_cast<Standard_Boolean (Graphic3d_ShaderProgram::*)( const opencascade::handle<Graphic3d_ShaderObject> & ) >(&Graphic3d_ShaderProgram::AttachShader),
R"#(Attaches shader object to the program object.)#" , py::arg("theShader")
)
.def("DetachShader",
(Standard_Boolean (Graphic3d_ShaderProgram::*)( const opencascade::handle<Graphic3d_ShaderObject> & ) ) static_cast<Standard_Boolean (Graphic3d_ShaderProgram::*)( const opencascade::handle<Graphic3d_ShaderObject> & ) >(&Graphic3d_ShaderProgram::DetachShader),
R"#(Detaches shader object from the program object.)#" , py::arg("theShader")
)
.def("SetVertexAttributes",
(void (Graphic3d_ShaderProgram::*)( const NCollection_Sequence<opencascade::handle<Graphic3d_ShaderAttribute>> & ) ) static_cast<void (Graphic3d_ShaderProgram::*)( const NCollection_Sequence<opencascade::handle<Graphic3d_ShaderAttribute>> & ) >(&Graphic3d_ShaderProgram::SetVertexAttributes),
R"#(Assign the list of custom vertex attributes. Should be done before GLSL program initialization.)#" , py::arg("theAttributes")
)
.def("NbFragmentOutputs",
(Standard_Integer (Graphic3d_ShaderProgram::*)() const) static_cast<Standard_Integer (Graphic3d_ShaderProgram::*)() const>(&Graphic3d_ShaderProgram::NbFragmentOutputs),
R"#(Returns the number (1+) of Fragment Shader outputs to be written to (more than 1 can be in case of multiple draw buffers); 1 by default.)#"
)
.def("SetNbFragmentOutputs",
(void (Graphic3d_ShaderProgram::*)( const Standard_Integer ) ) static_cast<void (Graphic3d_ShaderProgram::*)( const Standard_Integer ) >(&Graphic3d_ShaderProgram::SetNbFragmentOutputs),
R"#(Sets the number of Fragment Shader outputs to be written to. Should be done before GLSL program initialization.)#" , py::arg("theNbOutputs")
)
.def("HasAlphaTest",
(Standard_Boolean (Graphic3d_ShaderProgram::*)() const) static_cast<Standard_Boolean (Graphic3d_ShaderProgram::*)() const>(&Graphic3d_ShaderProgram::HasAlphaTest),
R"#(Return true if Fragment Shader should perform alpha test; FALSE by default.)#"
)
.def("SetAlphaTest",
(void (Graphic3d_ShaderProgram::*)( Standard_Boolean ) ) static_cast<void (Graphic3d_ShaderProgram::*)( Standard_Boolean ) >(&Graphic3d_ShaderProgram::SetAlphaTest),
R"#(Set if Fragment Shader should perform alpha test. Note that this flag is designed for usage with - custom shader program may discard fragment regardless this flag.)#" , py::arg("theAlphaTest")
)
.def("HasDefaultSampler",
(Standard_Boolean (Graphic3d_ShaderProgram::*)() const) static_cast<Standard_Boolean (Graphic3d_ShaderProgram::*)() const>(&Graphic3d_ShaderProgram::HasDefaultSampler),
R"#(Return TRUE if standard program header should define default texture sampler occSampler0; TRUE by default for compatibility.)#"
)
.def("SetDefaultSampler",
(void (Graphic3d_ShaderProgram::*)( Standard_Boolean ) ) static_cast<void (Graphic3d_ShaderProgram::*)( Standard_Boolean ) >(&Graphic3d_ShaderProgram::SetDefaultSampler),
R"#(Set if standard program header should define default texture sampler occSampler0.)#" , py::arg("theHasDefSampler")
)
.def("OitOutput",
(Graphic3d_RenderTransparentMethod (Graphic3d_ShaderProgram::*)() const) static_cast<Graphic3d_RenderTransparentMethod (Graphic3d_ShaderProgram::*)() const>(&Graphic3d_ShaderProgram::OitOutput),
R"#(Return if Fragment Shader color should output to OIT buffers; OFF by default.)#"
)
.def("SetOitOutput",
(void (Graphic3d_ShaderProgram::*)( Graphic3d_RenderTransparentMethod ) ) static_cast<void (Graphic3d_ShaderProgram::*)( Graphic3d_RenderTransparentMethod ) >(&Graphic3d_ShaderProgram::SetOitOutput),
R"#(Set if Fragment Shader color should output to OIT buffers. Note that weighted OIT also requires at least 2 Fragment Outputs (color + coverage), and Depth Peeling requires at least 3 Fragment Outputs (depth + front color + back color),)#" , py::arg("theOutput")
)
.def("IsPBR",
(Standard_Boolean (Graphic3d_ShaderProgram::*)() const) static_cast<Standard_Boolean (Graphic3d_ShaderProgram::*)() const>(&Graphic3d_ShaderProgram::IsPBR),
R"#(Return TRUE if standard program header should define functions and variables used in PBR pipeline. FALSE by default.)#"
)
.def("SetPBR",
(void (Graphic3d_ShaderProgram::*)( Standard_Boolean ) ) static_cast<void (Graphic3d_ShaderProgram::*)( Standard_Boolean ) >(&Graphic3d_ShaderProgram::SetPBR),
R"#(Sets whether standard program header should define functions and variables used in PBR pipeline.)#" , py::arg("theIsPBR")
)
.def("TextureSetBits",
(Standard_Integer (Graphic3d_ShaderProgram::*)() const) static_cast<Standard_Integer (Graphic3d_ShaderProgram::*)() const>(&Graphic3d_ShaderProgram::TextureSetBits),
R"#(Return texture units declared within the program,)#"
)
.def("SetTextureSetBits",
(void (Graphic3d_ShaderProgram::*)( Standard_Integer ) ) static_cast<void (Graphic3d_ShaderProgram::*)( Standard_Integer ) >(&Graphic3d_ShaderProgram::SetTextureSetBits),
R"#(Set texture units declared within the program.)#" , py::arg("theBits")
)
.def("ClearVariables",
(void (Graphic3d_ShaderProgram::*)() ) static_cast<void (Graphic3d_ShaderProgram::*)() >(&Graphic3d_ShaderProgram::ClearVariables),
R"#(Removes all custom uniform variables from the program.)#"
)
.def("PushVariableFloat",
(Standard_Boolean (Graphic3d_ShaderProgram::*)( const TCollection_AsciiString & , const float ) ) static_cast<Standard_Boolean (Graphic3d_ShaderProgram::*)( const TCollection_AsciiString & , const float ) >(&Graphic3d_ShaderProgram::PushVariableFloat),
R"#(Pushes float uniform.)#" , py::arg("theName"), py::arg("theValue")
)
.def("PushVariableVec2",
(Standard_Boolean (Graphic3d_ShaderProgram::*)( const TCollection_AsciiString & , const NCollection_Vec2<Standard_ShortReal> & ) ) static_cast<Standard_Boolean (Graphic3d_ShaderProgram::*)( const TCollection_AsciiString & , const NCollection_Vec2<Standard_ShortReal> & ) >(&Graphic3d_ShaderProgram::PushVariableVec2),
R"#(Pushes vec2 uniform.)#" , py::arg("theName"), py::arg("theValue")
)
.def("PushVariableVec3",
(Standard_Boolean (Graphic3d_ShaderProgram::*)( const TCollection_AsciiString & , const NCollection_Vec3<Standard_ShortReal> & ) ) static_cast<Standard_Boolean (Graphic3d_ShaderProgram::*)( const TCollection_AsciiString & , const NCollection_Vec3<Standard_ShortReal> & ) >(&Graphic3d_ShaderProgram::PushVariableVec3),
R"#(Pushes vec3 uniform.)#" , py::arg("theName"), py::arg("theValue")
)
.def("PushVariableVec4",
(Standard_Boolean (Graphic3d_ShaderProgram::*)( const TCollection_AsciiString & , const NCollection_Vec4<Standard_ShortReal> & ) ) static_cast<Standard_Boolean (Graphic3d_ShaderProgram::*)( const TCollection_AsciiString & , const NCollection_Vec4<Standard_ShortReal> & ) >(&Graphic3d_ShaderProgram::PushVariableVec4),
R"#(Pushes vec4 uniform.)#" , py::arg("theName"), py::arg("theValue")
)
.def("PushVariableInt",
(Standard_Boolean (Graphic3d_ShaderProgram::*)( const TCollection_AsciiString & , const int ) ) static_cast<Standard_Boolean (Graphic3d_ShaderProgram::*)( const TCollection_AsciiString & , const int ) >(&Graphic3d_ShaderProgram::PushVariableInt),
R"#(Pushes int uniform.)#" , py::arg("theName"), py::arg("theValue")
)
.def("PushVariableVec2i",
(Standard_Boolean (Graphic3d_ShaderProgram::*)( const TCollection_AsciiString & , const NCollection_Vec2<Standard_Integer> & ) ) static_cast<Standard_Boolean (Graphic3d_ShaderProgram::*)( const TCollection_AsciiString & , const NCollection_Vec2<Standard_Integer> & ) >(&Graphic3d_ShaderProgram::PushVariableVec2i),
R"#(Pushes vec2i uniform.)#" , py::arg("theName"), py::arg("theValue")
)
.def("PushVariableVec3i",
(Standard_Boolean (Graphic3d_ShaderProgram::*)( const TCollection_AsciiString & , const NCollection_Vec3<Standard_Integer> & ) ) static_cast<Standard_Boolean (Graphic3d_ShaderProgram::*)( const TCollection_AsciiString & , const NCollection_Vec3<Standard_Integer> & ) >(&Graphic3d_ShaderProgram::PushVariableVec3i),
R"#(Pushes vec3i uniform.)#" , py::arg("theName"), py::arg("theValue")
)
.def("PushVariableVec4i",
(Standard_Boolean (Graphic3d_ShaderProgram::*)( const TCollection_AsciiString & , const NCollection_Vec4<Standard_Integer> & ) ) static_cast<Standard_Boolean (Graphic3d_ShaderProgram::*)( const TCollection_AsciiString & , const NCollection_Vec4<Standard_Integer> & ) >(&Graphic3d_ShaderProgram::PushVariableVec4i),
R"#(Pushes vec4i uniform.)#" , py::arg("theName"), py::arg("theValue")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_ShaderProgram::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_ShaderProgram::get_type_descriptor),
R"#(None)#"
)
.def_static("ShadersFolder_s",
(const TCollection_AsciiString & (*)() ) static_cast<const TCollection_AsciiString & (*)() >(&Graphic3d_ShaderProgram::ShadersFolder),
R"#(The path to GLSL programs determined from CSF_ShadersDirectory or CASROOT environment variables.)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_ShaderProgram::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_ShaderProgram::*)() const>(&Graphic3d_ShaderProgram::DynamicType),
R"#(None)#"
)
.def("GetId",
(const TCollection_AsciiString & (Graphic3d_ShaderProgram::*)() const) static_cast<const TCollection_AsciiString & (Graphic3d_ShaderProgram::*)() const>(&Graphic3d_ShaderProgram::GetId),
R"#(Returns unique ID used to manage resource in graphic driver.)#"
)
.def("Header",
(const TCollection_AsciiString & (Graphic3d_ShaderProgram::*)() const) static_cast<const TCollection_AsciiString & (Graphic3d_ShaderProgram::*)() const>(&Graphic3d_ShaderProgram::Header),
R"#(Returns GLSL header (version code and extensions).)#"
)
.def("ShaderObjects",
(const Graphic3d_ShaderObjectList & (Graphic3d_ShaderProgram::*)() const) static_cast<const Graphic3d_ShaderObjectList & (Graphic3d_ShaderProgram::*)() const>(&Graphic3d_ShaderProgram::ShaderObjects),
R"#(Returns list of attached shader objects.)#"
)
.def("Variables",
(const Graphic3d_ShaderVariableList & (Graphic3d_ShaderProgram::*)() const) static_cast<const Graphic3d_ShaderVariableList & (Graphic3d_ShaderProgram::*)() const>(&Graphic3d_ShaderProgram::Variables),
R"#(The list of currently pushed but not applied custom uniform variables. This list is automatically cleared after applying to GLSL program.)#"
)
.def("VertexAttributes",
(const Graphic3d_ShaderAttributeList & (Graphic3d_ShaderProgram::*)() const) static_cast<const Graphic3d_ShaderAttributeList & (Graphic3d_ShaderProgram::*)() const>(&Graphic3d_ShaderProgram::VertexAttributes),
R"#(Return the list of custom vertex attributes.)#"
)
;
// Class Graphic3d_ShaderVariable from ./opencascade/Graphic3d_ShaderVariable.hxx
klass = m.attr("Graphic3d_ShaderVariable");
// nested enums
static_cast<py::class_<Graphic3d_ShaderVariable ,opencascade::handle<Graphic3d_ShaderVariable> , Standard_Transient >>(klass)
// constructors
// custom constructors
// methods
.def("IsDone",
(Standard_Boolean (Graphic3d_ShaderVariable::*)() const) static_cast<Standard_Boolean (Graphic3d_ShaderVariable::*)() const>(&Graphic3d_ShaderVariable::IsDone),
R"#(Checks if the shader variable is valid or not.)#"
)
.def("Value",
(Graphic3d_ValueInterface * (Graphic3d_ShaderVariable::*)() ) static_cast<Graphic3d_ValueInterface * (Graphic3d_ShaderVariable::*)() >(&Graphic3d_ShaderVariable::Value),
R"#(Returns interface of shader variable value.)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_ShaderVariable::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_ShaderVariable::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Name",
(const TCollection_AsciiString & (Graphic3d_ShaderVariable::*)() const) static_cast<const TCollection_AsciiString & (Graphic3d_ShaderVariable::*)() const>(&Graphic3d_ShaderVariable::Name),
R"#(Returns name of shader variable.)#"
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_ShaderVariable::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_ShaderVariable::*)() const>(&Graphic3d_ShaderVariable::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_Structure from ./opencascade/Graphic3d_Structure.hxx
klass = m.attr("Graphic3d_Structure");
// nested enums
static_cast<py::class_<Graphic3d_Structure ,opencascade::handle<Graphic3d_Structure> , Standard_Transient >>(klass)
// constructors
.def(py::init< const opencascade::handle<Graphic3d_StructureManager> &,const opencascade::handle<Graphic3d_Structure> & >() , py::arg("theManager"), py::arg("theLinkPrs")=static_cast<const opencascade::handle<Graphic3d_Structure> &>(Handle ( Graphic3d_Structure ) ( )) )
// custom constructors
// methods
.def("Clear",
(void (Graphic3d_Structure::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_Structure::*)( const Standard_Boolean ) >(&Graphic3d_Structure::Clear),
R"#(if WithDestruction == Standard_True then suppress all the groups of primitives in the structure. and it is mandatory to create a new group in <me>. if WithDestruction == Standard_False then clears all the groups of primitives in the structure. and all the groups are conserved and empty. They will be erased at the next screen update. The structure itself is conserved. The transformation and the attributes of <me> are conserved. The childs of <me> are conserved.)#" , py::arg("WithDestruction")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("Display",
(void (Graphic3d_Structure::*)() ) static_cast<void (Graphic3d_Structure::*)() >(&Graphic3d_Structure::Display),
R"#(Displays the structure <me> in all the views of the visualiser.)#"
)
.def("DisplayPriority",
(Graphic3d_DisplayPriority (Graphic3d_Structure::*)() const) static_cast<Graphic3d_DisplayPriority (Graphic3d_Structure::*)() const>(&Graphic3d_Structure::DisplayPriority),
R"#(Returns the current display priority for this structure.)#"
)
.def("SetDisplayPriority",
(void (Graphic3d_Structure::*)( const Graphic3d_DisplayPriority ) ) static_cast<void (Graphic3d_Structure::*)( const Graphic3d_DisplayPriority ) >(&Graphic3d_Structure::SetDisplayPriority),
R"#(Modifies the order of displaying the structure. Values are between 0 and 10. Structures are drawn according to their display priorities in ascending order. A structure of priority 10 is displayed the last and appears over the others. The default value is 5. Warning: If structure is displayed then the SetDisplayPriority method erases it and displays with the new priority. Raises Graphic3d_PriorityDefinitionError if Priority is greater than 10 or a negative value.)#" , py::arg("thePriority")
)
.def("SetDisplayPriority",
(void (Graphic3d_Structure::*)( const Standard_Integer ) ) static_cast<void (Graphic3d_Structure::*)( const Standard_Integer ) >(&Graphic3d_Structure::SetDisplayPriority),
R"#(None)#" , py::arg("thePriority")
)
.def("ResetDisplayPriority",
(void (Graphic3d_Structure::*)() ) static_cast<void (Graphic3d_Structure::*)() >(&Graphic3d_Structure::ResetDisplayPriority),
R"#(Reset the current priority of the structure to the previous priority. Warning: If structure is displayed then the SetDisplayPriority() method erases it and displays with the previous priority.)#"
)
.def("Erase",
(void (Graphic3d_Structure::*)() ) static_cast<void (Graphic3d_Structure::*)() >(&Graphic3d_Structure::Erase),
R"#(Erases this structure in all the views of the visualiser.)#"
)
.def("Highlight",
(void (Graphic3d_Structure::*)( const opencascade::handle<Graphic3d_PresentationAttributes> & , const Standard_Boolean ) ) static_cast<void (Graphic3d_Structure::*)( const opencascade::handle<Graphic3d_PresentationAttributes> & , const Standard_Boolean ) >(&Graphic3d_Structure::Highlight),
R"#(Highlights the structure in all the views with the given style)#" , py::arg("theStyle"), py::arg("theToUpdateMgr")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("Remove",
(void (Graphic3d_Structure::*)() ) static_cast<void (Graphic3d_Structure::*)() >(&Graphic3d_Structure::Remove),
R"#(Suppress the structure <me>. It will be erased at the next screen update. Warning: No more graphic operations in <me> after this call. Category: Methods to modify the class definition)#"
)
.def("CalculateBoundBox",
(void (Graphic3d_Structure::*)() ) static_cast<void (Graphic3d_Structure::*)() >(&Graphic3d_Structure::CalculateBoundBox),
R"#(Computes axis-aligned bounding box of a structure.)#"
)
.def("SetInfiniteState",
(void (Graphic3d_Structure::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_Structure::*)( const Standard_Boolean ) >(&Graphic3d_Structure::SetInfiniteState),
R"#(Sets infinite flag. When TRUE, the MinMaxValues method returns: theXMin = theYMin = theZMin = RealFirst(). theXMax = theYMax = theZMax = RealLast(). By default, structure is created not infinite but empty.)#" , py::arg("theToSet")
)
.def("SetZLayer",
(void (Graphic3d_Structure::*)( const Graphic3d_ZLayerId ) ) static_cast<void (Graphic3d_Structure::*)( const Graphic3d_ZLayerId ) >(&Graphic3d_Structure::SetZLayer),
R"#(Set Z layer ID for the structure. The Z layer mechanism allows to display structures presented in higher layers in overlay of structures in lower layers by switching off z buffer depth test between layers)#" , py::arg("theLayerId")
)
.def("GetZLayer",
(Graphic3d_ZLayerId (Graphic3d_Structure::*)() const) static_cast<Graphic3d_ZLayerId (Graphic3d_Structure::*)() const>(&Graphic3d_Structure::GetZLayer),
R"#(Get Z layer ID of displayed structure. The method returns -1 if the structure has no ID (deleted from graphic driver).)#"
)
.def("SetClipPlanes",
(void (Graphic3d_Structure::*)( const opencascade::handle<Graphic3d_SequenceOfHClipPlane> & ) ) static_cast<void (Graphic3d_Structure::*)( const opencascade::handle<Graphic3d_SequenceOfHClipPlane> & ) >(&Graphic3d_Structure::SetClipPlanes),
R"#(Changes a sequence of clip planes slicing the structure on rendering.)#" , py::arg("thePlanes")
)
.def("SetVisible",
(void (Graphic3d_Structure::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_Structure::*)( const Standard_Boolean ) >(&Graphic3d_Structure::SetVisible),
R"#(Modifies the visibility indicator to Standard_True or Standard_False for the structure <me>. The default value at the definition of <me> is Standard_True.)#" , py::arg("AValue")
)
.def("SetVisual",
(void (Graphic3d_Structure::*)( const Graphic3d_TypeOfStructure ) ) static_cast<void (Graphic3d_Structure::*)( const Graphic3d_TypeOfStructure ) >(&Graphic3d_Structure::SetVisual),
R"#(Modifies the visualisation mode for the structure <me>.)#" , py::arg("AVisual")
)
.def("SetZoomLimit",
(void (Graphic3d_Structure::*)( const Standard_Real , const Standard_Real ) ) static_cast<void (Graphic3d_Structure::*)( const Standard_Real , const Standard_Real ) >(&Graphic3d_Structure::SetZoomLimit),
R"#(Modifies the minimum and maximum zoom coefficients for the structure <me>. The default value at the definition of <me> is unlimited. Category: Methods to modify the class definition Warning: Raises StructureDefinitionError if <LimitInf> is greater than <LimitSup> or if <LimitInf> or <LimitSup> is a negative value.)#" , py::arg("LimitInf"), py::arg("LimitSup")
)
.def("SetIsForHighlight",
(void (Graphic3d_Structure::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_Structure::*)( const Standard_Boolean ) >(&Graphic3d_Structure::SetIsForHighlight),
R"#(Marks the structure <me> representing wired structure needed for highlight only so it won't be added to BVH tree.)#" , py::arg("isForHighlight")
)
.def("UnHighlight",
(void (Graphic3d_Structure::*)() ) static_cast<void (Graphic3d_Structure::*)() >(&Graphic3d_Structure::UnHighlight),
R"#(Suppresses the highlight for the structure <me> in all the views of the visualiser.)#"
)
.def("Compute",
(void (Graphic3d_Structure::*)() ) static_cast<void (Graphic3d_Structure::*)() >(&Graphic3d_Structure::Compute),
R"#(None)#"
)
.def("ReCompute",
(void (Graphic3d_Structure::*)() ) static_cast<void (Graphic3d_Structure::*)() >(&Graphic3d_Structure::ReCompute),
R"#(Forces a new construction of the structure <me> if <me> is displayed and TOS_COMPUTED.)#"
)
.def("ReCompute",
(void (Graphic3d_Structure::*)( const opencascade::handle<Graphic3d_DataStructureManager> & ) ) static_cast<void (Graphic3d_Structure::*)( const opencascade::handle<Graphic3d_DataStructureManager> & ) >(&Graphic3d_Structure::ReCompute),
R"#(Forces a new construction of the structure <me> if <me> is displayed in <aProjetor> and TOS_COMPUTED.)#" , py::arg("aProjector")
)
.def("NumberOfGroups",
(Standard_Integer (Graphic3d_Structure::*)() const) static_cast<Standard_Integer (Graphic3d_Structure::*)() const>(&Graphic3d_Structure::NumberOfGroups),
R"#(Returns the current number of groups in this structure.)#"
)
.def("NewGroup",
(opencascade::handle<Graphic3d_Group> (Graphic3d_Structure::*)() ) static_cast<opencascade::handle<Graphic3d_Group> (Graphic3d_Structure::*)() >(&Graphic3d_Structure::NewGroup),
R"#(Append new group to this structure.)#"
)
.def("CurrentGroup",
(opencascade::handle<Graphic3d_Group> (Graphic3d_Structure::*)() ) static_cast<opencascade::handle<Graphic3d_Group> (Graphic3d_Structure::*)() >(&Graphic3d_Structure::CurrentGroup),
R"#(Returns the last created group or creates new one if list is empty.)#"
)
.def("IsDeleted",
(Standard_Boolean (Graphic3d_Structure::*)() const) static_cast<Standard_Boolean (Graphic3d_Structure::*)() const>(&Graphic3d_Structure::IsDeleted),
R"#(Returns TRUE if this structure is deleted (after Remove() call).)#"
)
.def("IsDisplayed",
(Standard_Boolean (Graphic3d_Structure::*)() const) static_cast<Standard_Boolean (Graphic3d_Structure::*)() const>(&Graphic3d_Structure::IsDisplayed),
R"#(Returns the display indicator for this structure.)#"
)
.def("IsEmpty",
(Standard_Boolean (Graphic3d_Structure::*)() const) static_cast<Standard_Boolean (Graphic3d_Structure::*)() const>(&Graphic3d_Structure::IsEmpty),
R"#(Returns Standard_True if the structure <me> is empty. Warning: A structure is empty if : it do not have group or all the groups are empties and it do not have descendant or all the descendants are empties.)#"
)
.def("IsInfinite",
(Standard_Boolean (Graphic3d_Structure::*)() const) static_cast<Standard_Boolean (Graphic3d_Structure::*)() const>(&Graphic3d_Structure::IsInfinite),
R"#(Returns Standard_True if the structure <me> is infinite.)#"
)
.def("IsHighlighted",
(Standard_Boolean (Graphic3d_Structure::*)() const) static_cast<Standard_Boolean (Graphic3d_Structure::*)() const>(&Graphic3d_Structure::IsHighlighted),
R"#(Returns the highlight indicator for this structure.)#"
)
.def("IsTransformed",
(Standard_Boolean (Graphic3d_Structure::*)() const) static_cast<Standard_Boolean (Graphic3d_Structure::*)() const>(&Graphic3d_Structure::IsTransformed),
R"#(Returns TRUE if the structure is transformed.)#"
)
.def("IsVisible",
(Standard_Boolean (Graphic3d_Structure::*)() const) static_cast<Standard_Boolean (Graphic3d_Structure::*)() const>(&Graphic3d_Structure::IsVisible),
R"#(Returns the visibility indicator for this structure.)#"
)
.def("MinMaxValues",
(Bnd_Box (Graphic3d_Structure::*)( const Standard_Boolean ) const) static_cast<Bnd_Box (Graphic3d_Structure::*)( const Standard_Boolean ) const>(&Graphic3d_Structure::MinMaxValues),
R"#(Returns the coordinates of the boundary box of the structure <me>. If <theToIgnoreInfiniteFlag> is TRUE, the method returns actual graphical boundaries of the Graphic3d_Group components. Otherwise, the method returns boundaries taking into account infinite state of the structure. This approach generally used for application specific fit operation (e.g. fitting the model into screen, not taking into account infinite helper elements). Warning: If the structure <me> is empty then the empty box is returned, If the structure <me> is infinite then the whole box is returned.)#" , py::arg("theToIgnoreInfiniteFlag")=static_cast<const Standard_Boolean>(Standard_False)
)
.def("Visual",
(Graphic3d_TypeOfStructure (Graphic3d_Structure::*)() const) static_cast<Graphic3d_TypeOfStructure (Graphic3d_Structure::*)() const>(&Graphic3d_Structure::Visual),
R"#(Returns the visualisation mode for the structure <me>.)#"
)
.def("Ancestors",
(void (Graphic3d_Structure::*)( NCollection_Map<opencascade::handle<Graphic3d_Structure>> & ) const) static_cast<void (Graphic3d_Structure::*)( NCollection_Map<opencascade::handle<Graphic3d_Structure>> & ) const>(&Graphic3d_Structure::Ancestors),
R"#(Returns the group of structures to which <me> is connected.)#" , py::arg("SG")
)
.def("Connect",
(void (Graphic3d_Structure::*)( Graphic3d_Structure * , Graphic3d_TypeOfConnection , Standard_Boolean ) ) static_cast<void (Graphic3d_Structure::*)( Graphic3d_Structure * , Graphic3d_TypeOfConnection , Standard_Boolean ) >(&Graphic3d_Structure::Connect),
R"#(If Atype is TOC_DESCENDANT then add <AStructure> as a child structure of <me>. If Atype is TOC_ANCESTOR then add <AStructure> as a parent structure of <me>. The connection propagates Display, Highlight, Erase, Remove, and stacks the transformations. No connection if the graph of the structures contains a cycle and <WithCheck> is Standard_True;)#" , py::arg("theStructure"), py::arg("theType"), py::arg("theWithCheck")=static_cast<Standard_Boolean>(Standard_False)
)
.def("Connect",
(void (Graphic3d_Structure::*)( const opencascade::handle<Graphic3d_Structure> & ) ) static_cast<void (Graphic3d_Structure::*)( const opencascade::handle<Graphic3d_Structure> & ) >(&Graphic3d_Structure::Connect),
R"#(None)#" , py::arg("thePrs")
)
.def("Descendants",
(void (Graphic3d_Structure::*)( NCollection_Map<opencascade::handle<Graphic3d_Structure>> & ) const) static_cast<void (Graphic3d_Structure::*)( NCollection_Map<opencascade::handle<Graphic3d_Structure>> & ) const>(&Graphic3d_Structure::Descendants),
R"#(Returns the group of structures connected to <me>.)#" , py::arg("SG")
)
.def("Disconnect",
(void (Graphic3d_Structure::*)( Graphic3d_Structure * ) ) static_cast<void (Graphic3d_Structure::*)( Graphic3d_Structure * ) >(&Graphic3d_Structure::Disconnect),
R"#(Suppress the connection between <AStructure> and <me>.)#" , py::arg("theStructure")
)
.def("Remove",
(void (Graphic3d_Structure::*)( const opencascade::handle<Graphic3d_Structure> & ) ) static_cast<void (Graphic3d_Structure::*)( const opencascade::handle<Graphic3d_Structure> & ) >(&Graphic3d_Structure::Remove),
R"#(None)#" , py::arg("thePrs")
)
.def("DisconnectAll",
(void (Graphic3d_Structure::*)( const Graphic3d_TypeOfConnection ) ) static_cast<void (Graphic3d_Structure::*)( const Graphic3d_TypeOfConnection ) >(&Graphic3d_Structure::DisconnectAll),
R"#(If Atype is TOC_DESCENDANT then suppress all the connections with the child structures of <me>. If Atype is TOC_ANCESTOR then suppress all the connections with the parent structures of <me>.)#" , py::arg("AType")
)
.def("RemoveAll",
(void (Graphic3d_Structure::*)() ) static_cast<void (Graphic3d_Structure::*)() >(&Graphic3d_Structure::RemoveAll),
R"#(None)#"
)
.def("SetOwner",
(void (Graphic3d_Structure::*)( const Standard_Address ) ) static_cast<void (Graphic3d_Structure::*)( const Standard_Address ) >(&Graphic3d_Structure::SetOwner),
R"#(None)#" , py::arg("theOwner")
)
.def("Owner",
(Standard_Address (Graphic3d_Structure::*)() const) static_cast<Standard_Address (Graphic3d_Structure::*)() const>(&Graphic3d_Structure::Owner),
R"#(None)#"
)
.def("SetHLRValidation",
(void (Graphic3d_Structure::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_Structure::*)( const Standard_Boolean ) >(&Graphic3d_Structure::SetHLRValidation),
R"#(None)#" , py::arg("theFlag")
)
.def("HLRValidation",
(Standard_Boolean (Graphic3d_Structure::*)() const) static_cast<Standard_Boolean (Graphic3d_Structure::*)() const>(&Graphic3d_Structure::HLRValidation),
R"#(Hidden parts stored in this structure are valid if: 1) the owner is defined. 2) they are not invalid.)#"
)
.def("SetTransformation",
(void (Graphic3d_Structure::*)( const opencascade::handle<TopLoc_Datum3D> & ) ) static_cast<void (Graphic3d_Structure::*)( const opencascade::handle<TopLoc_Datum3D> & ) >(&Graphic3d_Structure::SetTransformation),
R"#(Modifies the current local transformation)#" , py::arg("theTrsf")
)
.def("SetTransformPersistence",
(void (Graphic3d_Structure::*)( const opencascade::handle<Graphic3d_TransformPers> & ) ) static_cast<void (Graphic3d_Structure::*)( const opencascade::handle<Graphic3d_TransformPers> & ) >(&Graphic3d_Structure::SetTransformPersistence),
R"#(Modifies the current transform persistence (pan, zoom or rotate))#" , py::arg("theTrsfPers")
)
.def("SetMutable",
(void (Graphic3d_Structure::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_Structure::*)( const Standard_Boolean ) >(&Graphic3d_Structure::SetMutable),
R"#(Sets if the structure location has mutable nature (content or location will be changed regularly).)#" , py::arg("theIsMutable")
)
.def("IsMutable",
(Standard_Boolean (Graphic3d_Structure::*)() const) static_cast<Standard_Boolean (Graphic3d_Structure::*)() const>(&Graphic3d_Structure::IsMutable),
R"#(Returns true if structure has mutable nature (content or location are be changed regularly). Mutable structure will be managed in different way than static onces.)#"
)
.def("ComputeVisual",
(Graphic3d_TypeOfStructure (Graphic3d_Structure::*)() const) static_cast<Graphic3d_TypeOfStructure (Graphic3d_Structure::*)() const>(&Graphic3d_Structure::ComputeVisual),
R"#(None)#"
)
.def("GraphicClear",
(void (Graphic3d_Structure::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_Structure::*)( const Standard_Boolean ) >(&Graphic3d_Structure::GraphicClear),
R"#(Clears the structure <me>.)#" , py::arg("WithDestruction")
)
.def("GraphicConnect",
(void (Graphic3d_Structure::*)( const opencascade::handle<Graphic3d_Structure> & ) ) static_cast<void (Graphic3d_Structure::*)( const opencascade::handle<Graphic3d_Structure> & ) >(&Graphic3d_Structure::GraphicConnect),
R"#(None)#" , py::arg("theDaughter")
)
.def("GraphicDisconnect",
(void (Graphic3d_Structure::*)( const opencascade::handle<Graphic3d_Structure> & ) ) static_cast<void (Graphic3d_Structure::*)( const opencascade::handle<Graphic3d_Structure> & ) >(&Graphic3d_Structure::GraphicDisconnect),
R"#(None)#" , py::arg("theDaughter")
)
.def("GraphicTransform",
(void (Graphic3d_Structure::*)( const opencascade::handle<TopLoc_Datum3D> & ) ) static_cast<void (Graphic3d_Structure::*)( const opencascade::handle<TopLoc_Datum3D> & ) >(&Graphic3d_Structure::GraphicTransform),
R"#(Internal method which sets new transformation without calling graphic manager callbacks.)#" , py::arg("theTrsf")
)
.def("Identification",
(Standard_Integer (Graphic3d_Structure::*)() const) static_cast<Standard_Integer (Graphic3d_Structure::*)() const>(&Graphic3d_Structure::Identification),
R"#(Returns the identification number of this structure.)#"
)
.def("Remove",
(void (Graphic3d_Structure::*)( Graphic3d_Structure * , const Graphic3d_TypeOfConnection ) ) static_cast<void (Graphic3d_Structure::*)( Graphic3d_Structure * , const Graphic3d_TypeOfConnection ) >(&Graphic3d_Structure::Remove),
R"#(Suppress the structure in the list of descendants or in the list of ancestors.)#" , py::arg("thePtr"), py::arg("theType")
)
.def("SetComputeVisual",
(void (Graphic3d_Structure::*)( const Graphic3d_TypeOfStructure ) ) static_cast<void (Graphic3d_Structure::*)( const Graphic3d_TypeOfStructure ) >(&Graphic3d_Structure::SetComputeVisual),
R"#(None)#" , py::arg("theVisual")
)
.def("DumpJson",
(void (Graphic3d_Structure::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_Structure::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_Structure::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
.def("computeHLR",
[]( Graphic3d_Structure &self , const opencascade::handle<Graphic3d_Camera> & theProjector,Graphic3d_Structure& theStructure ){
opencascade::handle<Graphic3d_Structure> theStructure_ptr; theStructure_ptr = &theStructure;
self.computeHLR(theProjector,theStructure_ptr);
if ( theStructure_ptr.get() != &theStructure ) copy_if_copy_constructible(theStructure, *theStructure_ptr);
return std::make_tuple(); },
R"#(Returns the new Structure defined for the new visualization)#" , py::arg("theProjector"), py::arg("theStructure")
)
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_Structure::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_Structure::get_type_descriptor),
R"#(None)#"
)
.def_static("AcceptConnection_s",
(Standard_Boolean (*)( Graphic3d_Structure * , Graphic3d_Structure * , Graphic3d_TypeOfConnection ) ) static_cast<Standard_Boolean (*)( Graphic3d_Structure * , Graphic3d_Structure * , Graphic3d_TypeOfConnection ) >(&Graphic3d_Structure::AcceptConnection),
R"#(Returns Standard_True if the connection is possible between <AStructure1> and <AStructure2> without a creation of a cycle.)#" , py::arg("theStructure1"), py::arg("theStructure2"), py::arg("theType")
)
.def_static("Network_s",
(void (*)( Graphic3d_Structure * , const Graphic3d_TypeOfConnection , NCollection_Map<Graphic3d_Structure *> & ) ) static_cast<void (*)( Graphic3d_Structure * , const Graphic3d_TypeOfConnection , NCollection_Map<Graphic3d_Structure *> & ) >(&Graphic3d_Structure::Network),
R"#(Returns <ASet> the group of structures : - directly or indirectly connected to <AStructure> if the TypeOfConnection == TOC_DESCENDANT - to which <AStructure> is directly or indirectly connected if the TypeOfConnection == TOC_ANCESTOR)#" , py::arg("theStructure"), py::arg("theType"), py::arg("theSet")
)
.def_static("PrintNetwork_s",
(void (*)( const opencascade::handle<Graphic3d_Structure> & , const Graphic3d_TypeOfConnection ) ) static_cast<void (*)( const opencascade::handle<Graphic3d_Structure> & , const Graphic3d_TypeOfConnection ) >(&Graphic3d_Structure::PrintNetwork),
R"#(Prints information about the network associated with the structure <AStructure>.)#" , py::arg("AStructure"), py::arg("AType")
)
// static methods using call by reference i.s.o. return
.def_static("Transforms_s",
[](const gp_Trsf & theTrsf,const Standard_Real theX,const Standard_Real theY,const Standard_Real theZ ){
Standard_Real theNewX;
Standard_Real theNewY;
Standard_Real theNewZ;
Graphic3d_Structure::Transforms(theTrsf,theX,theY,theZ,theNewX,theNewY,theNewZ);
return std::make_tuple(theNewX,theNewY,theNewZ); },
R"#(Transforms theX, theY, theZ with the transformation theTrsf.)#" , py::arg("theTrsf"), py::arg("theX"), py::arg("theY"), py::arg("theZ")
)
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_Structure::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_Structure::*)() const>(&Graphic3d_Structure::DynamicType),
R"#(None)#"
)
.def("ClipPlanes",
(const opencascade::handle<Graphic3d_SequenceOfHClipPlane> & (Graphic3d_Structure::*)() const) static_cast<const opencascade::handle<Graphic3d_SequenceOfHClipPlane> & (Graphic3d_Structure::*)() const>(&Graphic3d_Structure::ClipPlanes),
R"#(Get clip planes slicing the structure on rendering.)#"
)
.def("Groups",
(const Graphic3d_SequenceOfGroup & (Graphic3d_Structure::*)() const) static_cast<const Graphic3d_SequenceOfGroup & (Graphic3d_Structure::*)() const>(&Graphic3d_Structure::Groups),
R"#(Returns the groups sequence included in this structure.)#"
)
.def("HighlightStyle",
(const opencascade::handle<Graphic3d_PresentationAttributes> & (Graphic3d_Structure::*)() const) static_cast<const opencascade::handle<Graphic3d_PresentationAttributes> & (Graphic3d_Structure::*)() const>(&Graphic3d_Structure::HighlightStyle),
R"#(Returns the highlight attributes.)#"
)
.def("Transformation",
(const opencascade::handle<TopLoc_Datum3D> & (Graphic3d_Structure::*)() const) static_cast<const opencascade::handle<TopLoc_Datum3D> & (Graphic3d_Structure::*)() const>(&Graphic3d_Structure::Transformation),
R"#(Return local transformation.)#"
)
.def("TransformPersistence",
(const opencascade::handle<Graphic3d_TransformPers> & (Graphic3d_Structure::*)() const) static_cast<const opencascade::handle<Graphic3d_TransformPers> & (Graphic3d_Structure::*)() const>(&Graphic3d_Structure::TransformPersistence),
R"#(Returns transform persistence of the presentable object.)#"
)
.def("CStructure",
(const opencascade::handle<Graphic3d_CStructure> & (Graphic3d_Structure::*)() const) static_cast<const opencascade::handle<Graphic3d_CStructure> & (Graphic3d_Structure::*)() const>(&Graphic3d_Structure::CStructure),
R"#(Returns the low-level structure)#"
)
;
// Class Graphic3d_StructureManager from ./opencascade/Graphic3d_StructureManager.hxx
klass = m.attr("Graphic3d_StructureManager");
// nested enums
static_cast<py::class_<Graphic3d_StructureManager ,opencascade::handle<Graphic3d_StructureManager> , Standard_Transient >>(klass)
// constructors
.def(py::init< const opencascade::handle<Graphic3d_GraphicDriver> & >() , py::arg("theDriver") )
// custom constructors
// methods
.def("Update",
(void (Graphic3d_StructureManager::*)( const Graphic3d_ZLayerId ) const) static_cast<void (Graphic3d_StructureManager::*)( const Graphic3d_ZLayerId ) const>(&Graphic3d_StructureManager::Update),
R"#(Invalidates bounding box of specified ZLayerId.)#" , py::arg("theLayerId")=static_cast<const Graphic3d_ZLayerId>(Graphic3d_ZLayerId_UNKNOWN)
)
.def("Remove",
(void (Graphic3d_StructureManager::*)() ) static_cast<void (Graphic3d_StructureManager::*)() >(&Graphic3d_StructureManager::Remove),
R"#(Deletes and erases the 3D structure manager.)#"
)
.def("Erase",
(void (Graphic3d_StructureManager::*)() ) static_cast<void (Graphic3d_StructureManager::*)() >(&Graphic3d_StructureManager::Erase),
R"#(Erases all the structures.)#"
)
.def("DisplayedStructures",
(void (Graphic3d_StructureManager::*)( NCollection_Map<opencascade::handle<Graphic3d_Structure>> & ) const) static_cast<void (Graphic3d_StructureManager::*)( NCollection_Map<opencascade::handle<Graphic3d_Structure>> & ) const>(&Graphic3d_StructureManager::DisplayedStructures),
R"#(Returns the set of structures displayed in visualiser <me>.)#" , py::arg("SG")
)
.def("HighlightedStructures",
(void (Graphic3d_StructureManager::*)( NCollection_Map<opencascade::handle<Graphic3d_Structure>> & ) const) static_cast<void (Graphic3d_StructureManager::*)( NCollection_Map<opencascade::handle<Graphic3d_Structure>> & ) const>(&Graphic3d_StructureManager::HighlightedStructures),
R"#(Returns the set of highlighted structures in a visualiser <me>.)#" , py::arg("SG")
)
.def("ReCompute",
(void (Graphic3d_StructureManager::*)( const opencascade::handle<Graphic3d_Structure> & ) ) static_cast<void (Graphic3d_StructureManager::*)( const opencascade::handle<Graphic3d_Structure> & ) >(&Graphic3d_StructureManager::ReCompute),
R"#(Forces a new construction of the structure. if <theStructure> is displayed and TOS_COMPUTED.)#" , py::arg("theStructure")
)
.def("ReCompute",
(void (Graphic3d_StructureManager::*)( const opencascade::handle<Graphic3d_Structure> & , const opencascade::handle<Graphic3d_DataStructureManager> & ) ) static_cast<void (Graphic3d_StructureManager::*)( const opencascade::handle<Graphic3d_Structure> & , const opencascade::handle<Graphic3d_DataStructureManager> & ) >(&Graphic3d_StructureManager::ReCompute),
R"#(Forces a new construction of the structure. if <theStructure> is displayed in <theProjector> and TOS_COMPUTED.)#" , py::arg("theStructure"), py::arg("theProjector")
)
.def("Clear",
(void (Graphic3d_StructureManager::*)( Graphic3d_Structure * , const Standard_Boolean ) ) static_cast<void (Graphic3d_StructureManager::*)( Graphic3d_Structure * , const Standard_Boolean ) >(&Graphic3d_StructureManager::Clear),
R"#(Clears the structure.)#" , py::arg("theStructure"), py::arg("theWithDestruction")
)
.def("Connect",
(void (Graphic3d_StructureManager::*)( const Graphic3d_Structure * , const Graphic3d_Structure * ) ) static_cast<void (Graphic3d_StructureManager::*)( const Graphic3d_Structure * , const Graphic3d_Structure * ) >(&Graphic3d_StructureManager::Connect),
R"#(Connects the structures.)#" , py::arg("theMother"), py::arg("theDaughter")
)
.def("Disconnect",
(void (Graphic3d_StructureManager::*)( const Graphic3d_Structure * , const Graphic3d_Structure * ) ) static_cast<void (Graphic3d_StructureManager::*)( const Graphic3d_Structure * , const Graphic3d_Structure * ) >(&Graphic3d_StructureManager::Disconnect),
R"#(Disconnects the structures.)#" , py::arg("theMother"), py::arg("theDaughter")
)
.def("Display",
(void (Graphic3d_StructureManager::*)( const opencascade::handle<Graphic3d_Structure> & ) ) static_cast<void (Graphic3d_StructureManager::*)( const opencascade::handle<Graphic3d_Structure> & ) >(&Graphic3d_StructureManager::Display),
R"#(Display the structure.)#" , py::arg("theStructure")
)
.def("Erase",
(void (Graphic3d_StructureManager::*)( const opencascade::handle<Graphic3d_Structure> & ) ) static_cast<void (Graphic3d_StructureManager::*)( const opencascade::handle<Graphic3d_Structure> & ) >(&Graphic3d_StructureManager::Erase),
R"#(Erases the structure.)#" , py::arg("theStructure")
)
.def("Highlight",
(void (Graphic3d_StructureManager::*)( const opencascade::handle<Graphic3d_Structure> & ) ) static_cast<void (Graphic3d_StructureManager::*)( const opencascade::handle<Graphic3d_Structure> & ) >(&Graphic3d_StructureManager::Highlight),
R"#(Highlights the structure.)#" , py::arg("theStructure")
)
.def("SetTransform",
(void (Graphic3d_StructureManager::*)( const opencascade::handle<Graphic3d_Structure> & , const opencascade::handle<TopLoc_Datum3D> & ) ) static_cast<void (Graphic3d_StructureManager::*)( const opencascade::handle<Graphic3d_Structure> & , const opencascade::handle<TopLoc_Datum3D> & ) >(&Graphic3d_StructureManager::SetTransform),
R"#(Transforms the structure.)#" , py::arg("theStructure"), py::arg("theTrsf")
)
.def("ChangeDisplayPriority",
(void (Graphic3d_StructureManager::*)( const opencascade::handle<Graphic3d_Structure> & , const Graphic3d_DisplayPriority , const Graphic3d_DisplayPriority ) ) static_cast<void (Graphic3d_StructureManager::*)( const opencascade::handle<Graphic3d_Structure> & , const Graphic3d_DisplayPriority , const Graphic3d_DisplayPriority ) >(&Graphic3d_StructureManager::ChangeDisplayPriority),
R"#(Changes the display priority of the structure <AStructure>.)#" , py::arg("theStructure"), py::arg("theOldPriority"), py::arg("theNewPriority")
)
.def("ChangeZLayer",
(void (Graphic3d_StructureManager::*)( const opencascade::handle<Graphic3d_Structure> & , const Graphic3d_ZLayerId ) ) static_cast<void (Graphic3d_StructureManager::*)( const opencascade::handle<Graphic3d_Structure> & , const Graphic3d_ZLayerId ) >(&Graphic3d_StructureManager::ChangeZLayer),
R"#(Change Z layer for structure. The Z layer mechanism allows to display structures in higher layers in overlay of structures in lower layers.)#" , py::arg("theStructure"), py::arg("theLayerId")
)
.def("Identification",
(Standard_Integer (Graphic3d_StructureManager::*)( Graphic3d_CView * ) ) static_cast<Standard_Integer (Graphic3d_StructureManager::*)( Graphic3d_CView * ) >(&Graphic3d_StructureManager::Identification),
R"#(Attaches the view to this structure manager and sets its identification number within the manager.)#" , py::arg("theView")
)
.def("UnIdentification",
(void (Graphic3d_StructureManager::*)( Graphic3d_CView * ) ) static_cast<void (Graphic3d_StructureManager::*)( Graphic3d_CView * ) >(&Graphic3d_StructureManager::UnIdentification),
R"#(Detach the view from this structure manager and release its identification.)#" , py::arg("theView")
)
.def("MaxNumOfViews",
(Standard_Integer (Graphic3d_StructureManager::*)() const) static_cast<Standard_Integer (Graphic3d_StructureManager::*)() const>(&Graphic3d_StructureManager::MaxNumOfViews),
R"#(Returns the theoretical maximum number of definable views in the manager. Warning: It's not possible to accept an infinite number of definable views because each view must have an identification and we have different managers.)#"
)
.def("Identification",
(opencascade::handle<Graphic3d_Structure> (Graphic3d_StructureManager::*)( const Standard_Integer ) const) static_cast<opencascade::handle<Graphic3d_Structure> (Graphic3d_StructureManager::*)( const Standard_Integer ) const>(&Graphic3d_StructureManager::Identification),
R"#(Returns the structure with the identification number <AId>.)#" , py::arg("AId")
)
.def("UnHighlight",
(void (Graphic3d_StructureManager::*)( const opencascade::handle<Graphic3d_Structure> & ) ) static_cast<void (Graphic3d_StructureManager::*)( const opencascade::handle<Graphic3d_Structure> & ) >(&Graphic3d_StructureManager::UnHighlight),
R"#(Suppress the highlighting on the structure <AStructure>.)#" , py::arg("AStructure")
)
.def("UnHighlight",
(void (Graphic3d_StructureManager::*)() ) static_cast<void (Graphic3d_StructureManager::*)() >(&Graphic3d_StructureManager::UnHighlight),
R"#(Suppresses the highlighting on all the structures in <me>.)#"
)
.def("RecomputeStructures",
(void (Graphic3d_StructureManager::*)() ) static_cast<void (Graphic3d_StructureManager::*)() >(&Graphic3d_StructureManager::RecomputeStructures),
R"#(Recomputes all structures in the manager. Resets Device Lost flag.)#"
)
.def("RecomputeStructures",
(void (Graphic3d_StructureManager::*)( const NCollection_Map<Graphic3d_Structure *> & ) ) static_cast<void (Graphic3d_StructureManager::*)( const NCollection_Map<Graphic3d_Structure *> & ) >(&Graphic3d_StructureManager::RecomputeStructures),
R"#(Recomputes all structures from theStructures.)#" , py::arg("theStructures")
)
.def("RegisterObject",
(void (Graphic3d_StructureManager::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Graphic3d_ViewAffinity> & ) ) static_cast<void (Graphic3d_StructureManager::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Graphic3d_ViewAffinity> & ) >(&Graphic3d_StructureManager::RegisterObject),
R"#(None)#" , py::arg("theObject"), py::arg("theAffinity")
)
.def("UnregisterObject",
(void (Graphic3d_StructureManager::*)( const opencascade::handle<Standard_Transient> & ) ) static_cast<void (Graphic3d_StructureManager::*)( const opencascade::handle<Standard_Transient> & ) >(&Graphic3d_StructureManager::UnregisterObject),
R"#(None)#" , py::arg("theObject")
)
.def("ObjectAffinity",
(const opencascade::handle<Graphic3d_ViewAffinity> & (Graphic3d_StructureManager::*)( const opencascade::handle<Standard_Transient> & ) const) static_cast<const opencascade::handle<Graphic3d_ViewAffinity> & (Graphic3d_StructureManager::*)( const opencascade::handle<Standard_Transient> & ) const>(&Graphic3d_StructureManager::ObjectAffinity),
R"#(None)#" , py::arg("theObject")
)
.def("IsDeviceLost",
(Standard_Boolean (Graphic3d_StructureManager::*)() const) static_cast<Standard_Boolean (Graphic3d_StructureManager::*)() const>(&Graphic3d_StructureManager::IsDeviceLost),
R"#(Returns TRUE if Device Lost flag has been set and presentation data should be reuploaded onto graphics driver.)#"
)
.def("SetDeviceLost",
(void (Graphic3d_StructureManager::*)() ) static_cast<void (Graphic3d_StructureManager::*)() >(&Graphic3d_StructureManager::SetDeviceLost),
R"#(Sets Device Lost flag.)#"
)
.def("DumpJson",
(void (Graphic3d_StructureManager::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_StructureManager::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_StructureManager::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_StructureManager::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_StructureManager::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_StructureManager::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_StructureManager::*)() const>(&Graphic3d_StructureManager::DynamicType),
R"#(None)#"
)
.def("GraphicDriver",
(const opencascade::handle<Graphic3d_GraphicDriver> & (Graphic3d_StructureManager::*)() const) static_cast<const opencascade::handle<Graphic3d_GraphicDriver> & (Graphic3d_StructureManager::*)() const>(&Graphic3d_StructureManager::GraphicDriver),
R"#(Returns the graphic driver of <me>.)#"
)
.def("DefinedViews",
(const Graphic3d_IndexedMapOfView & (Graphic3d_StructureManager::*)() const) static_cast<const Graphic3d_IndexedMapOfView & (Graphic3d_StructureManager::*)() const>(&Graphic3d_StructureManager::DefinedViews),
R"#(Returns the group of views defined in the structure manager.)#"
)
;
// Class Graphic3d_Text from ./opencascade/Graphic3d_Text.hxx
klass = m.attr("Graphic3d_Text");
// nested enums
static_cast<py::class_<Graphic3d_Text ,opencascade::handle<Graphic3d_Text> , Standard_Transient >>(klass)
// constructors
.def(py::init< const Standard_ShortReal >() , py::arg("theHeight") )
// custom constructors
// methods
.def("SetText",
(void (Graphic3d_Text::*)( const NCollection_Utf8String & ) ) static_cast<void (Graphic3d_Text::*)( const NCollection_Utf8String & ) >(&Graphic3d_Text::SetText),
R"#(Sets text value.)#" , py::arg("theText")
)
.def("SetText",
(void (Graphic3d_Text::*)( const TCollection_AsciiString & ) ) static_cast<void (Graphic3d_Text::*)( const TCollection_AsciiString & ) >(&Graphic3d_Text::SetText),
R"#(Sets text value.)#" , py::arg("theText")
)
.def("SetText",
(void (Graphic3d_Text::*)( Standard_CString ) ) static_cast<void (Graphic3d_Text::*)( Standard_CString ) >(&Graphic3d_Text::SetText),
R"#(Sets text value.)#" , py::arg("theText")
)
.def("SetTextFormatter",
(void (Graphic3d_Text::*)( const opencascade::handle<Font_TextFormatter> & ) ) static_cast<void (Graphic3d_Text::*)( const opencascade::handle<Font_TextFormatter> & ) >(&Graphic3d_Text::SetTextFormatter),
R"#(Setup text default formatter for text within this context.)#" , py::arg("theFormatter")
)
.def("SetPosition",
(void (Graphic3d_Text::*)( const gp_Pnt & ) ) static_cast<void (Graphic3d_Text::*)( const gp_Pnt & ) >(&Graphic3d_Text::SetPosition),
R"#(Sets text point.)#" , py::arg("thePoint")
)
.def("HasPlane",
(Standard_Boolean (Graphic3d_Text::*)() const) static_cast<Standard_Boolean (Graphic3d_Text::*)() const>(&Graphic3d_Text::HasPlane),
R"#(Returns true if the text is filled by a point)#"
)
.def("SetOrientation",
(void (Graphic3d_Text::*)( const gp_Ax2 & ) ) static_cast<void (Graphic3d_Text::*)( const gp_Ax2 & ) >(&Graphic3d_Text::SetOrientation),
R"#(Sets text orientation in 3D space.)#" , py::arg("theOrientation")
)
.def("ResetOrientation",
(void (Graphic3d_Text::*)() ) static_cast<void (Graphic3d_Text::*)() >(&Graphic3d_Text::ResetOrientation),
R"#(Reset text orientation in 3D space.)#"
)
.def("HasOwnAnchorPoint",
(Standard_Boolean (Graphic3d_Text::*)() const) static_cast<Standard_Boolean (Graphic3d_Text::*)() const>(&Graphic3d_Text::HasOwnAnchorPoint),
R"#(Returns true if the text has an anchor point)#"
)
.def("SetOwnAnchorPoint",
(void (Graphic3d_Text::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_Text::*)( const Standard_Boolean ) >(&Graphic3d_Text::SetOwnAnchorPoint),
R"#(Returns true if the text has an anchor point)#" , py::arg("theHasOwnAnchor")
)
.def("Height",
(Standard_ShortReal (Graphic3d_Text::*)() const) static_cast<Standard_ShortReal (Graphic3d_Text::*)() const>(&Graphic3d_Text::Height),
R"#(Sets height of text. (Relative to the Normalized Projection Coordinates (NPC) Space).)#"
)
.def("SetHeight",
(void (Graphic3d_Text::*)( const Standard_ShortReal ) ) static_cast<void (Graphic3d_Text::*)( const Standard_ShortReal ) >(&Graphic3d_Text::SetHeight),
R"#(Returns height of text)#" , py::arg("theHeight")
)
.def("HorizontalAlignment",
(Graphic3d_HorizontalTextAlignment (Graphic3d_Text::*)() const) static_cast<Graphic3d_HorizontalTextAlignment (Graphic3d_Text::*)() const>(&Graphic3d_Text::HorizontalAlignment),
R"#(Returns horizontal alignment of text.)#"
)
.def("SetHorizontalAlignment",
(void (Graphic3d_Text::*)( const Graphic3d_HorizontalTextAlignment ) ) static_cast<void (Graphic3d_Text::*)( const Graphic3d_HorizontalTextAlignment ) >(&Graphic3d_Text::SetHorizontalAlignment),
R"#(Sets horizontal alignment of text.)#" , py::arg("theJustification")
)
.def("VerticalAlignment",
(Graphic3d_VerticalTextAlignment (Graphic3d_Text::*)() const) static_cast<Graphic3d_VerticalTextAlignment (Graphic3d_Text::*)() const>(&Graphic3d_Text::VerticalAlignment),
R"#(Returns vertical alignment of text.)#"
)
.def("SetVerticalAlignment",
(void (Graphic3d_Text::*)( const Graphic3d_VerticalTextAlignment ) ) static_cast<void (Graphic3d_Text::*)( const Graphic3d_VerticalTextAlignment ) >(&Graphic3d_Text::SetVerticalAlignment),
R"#(Sets vertical alignment of text.)#" , py::arg("theJustification")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_Text::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_Text::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_Text::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_Text::*)() const>(&Graphic3d_Text::DynamicType),
R"#(None)#"
)
.def("Text",
(const NCollection_String & (Graphic3d_Text::*)() const) static_cast<const NCollection_String & (Graphic3d_Text::*)() const>(&Graphic3d_Text::Text),
R"#(Returns text value.)#"
)
.def("TextFormatter",
(const opencascade::handle<Font_TextFormatter> & (Graphic3d_Text::*)() const) static_cast<const opencascade::handle<Font_TextFormatter> & (Graphic3d_Text::*)() const>(&Graphic3d_Text::TextFormatter),
R"#(Returns text formatter; NULL by default, which means standard text formatter will be used.)#"
)
.def("Position",
(const gp_Pnt & (Graphic3d_Text::*)() const) static_cast<const gp_Pnt & (Graphic3d_Text::*)() const>(&Graphic3d_Text::Position),
R"#(The 3D point of attachment is projected. If the orientation is defined, the text is written in the plane of projection.)#"
)
.def("Orientation",
(const gp_Ax2 & (Graphic3d_Text::*)() const) static_cast<const gp_Ax2 & (Graphic3d_Text::*)() const>(&Graphic3d_Text::Orientation),
R"#(Returns text orientation in 3D space.)#"
)
;
// Class Graphic3d_TextureParams from ./opencascade/Graphic3d_TextureParams.hxx
klass = m.attr("Graphic3d_TextureParams");
// nested enums
static_cast<py::class_<Graphic3d_TextureParams ,opencascade::handle<Graphic3d_TextureParams> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("TextureUnit",
(Graphic3d_TextureUnit (Graphic3d_TextureParams::*)() const) static_cast<Graphic3d_TextureUnit (Graphic3d_TextureParams::*)() const>(&Graphic3d_TextureParams::TextureUnit),
R"#(Default texture unit to be used, default is Graphic3d_TextureUnit_BaseColor.)#"
)
.def("SetTextureUnit",
(void (Graphic3d_TextureParams::*)( Graphic3d_TextureUnit ) ) static_cast<void (Graphic3d_TextureParams::*)( Graphic3d_TextureUnit ) >(&Graphic3d_TextureParams::SetTextureUnit),
R"#(Setup default texture unit.)#" , py::arg("theUnit")
)
.def("IsModulate",
(Standard_Boolean (Graphic3d_TextureParams::*)() const) static_cast<Standard_Boolean (Graphic3d_TextureParams::*)() const>(&Graphic3d_TextureParams::IsModulate),
R"#(Returns TRUE if the texture is modulate. Default value is FALSE.)#"
)
.def("SetModulate",
(void (Graphic3d_TextureParams::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_TextureParams::*)( const Standard_Boolean ) >(&Graphic3d_TextureParams::SetModulate),
R"#()#" , py::arg("theToModulate")
)
.def("IsRepeat",
(Standard_Boolean (Graphic3d_TextureParams::*)() const) static_cast<Standard_Boolean (Graphic3d_TextureParams::*)() const>(&Graphic3d_TextureParams::IsRepeat),
R"#(Returns TRUE if the texture repeat is enabled. Default value is FALSE.)#"
)
.def("SetRepeat",
(void (Graphic3d_TextureParams::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_TextureParams::*)( const Standard_Boolean ) >(&Graphic3d_TextureParams::SetRepeat),
R"#()#" , py::arg("theToRepeat")
)
.def("Filter",
(Graphic3d_TypeOfTextureFilter (Graphic3d_TextureParams::*)() const) static_cast<Graphic3d_TypeOfTextureFilter (Graphic3d_TextureParams::*)() const>(&Graphic3d_TextureParams::Filter),
R"#(Returns texture interpolation filter. Default value is Graphic3d_TOTF_NEAREST.)#"
)
.def("SetFilter",
(void (Graphic3d_TextureParams::*)( const Graphic3d_TypeOfTextureFilter ) ) static_cast<void (Graphic3d_TextureParams::*)( const Graphic3d_TypeOfTextureFilter ) >(&Graphic3d_TextureParams::SetFilter),
R"#()#" , py::arg("theFilter")
)
.def("AnisoFilter",
(Graphic3d_LevelOfTextureAnisotropy (Graphic3d_TextureParams::*)() const) static_cast<Graphic3d_LevelOfTextureAnisotropy (Graphic3d_TextureParams::*)() const>(&Graphic3d_TextureParams::AnisoFilter),
R"#(Returns level of anisontropy texture filter. Default value is Graphic3d_LOTA_OFF.)#"
)
.def("SetAnisoFilter",
(void (Graphic3d_TextureParams::*)( const Graphic3d_LevelOfTextureAnisotropy ) ) static_cast<void (Graphic3d_TextureParams::*)( const Graphic3d_LevelOfTextureAnisotropy ) >(&Graphic3d_TextureParams::SetAnisoFilter),
R"#()#" , py::arg("theLevel")
)
.def("Rotation",
(Standard_ShortReal (Graphic3d_TextureParams::*)() const) static_cast<Standard_ShortReal (Graphic3d_TextureParams::*)() const>(&Graphic3d_TextureParams::Rotation),
R"#(Return rotation angle in degrees; 0 by default. Complete transformation matrix: Rotation -> Translation -> Scale.)#"
)
.def("SetRotation",
(void (Graphic3d_TextureParams::*)( const Standard_ShortReal ) ) static_cast<void (Graphic3d_TextureParams::*)( const Standard_ShortReal ) >(&Graphic3d_TextureParams::SetRotation),
R"#()#" , py::arg("theAngleDegrees")
)
.def("SetScale",
(void (Graphic3d_TextureParams::*)( const NCollection_Vec2<Standard_ShortReal> ) ) static_cast<void (Graphic3d_TextureParams::*)( const NCollection_Vec2<Standard_ShortReal> ) >(&Graphic3d_TextureParams::SetScale),
R"#()#" , py::arg("theScale")
)
.def("SetTranslation",
(void (Graphic3d_TextureParams::*)( const NCollection_Vec2<Standard_ShortReal> ) ) static_cast<void (Graphic3d_TextureParams::*)( const NCollection_Vec2<Standard_ShortReal> ) >(&Graphic3d_TextureParams::SetTranslation),
R"#()#" , py::arg("theVec")
)
.def("GenMode",
(Graphic3d_TypeOfTextureMode (Graphic3d_TextureParams::*)() const) static_cast<Graphic3d_TypeOfTextureMode (Graphic3d_TextureParams::*)() const>(&Graphic3d_TextureParams::GenMode),
R"#(Returns texture coordinates generation mode. Default value is Graphic3d_TOTM_MANUAL.)#"
)
.def("SetGenMode",
(void (Graphic3d_TextureParams::*)( const Graphic3d_TypeOfTextureMode , const NCollection_Vec4<Standard_ShortReal> , const NCollection_Vec4<Standard_ShortReal> ) ) static_cast<void (Graphic3d_TextureParams::*)( const Graphic3d_TypeOfTextureMode , const NCollection_Vec4<Standard_ShortReal> , const NCollection_Vec4<Standard_ShortReal> ) >(&Graphic3d_TextureParams::SetGenMode),
R"#(Setup texture coordinates generation mode.)#" , py::arg("theMode"), py::arg("thePlaneS"), py::arg("thePlaneT")
)
.def("BaseLevel",
(Standard_Integer (Graphic3d_TextureParams::*)() const) static_cast<Standard_Integer (Graphic3d_TextureParams::*)() const>(&Graphic3d_TextureParams::BaseLevel),
R"#(Returns base texture mipmap level; 0 by default.)#"
)
.def("MaxLevel",
(Standard_Integer (Graphic3d_TextureParams::*)() const) static_cast<Standard_Integer (Graphic3d_TextureParams::*)() const>(&Graphic3d_TextureParams::MaxLevel),
R"#(Return maximum texture mipmap array level; 1000 by default. Real rendering limit will take into account mipmap generation flags and presence of mipmaps in loaded image.)#"
)
.def("SetLevelsRange",
(void (Graphic3d_TextureParams::*)( Standard_Integer , Standard_Integer ) ) static_cast<void (Graphic3d_TextureParams::*)( Standard_Integer , Standard_Integer ) >(&Graphic3d_TextureParams::SetLevelsRange),
R"#(Setups texture mipmap array levels range. The lowest value will be the base level. The remaining one will be the maximum level.)#" , py::arg("theFirstLevel"), py::arg("theSecondLevel")=static_cast<Standard_Integer>(0)
)
.def("SamplerRevision",
(unsigned int (Graphic3d_TextureParams::*)() const) static_cast<unsigned int (Graphic3d_TextureParams::*)() const>(&Graphic3d_TextureParams::SamplerRevision),
R"#(Return modification counter of parameters related to sampler state.)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_TextureParams::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_TextureParams::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_TextureParams::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_TextureParams::*)() const>(&Graphic3d_TextureParams::DynamicType),
R"#(None)#"
)
.def("Scale",
(const Graphic3d_Vec2 & (Graphic3d_TextureParams::*)() const) static_cast<const Graphic3d_Vec2 & (Graphic3d_TextureParams::*)() const>(&Graphic3d_TextureParams::Scale),
R"#(Return scale factor; (1.0; 1.0) by default, which means no scaling. Complete transformation matrix: Rotation -> Translation -> Scale.)#"
)
.def("Translation",
(const Graphic3d_Vec2 & (Graphic3d_TextureParams::*)() const) static_cast<const Graphic3d_Vec2 & (Graphic3d_TextureParams::*)() const>(&Graphic3d_TextureParams::Translation),
R"#(Return translation vector; (0.0; 0.0), which means no translation. Complete transformation matrix: Rotation -> Translation -> Scale.)#"
)
.def("GenPlaneS",
(const Graphic3d_Vec4 & (Graphic3d_TextureParams::*)() const) static_cast<const Graphic3d_Vec4 & (Graphic3d_TextureParams::*)() const>(&Graphic3d_TextureParams::GenPlaneS),
R"#(Returns texture coordinates generation plane S.)#"
)
.def("GenPlaneT",
(const Graphic3d_Vec4 & (Graphic3d_TextureParams::*)() const) static_cast<const Graphic3d_Vec4 & (Graphic3d_TextureParams::*)() const>(&Graphic3d_TextureParams::GenPlaneT),
R"#(Returns texture coordinates generation plane T.)#"
)
;
// Class Graphic3d_TextureRoot from ./opencascade/Graphic3d_TextureRoot.hxx
klass = m.attr("Graphic3d_TextureRoot");
// nested enums
static_cast<py::class_<Graphic3d_TextureRoot ,opencascade::handle<Graphic3d_TextureRoot> , Standard_Transient >>(klass)
// constructors
// custom constructors
// methods
.def("IsDone",
(Standard_Boolean (Graphic3d_TextureRoot::*)() const) static_cast<Standard_Boolean (Graphic3d_TextureRoot::*)() const>(&Graphic3d_TextureRoot::IsDone),
R"#(Checks if a texture class is valid or not.)#"
)
.def("Type",
(Graphic3d_TypeOfTexture (Graphic3d_TextureRoot::*)() const) static_cast<Graphic3d_TypeOfTexture (Graphic3d_TextureRoot::*)() const>(&Graphic3d_TextureRoot::Type),
R"#(Returns the texture type.)#"
)
.def("Revision",
(Standard_Size (Graphic3d_TextureRoot::*)() const) static_cast<Standard_Size (Graphic3d_TextureRoot::*)() const>(&Graphic3d_TextureRoot::Revision),
R"#(Return image revision.)#"
)
.def("UpdateRevision",
(void (Graphic3d_TextureRoot::*)() ) static_cast<void (Graphic3d_TextureRoot::*)() >(&Graphic3d_TextureRoot::UpdateRevision),
R"#(Update image revision. Can be used for signaling changes in the texture source (e.g. file update, pixmap update) without re-creating texture source itself (since unique id should be never modified).)#"
)
.def("GetCompressedImage",
(opencascade::handle<Image_CompressedPixMap> (Graphic3d_TextureRoot::*)( const opencascade::handle<Image_SupportedFormats> & ) ) static_cast<opencascade::handle<Image_CompressedPixMap> (Graphic3d_TextureRoot::*)( const opencascade::handle<Image_SupportedFormats> & ) >(&Graphic3d_TextureRoot::GetCompressedImage),
R"#(This method will be called by graphic driver each time when texture resource should be created. It is called in front of GetImage() for uploading compressed image formats natively supported by GPU.)#" , py::arg("theSupported")
)
.def("GetImage",
(opencascade::handle<Image_PixMap> (Graphic3d_TextureRoot::*)( const opencascade::handle<Image_SupportedFormats> & ) ) static_cast<opencascade::handle<Image_PixMap> (Graphic3d_TextureRoot::*)( const opencascade::handle<Image_SupportedFormats> & ) >(&Graphic3d_TextureRoot::GetImage),
R"#(This method will be called by graphic driver each time when texture resource should be created. Default constructors allow defining the texture source as path to texture image or directly as pixmap. If the source is defined as path, then the image will be dynamically loaded when this method is called (and no copy will be preserved in this class instance). Inheritors may dynamically generate the image. Notice, image data should be in Bottom-Up order (see Image_PixMap::IsTopDown())!)#" , py::arg("theSupported")
)
.def("IsColorMap",
(Standard_Boolean (Graphic3d_TextureRoot::*)() const) static_cast<Standard_Boolean (Graphic3d_TextureRoot::*)() const>(&Graphic3d_TextureRoot::IsColorMap),
R"#(Return flag indicating color nature of values within the texture; TRUE by default.)#"
)
.def("SetColorMap",
(void (Graphic3d_TextureRoot::*)( Standard_Boolean ) ) static_cast<void (Graphic3d_TextureRoot::*)( Standard_Boolean ) >(&Graphic3d_TextureRoot::SetColorMap),
R"#(Set flag indicating color nature of values within the texture.)#" , py::arg("theIsColor")
)
.def("HasMipmaps",
(Standard_Boolean (Graphic3d_TextureRoot::*)() const) static_cast<Standard_Boolean (Graphic3d_TextureRoot::*)() const>(&Graphic3d_TextureRoot::HasMipmaps),
R"#(Returns whether mipmaps should be generated or not.)#"
)
.def("SetMipmapsGeneration",
(void (Graphic3d_TextureRoot::*)( Standard_Boolean ) ) static_cast<void (Graphic3d_TextureRoot::*)( Standard_Boolean ) >(&Graphic3d_TextureRoot::SetMipmapsGeneration),
R"#(Sets whether to generate mipmaps or not.)#" , py::arg("theToGenerateMipmaps")
)
.def("IsTopDown",
(Standard_Boolean (Graphic3d_TextureRoot::*)() const) static_cast<Standard_Boolean (Graphic3d_TextureRoot::*)() const>(&Graphic3d_TextureRoot::IsTopDown),
R"#(Returns whether row's memory layout is top-down.)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_TextureRoot::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_TextureRoot::get_type_descriptor),
R"#(None)#"
)
.def_static("TexturesFolder_s",
(TCollection_AsciiString (*)() ) static_cast<TCollection_AsciiString (*)() >(&Graphic3d_TextureRoot::TexturesFolder),
R"#(The path to textures determined from CSF_MDTVTexturesDirectory or CASROOT environment variables.)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_TextureRoot::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_TextureRoot::*)() const>(&Graphic3d_TextureRoot::DynamicType),
R"#(None)#"
)
.def("Path",
(const OSD_Path & (Graphic3d_TextureRoot::*)() const) static_cast<const OSD_Path & (Graphic3d_TextureRoot::*)() const>(&Graphic3d_TextureRoot::Path),
R"#(Returns the full path of the defined texture. It could be empty path if GetImage() is overridden to load image not from file.)#"
)
.def("GetId",
(const TCollection_AsciiString & (Graphic3d_TextureRoot::*)() const) static_cast<const TCollection_AsciiString & (Graphic3d_TextureRoot::*)() const>(&Graphic3d_TextureRoot::GetId),
R"#(This ID will be used to manage resource in graphic driver.)#"
)
.def("GetParams",
(const opencascade::handle<Graphic3d_TextureParams> & (Graphic3d_TextureRoot::*)() const) static_cast<const opencascade::handle<Graphic3d_TextureParams> & (Graphic3d_TextureRoot::*)() const>(&Graphic3d_TextureRoot::GetParams),
R"#(Returns low-level texture parameters)#"
)
;
// Class Graphic3d_TextureSet from ./opencascade/Graphic3d_TextureSet.hxx
klass = m.attr("Graphic3d_TextureSet");
// nested enums
static_cast<py::class_<Graphic3d_TextureSet ,opencascade::handle<Graphic3d_TextureSet> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< Standard_Integer >() , py::arg("theNbTextures") )
.def(py::init< const opencascade::handle<Graphic3d_TextureMap> & >() , py::arg("theTexture") )
// custom constructors
// methods
.def("IsEmpty",
(Standard_Boolean (Graphic3d_TextureSet::*)() const) static_cast<Standard_Boolean (Graphic3d_TextureSet::*)() const>(&Graphic3d_TextureSet::IsEmpty),
R"#(Return TRUE if texture array is empty.)#"
)
.def("Size",
(Standard_Integer (Graphic3d_TextureSet::*)() const) static_cast<Standard_Integer (Graphic3d_TextureSet::*)() const>(&Graphic3d_TextureSet::Size),
R"#(Return number of textures.)#"
)
.def("Lower",
(Standard_Integer (Graphic3d_TextureSet::*)() const) static_cast<Standard_Integer (Graphic3d_TextureSet::*)() const>(&Graphic3d_TextureSet::Lower),
R"#(Return the lower index in texture set.)#"
)
.def("Upper",
(Standard_Integer (Graphic3d_TextureSet::*)() const) static_cast<Standard_Integer (Graphic3d_TextureSet::*)() const>(&Graphic3d_TextureSet::Upper),
R"#(Return the upper index in texture set.)#"
)
.def("SetFirst",
(void (Graphic3d_TextureSet::*)( const opencascade::handle<Graphic3d_TextureMap> & ) ) static_cast<void (Graphic3d_TextureSet::*)( const opencascade::handle<Graphic3d_TextureMap> & ) >(&Graphic3d_TextureSet::SetFirst),
R"#(Return the first texture.)#" , py::arg("theTexture")
)
.def("Value",
(const opencascade::handle<Graphic3d_TextureMap> & (Graphic3d_TextureSet::*)( Standard_Integer ) const) static_cast<const opencascade::handle<Graphic3d_TextureMap> & (Graphic3d_TextureSet::*)( Standard_Integer ) const>(&Graphic3d_TextureSet::Value),
R"#(Return the texture at specified position within [0, Size()) range.)#" , py::arg("theIndex")
)
.def("SetValue",
(void (Graphic3d_TextureSet::*)( Standard_Integer , const opencascade::handle<Graphic3d_TextureMap> & ) ) static_cast<void (Graphic3d_TextureSet::*)( Standard_Integer , const opencascade::handle<Graphic3d_TextureMap> & ) >(&Graphic3d_TextureSet::SetValue),
R"#(Return the texture at specified position within [0, Size()) range.)#" , py::arg("theIndex"), py::arg("theTexture")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_TextureSet::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_TextureSet::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_TextureSet::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_TextureSet::*)() const>(&Graphic3d_TextureSet::DynamicType),
R"#(None)#"
)
.def("First",
(const opencascade::handle<Graphic3d_TextureMap> & (Graphic3d_TextureSet::*)() const) static_cast<const opencascade::handle<Graphic3d_TextureMap> & (Graphic3d_TextureSet::*)() const>(&Graphic3d_TextureSet::First),
R"#(Return the first texture.)#"
)
;
// Class Graphic3d_TransformPers from ./opencascade/Graphic3d_TransformPers.hxx
klass = m.attr("Graphic3d_TransformPers");
// nested enums
static_cast<py::class_<Graphic3d_TransformPers ,opencascade::handle<Graphic3d_TransformPers> , Standard_Transient >>(klass)
// constructors
.def(py::init< const Graphic3d_TransModeFlags >() , py::arg("theMode") )
.def(py::init< const Graphic3d_TransModeFlags,const gp_Pnt & >() , py::arg("theMode"), py::arg("thePnt") )
.def(py::init< const Graphic3d_TransModeFlags,const Aspect_TypeOfTriedronPosition, const NCollection_Vec2<Standard_Integer> & >() , py::arg("theMode"), py::arg("theCorner"), py::arg("theOffset")=static_cast< const NCollection_Vec2<Standard_Integer> &>(Graphic3d_Vec2i ( 0 , 0 )) )
// custom constructors
// methods
.def("IsZoomOrRotate",
(Standard_Boolean (Graphic3d_TransformPers::*)() const) static_cast<Standard_Boolean (Graphic3d_TransformPers::*)() const>(&Graphic3d_TransformPers::IsZoomOrRotate),
R"#(Return true for Graphic3d_TMF_ZoomPers, Graphic3d_TMF_ZoomRotatePers or Graphic3d_TMF_RotatePers modes.)#"
)
.def("IsTrihedronOr2d",
(Standard_Boolean (Graphic3d_TransformPers::*)() const) static_cast<Standard_Boolean (Graphic3d_TransformPers::*)() const>(&Graphic3d_TransformPers::IsTrihedronOr2d),
R"#(Return true for Graphic3d_TMF_TriedronPers and Graphic3d_TMF_2d modes.)#"
)
.def("Mode",
(Graphic3d_TransModeFlags (Graphic3d_TransformPers::*)() const) static_cast<Graphic3d_TransModeFlags (Graphic3d_TransformPers::*)() const>(&Graphic3d_TransformPers::Mode),
R"#(Transformation persistence mode flags.)#"
)
.def("Flags",
(Graphic3d_TransModeFlags (Graphic3d_TransformPers::*)() const) static_cast<Graphic3d_TransModeFlags (Graphic3d_TransformPers::*)() const>(&Graphic3d_TransformPers::Flags),
R"#(Transformation persistence mode flags.)#"
)
.def("SetPersistence",
(void (Graphic3d_TransformPers::*)( const Graphic3d_TransModeFlags , const gp_Pnt & ) ) static_cast<void (Graphic3d_TransformPers::*)( const Graphic3d_TransModeFlags , const gp_Pnt & ) >(&Graphic3d_TransformPers::SetPersistence),
R"#(Set Zoom/Rotate transformation persistence with an anchor 3D point. Throws an exception if persistence mode is not Graphic3d_TMF_ZoomPers, Graphic3d_TMF_ZoomRotatePers or Graphic3d_TMF_RotatePers.)#" , py::arg("theMode"), py::arg("thePnt")
)
.def("SetPersistence",
(void (Graphic3d_TransformPers::*)( const Graphic3d_TransModeFlags , const Aspect_TypeOfTriedronPosition , const NCollection_Vec2<Standard_Integer> & ) ) static_cast<void (Graphic3d_TransformPers::*)( const Graphic3d_TransModeFlags , const Aspect_TypeOfTriedronPosition , const NCollection_Vec2<Standard_Integer> & ) >(&Graphic3d_TransformPers::SetPersistence),
R"#(Set 2d/trihedron transformation persistence with a corner and 2D offset. Throws an exception if persistence mode is not Graphic3d_TMF_TriedronPers or Graphic3d_TMF_2d.)#" , py::arg("theMode"), py::arg("theCorner"), py::arg("theOffset")
)
.def("AnchorPoint",
(gp_Pnt (Graphic3d_TransformPers::*)() const) static_cast<gp_Pnt (Graphic3d_TransformPers::*)() const>(&Graphic3d_TransformPers::AnchorPoint),
R"#(Return the anchor point for zoom/rotate transformation persistence.)#"
)
.def("SetAnchorPoint",
(void (Graphic3d_TransformPers::*)( const gp_Pnt & ) ) static_cast<void (Graphic3d_TransformPers::*)( const gp_Pnt & ) >(&Graphic3d_TransformPers::SetAnchorPoint),
R"#(Set the anchor point for zoom/rotate transformation persistence.)#" , py::arg("thePnt")
)
.def("Corner2d",
(Aspect_TypeOfTriedronPosition (Graphic3d_TransformPers::*)() const) static_cast<Aspect_TypeOfTriedronPosition (Graphic3d_TransformPers::*)() const>(&Graphic3d_TransformPers::Corner2d),
R"#(Return the corner for 2d/trihedron transformation persistence.)#"
)
.def("SetCorner2d",
(void (Graphic3d_TransformPers::*)( const Aspect_TypeOfTriedronPosition ) ) static_cast<void (Graphic3d_TransformPers::*)( const Aspect_TypeOfTriedronPosition ) >(&Graphic3d_TransformPers::SetCorner2d),
R"#(Set the corner for 2d/trihedron transformation persistence.)#" , py::arg("thePos")
)
.def("Offset2d",
(Graphic3d_Vec2i (Graphic3d_TransformPers::*)() const) static_cast<Graphic3d_Vec2i (Graphic3d_TransformPers::*)() const>(&Graphic3d_TransformPers::Offset2d),
R"#(Return the offset from the corner for 2d/trihedron transformation persistence.)#"
)
.def("SetOffset2d",
(void (Graphic3d_TransformPers::*)( const NCollection_Vec2<Standard_Integer> & ) ) static_cast<void (Graphic3d_TransformPers::*)( const NCollection_Vec2<Standard_Integer> & ) >(&Graphic3d_TransformPers::SetOffset2d),
R"#(Set the offset from the corner for 2d/trihedron transformation persistence.)#" , py::arg("theOffset")
)
.def("persistentScale",
(Standard_Real (Graphic3d_TransformPers::*)( const opencascade::handle<Graphic3d_Camera> & , const Standard_Integer , const Standard_Integer ) const) static_cast<Standard_Real (Graphic3d_TransformPers::*)( const opencascade::handle<Graphic3d_Camera> & , const Standard_Integer , const Standard_Integer ) const>(&Graphic3d_TransformPers::persistentScale),
R"#(Find scale value based on the camera position and view dimensions)#" , py::arg("theCamera"), py::arg("theViewportWidth"), py::arg("theViewportHeight")
)
.def("persistentRotationMatrix",
(NCollection_Mat3<Standard_Real> (Graphic3d_TransformPers::*)( const opencascade::handle<Graphic3d_Camera> & , const Standard_Integer , const Standard_Integer ) const) static_cast<NCollection_Mat3<Standard_Real> (Graphic3d_TransformPers::*)( const opencascade::handle<Graphic3d_Camera> & , const Standard_Integer , const Standard_Integer ) const>(&Graphic3d_TransformPers::persistentRotationMatrix),
R"#(Create orientation matrix based on camera and view dimensions. Default implementation locks rotation by nullifying rotation component. Camera and view dimensions are not used, by default.)#" , py::arg("theCamera"), py::arg("theViewportWidth"), py::arg("theViewportHeight")
)
.def("DumpJson",
(void (Graphic3d_TransformPers::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_TransformPers::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_TransformPers::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_TransformPers::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_TransformPers::get_type_descriptor),
R"#(None)#"
)
.def_static("IsZoomOrRotate_s",
(Standard_Boolean (*)( Graphic3d_TransModeFlags ) ) static_cast<Standard_Boolean (*)( Graphic3d_TransModeFlags ) >(&Graphic3d_TransformPers::IsZoomOrRotate),
R"#(Return true if specified mode is zoom/rotate transformation persistence.)#" , py::arg("theMode")
)
.def_static("IsTrihedronOr2d_s",
(Standard_Boolean (*)( Graphic3d_TransModeFlags ) ) static_cast<Standard_Boolean (*)( Graphic3d_TransModeFlags ) >(&Graphic3d_TransformPers::IsTrihedronOr2d),
R"#(Return true if specified mode is 2d/trihedron transformation persistence.)#" , py::arg("theMode")
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_TransformPers::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_TransformPers::*)() const>(&Graphic3d_TransformPers::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_UniformValueTypeID<Graphic3d_Vec2> from ./opencascade/Graphic3d_ShaderVariable.hxx
klass = m.attr("Graphic3d_UniformValueTypeID_Graphic3d_Vec2");
// default constructor
register_default_constructor<Graphic3d_UniformValueTypeID<Graphic3d_Vec2> , shared_ptr<Graphic3d_UniformValueTypeID<Graphic3d_Vec2>>>(m,"Graphic3d_UniformValueTypeID_Graphic3d_Vec2");
// nested enums
static_cast<py::class_<Graphic3d_UniformValueTypeID<Graphic3d_Vec2> , shared_ptr<Graphic3d_UniformValueTypeID<Graphic3d_Vec2>> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class Graphic3d_UniformValueTypeID<Graphic3d_Vec2i> from ./opencascade/Graphic3d_ShaderVariable.hxx
klass = m.attr("Graphic3d_UniformValueTypeID_Graphic3d_Vec2i");
// default constructor
register_default_constructor<Graphic3d_UniformValueTypeID<Graphic3d_Vec2i> , shared_ptr<Graphic3d_UniformValueTypeID<Graphic3d_Vec2i>>>(m,"Graphic3d_UniformValueTypeID_Graphic3d_Vec2i");
// nested enums
static_cast<py::class_<Graphic3d_UniformValueTypeID<Graphic3d_Vec2i> , shared_ptr<Graphic3d_UniformValueTypeID<Graphic3d_Vec2i>> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class Graphic3d_UniformValueTypeID<Graphic3d_Vec3> from ./opencascade/Graphic3d_ShaderVariable.hxx
klass = m.attr("Graphic3d_UniformValueTypeID_Graphic3d_Vec3");
// default constructor
register_default_constructor<Graphic3d_UniformValueTypeID<Graphic3d_Vec3> , shared_ptr<Graphic3d_UniformValueTypeID<Graphic3d_Vec3>>>(m,"Graphic3d_UniformValueTypeID_Graphic3d_Vec3");
// nested enums
static_cast<py::class_<Graphic3d_UniformValueTypeID<Graphic3d_Vec3> , shared_ptr<Graphic3d_UniformValueTypeID<Graphic3d_Vec3>> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class Graphic3d_UniformValueTypeID<Graphic3d_Vec3i> from ./opencascade/Graphic3d_ShaderVariable.hxx
klass = m.attr("Graphic3d_UniformValueTypeID_Graphic3d_Vec3i");
// default constructor
register_default_constructor<Graphic3d_UniformValueTypeID<Graphic3d_Vec3i> , shared_ptr<Graphic3d_UniformValueTypeID<Graphic3d_Vec3i>>>(m,"Graphic3d_UniformValueTypeID_Graphic3d_Vec3i");
// nested enums
static_cast<py::class_<Graphic3d_UniformValueTypeID<Graphic3d_Vec3i> , shared_ptr<Graphic3d_UniformValueTypeID<Graphic3d_Vec3i>> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class Graphic3d_UniformValueTypeID<Graphic3d_Vec4> from ./opencascade/Graphic3d_ShaderVariable.hxx
klass = m.attr("Graphic3d_UniformValueTypeID_Graphic3d_Vec4");
// default constructor
register_default_constructor<Graphic3d_UniformValueTypeID<Graphic3d_Vec4> , shared_ptr<Graphic3d_UniformValueTypeID<Graphic3d_Vec4>>>(m,"Graphic3d_UniformValueTypeID_Graphic3d_Vec4");
// nested enums
static_cast<py::class_<Graphic3d_UniformValueTypeID<Graphic3d_Vec4> , shared_ptr<Graphic3d_UniformValueTypeID<Graphic3d_Vec4>> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class Graphic3d_UniformValueTypeID<Graphic3d_Vec4i> from ./opencascade/Graphic3d_ShaderVariable.hxx
klass = m.attr("Graphic3d_UniformValueTypeID_Graphic3d_Vec4i");
// default constructor
register_default_constructor<Graphic3d_UniformValueTypeID<Graphic3d_Vec4i> , shared_ptr<Graphic3d_UniformValueTypeID<Graphic3d_Vec4i>>>(m,"Graphic3d_UniformValueTypeID_Graphic3d_Vec4i");
// nested enums
static_cast<py::class_<Graphic3d_UniformValueTypeID<Graphic3d_Vec4i> , shared_ptr<Graphic3d_UniformValueTypeID<Graphic3d_Vec4i>> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class Graphic3d_UniformValueTypeID<Standard_Integer> from ./opencascade/Graphic3d_ShaderVariable.hxx
klass = m.attr("Graphic3d_UniformValueTypeID_Standard_Integer");
// default constructor
register_default_constructor<Graphic3d_UniformValueTypeID<Standard_Integer> , shared_ptr<Graphic3d_UniformValueTypeID<Standard_Integer>>>(m,"Graphic3d_UniformValueTypeID_Standard_Integer");
// nested enums
static_cast<py::class_<Graphic3d_UniformValueTypeID<Standard_Integer> , shared_ptr<Graphic3d_UniformValueTypeID<Standard_Integer>> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class Graphic3d_UniformValueTypeID<Standard_ShortReal> from ./opencascade/Graphic3d_ShaderVariable.hxx
klass = m.attr("Graphic3d_UniformValueTypeID_Standard_ShortReal");
// default constructor
register_default_constructor<Graphic3d_UniformValueTypeID<Standard_ShortReal> , shared_ptr<Graphic3d_UniformValueTypeID<Standard_ShortReal>>>(m,"Graphic3d_UniformValueTypeID_Standard_ShortReal");
// nested enums
static_cast<py::class_<Graphic3d_UniformValueTypeID<Standard_ShortReal> , shared_ptr<Graphic3d_UniformValueTypeID<Standard_ShortReal>> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class Graphic3d_ValidatedCubeMapOrder from ./opencascade/Graphic3d_CubeMapOrder.hxx
klass = m.attr("Graphic3d_ValidatedCubeMapOrder");
// nested enums
static_cast<py::class_<Graphic3d_ValidatedCubeMapOrder , shared_ptr<Graphic3d_ValidatedCubeMapOrder> >>(klass)
// constructors
.def(py::init< const Graphic3d_ValidatedCubeMapOrder & >() , py::arg("theOther") )
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class Graphic3d_ValueInterface from ./opencascade/Graphic3d_ShaderVariable.hxx
klass = m.attr("Graphic3d_ValueInterface");
// nested enums
static_cast<py::class_<Graphic3d_ValueInterface , shared_ptr<Graphic3d_ValueInterface> ,Py_Graphic3d_ValueInterface >>(klass)
// constructors
// custom constructors
// methods
.def("TypeID",
(Standard_Size (Graphic3d_ValueInterface::*)() const) static_cast<Standard_Size (Graphic3d_ValueInterface::*)() const>(&Graphic3d_ValueInterface::TypeID),
R"#(Returns unique identifier of value type.)#"
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class Graphic3d_Vertex from ./opencascade/Graphic3d_Vertex.hxx
klass = m.attr("Graphic3d_Vertex");
// nested enums
static_cast<py::class_<Graphic3d_Vertex , shared_ptr<Graphic3d_Vertex> >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Standard_ShortReal,const Standard_ShortReal,const Standard_ShortReal >() , py::arg("theX"), py::arg("theY"), py::arg("theZ") )
.def(py::init< const Standard_Real,const Standard_Real,const Standard_Real >() , py::arg("theX"), py::arg("theY"), py::arg("theZ") )
// custom constructors
// methods
.def("SetCoord",
(void (Graphic3d_Vertex::*)( const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal ) ) static_cast<void (Graphic3d_Vertex::*)( const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal ) >(&Graphic3d_Vertex::SetCoord),
R"#(Modifies the coordinates.)#" , py::arg("theX"), py::arg("theY"), py::arg("theZ")
)
.def("SetCoord",
(void (Graphic3d_Vertex::*)( const Standard_Real , const Standard_Real , const Standard_Real ) ) static_cast<void (Graphic3d_Vertex::*)( const Standard_Real , const Standard_Real , const Standard_Real ) >(&Graphic3d_Vertex::SetCoord),
R"#(Modifies the coordinates.)#" , py::arg("theX"), py::arg("theY"), py::arg("theZ")
)
.def("Coord",
(void (Graphic3d_Vertex::*)( Standard_ShortReal & , Standard_ShortReal & , Standard_ShortReal & ) const) static_cast<void (Graphic3d_Vertex::*)( Standard_ShortReal & , Standard_ShortReal & , Standard_ShortReal & ) const>(&Graphic3d_Vertex::Coord),
R"#(Returns the coordinates.)#" , py::arg("theX"), py::arg("theY"), py::arg("theZ")
)
.def("X",
(Standard_ShortReal (Graphic3d_Vertex::*)() const) static_cast<Standard_ShortReal (Graphic3d_Vertex::*)() const>(&Graphic3d_Vertex::X),
R"#(Returns the X coordinates.)#"
)
.def("Y",
(Standard_ShortReal (Graphic3d_Vertex::*)() const) static_cast<Standard_ShortReal (Graphic3d_Vertex::*)() const>(&Graphic3d_Vertex::Y),
R"#(Returns the Y coordinate.)#"
)
.def("Z",
(Standard_ShortReal (Graphic3d_Vertex::*)() const) static_cast<Standard_ShortReal (Graphic3d_Vertex::*)() const>(&Graphic3d_Vertex::Z),
R"#(Returns the Z coordinate.)#"
)
.def("Distance",
(Standard_ShortReal (Graphic3d_Vertex::*)( const Graphic3d_Vertex & ) const) static_cast<Standard_ShortReal (Graphic3d_Vertex::*)( const Graphic3d_Vertex & ) const>(&Graphic3d_Vertex::Distance),
R"#(Returns the distance between two points.)#" , py::arg("theOther")
)
.def("DumpJson",
(void (Graphic3d_Vertex::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_Vertex::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_Vertex::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
.def("Coord",
[]( Graphic3d_Vertex &self ){
Standard_Real theX;
Standard_Real theY;
Standard_Real theZ;
self.Coord(theX,theY,theZ);
return std::make_tuple(theX,theY,theZ); },
R"#(Returns the coordinates.)#"
)
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class Graphic3d_ViewAffinity from ./opencascade/Graphic3d_ViewAffinity.hxx
klass = m.attr("Graphic3d_ViewAffinity");
// nested enums
static_cast<py::class_<Graphic3d_ViewAffinity ,opencascade::handle<Graphic3d_ViewAffinity> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("IsVisible",
(bool (Graphic3d_ViewAffinity::*)( const Standard_Integer ) const) static_cast<bool (Graphic3d_ViewAffinity::*)( const Standard_Integer ) const>(&Graphic3d_ViewAffinity::IsVisible),
R"#(Return visibility flag.)#" , py::arg("theViewId")
)
.def("SetVisible",
(void (Graphic3d_ViewAffinity::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_ViewAffinity::*)( const Standard_Boolean ) >(&Graphic3d_ViewAffinity::SetVisible),
R"#(Setup visibility flag for all views.)#" , py::arg("theIsVisible")
)
.def("SetVisible",
(void (Graphic3d_ViewAffinity::*)( const Standard_Integer , const bool ) ) static_cast<void (Graphic3d_ViewAffinity::*)( const Standard_Integer , const bool ) >(&Graphic3d_ViewAffinity::SetVisible),
R"#(Setup visibility flag.)#" , py::arg("theViewId"), py::arg("theIsVisible")
)
.def("DumpJson",
(void (Graphic3d_ViewAffinity::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_ViewAffinity::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_ViewAffinity::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_ViewAffinity::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_ViewAffinity::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_ViewAffinity::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_ViewAffinity::*)() const>(&Graphic3d_ViewAffinity::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_WorldViewProjState from ./opencascade/Graphic3d_WorldViewProjState.hxx
klass = m.attr("Graphic3d_WorldViewProjState");
// nested enums
static_cast<py::class_<Graphic3d_WorldViewProjState , shared_ptr<Graphic3d_WorldViewProjState> >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Standard_Size,const Standard_Size,const Standard_Transient * >() , py::arg("theProjectionState"), py::arg("theWorldViewState"), py::arg("theCamera")=static_cast<const Standard_Transient *>(NULL) )
// custom constructors
// methods
.def("IsValid",
(Standard_Boolean (Graphic3d_WorldViewProjState::*)() ) static_cast<Standard_Boolean (Graphic3d_WorldViewProjState::*)() >(&Graphic3d_WorldViewProjState::IsValid),
R"#(Check state validity.)#"
)
.def("Reset",
(void (Graphic3d_WorldViewProjState::*)() ) static_cast<void (Graphic3d_WorldViewProjState::*)() >(&Graphic3d_WorldViewProjState::Reset),
R"#(Invalidate world view projection state.)#"
)
.def("Initialize",
(void (Graphic3d_WorldViewProjState::*)( const Standard_Size , const Standard_Size , const Standard_Transient * ) ) static_cast<void (Graphic3d_WorldViewProjState::*)( const Standard_Size , const Standard_Size , const Standard_Transient * ) >(&Graphic3d_WorldViewProjState::Initialize),
R"#(Initialize world view projection state.)#" , py::arg("theProjectionState"), py::arg("theWorldViewState"), py::arg("theCamera")=static_cast<const Standard_Transient *>(NULL)
)
.def("Initialize",
(void (Graphic3d_WorldViewProjState::*)( const Standard_Transient * ) ) static_cast<void (Graphic3d_WorldViewProjState::*)( const Standard_Transient * ) >(&Graphic3d_WorldViewProjState::Initialize),
R"#(Initialize world view projection state.)#" , py::arg("theCamera")=static_cast<const Standard_Transient *>(NULL)
)
.def("IsProjectionChanged",
(Standard_Boolean (Graphic3d_WorldViewProjState::*)( const Graphic3d_WorldViewProjState & ) ) static_cast<Standard_Boolean (Graphic3d_WorldViewProjState::*)( const Graphic3d_WorldViewProjState & ) >(&Graphic3d_WorldViewProjState::IsProjectionChanged),
R"#(Compare projection with other state.)#" , py::arg("theState")
)
.def("IsWorldViewChanged",
(Standard_Boolean (Graphic3d_WorldViewProjState::*)( const Graphic3d_WorldViewProjState & ) ) static_cast<Standard_Boolean (Graphic3d_WorldViewProjState::*)( const Graphic3d_WorldViewProjState & ) >(&Graphic3d_WorldViewProjState::IsWorldViewChanged),
R"#(Compare world view transformation with other state.)#" , py::arg("theState")
)
.def("IsChanged",
(Standard_Boolean (Graphic3d_WorldViewProjState::*)( const Graphic3d_WorldViewProjState & ) ) static_cast<Standard_Boolean (Graphic3d_WorldViewProjState::*)( const Graphic3d_WorldViewProjState & ) >(&Graphic3d_WorldViewProjState::IsChanged),
R"#(Compare with other world view projection state.)#" , py::arg("theState")
)
.def("DumpJson",
(void (Graphic3d_WorldViewProjState::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_WorldViewProjState::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_WorldViewProjState::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("arg")
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("ProjectionState",
(Standard_Size & (Graphic3d_WorldViewProjState::*)() ) static_cast<Standard_Size & (Graphic3d_WorldViewProjState::*)() >(&Graphic3d_WorldViewProjState::ProjectionState),
R"#(Returns projection state counter.)#"
, py::return_value_policy::reference_internal
)
.def("WorldViewState",
(Standard_Size & (Graphic3d_WorldViewProjState::*)() ) static_cast<Standard_Size & (Graphic3d_WorldViewProjState::*)() >(&Graphic3d_WorldViewProjState::WorldViewState),
R"#(Returns world view state counter.)#"
, py::return_value_policy::reference_internal
)
;
// Class Graphic3d_ZLayerSettings from ./opencascade/Graphic3d_ZLayerSettings.hxx
klass = m.attr("Graphic3d_ZLayerSettings");
// nested enums
static_cast<py::class_<Graphic3d_ZLayerSettings , shared_ptr<Graphic3d_ZLayerSettings> >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("SetName",
(void (Graphic3d_ZLayerSettings::*)( const TCollection_AsciiString & ) ) static_cast<void (Graphic3d_ZLayerSettings::*)( const TCollection_AsciiString & ) >(&Graphic3d_ZLayerSettings::SetName),
R"#(Set custom name.)#" , py::arg("theName")
)
.def("SetLights",
(void (Graphic3d_ZLayerSettings::*)( const opencascade::handle<Graphic3d_LightSet> & ) ) static_cast<void (Graphic3d_ZLayerSettings::*)( const opencascade::handle<Graphic3d_LightSet> & ) >(&Graphic3d_ZLayerSettings::SetLights),
R"#(Assign lights list to be used.)#" , py::arg("theLights")
)
.def("SetOrigin",
(void (Graphic3d_ZLayerSettings::*)( const gp_XYZ & ) ) static_cast<void (Graphic3d_ZLayerSettings::*)( const gp_XYZ & ) >(&Graphic3d_ZLayerSettings::SetOrigin),
R"#(Set the origin of all objects within the layer.)#" , py::arg("theOrigin")
)
.def("HasCullingDistance",
(Standard_Boolean (Graphic3d_ZLayerSettings::*)() const) static_cast<Standard_Boolean (Graphic3d_ZLayerSettings::*)() const>(&Graphic3d_ZLayerSettings::HasCullingDistance),
R"#(Return TRUE, if culling of distant objects (distance culling) should be performed; FALSE by default.)#"
)
.def("CullingDistance",
(Standard_Real (Graphic3d_ZLayerSettings::*)() const) static_cast<Standard_Real (Graphic3d_ZLayerSettings::*)() const>(&Graphic3d_ZLayerSettings::CullingDistance),
R"#(Return the distance to discard drawing of distant objects (distance from camera Eye point); by default it is Infinite (distance culling is disabled). Since camera eye definition has no strong meaning within orthographic projection, option is considered only within perspective projection. Note also that this option has effect only when frustum culling is enabled.)#"
)
.def("SetCullingDistance",
(void (Graphic3d_ZLayerSettings::*)( Standard_Real ) ) static_cast<void (Graphic3d_ZLayerSettings::*)( Standard_Real ) >(&Graphic3d_ZLayerSettings::SetCullingDistance),
R"#(Set the distance to discard drawing objects.)#" , py::arg("theDistance")
)
.def("HasCullingSize",
(Standard_Boolean (Graphic3d_ZLayerSettings::*)() const) static_cast<Standard_Boolean (Graphic3d_ZLayerSettings::*)() const>(&Graphic3d_ZLayerSettings::HasCullingSize),
R"#(Return TRUE, if culling of small objects (size culling) should be performed; FALSE by default.)#"
)
.def("CullingSize",
(Standard_Real (Graphic3d_ZLayerSettings::*)() const) static_cast<Standard_Real (Graphic3d_ZLayerSettings::*)() const>(&Graphic3d_ZLayerSettings::CullingSize),
R"#(Return the size to discard drawing of small objects; by default it is Infinite (size culling is disabled). Current implementation checks the length of projected diagonal of bounding box in pixels for discarding. Note that this option has effect only when frustum culling is enabled.)#"
)
.def("SetCullingSize",
(void (Graphic3d_ZLayerSettings::*)( Standard_Real ) ) static_cast<void (Graphic3d_ZLayerSettings::*)( Standard_Real ) >(&Graphic3d_ZLayerSettings::SetCullingSize),
R"#(Set the distance to discard drawing objects.)#" , py::arg("theSize")
)
.def("IsImmediate",
(Standard_Boolean (Graphic3d_ZLayerSettings::*)() const) static_cast<Standard_Boolean (Graphic3d_ZLayerSettings::*)() const>(&Graphic3d_ZLayerSettings::IsImmediate),
R"#(Return true if this layer should be drawn after all normal (non-immediate) layers.)#"
)
.def("SetImmediate",
(void (Graphic3d_ZLayerSettings::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_ZLayerSettings::*)( const Standard_Boolean ) >(&Graphic3d_ZLayerSettings::SetImmediate),
R"#(Set the flag indicating the immediate layer, which should be drawn after all normal (non-immediate) layers.)#" , py::arg("theValue")
)
.def("IsRaytracable",
(Standard_Boolean (Graphic3d_ZLayerSettings::*)() const) static_cast<Standard_Boolean (Graphic3d_ZLayerSettings::*)() const>(&Graphic3d_ZLayerSettings::IsRaytracable),
R"#(Returns TRUE if layer should be processed by ray-tracing renderer; TRUE by default. Note that this flag is IGNORED for layers with IsImmediate() flag.)#"
)
.def("SetRaytracable",
(void (Graphic3d_ZLayerSettings::*)( Standard_Boolean ) ) static_cast<void (Graphic3d_ZLayerSettings::*)( Standard_Boolean ) >(&Graphic3d_ZLayerSettings::SetRaytracable),
R"#(Sets if layer should be processed by ray-tracing renderer.)#" , py::arg("theToRaytrace")
)
.def("UseEnvironmentTexture",
(Standard_Boolean (Graphic3d_ZLayerSettings::*)() const) static_cast<Standard_Boolean (Graphic3d_ZLayerSettings::*)() const>(&Graphic3d_ZLayerSettings::UseEnvironmentTexture),
R"#(Return flag to allow/prevent environment texture mapping usage for specific layer.)#"
)
.def("SetEnvironmentTexture",
(void (Graphic3d_ZLayerSettings::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_ZLayerSettings::*)( const Standard_Boolean ) >(&Graphic3d_ZLayerSettings::SetEnvironmentTexture),
R"#(Set the flag to allow/prevent environment texture mapping usage for specific layer.)#" , py::arg("theValue")
)
.def("ToEnableDepthTest",
(Standard_Boolean (Graphic3d_ZLayerSettings::*)() const) static_cast<Standard_Boolean (Graphic3d_ZLayerSettings::*)() const>(&Graphic3d_ZLayerSettings::ToEnableDepthTest),
R"#(Return true if depth test should be enabled.)#"
)
.def("SetEnableDepthTest",
(void (Graphic3d_ZLayerSettings::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_ZLayerSettings::*)( const Standard_Boolean ) >(&Graphic3d_ZLayerSettings::SetEnableDepthTest),
R"#(Set if depth test should be enabled.)#" , py::arg("theValue")
)
.def("ToEnableDepthWrite",
(Standard_Boolean (Graphic3d_ZLayerSettings::*)() const) static_cast<Standard_Boolean (Graphic3d_ZLayerSettings::*)() const>(&Graphic3d_ZLayerSettings::ToEnableDepthWrite),
R"#(Return true depth values should be written during rendering.)#"
)
.def("SetEnableDepthWrite",
(void (Graphic3d_ZLayerSettings::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_ZLayerSettings::*)( const Standard_Boolean ) >(&Graphic3d_ZLayerSettings::SetEnableDepthWrite),
R"#(Set if depth values should be written during rendering.)#" , py::arg("theValue")
)
.def("ToClearDepth",
(Standard_Boolean (Graphic3d_ZLayerSettings::*)() const) static_cast<Standard_Boolean (Graphic3d_ZLayerSettings::*)() const>(&Graphic3d_ZLayerSettings::ToClearDepth),
R"#(Return true if depth values should be cleared before drawing the layer.)#"
)
.def("SetClearDepth",
(void (Graphic3d_ZLayerSettings::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_ZLayerSettings::*)( const Standard_Boolean ) >(&Graphic3d_ZLayerSettings::SetClearDepth),
R"#(Set if depth values should be cleared before drawing the layer.)#" , py::arg("theValue")
)
.def("ToRenderInDepthPrepass",
(Standard_Boolean (Graphic3d_ZLayerSettings::*)() const) static_cast<Standard_Boolean (Graphic3d_ZLayerSettings::*)() const>(&Graphic3d_ZLayerSettings::ToRenderInDepthPrepass),
R"#(Return TRUE if layer should be rendered within depth pre-pass; TRUE by default.)#"
)
.def("SetRenderInDepthPrepass",
(void (Graphic3d_ZLayerSettings::*)( Standard_Boolean ) ) static_cast<void (Graphic3d_ZLayerSettings::*)( Standard_Boolean ) >(&Graphic3d_ZLayerSettings::SetRenderInDepthPrepass),
R"#(Set if layer should be rendered within depth pre-pass.)#" , py::arg("theToRender")
)
.def("SetPolygonOffset",
(void (Graphic3d_ZLayerSettings::*)( const Graphic3d_PolygonOffset & ) ) static_cast<void (Graphic3d_ZLayerSettings::*)( const Graphic3d_PolygonOffset & ) >(&Graphic3d_ZLayerSettings::SetPolygonOffset),
R"#(Setup glPolygonOffset() arguments.)#" , py::arg("theParams")
)
.def("SetDepthOffsetPositive",
(void (Graphic3d_ZLayerSettings::*)() ) static_cast<void (Graphic3d_ZLayerSettings::*)() >(&Graphic3d_ZLayerSettings::SetDepthOffsetPositive),
R"#(Sets minimal possible positive depth offset.)#"
)
.def("SetDepthOffsetNegative",
(void (Graphic3d_ZLayerSettings::*)() ) static_cast<void (Graphic3d_ZLayerSettings::*)() >(&Graphic3d_ZLayerSettings::SetDepthOffsetNegative),
R"#(Sets minimal possible negative depth offset.)#"
)
.def("DumpJson",
(void (Graphic3d_ZLayerSettings::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_ZLayerSettings::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_ZLayerSettings::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Name",
(const TCollection_AsciiString & (Graphic3d_ZLayerSettings::*)() const) static_cast<const TCollection_AsciiString & (Graphic3d_ZLayerSettings::*)() const>(&Graphic3d_ZLayerSettings::Name),
R"#(Return user-provided name.)#"
)
.def("Lights",
(const opencascade::handle<Graphic3d_LightSet> & (Graphic3d_ZLayerSettings::*)() const) static_cast<const opencascade::handle<Graphic3d_LightSet> & (Graphic3d_ZLayerSettings::*)() const>(&Graphic3d_ZLayerSettings::Lights),
R"#(Return lights list to be used for rendering presentations within this Z-Layer; NULL by default. NULL list (but not empty list!) means that default lights assigned to the View should be used instead of per-layer lights.)#"
)
.def("Origin",
(const gp_XYZ & (Graphic3d_ZLayerSettings::*)() const) static_cast<const gp_XYZ & (Graphic3d_ZLayerSettings::*)() const>(&Graphic3d_ZLayerSettings::Origin),
R"#(Return the origin of all objects within the layer.)#"
)
.def("OriginTransformation",
(const opencascade::handle<TopLoc_Datum3D> & (Graphic3d_ZLayerSettings::*)() const) static_cast<const opencascade::handle<TopLoc_Datum3D> & (Graphic3d_ZLayerSettings::*)() const>(&Graphic3d_ZLayerSettings::OriginTransformation),
R"#(Return the transformation to the origin.)#"
)
.def("PolygonOffset",
(const Graphic3d_PolygonOffset & (Graphic3d_ZLayerSettings::*)() const) static_cast<const Graphic3d_PolygonOffset & (Graphic3d_ZLayerSettings::*)() const>(&Graphic3d_ZLayerSettings::PolygonOffset),
R"#(Return glPolygonOffset() arguments.)#"
)
.def("ChangePolygonOffset",
(Graphic3d_PolygonOffset & (Graphic3d_ZLayerSettings::*)() ) static_cast<Graphic3d_PolygonOffset & (Graphic3d_ZLayerSettings::*)() >(&Graphic3d_ZLayerSettings::ChangePolygonOffset),
R"#(Modify glPolygonOffset() arguments.)#"
, py::return_value_policy::reference_internal
)
;
// Class Graphic3d_ArrayOfPoints from ./opencascade/Graphic3d_ArrayOfPoints.hxx
klass = m.attr("Graphic3d_ArrayOfPoints");
// nested enums
static_cast<py::class_<Graphic3d_ArrayOfPoints ,opencascade::handle<Graphic3d_ArrayOfPoints> , Graphic3d_ArrayOfPrimitives >>(klass)
// constructors
.def(py::init< Standard_Integer,Graphic3d_ArrayFlags >() , py::arg("theMaxVertexs"), py::arg("theArrayFlags") )
.def(py::init< Standard_Integer,Standard_Boolean,Standard_Boolean >() , py::arg("theMaxVertexs"), py::arg("theHasVColors")=static_cast<Standard_Boolean>(Standard_False), py::arg("theHasVNormals")=static_cast<Standard_Boolean>(Standard_False) )
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_ArrayOfPoints::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_ArrayOfPoints::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_ArrayOfPoints::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_ArrayOfPoints::*)() const>(&Graphic3d_ArrayOfPoints::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_ArrayOfPolygons from ./opencascade/Graphic3d_ArrayOfPolygons.hxx
klass = m.attr("Graphic3d_ArrayOfPolygons");
// nested enums
static_cast<py::class_<Graphic3d_ArrayOfPolygons ,opencascade::handle<Graphic3d_ArrayOfPolygons> , Graphic3d_ArrayOfPrimitives >>(klass)
// constructors
.def(py::init< Standard_Integer,Standard_Integer,Standard_Integer,Graphic3d_ArrayFlags >() , py::arg("theMaxVertexs"), py::arg("theMaxBounds"), py::arg("theMaxEdges"), py::arg("theArrayFlags") )
.def(py::init< const Standard_Integer,const Standard_Integer,const Standard_Integer,const Standard_Boolean,const Standard_Boolean,const Standard_Boolean,const Standard_Boolean >() , py::arg("theMaxVertexs"), py::arg("theMaxBounds")=static_cast<const Standard_Integer>(0), py::arg("theMaxEdges")=static_cast<const Standard_Integer>(0), py::arg("theHasVNormals")=static_cast<const Standard_Boolean>(Standard_False), py::arg("theHasVColors")=static_cast<const Standard_Boolean>(Standard_False), py::arg("theHasBColors")=static_cast<const Standard_Boolean>(Standard_False), py::arg("theHasVTexels")=static_cast<const Standard_Boolean>(Standard_False) )
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_ArrayOfPolygons::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_ArrayOfPolygons::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_ArrayOfPolygons::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_ArrayOfPolygons::*)() const>(&Graphic3d_ArrayOfPolygons::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_ArrayOfPolylines from ./opencascade/Graphic3d_ArrayOfPolylines.hxx
klass = m.attr("Graphic3d_ArrayOfPolylines");
// nested enums
static_cast<py::class_<Graphic3d_ArrayOfPolylines ,opencascade::handle<Graphic3d_ArrayOfPolylines> , Graphic3d_ArrayOfPrimitives >>(klass)
// constructors
.def(py::init< Standard_Integer,Standard_Integer,Standard_Integer,Graphic3d_ArrayFlags >() , py::arg("theMaxVertexs"), py::arg("theMaxBounds"), py::arg("theMaxEdges"), py::arg("theArrayFlags") )
.def(py::init< Standard_Integer,Standard_Integer,Standard_Integer,Standard_Boolean,Standard_Boolean >() , py::arg("theMaxVertexs"), py::arg("theMaxBounds")=static_cast<Standard_Integer>(0), py::arg("theMaxEdges")=static_cast<Standard_Integer>(0), py::arg("theHasVColors")=static_cast<Standard_Boolean>(Standard_False), py::arg("theHasBColors")=static_cast<Standard_Boolean>(Standard_False) )
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_ArrayOfPolylines::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_ArrayOfPolylines::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_ArrayOfPolylines::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_ArrayOfPolylines::*)() const>(&Graphic3d_ArrayOfPolylines::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_ArrayOfQuadrangleStrips from ./opencascade/Graphic3d_ArrayOfQuadrangleStrips.hxx
klass = m.attr("Graphic3d_ArrayOfQuadrangleStrips");
// nested enums
static_cast<py::class_<Graphic3d_ArrayOfQuadrangleStrips ,opencascade::handle<Graphic3d_ArrayOfQuadrangleStrips> , Graphic3d_ArrayOfPrimitives >>(klass)
// constructors
.def(py::init< Standard_Integer,Standard_Integer,Graphic3d_ArrayFlags >() , py::arg("theMaxVertexs"), py::arg("theMaxStrips"), py::arg("theArrayFlags") )
.def(py::init< Standard_Integer,Standard_Integer,Standard_Boolean,Standard_Boolean,Standard_Boolean,Standard_Boolean >() , py::arg("theMaxVertexs"), py::arg("theMaxStrips")=static_cast<Standard_Integer>(0), py::arg("theHasVNormals")=static_cast<Standard_Boolean>(Standard_False), py::arg("theHasVColors")=static_cast<Standard_Boolean>(Standard_False), py::arg("theHasSColors")=static_cast<Standard_Boolean>(Standard_False), py::arg("theHasVTexels")=static_cast<Standard_Boolean>(Standard_False) )
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_ArrayOfQuadrangleStrips::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_ArrayOfQuadrangleStrips::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_ArrayOfQuadrangleStrips::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_ArrayOfQuadrangleStrips::*)() const>(&Graphic3d_ArrayOfQuadrangleStrips::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_ArrayOfQuadrangles from ./opencascade/Graphic3d_ArrayOfQuadrangles.hxx
klass = m.attr("Graphic3d_ArrayOfQuadrangles");
// nested enums
static_cast<py::class_<Graphic3d_ArrayOfQuadrangles ,opencascade::handle<Graphic3d_ArrayOfQuadrangles> , Graphic3d_ArrayOfPrimitives >>(klass)
// constructors
.def(py::init< Standard_Integer,Standard_Integer,Graphic3d_ArrayFlags >() , py::arg("theMaxVertexs"), py::arg("theMaxEdges"), py::arg("theArrayFlags") )
.def(py::init< Standard_Integer,Standard_Integer,Standard_Boolean,Standard_Boolean,Standard_Boolean >() , py::arg("theMaxVertexs"), py::arg("theMaxEdges")=static_cast<Standard_Integer>(0), py::arg("theHasVNormals")=static_cast<Standard_Boolean>(Standard_False), py::arg("theHasVColors")=static_cast<Standard_Boolean>(Standard_False), py::arg("theHasVTexels")=static_cast<Standard_Boolean>(Standard_False) )
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_ArrayOfQuadrangles::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_ArrayOfQuadrangles::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_ArrayOfQuadrangles::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_ArrayOfQuadrangles::*)() const>(&Graphic3d_ArrayOfQuadrangles::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_ArrayOfSegments from ./opencascade/Graphic3d_ArrayOfSegments.hxx
klass = m.attr("Graphic3d_ArrayOfSegments");
// nested enums
static_cast<py::class_<Graphic3d_ArrayOfSegments ,opencascade::handle<Graphic3d_ArrayOfSegments> , Graphic3d_ArrayOfPrimitives >>(klass)
// constructors
.def(py::init< Standard_Integer,Standard_Integer,Graphic3d_ArrayFlags >() , py::arg("theMaxVertexs"), py::arg("theMaxEdges"), py::arg("theArrayFlags") )
.def(py::init< Standard_Integer,Standard_Integer,Standard_Boolean >() , py::arg("theMaxVertexs"), py::arg("theMaxEdges")=static_cast<Standard_Integer>(0), py::arg("theHasVColors")=static_cast<Standard_Boolean>(Standard_False) )
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_ArrayOfSegments::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_ArrayOfSegments::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_ArrayOfSegments::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_ArrayOfSegments::*)() const>(&Graphic3d_ArrayOfSegments::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_ArrayOfTriangleFans from ./opencascade/Graphic3d_ArrayOfTriangleFans.hxx
klass = m.attr("Graphic3d_ArrayOfTriangleFans");
// nested enums
static_cast<py::class_<Graphic3d_ArrayOfTriangleFans ,opencascade::handle<Graphic3d_ArrayOfTriangleFans> , Graphic3d_ArrayOfPrimitives >>(klass)
// constructors
.def(py::init< Standard_Integer,Standard_Integer,Graphic3d_ArrayFlags >() , py::arg("theMaxVertexs"), py::arg("theMaxFans"), py::arg("theArrayFlags") )
.def(py::init< Standard_Integer,Standard_Integer,Standard_Boolean,Standard_Boolean,Standard_Boolean,Standard_Boolean >() , py::arg("theMaxVertexs"), py::arg("theMaxFans")=static_cast<Standard_Integer>(0), py::arg("theHasVNormals")=static_cast<Standard_Boolean>(Standard_False), py::arg("theHasVColors")=static_cast<Standard_Boolean>(Standard_False), py::arg("theHasBColors")=static_cast<Standard_Boolean>(Standard_False), py::arg("theHasVTexels")=static_cast<Standard_Boolean>(Standard_False) )
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_ArrayOfTriangleFans::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_ArrayOfTriangleFans::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_ArrayOfTriangleFans::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_ArrayOfTriangleFans::*)() const>(&Graphic3d_ArrayOfTriangleFans::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_ArrayOfTriangleStrips from ./opencascade/Graphic3d_ArrayOfTriangleStrips.hxx
klass = m.attr("Graphic3d_ArrayOfTriangleStrips");
// nested enums
static_cast<py::class_<Graphic3d_ArrayOfTriangleStrips ,opencascade::handle<Graphic3d_ArrayOfTriangleStrips> , Graphic3d_ArrayOfPrimitives >>(klass)
// constructors
.def(py::init< Standard_Integer,Standard_Integer,Graphic3d_ArrayFlags >() , py::arg("theMaxVertexs"), py::arg("theMaxStrips"), py::arg("theArrayFlags") )
.def(py::init< Standard_Integer,Standard_Integer,Standard_Boolean,Standard_Boolean,Standard_Boolean,Standard_Boolean >() , py::arg("theMaxVertexs"), py::arg("theMaxStrips")=static_cast<Standard_Integer>(0), py::arg("theHasVNormals")=static_cast<Standard_Boolean>(Standard_False), py::arg("theHasVColors")=static_cast<Standard_Boolean>(Standard_False), py::arg("theHasBColors")=static_cast<Standard_Boolean>(Standard_False), py::arg("theHasVTexels")=static_cast<Standard_Boolean>(Standard_False) )
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_ArrayOfTriangleStrips::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_ArrayOfTriangleStrips::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_ArrayOfTriangleStrips::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_ArrayOfTriangleStrips::*)() const>(&Graphic3d_ArrayOfTriangleStrips::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_ArrayOfTriangles from ./opencascade/Graphic3d_ArrayOfTriangles.hxx
klass = m.attr("Graphic3d_ArrayOfTriangles");
// nested enums
static_cast<py::class_<Graphic3d_ArrayOfTriangles ,opencascade::handle<Graphic3d_ArrayOfTriangles> , Graphic3d_ArrayOfPrimitives >>(klass)
// constructors
.def(py::init< Standard_Integer,Standard_Integer,Graphic3d_ArrayFlags >() , py::arg("theMaxVertexs"), py::arg("theMaxEdges"), py::arg("theArrayFlags") )
.def(py::init< Standard_Integer,Standard_Integer,Standard_Boolean,Standard_Boolean,Standard_Boolean >() , py::arg("theMaxVertexs"), py::arg("theMaxEdges")=static_cast<Standard_Integer>(0), py::arg("theHasVNormals")=static_cast<Standard_Boolean>(Standard_False), py::arg("theHasVColors")=static_cast<Standard_Boolean>(Standard_False), py::arg("theHasVTexels")=static_cast<Standard_Boolean>(Standard_False) )
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_ArrayOfTriangles::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_ArrayOfTriangles::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_ArrayOfTriangles::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_ArrayOfTriangles::*)() const>(&Graphic3d_ArrayOfTriangles::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_AspectFillArea3d from ./opencascade/Graphic3d_AspectFillArea3d.hxx
klass = m.attr("Graphic3d_AspectFillArea3d");
// nested enums
static_cast<py::class_<Graphic3d_AspectFillArea3d ,opencascade::handle<Graphic3d_AspectFillArea3d> , Graphic3d_Aspects >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Aspect_InteriorStyle,const Quantity_Color &,const Quantity_Color &,const Aspect_TypeOfLine,const Standard_Real,const Graphic3d_MaterialAspect &,const Graphic3d_MaterialAspect & >() , py::arg("theInterior"), py::arg("theInteriorColor"), py::arg("theEdgeColor"), py::arg("theEdgeLineType"), py::arg("theEdgeWidth"), py::arg("theFrontMaterial"), py::arg("theBackMaterial") )
// custom constructors
// methods
.def("Edge",
(bool (Graphic3d_AspectFillArea3d::*)() const) static_cast<bool (Graphic3d_AspectFillArea3d::*)() const>(&Graphic3d_AspectFillArea3d::Edge),
R"#(None)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_AspectFillArea3d::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_AspectFillArea3d::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_AspectFillArea3d::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_AspectFillArea3d::*)() const>(&Graphic3d_AspectFillArea3d::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_AspectLine3d from ./opencascade/Graphic3d_AspectLine3d.hxx
klass = m.attr("Graphic3d_AspectLine3d");
// nested enums
static_cast<py::class_<Graphic3d_AspectLine3d ,opencascade::handle<Graphic3d_AspectLine3d> , Graphic3d_Aspects >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Quantity_Color &,Aspect_TypeOfLine,Standard_Real >() , py::arg("theColor"), py::arg("theType"), py::arg("theWidth") )
// custom constructors
// methods
.def("Type",
(Aspect_TypeOfLine (Graphic3d_AspectLine3d::*)() const) static_cast<Aspect_TypeOfLine (Graphic3d_AspectLine3d::*)() const>(&Graphic3d_AspectLine3d::Type),
R"#(Return line type.)#"
)
.def("SetType",
(void (Graphic3d_AspectLine3d::*)( const Aspect_TypeOfLine ) ) static_cast<void (Graphic3d_AspectLine3d::*)( const Aspect_TypeOfLine ) >(&Graphic3d_AspectLine3d::SetType),
R"#(Modifies the type of line.)#" , py::arg("theType")
)
.def("Width",
(Standard_ShortReal (Graphic3d_AspectLine3d::*)() const) static_cast<Standard_ShortReal (Graphic3d_AspectLine3d::*)() const>(&Graphic3d_AspectLine3d::Width),
R"#(Return line width.)#"
)
.def("SetWidth",
(void (Graphic3d_AspectLine3d::*)( const Standard_Real ) ) static_cast<void (Graphic3d_AspectLine3d::*)( const Standard_Real ) >(&Graphic3d_AspectLine3d::SetWidth),
R"#(Modifies the line thickness. Warning: Raises Standard_OutOfRange if the width is a negative value.)#" , py::arg("theWidth")
)
.def("SetWidth",
(void (Graphic3d_AspectLine3d::*)( Standard_ShortReal ) ) static_cast<void (Graphic3d_AspectLine3d::*)( Standard_ShortReal ) >(&Graphic3d_AspectLine3d::SetWidth),
R"#(Modifies the line thickness. Warning: Raises Standard_OutOfRange if the width is a negative value.)#" , py::arg("theWidth")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_AspectLine3d::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_AspectLine3d::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_AspectLine3d::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_AspectLine3d::*)() const>(&Graphic3d_AspectLine3d::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_AspectMarker3d from ./opencascade/Graphic3d_AspectMarker3d.hxx
klass = m.attr("Graphic3d_AspectMarker3d");
// nested enums
static_cast<py::class_<Graphic3d_AspectMarker3d ,opencascade::handle<Graphic3d_AspectMarker3d> , Graphic3d_Aspects >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Aspect_TypeOfMarker,const Quantity_Color &,const Standard_Real >() , py::arg("theType"), py::arg("theColor"), py::arg("theScale") )
.def(py::init< const Quantity_Color &,const Standard_Integer,const Standard_Integer,const opencascade::handle<TColStd_HArray1OfByte> & >() , py::arg("theColor"), py::arg("theWidth"), py::arg("theHeight"), py::arg("theTextureBitmap") )
.def(py::init< const opencascade::handle<Image_PixMap> & >() , py::arg("theTextureImage") )
// custom constructors
// methods
.def("Scale",
(Standard_ShortReal (Graphic3d_AspectMarker3d::*)() const) static_cast<Standard_ShortReal (Graphic3d_AspectMarker3d::*)() const>(&Graphic3d_AspectMarker3d::Scale),
R"#(Return scale factor.)#"
)
.def("SetScale",
(void (Graphic3d_AspectMarker3d::*)( const Standard_ShortReal ) ) static_cast<void (Graphic3d_AspectMarker3d::*)( const Standard_ShortReal ) >(&Graphic3d_AspectMarker3d::SetScale),
R"#(Modifies the scale factor. Marker type Aspect_TOM_POINT is not affected by the marker size scale factor. It is always the smallest displayable dot. Warning: Raises Standard_OutOfRange if the scale is a negative value.)#" , py::arg("theScale")
)
.def("SetScale",
(void (Graphic3d_AspectMarker3d::*)( const Standard_Real ) ) static_cast<void (Graphic3d_AspectMarker3d::*)( const Standard_Real ) >(&Graphic3d_AspectMarker3d::SetScale),
R"#(Assign scale factor.)#" , py::arg("theScale")
)
.def("Type",
(Aspect_TypeOfMarker (Graphic3d_AspectMarker3d::*)() const) static_cast<Aspect_TypeOfMarker (Graphic3d_AspectMarker3d::*)() const>(&Graphic3d_AspectMarker3d::Type),
R"#(Return marker type.)#"
)
.def("SetType",
(void (Graphic3d_AspectMarker3d::*)( const Aspect_TypeOfMarker ) ) static_cast<void (Graphic3d_AspectMarker3d::*)( const Aspect_TypeOfMarker ) >(&Graphic3d_AspectMarker3d::SetType),
R"#(Modifies the type of marker.)#" , py::arg("theType")
)
.def("SetBitMap",
(void (Graphic3d_AspectMarker3d::*)( const Standard_Integer , const Standard_Integer , const opencascade::handle<TColStd_HArray1OfByte> & ) ) static_cast<void (Graphic3d_AspectMarker3d::*)( const Standard_Integer , const Standard_Integer , const opencascade::handle<TColStd_HArray1OfByte> & ) >(&Graphic3d_AspectMarker3d::SetBitMap),
R"#(None)#" , py::arg("theWidth"), py::arg("theHeight"), py::arg("theTexture")
)
// methods using call by reference i.s.o. return
.def("GetTextureSize",
[]( Graphic3d_AspectMarker3d &self ){
Standard_Integer theWidth;
Standard_Integer theHeight;
self.GetTextureSize(theWidth,theHeight);
return std::make_tuple(theWidth,theHeight); },
R"#(Returns marker's texture size.)#"
)
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_AspectMarker3d::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_AspectMarker3d::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_AspectMarker3d::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_AspectMarker3d::*)() const>(&Graphic3d_AspectMarker3d::DynamicType),
R"#(None)#"
)
.def("GetMarkerImage",
(const opencascade::handle<Graphic3d_MarkerImage> & (Graphic3d_AspectMarker3d::*)() const) static_cast<const opencascade::handle<Graphic3d_MarkerImage> & (Graphic3d_AspectMarker3d::*)() const>(&Graphic3d_AspectMarker3d::GetMarkerImage),
R"#(Returns marker's image texture. Could be null handle if marker aspect has been initialized as default type of marker.)#"
)
;
// Class Graphic3d_AspectText3d from ./opencascade/Graphic3d_AspectText3d.hxx
klass = m.attr("Graphic3d_AspectText3d");
// nested enums
static_cast<py::class_<Graphic3d_AspectText3d ,opencascade::handle<Graphic3d_AspectText3d> , Graphic3d_Aspects >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Quantity_Color &,Standard_CString,Standard_Real,Standard_Real,Aspect_TypeOfStyleText,Aspect_TypeOfDisplayText >() , py::arg("theColor"), py::arg("theFont"), py::arg("theExpansionFactor"), py::arg("theSpace"), py::arg("theStyle")=static_cast<Aspect_TypeOfStyleText>(Aspect_TOST_NORMAL), py::arg("theDisplayType")=static_cast<Aspect_TypeOfDisplayText>(Aspect_TODT_NORMAL) )
// custom constructors
// methods
.def("SetColor",
(void (Graphic3d_AspectText3d::*)( const Quantity_Color & ) ) static_cast<void (Graphic3d_AspectText3d::*)( const Quantity_Color & ) >(&Graphic3d_AspectText3d::SetColor),
R"#(Modifies the color.)#" , py::arg("theColor")
)
.def("SetColor",
(void (Graphic3d_AspectText3d::*)( const Quantity_ColorRGBA & ) ) static_cast<void (Graphic3d_AspectText3d::*)( const Quantity_ColorRGBA & ) >(&Graphic3d_AspectText3d::SetColor),
R"#(Modifies the color.)#" , py::arg("theColor")
)
.def("SetFont",
(void (Graphic3d_AspectText3d::*)( const TCollection_AsciiString & ) ) static_cast<void (Graphic3d_AspectText3d::*)( const TCollection_AsciiString & ) >(&Graphic3d_AspectText3d::SetFont),
R"#(Modifies the font.)#" , py::arg("theFont")
)
.def("SetFont",
(void (Graphic3d_AspectText3d::*)( const Standard_CString ) ) static_cast<void (Graphic3d_AspectText3d::*)( const Standard_CString ) >(&Graphic3d_AspectText3d::SetFont),
R"#(Modifies the font.)#" , py::arg("theFont")
)
.def("Style",
(Aspect_TypeOfStyleText (Graphic3d_AspectText3d::*)() const) static_cast<Aspect_TypeOfStyleText (Graphic3d_AspectText3d::*)() const>(&Graphic3d_AspectText3d::Style),
R"#(Return the text style.)#"
)
.def("SetStyle",
(void (Graphic3d_AspectText3d::*)( Aspect_TypeOfStyleText ) ) static_cast<void (Graphic3d_AspectText3d::*)( Aspect_TypeOfStyleText ) >(&Graphic3d_AspectText3d::SetStyle),
R"#(Modifies the style of the text.)#" , py::arg("theStyle")
)
.def("DisplayType",
(Aspect_TypeOfDisplayText (Graphic3d_AspectText3d::*)() const) static_cast<Aspect_TypeOfDisplayText (Graphic3d_AspectText3d::*)() const>(&Graphic3d_AspectText3d::DisplayType),
R"#(Return display type.)#"
)
.def("SetDisplayType",
(void (Graphic3d_AspectText3d::*)( Aspect_TypeOfDisplayText ) ) static_cast<void (Graphic3d_AspectText3d::*)( Aspect_TypeOfDisplayText ) >(&Graphic3d_AspectText3d::SetDisplayType),
R"#(Define the display type of the text.)#" , py::arg("theDisplayType")
)
.def("GetTextZoomable",
(bool (Graphic3d_AspectText3d::*)() const) static_cast<bool (Graphic3d_AspectText3d::*)() const>(&Graphic3d_AspectText3d::GetTextZoomable),
R"#(Returns TRUE when the Text Zoomable is on.)#"
)
.def("GetTextAngle",
(Standard_ShortReal (Graphic3d_AspectText3d::*)() const) static_cast<Standard_ShortReal (Graphic3d_AspectText3d::*)() const>(&Graphic3d_AspectText3d::GetTextAngle),
R"#(Returns Angle of degree)#"
)
.def("SetTextAngle",
(void (Graphic3d_AspectText3d::*)( const Standard_Real ) ) static_cast<void (Graphic3d_AspectText3d::*)( const Standard_Real ) >(&Graphic3d_AspectText3d::SetTextAngle),
R"#(Turns usage of text rotated)#" , py::arg("theAngle")
)
.def("GetTextFontAspect",
(Font_FontAspect (Graphic3d_AspectText3d::*)() const) static_cast<Font_FontAspect (Graphic3d_AspectText3d::*)() const>(&Graphic3d_AspectText3d::GetTextFontAspect),
R"#(Returns text FontAspect)#"
)
.def("DumpJson",
(void (Graphic3d_AspectText3d::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_AspectText3d::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_AspectText3d::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_AspectText3d::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_AspectText3d::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_AspectText3d::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_AspectText3d::*)() const>(&Graphic3d_AspectText3d::DynamicType),
R"#(None)#"
)
.def("Color",
(const Quantity_Color & (Graphic3d_AspectText3d::*)() const) static_cast<const Quantity_Color & (Graphic3d_AspectText3d::*)() const>(&Graphic3d_AspectText3d::Color),
R"#(Return the text color.)#"
)
.def("ColorRGBA",
(const Quantity_ColorRGBA & (Graphic3d_AspectText3d::*)() const) static_cast<const Quantity_ColorRGBA & (Graphic3d_AspectText3d::*)() const>(&Graphic3d_AspectText3d::ColorRGBA),
R"#(Return the text color.)#"
)
.def("Font",
(const TCollection_AsciiString & (Graphic3d_AspectText3d::*)() const) static_cast<const TCollection_AsciiString & (Graphic3d_AspectText3d::*)() const>(&Graphic3d_AspectText3d::Font),
R"#(Return the font.)#"
)
;
// Class Graphic3d_AttribBuffer from ./opencascade/Graphic3d_AttribBuffer.hxx
klass = m.attr("Graphic3d_AttribBuffer");
// nested enums
static_cast<py::class_<Graphic3d_AttribBuffer ,opencascade::handle<Graphic3d_AttribBuffer> , Graphic3d_Buffer >>(klass)
// constructors
.def(py::init< const opencascade::handle<NCollection_BaseAllocator> & >() , py::arg("theAlloc") )
// custom constructors
// methods
.def("Init",
(bool (Graphic3d_AttribBuffer::*)( const Standard_Integer , const Graphic3d_Attribute * , const Standard_Integer ) ) static_cast<bool (Graphic3d_AttribBuffer::*)( const Standard_Integer , const Graphic3d_Attribute * , const Standard_Integer ) >(&Graphic3d_AttribBuffer::Init),
R"#(Allocates new empty array)#" , py::arg("theNbElems"), py::arg("theAttribs"), py::arg("theNbAttribs")
)
.def("Init",
(bool (Graphic3d_AttribBuffer::*)( const Standard_Integer , const NCollection_Array1<Graphic3d_Attribute> & ) ) static_cast<bool (Graphic3d_AttribBuffer::*)( const Standard_Integer , const NCollection_Array1<Graphic3d_Attribute> & ) >(&Graphic3d_AttribBuffer::Init),
R"#(Allocates new empty array)#" , py::arg("theNbElems"), py::arg("theAttribs")
)
.def("IsMutable",
(Standard_Boolean (Graphic3d_AttribBuffer::*)() const) static_cast<Standard_Boolean (Graphic3d_AttribBuffer::*)() const>(&Graphic3d_AttribBuffer::IsMutable),
R"#(Return TRUE if data can be invalidated; FALSE by default.)#"
)
.def("SetMutable",
(void (Graphic3d_AttribBuffer::*)( Standard_Boolean ) ) static_cast<void (Graphic3d_AttribBuffer::*)( Standard_Boolean ) >(&Graphic3d_AttribBuffer::SetMutable),
R"#(Set if data can be invalidated.)#" , py::arg("theMutable")
)
.def("IsInterleaved",
(Standard_Boolean (Graphic3d_AttribBuffer::*)() const) static_cast<Standard_Boolean (Graphic3d_AttribBuffer::*)() const>(&Graphic3d_AttribBuffer::IsInterleaved),
R"#(Return TRUE for interleaved array; TRUE by default.)#"
)
.def("SetInterleaved",
(void (Graphic3d_AttribBuffer::*)( Standard_Boolean ) ) static_cast<void (Graphic3d_AttribBuffer::*)( Standard_Boolean ) >(&Graphic3d_AttribBuffer::SetInterleaved),
R"#(Setup interleaved/non-interleaved array. WARNING! Filling non-interleaved buffer should be implemented on user side without Graphic3d_Buffer auxiliary methods designed for interleaved data.)#" , py::arg("theIsInterleaved")
)
.def("InvalidatedRange",
(Graphic3d_BufferRange (Graphic3d_AttribBuffer::*)() const) static_cast<Graphic3d_BufferRange (Graphic3d_AttribBuffer::*)() const>(&Graphic3d_AttribBuffer::InvalidatedRange),
R"#(Return invalidated range.)#"
)
.def("Validate",
(void (Graphic3d_AttribBuffer::*)() ) static_cast<void (Graphic3d_AttribBuffer::*)() >(&Graphic3d_AttribBuffer::Validate),
R"#(Reset invalidated range.)#"
)
.def("Invalidate",
(void (Graphic3d_AttribBuffer::*)() ) static_cast<void (Graphic3d_AttribBuffer::*)() >(&Graphic3d_AttribBuffer::Invalidate),
R"#(Invalidate the entire buffer data.)#"
)
.def("Invalidate",
(void (Graphic3d_AttribBuffer::*)( Standard_Integer ) ) static_cast<void (Graphic3d_AttribBuffer::*)( Standard_Integer ) >(&Graphic3d_AttribBuffer::Invalidate),
R"#(Invalidate the entire attribute data.)#" , py::arg("theAttributeIndex")
)
.def("Invalidate",
(void (Graphic3d_AttribBuffer::*)( Standard_Integer , Standard_Integer , Standard_Integer ) ) static_cast<void (Graphic3d_AttribBuffer::*)( Standard_Integer , Standard_Integer , Standard_Integer ) >(&Graphic3d_AttribBuffer::Invalidate),
R"#(Invalidate attribute data within specified sub-range (starting from 0).)#" , py::arg("theAttributeIndex"), py::arg("theVertexLower"), py::arg("theVertexUpper")
)
.def("Invalidate",
(void (Graphic3d_AttribBuffer::*)( Standard_Integer , Standard_Integer ) ) static_cast<void (Graphic3d_AttribBuffer::*)( Standard_Integer , Standard_Integer ) >(&Graphic3d_AttribBuffer::Invalidate),
R"#(Invalidate all attribute data within specified vertex sub-range (starting from 0).)#" , py::arg("theVertexLower"), py::arg("theVertexUpper")
)
.def("invalidate",
(void (Graphic3d_AttribBuffer::*)( const Graphic3d_BufferRange & ) ) static_cast<void (Graphic3d_AttribBuffer::*)( const Graphic3d_BufferRange & ) >(&Graphic3d_AttribBuffer::invalidate),
R"#(Invalidate specified sub-range of data (as byte offsets).)#" , py::arg("theRange")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_AttribBuffer::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_AttribBuffer::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_AttribBuffer::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_AttribBuffer::*)() const>(&Graphic3d_AttribBuffer::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_CView from ./opencascade/Graphic3d_CView.hxx
klass = m.attr("Graphic3d_CView");
// nested enums
static_cast<py::class_<Graphic3d_CView ,opencascade::handle<Graphic3d_CView> ,Py_Graphic3d_CView , Graphic3d_DataStructureManager >>(klass)
// constructors
.def(py::init< const opencascade::handle<Graphic3d_StructureManager> & >() , py::arg("theMgr") )
// custom constructors
// methods
.def("Identification",
(Standard_Integer (Graphic3d_CView::*)() const) static_cast<Standard_Integer (Graphic3d_CView::*)() const>(&Graphic3d_CView::Identification),
R"#(Returns the identification number of the view.)#"
)
.def("Activate",
(void (Graphic3d_CView::*)() ) static_cast<void (Graphic3d_CView::*)() >(&Graphic3d_CView::Activate),
R"#(Activates the view. Maps presentations defined within structure manager onto this view.)#"
)
.def("Deactivate",
(void (Graphic3d_CView::*)() ) static_cast<void (Graphic3d_CView::*)() >(&Graphic3d_CView::Deactivate),
R"#(Deactivates the view. Unmaps presentations defined within structure manager. The view in deactivated state will ignore actions on structures such as Display().)#"
)
.def("IsActive",
(Standard_Boolean (Graphic3d_CView::*)() const) static_cast<Standard_Boolean (Graphic3d_CView::*)() const>(&Graphic3d_CView::IsActive),
R"#(Returns the activity flag of the view.)#"
)
.def("Remove",
(void (Graphic3d_CView::*)() ) static_cast<void (Graphic3d_CView::*)() >(&Graphic3d_CView::Remove),
R"#(Erases the view and removes from graphic driver. No more graphic operations are allowed in this view after the call.)#"
)
.def("IsRemoved",
(Standard_Boolean (Graphic3d_CView::*)() const) static_cast<Standard_Boolean (Graphic3d_CView::*)() const>(&Graphic3d_CView::IsRemoved),
R"#(Returns true if the view was removed.)#"
)
.def("SetCamera",
(void (Graphic3d_CView::*)( const opencascade::handle<Graphic3d_Camera> & ) ) static_cast<void (Graphic3d_CView::*)( const opencascade::handle<Graphic3d_Camera> & ) >(&Graphic3d_CView::SetCamera),
R"#(Sets camera used by the view.)#" , py::arg("theCamera")
)
.def("ShadingModel",
(Graphic3d_TypeOfShadingModel (Graphic3d_CView::*)() const) static_cast<Graphic3d_TypeOfShadingModel (Graphic3d_CView::*)() const>(&Graphic3d_CView::ShadingModel),
R"#(Returns default Shading Model of the view; Graphic3d_TypeOfShadingModel_Phong by default.)#"
)
.def("SetShadingModel",
(void (Graphic3d_CView::*)( Graphic3d_TypeOfShadingModel ) ) static_cast<void (Graphic3d_CView::*)( Graphic3d_TypeOfShadingModel ) >(&Graphic3d_CView::SetShadingModel),
R"#(Sets default Shading Model of the view. Will throw an exception on attempt to set Graphic3d_TypeOfShadingModel_DEFAULT.)#" , py::arg("theModel")
)
.def("BackfacingModel",
(Graphic3d_TypeOfBackfacingModel (Graphic3d_CView::*)() const) static_cast<Graphic3d_TypeOfBackfacingModel (Graphic3d_CView::*)() const>(&Graphic3d_CView::BackfacingModel),
R"#(Return backfacing model used for the view; Graphic3d_TypeOfBackfacingModel_Auto by default, which means that backface culling is defined by each presentation.)#"
)
.def("SetBackfacingModel",
(void (Graphic3d_CView::*)( const Graphic3d_TypeOfBackfacingModel ) ) static_cast<void (Graphic3d_CView::*)( const Graphic3d_TypeOfBackfacingModel ) >(&Graphic3d_CView::SetBackfacingModel),
R"#(Sets backfacing model for the view.)#" , py::arg("theModel")
)
.def("VisualizationType",
(Graphic3d_TypeOfVisualization (Graphic3d_CView::*)() const) static_cast<Graphic3d_TypeOfVisualization (Graphic3d_CView::*)() const>(&Graphic3d_CView::VisualizationType),
R"#(Returns visualization type of the view.)#"
)
.def("SetVisualizationType",
(void (Graphic3d_CView::*)( const Graphic3d_TypeOfVisualization ) ) static_cast<void (Graphic3d_CView::*)( const Graphic3d_TypeOfVisualization ) >(&Graphic3d_CView::SetVisualizationType),
R"#(Sets visualization type of the view.)#" , py::arg("theType")
)
.def("SetComputedMode",
(void (Graphic3d_CView::*)( const Standard_Boolean ) ) static_cast<void (Graphic3d_CView::*)( const Standard_Boolean ) >(&Graphic3d_CView::SetComputedMode),
R"#(Switches computed HLR mode in the view)#" , py::arg("theMode")
)
.def("ComputedMode",
(Standard_Boolean (Graphic3d_CView::*)() const) static_cast<Standard_Boolean (Graphic3d_CView::*)() const>(&Graphic3d_CView::ComputedMode),
R"#(Returns the computed HLR mode state)#"
)
.def("ReCompute",
(void (Graphic3d_CView::*)( const opencascade::handle<Graphic3d_Structure> & ) ) static_cast<void (Graphic3d_CView::*)( const opencascade::handle<Graphic3d_Structure> & ) >(&Graphic3d_CView::ReCompute),
R"#(Computes the new presentation of the structure displayed in this view with the type Graphic3d_TOS_COMPUTED.)#" , py::arg("theStructure")
)
.def("Update",
(void (Graphic3d_CView::*)( const Graphic3d_ZLayerId ) ) static_cast<void (Graphic3d_CView::*)( const Graphic3d_ZLayerId ) >(&Graphic3d_CView::Update),
R"#(Invalidates bounding box of specified ZLayerId.)#" , py::arg("theLayerId")=static_cast<const Graphic3d_ZLayerId>(Graphic3d_ZLayerId_UNKNOWN)
)
.def("Compute",
(void (Graphic3d_CView::*)() ) static_cast<void (Graphic3d_CView::*)() >(&Graphic3d_CView::Compute),
R"#(Computes the new presentation of the structures displayed in this view with the type Graphic3d_TOS_COMPUTED.)#"
)
.def("DisplayedStructures",
(void (Graphic3d_CView::*)( NCollection_Map<opencascade::handle<Graphic3d_Structure>> & ) const) static_cast<void (Graphic3d_CView::*)( NCollection_Map<opencascade::handle<Graphic3d_Structure>> & ) const>(&Graphic3d_CView::DisplayedStructures),
R"#(Returns the set of structures displayed in this view.)#" , py::arg("theStructures")
)
.def("NumberOfDisplayedStructures",
(Standard_Integer (Graphic3d_CView::*)() const) static_cast<Standard_Integer (Graphic3d_CView::*)() const>(&Graphic3d_CView::NumberOfDisplayedStructures),
R"#(Returns number of displayed structures in the view.)#"
)
.def("IsComputed",
(Standard_Boolean (Graphic3d_CView::*)( const Standard_Integer , opencascade::handle<Graphic3d_Structure> & ) const) static_cast<Standard_Boolean (Graphic3d_CView::*)( const Standard_Integer , opencascade::handle<Graphic3d_Structure> & ) const>(&Graphic3d_CView::IsComputed),
R"#(Returns Standard_True in case if the structure with the given <theStructId> is in list of structures to be computed and stores computed struct to <theComputedStruct>.)#" , py::arg("theStructId"), py::arg("theComputedStruct")
)
.def("MinMaxValues",
(Bnd_Box (Graphic3d_CView::*)( const Standard_Boolean ) const) static_cast<Bnd_Box (Graphic3d_CView::*)( const Standard_Boolean ) const>(&Graphic3d_CView::MinMaxValues),
R"#(Returns the bounding box of all structures displayed in the view. If theToIncludeAuxiliary is TRUE, then the boundary box also includes minimum and maximum limits of graphical elements forming parts of infinite and other auxiliary structures.)#" , py::arg("theToIncludeAuxiliary")=static_cast<const Standard_Boolean>(Standard_False)
)
.def("MinMaxValues",
(Bnd_Box (Graphic3d_CView::*)( const NCollection_Map<opencascade::handle<Graphic3d_Structure>> & , const Standard_Boolean ) const) static_cast<Bnd_Box (Graphic3d_CView::*)( const NCollection_Map<opencascade::handle<Graphic3d_Structure>> & , const Standard_Boolean ) const>(&Graphic3d_CView::MinMaxValues),
R"#(Returns the coordinates of the boundary box of all structures in the set <theSet>. If <theToIgnoreInfiniteFlag> is TRUE, then the boundary box also includes minimum and maximum limits of graphical elements forming parts of infinite structures.)#" , py::arg("theSet"), py::arg("theToIncludeAuxiliary")=static_cast<const Standard_Boolean>(Standard_False)
)
.def("Redraw",
(void (Graphic3d_CView::*)() ) static_cast<void (Graphic3d_CView::*)() >(&Graphic3d_CView::Redraw),
R"#(Redraw content of the view.)#"
)
.def("RedrawImmediate",
(void (Graphic3d_CView::*)() ) static_cast<void (Graphic3d_CView::*)() >(&Graphic3d_CView::RedrawImmediate),
R"#(Redraw immediate content of the view.)#"
)
.def("Invalidate",
(void (Graphic3d_CView::*)() ) static_cast<void (Graphic3d_CView::*)() >(&Graphic3d_CView::Invalidate),
R"#(Invalidates content of the view but does not redraw it.)#"
)
.def("IsInvalidated",
(Standard_Boolean (Graphic3d_CView::*)() ) static_cast<Standard_Boolean (Graphic3d_CView::*)() >(&Graphic3d_CView::IsInvalidated),
R"#(Return true if view content cache has been invalidated.)#"
)
.def("Resized",
(void (Graphic3d_CView::*)() ) static_cast<void (Graphic3d_CView::*)() >(&Graphic3d_CView::Resized),
R"#(Handle changing size of the rendering window.)#"
)
.def("SetImmediateModeDrawToFront",
(Standard_Boolean (Graphic3d_CView::*)( const Standard_Boolean ) ) static_cast<Standard_Boolean (Graphic3d_CView::*)( const Standard_Boolean ) >(&Graphic3d_CView::SetImmediateModeDrawToFront),
R"#(Returns previous mode.)#" , py::arg("theDrawToFrontBuffer")
)
.def("SetWindow",
(void (Graphic3d_CView::*)( const opencascade::handle<Graphic3d_CView> & , const opencascade::handle<Aspect_Window> & , const Aspect_RenderingContext ) ) static_cast<void (Graphic3d_CView::*)( const opencascade::handle<Graphic3d_CView> & , const opencascade::handle<Aspect_Window> & , const Aspect_RenderingContext ) >(&Graphic3d_CView::SetWindow),
R"#(Creates and maps rendering window to the view.)#" , py::arg("theParentVIew"), py::arg("theWindow"), py::arg("theContext")
)
.def("Window",
(opencascade::handle<Aspect_Window> (Graphic3d_CView::*)() const) static_cast<opencascade::handle<Aspect_Window> (Graphic3d_CView::*)() const>(&Graphic3d_CView::Window),
R"#(Returns the window associated to the view.)#"
)
.def("IsDefined",
(Standard_Boolean (Graphic3d_CView::*)() const) static_cast<Standard_Boolean (Graphic3d_CView::*)() const>(&Graphic3d_CView::IsDefined),
R"#(Returns True if the window associated to the view is defined.)#"
)
.def("BufferDump",
(Standard_Boolean (Graphic3d_CView::*)( Image_PixMap & , const Graphic3d_BufferType & ) ) static_cast<Standard_Boolean (Graphic3d_CView::*)( Image_PixMap & , const Graphic3d_BufferType & ) >(&Graphic3d_CView::BufferDump),
R"#(Dump active rendering buffer into specified memory buffer.)#" , py::arg("theImage"), py::arg("theBufferType")
)
.def("InvalidateBVHData",
(void (Graphic3d_CView::*)( const Graphic3d_ZLayerId ) ) static_cast<void (Graphic3d_CView::*)( const Graphic3d_ZLayerId ) >(&Graphic3d_CView::InvalidateBVHData),
R"#(Marks BVH tree and the set of BVH primitives of correspondent priority list with id theLayerId as outdated.)#" , py::arg("theLayerId")
)
.def("InsertLayerBefore",
(void (Graphic3d_CView::*)( const Graphic3d_ZLayerId , const Graphic3d_ZLayerSettings & , const Graphic3d_ZLayerId ) ) static_cast<void (Graphic3d_CView::*)( const Graphic3d_ZLayerId , const Graphic3d_ZLayerSettings & , const Graphic3d_ZLayerId ) >(&Graphic3d_CView::InsertLayerBefore),
R"#(Add a layer to the view.)#" , py::arg("theNewLayerId"), py::arg("theSettings"), py::arg("theLayerAfter")
)
.def("InsertLayerAfter",
(void (Graphic3d_CView::*)( const Graphic3d_ZLayerId , const Graphic3d_ZLayerSettings & , const Graphic3d_ZLayerId ) ) static_cast<void (Graphic3d_CView::*)( const Graphic3d_ZLayerId , const Graphic3d_ZLayerSettings & , const Graphic3d_ZLayerId ) >(&Graphic3d_CView::InsertLayerAfter),
R"#(Add a layer to the view.)#" , py::arg("theNewLayerId"), py::arg("theSettings"), py::arg("theLayerBefore")
)
.def("ZLayerMax",
(Standard_Integer (Graphic3d_CView::*)() const) static_cast<Standard_Integer (Graphic3d_CView::*)() const>(&Graphic3d_CView::ZLayerMax),
R"#(Returns the maximum Z layer ID. First layer ID is Graphic3d_ZLayerId_Default, last ID is ZLayerMax().)#"
)
.def("Layers",
(const NCollection_List<opencascade::handle<Graphic3d_Layer>> & (Graphic3d_CView::*)() const) static_cast<const NCollection_List<opencascade::handle<Graphic3d_Layer>> & (Graphic3d_CView::*)() const>(&Graphic3d_CView::Layers),
R"#(Returns the list of layers.)#"
)
.def("Layer",
(opencascade::handle<Graphic3d_Layer> (Graphic3d_CView::*)( const Graphic3d_ZLayerId ) const) static_cast<opencascade::handle<Graphic3d_Layer> (Graphic3d_CView::*)( const Graphic3d_ZLayerId ) const>(&Graphic3d_CView::Layer),
R"#(Returns layer with given ID or NULL if undefined.)#" , py::arg("theLayerId")
)
.def("InvalidateZLayerBoundingBox",
(void (Graphic3d_CView::*)( const Graphic3d_ZLayerId ) ) static_cast<void (Graphic3d_CView::*)( const Graphic3d_ZLayerId ) >(&Graphic3d_CView::InvalidateZLayerBoundingBox),
R"#(Returns the bounding box of all structures displayed in the Z layer.)#" , py::arg("theLayerId")
)
.def("RemoveZLayer",
(void (Graphic3d_CView::*)( const Graphic3d_ZLayerId ) ) static_cast<void (Graphic3d_CView::*)( const Graphic3d_ZLayerId ) >(&Graphic3d_CView::RemoveZLayer),
R"#(Remove Z layer from the specified view. All structures displayed at the moment in layer will be displayed in default layer ( the bottom-level z layer ). To unset layer ID from associated structures use method UnsetZLayer (...).)#" , py::arg("theLayerId")
)
.def("SetZLayerSettings",
(void (Graphic3d_CView::*)( const Graphic3d_ZLayerId , const Graphic3d_ZLayerSettings & ) ) static_cast<void (Graphic3d_CView::*)( const Graphic3d_ZLayerId , const Graphic3d_ZLayerSettings & ) >(&Graphic3d_CView::SetZLayerSettings),
R"#(Sets the settings for a single Z layer of specified view.)#" , py::arg("theLayerId"), py::arg("theSettings")
)
.def("ConsiderZoomPersistenceObjects",
(Standard_Real (Graphic3d_CView::*)() ) static_cast<Standard_Real (Graphic3d_CView::*)() >(&Graphic3d_CView::ConsiderZoomPersistenceObjects),
R"#(Returns zoom-scale factor.)#"
)
.def("FBO",
(opencascade::handle<Standard_Transient> (Graphic3d_CView::*)() const) static_cast<opencascade::handle<Standard_Transient> (Graphic3d_CView::*)() const>(&Graphic3d_CView::FBO),
R"#(Returns pointer to an assigned framebuffer object.)#"
)
.def("SetFBO",
(void (Graphic3d_CView::*)( const opencascade::handle<Standard_Transient> & ) ) static_cast<void (Graphic3d_CView::*)( const opencascade::handle<Standard_Transient> & ) >(&Graphic3d_CView::SetFBO),
R"#(Sets framebuffer object for offscreen rendering.)#" , py::arg("theFbo")
)
.def("FBOCreate",
(opencascade::handle<Standard_Transient> (Graphic3d_CView::*)( const Standard_Integer , const Standard_Integer ) ) static_cast<opencascade::handle<Standard_Transient> (Graphic3d_CView::*)( const Standard_Integer , const Standard_Integer ) >(&Graphic3d_CView::FBOCreate),
R"#(Generate offscreen FBO in the graphic library. If not supported on hardware returns NULL.)#" , py::arg("theWidth"), py::arg("theHeight")
)
.def("FBOChangeViewport",
(void (Graphic3d_CView::*)( const opencascade::handle<Standard_Transient> & , const Standard_Integer , const Standard_Integer ) ) static_cast<void (Graphic3d_CView::*)( const opencascade::handle<Standard_Transient> & , const Standard_Integer , const Standard_Integer ) >(&Graphic3d_CView::FBOChangeViewport),
R"#(Change offscreen FBO viewport.)#" , py::arg("theFbo"), py::arg("theWidth"), py::arg("theHeight")
)
.def("CopySettings",
(void (Graphic3d_CView::*)( const opencascade::handle<Graphic3d_CView> & ) ) static_cast<void (Graphic3d_CView::*)( const opencascade::handle<Graphic3d_CView> & ) >(&Graphic3d_CView::CopySettings),
R"#(Copy visualization settings from another view. Method is used for cloning views in viewer when its required to create view with same view properties.)#" , py::arg("theOther")
)
.def("Background",
(Aspect_Background (Graphic3d_CView::*)() const) static_cast<Aspect_Background (Graphic3d_CView::*)() const>(&Graphic3d_CView::Background),
R"#(Returns background fill color.)#"
)
.def("SetBackground",
(void (Graphic3d_CView::*)( const Aspect_Background & ) ) static_cast<void (Graphic3d_CView::*)( const Aspect_Background & ) >(&Graphic3d_CView::SetBackground),
R"#(Sets background fill color.)#" , py::arg("theBackground")
)
.def("GradientBackground",
(Aspect_GradientBackground (Graphic3d_CView::*)() const) static_cast<Aspect_GradientBackground (Graphic3d_CView::*)() const>(&Graphic3d_CView::GradientBackground),
R"#(Returns gradient background fill colors.)#"
)
.def("SetGradientBackground",
(void (Graphic3d_CView::*)( const Aspect_GradientBackground & ) ) static_cast<void (Graphic3d_CView::*)( const Aspect_GradientBackground & ) >(&Graphic3d_CView::SetGradientBackground),
R"#(Sets gradient background fill colors.)#" , py::arg("theBackground")
)
.def("SetBackgroundImage",
(void (Graphic3d_CView::*)( const opencascade::handle<Graphic3d_TextureMap> & , Standard_Boolean ) ) static_cast<void (Graphic3d_CView::*)( const opencascade::handle<Graphic3d_TextureMap> & , Standard_Boolean ) >(&Graphic3d_CView::SetBackgroundImage),
R"#(Sets image texture or environment cubemap as background.)#" , py::arg("theTextureMap"), py::arg("theToUpdatePBREnv")=static_cast<Standard_Boolean>(Standard_True)
)
.def("BackgroundImageStyle",
(Aspect_FillMethod (Graphic3d_CView::*)() const) static_cast<Aspect_FillMethod (Graphic3d_CView::*)() const>(&Graphic3d_CView::BackgroundImageStyle),
R"#(Returns background image fill style.)#"
)
.def("SetBackgroundImageStyle",
(void (Graphic3d_CView::*)( const Aspect_FillMethod ) ) static_cast<void (Graphic3d_CView::*)( const Aspect_FillMethod ) >(&Graphic3d_CView::SetBackgroundImageStyle),
R"#(Sets background image fill style.)#" , py::arg("theFillStyle")
)
.def("BackgroundType",
(Graphic3d_TypeOfBackground (Graphic3d_CView::*)() const) static_cast<Graphic3d_TypeOfBackground (Graphic3d_CView::*)() const>(&Graphic3d_CView::BackgroundType),
R"#(Returns background type.)#"
)
.def("SetBackgroundType",
(void (Graphic3d_CView::*)( Graphic3d_TypeOfBackground ) ) static_cast<void (Graphic3d_CView::*)( Graphic3d_TypeOfBackground ) >(&Graphic3d_CView::SetBackgroundType),
R"#(Sets background type.)#" , py::arg("theType")
)
.def("SetBackgroundSkydome",
(void (Graphic3d_CView::*)( const Aspect_SkydomeBackground & , Standard_Boolean ) ) static_cast<void (Graphic3d_CView::*)( const Aspect_SkydomeBackground & , Standard_Boolean ) >(&Graphic3d_CView::SetBackgroundSkydome),
R"#(Sets skydome aspect)#" , py::arg("theAspect"), py::arg("theToUpdatePBREnv")=static_cast<Standard_Boolean>(Standard_True)
)
.def("SetImageBasedLighting",
(void (Graphic3d_CView::*)( Standard_Boolean ) ) static_cast<void (Graphic3d_CView::*)( Standard_Boolean ) >(&Graphic3d_CView::SetImageBasedLighting),
R"#(Enables or disables IBL (Image Based Lighting) from background cubemap. Has no effect if PBR is not used.)#" , py::arg("theToEnableIBL")
)
.def("SetTextureEnv",
(void (Graphic3d_CView::*)( const opencascade::handle<Graphic3d_TextureEnv> & ) ) static_cast<void (Graphic3d_CView::*)( const opencascade::handle<Graphic3d_TextureEnv> & ) >(&Graphic3d_CView::SetTextureEnv),
R"#(Sets environment texture for the view.)#" , py::arg("theTextureEnv")
)
.def("Lights",
(const opencascade::handle<Graphic3d_LightSet> & (Graphic3d_CView::*)() const) static_cast<const opencascade::handle<Graphic3d_LightSet> & (Graphic3d_CView::*)() const>(&Graphic3d_CView::Lights),
R"#(Returns list of lights of the view.)#"
)
.def("SetLights",
(void (Graphic3d_CView::*)( const opencascade::handle<Graphic3d_LightSet> & ) ) static_cast<void (Graphic3d_CView::*)( const opencascade::handle<Graphic3d_LightSet> & ) >(&Graphic3d_CView::SetLights),
R"#(Sets list of lights for the view.)#" , py::arg("theLights")
)
.def("ClipPlanes",
(const opencascade::handle<Graphic3d_SequenceOfHClipPlane> & (Graphic3d_CView::*)() const) static_cast<const opencascade::handle<Graphic3d_SequenceOfHClipPlane> & (Graphic3d_CView::*)() const>(&Graphic3d_CView::ClipPlanes),
R"#(Returns list of clip planes set for the view.)#"
)
.def("SetClipPlanes",
(void (Graphic3d_CView::*)( const opencascade::handle<Graphic3d_SequenceOfHClipPlane> & ) ) static_cast<void (Graphic3d_CView::*)( const opencascade::handle<Graphic3d_SequenceOfHClipPlane> & ) >(&Graphic3d_CView::SetClipPlanes),
R"#(Sets list of clip planes for the view.)#" , py::arg("thePlanes")
)
.def("DiagnosticInformation",
(void (Graphic3d_CView::*)( NCollection_IndexedDataMap<TCollection_AsciiString, TCollection_AsciiString> & , Graphic3d_DiagnosticInfo ) const) static_cast<void (Graphic3d_CView::*)( NCollection_IndexedDataMap<TCollection_AsciiString, TCollection_AsciiString> & , Graphic3d_DiagnosticInfo ) const>(&Graphic3d_CView::DiagnosticInformation),
R"#(Fill in the dictionary with diagnostic info. Should be called within rendering thread.)#" , py::arg("theDict"), py::arg("theFlags")
)
.def("StatisticInformation",
(TCollection_AsciiString (Graphic3d_CView::*)() const) static_cast<TCollection_AsciiString (Graphic3d_CView::*)() const>(&Graphic3d_CView::StatisticInformation),
R"#(Returns string with statistic performance info.)#"
)
.def("StatisticInformation",
(void (Graphic3d_CView::*)( NCollection_IndexedDataMap<TCollection_AsciiString, TCollection_AsciiString> & ) const) static_cast<void (Graphic3d_CView::*)( NCollection_IndexedDataMap<TCollection_AsciiString, TCollection_AsciiString> & ) const>(&Graphic3d_CView::StatisticInformation),
R"#(Fills in the dictionary with statistic performance info.)#" , py::arg("theDict")
)
.def("UnitFactor",
(Standard_Real (Graphic3d_CView::*)() const) static_cast<Standard_Real (Graphic3d_CView::*)() const>(&Graphic3d_CView::UnitFactor),
R"#(Return unit scale factor defined as scale factor for m (meters); 1.0 by default. Normally, view definition is unitless, however some operations like VR input requires proper units mapping.)#"
)
.def("SetUnitFactor",
(void (Graphic3d_CView::*)( Standard_Real ) ) static_cast<void (Graphic3d_CView::*)( Standard_Real ) >(&Graphic3d_CView::SetUnitFactor),
R"#(Set unit scale factor.)#" , py::arg("theFactor")
)
.def("SetXRSession",
(void (Graphic3d_CView::*)( const opencascade::handle<Aspect_XRSession> & ) ) static_cast<void (Graphic3d_CView::*)( const opencascade::handle<Aspect_XRSession> & ) >(&Graphic3d_CView::SetXRSession),
R"#(Set XR session.)#" , py::arg("theSession")
)
.def("IsActiveXR",
(bool (Graphic3d_CView::*)() const) static_cast<bool (Graphic3d_CView::*)() const>(&Graphic3d_CView::IsActiveXR),
R"#(Return TRUE if there is active XR session.)#"
)
.def("InitXR",
(bool (Graphic3d_CView::*)() ) static_cast<bool (Graphic3d_CView::*)() >(&Graphic3d_CView::InitXR),
R"#(Initialize XR session.)#"
)
.def("ReleaseXR",
(void (Graphic3d_CView::*)() ) static_cast<void (Graphic3d_CView::*)() >(&Graphic3d_CView::ReleaseXR),
R"#(Release XR session.)#"
)
.def("ProcessXRInput",
(void (Graphic3d_CView::*)() ) static_cast<void (Graphic3d_CView::*)() >(&Graphic3d_CView::ProcessXRInput),
R"#(Process input.)#"
)
.def("SetupXRPosedCamera",
(void (Graphic3d_CView::*)() ) static_cast<void (Graphic3d_CView::*)() >(&Graphic3d_CView::SetupXRPosedCamera),
R"#(Compute PosedXRCamera() based on current XR head pose and make it active.)#"
)
.def("UnsetXRPosedCamera",
(void (Graphic3d_CView::*)() ) static_cast<void (Graphic3d_CView::*)() >(&Graphic3d_CView::UnsetXRPosedCamera),
R"#(Set current camera back to BaseXRCamera() and copy temporary modifications of PosedXRCamera(). Calls SynchronizeXRPosedToBaseCamera() beforehand.)#"
)
.def("SetPosedXRCamera",
(void (Graphic3d_CView::*)( const opencascade::handle<Graphic3d_Camera> & ) ) static_cast<void (Graphic3d_CView::*)( const opencascade::handle<Graphic3d_Camera> & ) >(&Graphic3d_CView::SetPosedXRCamera),
R"#(Sets transient XR camera position with tracked head orientation applied.)#" , py::arg("theCamera")
)
.def("SetBaseXRCamera",
(void (Graphic3d_CView::*)( const opencascade::handle<Graphic3d_Camera> & ) ) static_cast<void (Graphic3d_CView::*)( const opencascade::handle<Graphic3d_Camera> & ) >(&Graphic3d_CView::SetBaseXRCamera),
R"#(Sets anchor camera definition.)#" , py::arg("theCamera")
)
.def("PoseXRToWorld",
(gp_Trsf (Graphic3d_CView::*)( const gp_Trsf & ) const) static_cast<gp_Trsf (Graphic3d_CView::*)( const gp_Trsf & ) const>(&Graphic3d_CView::PoseXRToWorld),
R"#(Convert XR pose to world space.)#" , py::arg("thePoseXR")
)
.def("ViewAxisInWorld",
(gp_Ax1 (Graphic3d_CView::*)( const gp_Trsf & ) const) static_cast<gp_Ax1 (Graphic3d_CView::*)( const gp_Trsf & ) const>(&Graphic3d_CView::ViewAxisInWorld),
R"#(Returns view direction in the world space based on XR pose.)#" , py::arg("thePoseXR")
)
.def("SynchronizeXRBaseToPosedCamera",
(void (Graphic3d_CView::*)() ) static_cast<void (Graphic3d_CView::*)() >(&Graphic3d_CView::SynchronizeXRBaseToPosedCamera),
R"#(Recomputes PosedXRCamera() based on BaseXRCamera() and head orientation.)#"
)
.def("SynchronizeXRPosedToBaseCamera",
(void (Graphic3d_CView::*)() ) static_cast<void (Graphic3d_CView::*)() >(&Graphic3d_CView::SynchronizeXRPosedToBaseCamera),
R"#(Checks if PosedXRCamera() has been modified since SetupXRPosedCamera() and copies these modifications to BaseXRCamera().)#"
)
.def("ComputeXRPosedCameraFromBase",
(void (Graphic3d_CView::*)( Graphic3d_Camera & , const gp_Trsf & ) const) static_cast<void (Graphic3d_CView::*)( Graphic3d_Camera & , const gp_Trsf & ) const>(&Graphic3d_CView::ComputeXRPosedCameraFromBase),
R"#(Compute camera position based on XR pose.)#" , py::arg("theCam"), py::arg("theXRTrsf")
)
.def("ComputeXRBaseCameraFromPosed",
(void (Graphic3d_CView::*)( const Graphic3d_Camera & , const gp_Trsf & ) ) static_cast<void (Graphic3d_CView::*)( const Graphic3d_Camera & , const gp_Trsf & ) >(&Graphic3d_CView::ComputeXRBaseCameraFromPosed),
R"#(Update based camera from posed camera by applying reversed transformation.)#" , py::arg("theCamPosed"), py::arg("thePoseTrsf")
)
.def("TurnViewXRCamera",
(void (Graphic3d_CView::*)( const gp_Trsf & ) ) static_cast<void (Graphic3d_CView::*)( const gp_Trsf & ) >(&Graphic3d_CView::TurnViewXRCamera),
R"#(Turn XR camera direction using current (head) eye position as anchor.)#" , py::arg("theTrsfTurn")
)
.def("GraduatedTrihedronDisplay",
(void (Graphic3d_CView::*)( const Graphic3d_GraduatedTrihedron & ) ) static_cast<void (Graphic3d_CView::*)( const Graphic3d_GraduatedTrihedron & ) >(&Graphic3d_CView::GraduatedTrihedronDisplay),
R"#(Displays Graduated Trihedron.)#" , py::arg("theTrihedronData")
)
.def("GraduatedTrihedronErase",
(void (Graphic3d_CView::*)() ) static_cast<void (Graphic3d_CView::*)() >(&Graphic3d_CView::GraduatedTrihedronErase),
R"#(Erases Graduated Trihedron.)#"
)
.def("GraduatedTrihedronMinMaxValues",
(void (Graphic3d_CView::*)( const NCollection_Vec3<Standard_ShortReal> , const NCollection_Vec3<Standard_ShortReal> ) ) static_cast<void (Graphic3d_CView::*)( const NCollection_Vec3<Standard_ShortReal> , const NCollection_Vec3<Standard_ShortReal> ) >(&Graphic3d_CView::GraduatedTrihedronMinMaxValues),
R"#(Sets minimum and maximum points of scene bounding box for Graduated Trihedron stored in graphic view object.)#" , py::arg("theMin"), py::arg("theMax")
)
.def("DumpJson",
(void (Graphic3d_CView::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_CView::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_CView::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
.def("IsSubview",
(bool (Graphic3d_CView::*)() const) static_cast<bool (Graphic3d_CView::*)() const>(&Graphic3d_CView::IsSubview),
R"#(Return TRUE if this is a subview of another view.)#"
)
.def("ParentView",
(Graphic3d_CView * (Graphic3d_CView::*)() ) static_cast<Graphic3d_CView * (Graphic3d_CView::*)() >(&Graphic3d_CView::ParentView),
R"#(Return parent View or NULL if this is not a subview.)#"
)
.def("IsSubviewComposer",
(bool (Graphic3d_CView::*)() const) static_cast<bool (Graphic3d_CView::*)() const>(&Graphic3d_CView::IsSubviewComposer),
R"#(Return TRUE if this is view performs rendering of subviews and nothing else; FALSE by default. By default, view with subviews will render main scene and blit subviews on top of it. Rendering of main scene might become redundant in case if subviews cover entire window of parent view. This flag allows to disable rendering of the main scene in such scenarios without creation of a dedicated V3d_Viewer instance just for composing subviews.)#"
)
.def("SetSubviewComposer",
(void (Graphic3d_CView::*)( bool ) ) static_cast<void (Graphic3d_CView::*)( bool ) >(&Graphic3d_CView::SetSubviewComposer),
R"#(Set if this view should perform composing of subviews and nothing else.)#" , py::arg("theIsComposer")
)
.def("AddSubview",
(void (Graphic3d_CView::*)( const opencascade::handle<Graphic3d_CView> & ) ) static_cast<void (Graphic3d_CView::*)( const opencascade::handle<Graphic3d_CView> & ) >(&Graphic3d_CView::AddSubview),
R"#(Add subview to the list.)#" , py::arg("theView")
)
.def("RemoveSubview",
(bool (Graphic3d_CView::*)( const Graphic3d_CView * ) ) static_cast<bool (Graphic3d_CView::*)( const Graphic3d_CView * ) >(&Graphic3d_CView::RemoveSubview),
R"#(Remove subview from the list.)#" , py::arg("theView")
)
.def("SubviewCorner",
(Aspect_TypeOfTriedronPosition (Graphic3d_CView::*)() const) static_cast<Aspect_TypeOfTriedronPosition (Graphic3d_CView::*)() const>(&Graphic3d_CView::SubviewCorner),
R"#(Return subview position within parent view; Aspect_TOTP_LEFT_UPPER by default.)#"
)
.def("SetSubviewCorner",
(void (Graphic3d_CView::*)( Aspect_TypeOfTriedronPosition ) ) static_cast<void (Graphic3d_CView::*)( Aspect_TypeOfTriedronPosition ) >(&Graphic3d_CView::SetSubviewCorner),
R"#(Set subview position within parent view.)#" , py::arg("thePos")
)
.def("IsSubViewRelativeSize",
(bool (Graphic3d_CView::*)() const) static_cast<bool (Graphic3d_CView::*)() const>(&Graphic3d_CView::IsSubViewRelativeSize),
R"#(Return TRUE if subview size is set as proportions relative to parent view.)#"
)
.def("SetSubviewSize",
(void (Graphic3d_CView::*)( const NCollection_Vec2<Standard_Real> & ) ) static_cast<void (Graphic3d_CView::*)( const NCollection_Vec2<Standard_Real> & ) >(&Graphic3d_CView::SetSubviewSize),
R"#(Set subview size relative to parent view.)#" , py::arg("theSize")
)
.def("SetSubviewOffset",
(void (Graphic3d_CView::*)( const NCollection_Vec2<Standard_Real> & ) ) static_cast<void (Graphic3d_CView::*)( const NCollection_Vec2<Standard_Real> & ) >(&Graphic3d_CView::SetSubviewOffset),
R"#(Set corner offset within parent view.)#" , py::arg("theOffset")
)
.def("SetSubviewMargins",
(void (Graphic3d_CView::*)( const NCollection_Vec2<Standard_Integer> & ) ) static_cast<void (Graphic3d_CView::*)( const NCollection_Vec2<Standard_Integer> & ) >(&Graphic3d_CView::SetSubviewMargins),
R"#(Set subview margins in pixels.)#" , py::arg("theMargins")
)
.def("SubviewResized",
(void (Graphic3d_CView::*)( const opencascade::handle<Aspect_NeutralWindow> & ) ) static_cast<void (Graphic3d_CView::*)( const opencascade::handle<Aspect_NeutralWindow> & ) >(&Graphic3d_CView::SubviewResized),
R"#(Update subview position and dimensions.)#" , py::arg("theWindow")
)
// methods using call by reference i.s.o. return
.def("FBORelease",
[]( Graphic3d_CView &self , Standard_Transient& theFbo ){
opencascade::handle<Standard_Transient> theFbo_ptr; theFbo_ptr = &theFbo;
self.FBORelease(theFbo_ptr);
if ( theFbo_ptr.get() != &theFbo ) copy_if_copy_constructible(theFbo, *theFbo_ptr);
return std::make_tuple(); },
R"#(Remove offscreen FBO from the graphic library)#" , py::arg("theFbo")
)
.def("FBOGetDimensions",
[]( Graphic3d_CView &self , const opencascade::handle<Standard_Transient> & theFbo ){
Standard_Integer theWidth;
Standard_Integer theHeight;
Standard_Integer theWidthMax;
Standard_Integer theHeightMax;
self.FBOGetDimensions(theFbo,theWidth,theHeight,theWidthMax,theHeightMax);
return std::make_tuple(theWidth,theHeight,theWidthMax,theHeightMax); },
R"#(Read offscreen FBO configuration.)#" , py::arg("theFbo")
)
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_CView::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_CView::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_CView::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_CView::*)() const>(&Graphic3d_CView::DynamicType),
R"#(None)#"
)
.def("Camera",
(const opencascade::handle<Graphic3d_Camera> & (Graphic3d_CView::*)() const) static_cast<const opencascade::handle<Graphic3d_Camera> & (Graphic3d_CView::*)() const>(&Graphic3d_CView::Camera),
R"#(Returns camera object of the view.)#"
)
.def("StructureManager",
(const opencascade::handle<Graphic3d_StructureManager> & (Graphic3d_CView::*)() const) static_cast<const opencascade::handle<Graphic3d_StructureManager> & (Graphic3d_CView::*)() const>(&Graphic3d_CView::StructureManager),
R"#(Returns the structure manager handle which manage structures associated with this view.)#"
)
.def("RenderingParams",
(const Graphic3d_RenderingParams & (Graphic3d_CView::*)() const) static_cast<const Graphic3d_RenderingParams & (Graphic3d_CView::*)() const>(&Graphic3d_CView::RenderingParams),
R"#(Returns current rendering parameters and effect settings.)#"
)
.def("ChangeRenderingParams",
(Graphic3d_RenderingParams & (Graphic3d_CView::*)() ) static_cast<Graphic3d_RenderingParams & (Graphic3d_CView::*)() >(&Graphic3d_CView::ChangeRenderingParams),
R"#(Returns reference to current rendering parameters and effect settings.)#"
, py::return_value_policy::reference_internal
)
.def("BackgroundImage",
(const opencascade::handle<Graphic3d_TextureMap> & (Graphic3d_CView::*)() ) static_cast<const opencascade::handle<Graphic3d_TextureMap> & (Graphic3d_CView::*)() >(&Graphic3d_CView::BackgroundImage),
R"#(Returns background image texture map.)#"
)
.def("BackgroundCubeMap",
(const opencascade::handle<Graphic3d_CubeMap> & (Graphic3d_CView::*)() const) static_cast<const opencascade::handle<Graphic3d_CubeMap> & (Graphic3d_CView::*)() const>(&Graphic3d_CView::BackgroundCubeMap),
R"#(Returns cubemap being set last time on background.)#"
)
.def("IBLCubeMap",
(const opencascade::handle<Graphic3d_CubeMap> & (Graphic3d_CView::*)() const) static_cast<const opencascade::handle<Graphic3d_CubeMap> & (Graphic3d_CView::*)() const>(&Graphic3d_CView::IBLCubeMap),
R"#(Returns cubemap being set last time on background.)#"
)
.def("BackgroundSkydome",
(const Aspect_SkydomeBackground & (Graphic3d_CView::*)() const) static_cast<const Aspect_SkydomeBackground & (Graphic3d_CView::*)() const>(&Graphic3d_CView::BackgroundSkydome),
R"#(Returns skydome aspect;)#"
)
.def("TextureEnv",
(const opencascade::handle<Graphic3d_TextureEnv> & (Graphic3d_CView::*)() const) static_cast<const opencascade::handle<Graphic3d_TextureEnv> & (Graphic3d_CView::*)() const>(&Graphic3d_CView::TextureEnv),
R"#(Returns environment texture set for the view.)#"
)
.def("XRSession",
(const opencascade::handle<Aspect_XRSession> & (Graphic3d_CView::*)() const) static_cast<const opencascade::handle<Aspect_XRSession> & (Graphic3d_CView::*)() const>(&Graphic3d_CView::XRSession),
R"#(Return XR session.)#"
)
.def("PosedXRCamera",
(const opencascade::handle<Graphic3d_Camera> & (Graphic3d_CView::*)() const) static_cast<const opencascade::handle<Graphic3d_Camera> & (Graphic3d_CView::*)() const>(&Graphic3d_CView::PosedXRCamera),
R"#(Returns transient XR camera position with tracked head orientation applied.)#"
)
.def("BaseXRCamera",
(const opencascade::handle<Graphic3d_Camera> & (Graphic3d_CView::*)() const) static_cast<const opencascade::handle<Graphic3d_Camera> & (Graphic3d_CView::*)() const>(&Graphic3d_CView::BaseXRCamera),
R"#(Returns anchor camera definition (without tracked head orientation).)#"
)
.def("GetGraduatedTrihedron",
(const Graphic3d_GraduatedTrihedron & (Graphic3d_CView::*)() ) static_cast<const Graphic3d_GraduatedTrihedron & (Graphic3d_CView::*)() >(&Graphic3d_CView::GetGraduatedTrihedron),
R"#(Returns data of a graduated trihedron)#"
)
.def("Subviews",
(const NCollection_Sequence<opencascade::handle<Graphic3d_CView>> & (Graphic3d_CView::*)() const) static_cast<const NCollection_Sequence<opencascade::handle<Graphic3d_CView>> & (Graphic3d_CView::*)() const>(&Graphic3d_CView::Subviews),
R"#(Return subview list.)#"
)
.def("SubviewTopLeft",
(const Graphic3d_Vec2i & (Graphic3d_CView::*)() const) static_cast<const Graphic3d_Vec2i & (Graphic3d_CView::*)() const>(&Graphic3d_CView::SubviewTopLeft),
R"#(Return subview top-left position relative to parent view in pixels.)#"
)
.def("SubviewSize",
(const Graphic3d_Vec2d & (Graphic3d_CView::*)() const) static_cast<const Graphic3d_Vec2d & (Graphic3d_CView::*)() const>(&Graphic3d_CView::SubviewSize),
R"#(Return subview dimensions; (1.0, 1.0) by default. Values >= 2 define size in pixels; Values <= 1.0 define size as fraction of parent view.)#"
)
.def("SubviewOffset",
(const Graphic3d_Vec2d & (Graphic3d_CView::*)() const) static_cast<const Graphic3d_Vec2d & (Graphic3d_CView::*)() const>(&Graphic3d_CView::SubviewOffset),
R"#(Return corner offset within parent view; (0.0,0.0) by default. Values >= 2 define offset in pixels; Values <= 1.0 define offset as fraction of parent view dimensions.)#"
)
.def("SubviewMargins",
(const Graphic3d_Vec2i & (Graphic3d_CView::*)() const) static_cast<const Graphic3d_Vec2i & (Graphic3d_CView::*)() const>(&Graphic3d_CView::SubviewMargins),
R"#(Return subview margins in pixels; (0,0) by default)#"
)
;
// Class Graphic3d_FrameStatsDataTmp from ./opencascade/Graphic3d_FrameStatsData.hxx
klass = m.attr("Graphic3d_FrameStatsDataTmp");
// nested enums
static_cast<py::class_<Graphic3d_FrameStatsDataTmp , shared_ptr<Graphic3d_FrameStatsDataTmp> , Graphic3d_FrameStatsData >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("FlushTimers",
(void (Graphic3d_FrameStatsDataTmp::*)( Standard_Size , bool ) ) static_cast<void (Graphic3d_FrameStatsDataTmp::*)( Standard_Size , bool ) >(&Graphic3d_FrameStatsDataTmp::FlushTimers),
R"#(Compute average data considering the amount of rendered frames.)#" , py::arg("theNbFrames"), py::arg("theIsFinal")
)
.def("Reset",
(void (Graphic3d_FrameStatsDataTmp::*)() ) static_cast<void (Graphic3d_FrameStatsDataTmp::*)() >(&Graphic3d_FrameStatsDataTmp::Reset),
R"#(Reset data.)#"
)
.def("ChangeTimer",
(OSD_Timer & (Graphic3d_FrameStatsDataTmp::*)( Graphic3d_FrameStatsTimer ) ) static_cast<OSD_Timer & (Graphic3d_FrameStatsDataTmp::*)( Graphic3d_FrameStatsTimer ) >(&Graphic3d_FrameStatsDataTmp::ChangeTimer),
R"#(Return a timer object for time measurements.)#" , py::arg("theTimer")
)
.def("ChangeCounterValue",
(Standard_Size & (Graphic3d_FrameStatsDataTmp::*)( Graphic3d_FrameStatsCounter ) ) static_cast<Standard_Size & (Graphic3d_FrameStatsDataTmp::*)( Graphic3d_FrameStatsCounter ) >(&Graphic3d_FrameStatsDataTmp::ChangeCounterValue),
R"#(Get counter value.)#" , py::arg("theIndex")
)
.def("ChangeTimerValue",
(Standard_Real & (Graphic3d_FrameStatsDataTmp::*)( Graphic3d_FrameStatsTimer ) ) static_cast<Standard_Real & (Graphic3d_FrameStatsDataTmp::*)( Graphic3d_FrameStatsTimer ) >(&Graphic3d_FrameStatsDataTmp::ChangeTimerValue),
R"#(Modify timer value.)#" , py::arg("theIndex")
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def_property("ChangeFrameRate",
[](Graphic3d_FrameStatsDataTmp& self){return self.ChangeFrameRate();} ,
[](Graphic3d_FrameStatsDataTmp& self, Standard_Real val){self.ChangeFrameRate() = val;}, R"#(Returns FPS (frames per seconds, elapsed time).)#"
)
.def_property("ChangeFrameRateCpu",
[](Graphic3d_FrameStatsDataTmp& self){return self.ChangeFrameRateCpu();} ,
[](Graphic3d_FrameStatsDataTmp& self, Standard_Real val){self.ChangeFrameRateCpu() = val;}, R"#(Returns CPU FPS (frames per seconds, CPU time).)#"
)
.def_property("ChangeImmediateFrameRate",
[](Graphic3d_FrameStatsDataTmp& self){return self.ChangeImmediateFrameRate();} ,
[](Graphic3d_FrameStatsDataTmp& self, Standard_Real val){self.ChangeImmediateFrameRate() = val;}, R"#(Returns FPS for immediate redraws.)#"
)
.def_property("ChangeImmediateFrameRateCpu",
[](Graphic3d_FrameStatsDataTmp& self){return self.ChangeImmediateFrameRateCpu();} ,
[](Graphic3d_FrameStatsDataTmp& self, Standard_Real val){self.ChangeImmediateFrameRateCpu() = val;}, R"#(Returns CPU FPS for immediate redraws.)#"
)
;
// Class Graphic3d_IndexBuffer from ./opencascade/Graphic3d_IndexBuffer.hxx
klass = m.attr("Graphic3d_IndexBuffer");
// nested enums
static_cast<py::class_<Graphic3d_IndexBuffer ,opencascade::handle<Graphic3d_IndexBuffer> , Graphic3d_Buffer >>(klass)
// constructors
.def(py::init< const opencascade::handle<NCollection_BaseAllocator> & >() , py::arg("theAlloc") )
// custom constructors
// methods
.def("InitInt32",
(bool (Graphic3d_IndexBuffer::*)( const Standard_Integer ) ) static_cast<bool (Graphic3d_IndexBuffer::*)( const Standard_Integer ) >(&Graphic3d_IndexBuffer::InitInt32),
R"#(Allocates new empty index array)#" , py::arg("theNbElems")
)
.def("Index",
(Standard_Integer (Graphic3d_IndexBuffer::*)( const Standard_Integer ) const) static_cast<Standard_Integer (Graphic3d_IndexBuffer::*)( const Standard_Integer ) const>(&Graphic3d_IndexBuffer::Index),
R"#(Access index at specified position)#" , py::arg("theIndex")
)
.def("SetIndex",
(void (Graphic3d_IndexBuffer::*)( const Standard_Integer , const Standard_Integer ) ) static_cast<void (Graphic3d_IndexBuffer::*)( const Standard_Integer , const Standard_Integer ) >(&Graphic3d_IndexBuffer::SetIndex),
R"#(Change index at specified position)#" , py::arg("theIndex"), py::arg("theValue")
)
.def("DumpJson",
(void (Graphic3d_IndexBuffer::*)( std::ostream & , Standard_Integer ) const) static_cast<void (Graphic3d_IndexBuffer::*)( std::ostream & , Standard_Integer ) const>(&Graphic3d_IndexBuffer::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_IndexBuffer::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_IndexBuffer::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_IndexBuffer::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_IndexBuffer::*)() const>(&Graphic3d_IndexBuffer::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_MediaTextureSet from ./opencascade/Graphic3d_MediaTextureSet.hxx
klass = m.attr("Graphic3d_MediaTextureSet");
// nested enums
static_cast<py::class_<Graphic3d_MediaTextureSet ,opencascade::handle<Graphic3d_MediaTextureSet> , Graphic3d_TextureSet >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("SetCallback",
(void (Graphic3d_MediaTextureSet::*)( Graphic3d_MediaTextureSet::CallbackOnUpdate_t , void * ) ) static_cast<void (Graphic3d_MediaTextureSet::*)( Graphic3d_MediaTextureSet::CallbackOnUpdate_t , void * ) >(&Graphic3d_MediaTextureSet::SetCallback),
R"#(Setup callback to be called on queue progress (e.g. when new frame should be displayed).)#" , py::arg("theCallbackFunction"), py::arg("theCallbackUserPtr")
)
.def("Notify",
(void (Graphic3d_MediaTextureSet::*)() ) static_cast<void (Graphic3d_MediaTextureSet::*)() >(&Graphic3d_MediaTextureSet::Notify),
R"#(Call callback.)#"
)
.def("OpenInput",
(void (Graphic3d_MediaTextureSet::*)( const TCollection_AsciiString & , Standard_Boolean ) ) static_cast<void (Graphic3d_MediaTextureSet::*)( const TCollection_AsciiString & , Standard_Boolean ) >(&Graphic3d_MediaTextureSet::OpenInput),
R"#(Open specified file. Passing an empty path would close current input.)#" , py::arg("thePath"), py::arg("theToWait")
)
.def("SwapFrames",
(Standard_Boolean (Graphic3d_MediaTextureSet::*)() ) static_cast<Standard_Boolean (Graphic3d_MediaTextureSet::*)() >(&Graphic3d_MediaTextureSet::SwapFrames),
R"#(Swap front/back frames.)#"
)
.def("FrameSize",
(Graphic3d_Vec2i (Graphic3d_MediaTextureSet::*)() const) static_cast<Graphic3d_Vec2i (Graphic3d_MediaTextureSet::*)() const>(&Graphic3d_MediaTextureSet::FrameSize),
R"#(Return front frame dimensions.)#"
)
.def("ShaderProgram",
(opencascade::handle<Graphic3d_ShaderProgram> (Graphic3d_MediaTextureSet::*)() const) static_cast<opencascade::handle<Graphic3d_ShaderProgram> (Graphic3d_MediaTextureSet::*)() const>(&Graphic3d_MediaTextureSet::ShaderProgram),
R"#(Return shader program for displaying texture set.)#"
)
.def("IsPlanarYUV",
(Standard_Boolean (Graphic3d_MediaTextureSet::*)() const) static_cast<Standard_Boolean (Graphic3d_MediaTextureSet::*)() const>(&Graphic3d_MediaTextureSet::IsPlanarYUV),
R"#(Return TRUE if texture set defined 3 YUV planes.)#"
)
.def("IsFullRangeYUV",
(Standard_Boolean (Graphic3d_MediaTextureSet::*)() const) static_cast<Standard_Boolean (Graphic3d_MediaTextureSet::*)() const>(&Graphic3d_MediaTextureSet::IsFullRangeYUV),
R"#(Return TRUE if YUV range is full.)#"
)
.def("Duration",
(double (Graphic3d_MediaTextureSet::*)() const) static_cast<double (Graphic3d_MediaTextureSet::*)() const>(&Graphic3d_MediaTextureSet::Duration),
R"#(Return duration in seconds.)#"
)
.def("Progress",
(double (Graphic3d_MediaTextureSet::*)() const) static_cast<double (Graphic3d_MediaTextureSet::*)() const>(&Graphic3d_MediaTextureSet::Progress),
R"#(Return playback progress in seconds.)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_MediaTextureSet::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_MediaTextureSet::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_MediaTextureSet::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_MediaTextureSet::*)() const>(&Graphic3d_MediaTextureSet::DynamicType),
R"#(None)#"
)
.def("Input",
(const TCollection_AsciiString & (Graphic3d_MediaTextureSet::*)() const) static_cast<const TCollection_AsciiString & (Graphic3d_MediaTextureSet::*)() const>(&Graphic3d_MediaTextureSet::Input),
R"#(Return input media.)#"
)
.def("PlayerContext",
(const opencascade::handle<Media_PlayerContext> & (Graphic3d_MediaTextureSet::*)() const) static_cast<const opencascade::handle<Media_PlayerContext> & (Graphic3d_MediaTextureSet::*)() const>(&Graphic3d_MediaTextureSet::PlayerContext),
R"#(Return player context; it can be NULL until first OpenInput().)#"
)
;
// Class Graphic3d_TextureEnv from ./opencascade/Graphic3d_TextureEnv.hxx
klass = m.attr("Graphic3d_TextureEnv");
// nested enums
static_cast<py::class_<Graphic3d_TextureEnv ,opencascade::handle<Graphic3d_TextureEnv> , Graphic3d_TextureRoot >>(klass)
// constructors
.def(py::init< const TCollection_AsciiString & >() , py::arg("theFileName") )
.def(py::init< const Graphic3d_NameOfTextureEnv >() , py::arg("theName") )
.def(py::init< const opencascade::handle<Image_PixMap> & >() , py::arg("thePixMap") )
// custom constructors
// methods
.def("Name",
(Graphic3d_NameOfTextureEnv (Graphic3d_TextureEnv::*)() const) static_cast<Graphic3d_NameOfTextureEnv (Graphic3d_TextureEnv::*)() const>(&Graphic3d_TextureEnv::Name),
R"#(Returns the name of the predefined textures or NOT_ENV_UNKNOWN when the name is given as a filename.)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("NumberOfTextures_s",
(Standard_Integer (*)() ) static_cast<Standard_Integer (*)() >(&Graphic3d_TextureEnv::NumberOfTextures),
R"#(Returns the number of predefined textures.)#"
)
.def_static("TextureName_s",
(TCollection_AsciiString (*)( const Standard_Integer ) ) static_cast<TCollection_AsciiString (*)( const Standard_Integer ) >(&Graphic3d_TextureEnv::TextureName),
R"#(Returns the name of the predefined texture of rank <aRank>)#" , py::arg("theRank")
)
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_TextureEnv::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_TextureEnv::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_TextureEnv::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_TextureEnv::*)() const>(&Graphic3d_TextureEnv::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_TextureMap from ./opencascade/Graphic3d_TextureMap.hxx
klass = m.attr("Graphic3d_TextureMap");
// nested enums
static_cast<py::class_<Graphic3d_TextureMap ,opencascade::handle<Graphic3d_TextureMap> , Graphic3d_TextureRoot >>(klass)
// constructors
// custom constructors
// methods
.def("EnableSmooth",
(void (Graphic3d_TextureMap::*)() ) static_cast<void (Graphic3d_TextureMap::*)() >(&Graphic3d_TextureMap::EnableSmooth),
R"#(enable texture smoothing)#"
)
.def("IsSmoothed",
(Standard_Boolean (Graphic3d_TextureMap::*)() const) static_cast<Standard_Boolean (Graphic3d_TextureMap::*)() const>(&Graphic3d_TextureMap::IsSmoothed),
R"#(Returns TRUE if the texture is smoothed.)#"
)
.def("DisableSmooth",
(void (Graphic3d_TextureMap::*)() ) static_cast<void (Graphic3d_TextureMap::*)() >(&Graphic3d_TextureMap::DisableSmooth),
R"#(disable texture smoothing)#"
)
.def("EnableModulate",
(void (Graphic3d_TextureMap::*)() ) static_cast<void (Graphic3d_TextureMap::*)() >(&Graphic3d_TextureMap::EnableModulate),
R"#(enable texture modulate mode. the image is modulate with the shading of the surface.)#"
)
.def("DisableModulate",
(void (Graphic3d_TextureMap::*)() ) static_cast<void (Graphic3d_TextureMap::*)() >(&Graphic3d_TextureMap::DisableModulate),
R"#(disable texture modulate mode. the image is directly decal on the surface.)#"
)
.def("IsModulate",
(Standard_Boolean (Graphic3d_TextureMap::*)() const) static_cast<Standard_Boolean (Graphic3d_TextureMap::*)() const>(&Graphic3d_TextureMap::IsModulate),
R"#(Returns TRUE if the texture is modulate.)#"
)
.def("EnableRepeat",
(void (Graphic3d_TextureMap::*)() ) static_cast<void (Graphic3d_TextureMap::*)() >(&Graphic3d_TextureMap::EnableRepeat),
R"#(use this methods if you want to enable texture repetition on your objects.)#"
)
.def("DisableRepeat",
(void (Graphic3d_TextureMap::*)() ) static_cast<void (Graphic3d_TextureMap::*)() >(&Graphic3d_TextureMap::DisableRepeat),
R"#(use this methods if you want to disable texture repetition on your objects.)#"
)
.def("IsRepeat",
(Standard_Boolean (Graphic3d_TextureMap::*)() const) static_cast<Standard_Boolean (Graphic3d_TextureMap::*)() const>(&Graphic3d_TextureMap::IsRepeat),
R"#(Returns TRUE if the texture repeat is enable.)#"
)
.def("AnisoFilter",
(Graphic3d_LevelOfTextureAnisotropy (Graphic3d_TextureMap::*)() const) static_cast<Graphic3d_LevelOfTextureAnisotropy (Graphic3d_TextureMap::*)() const>(&Graphic3d_TextureMap::AnisoFilter),
R"#(Returns level of anisotropy texture filter. Default value is Graphic3d_LOTA_OFF.)#"
)
.def("SetAnisoFilter",
(void (Graphic3d_TextureMap::*)( const Graphic3d_LevelOfTextureAnisotropy ) ) static_cast<void (Graphic3d_TextureMap::*)( const Graphic3d_LevelOfTextureAnisotropy ) >(&Graphic3d_TextureMap::SetAnisoFilter),
R"#()#" , py::arg("theLevel")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_TextureMap::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_TextureMap::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_TextureMap::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_TextureMap::*)() const>(&Graphic3d_TextureMap::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_TransformPersScaledAbove from ./opencascade/Graphic3d_TransformPersScaledAbove.hxx
klass = m.attr("Graphic3d_TransformPersScaledAbove");
// nested enums
static_cast<py::class_<Graphic3d_TransformPersScaledAbove ,opencascade::handle<Graphic3d_TransformPersScaledAbove> , Graphic3d_TransformPers >>(klass)
// constructors
.def(py::init< const Standard_Real,const gp_Pnt & >() , py::arg("theScale"), py::arg("thePnt") )
// custom constructors
// methods
.def("persistentScale",
(Standard_Real (Graphic3d_TransformPersScaledAbove::*)( const opencascade::handle<Graphic3d_Camera> & , const Standard_Integer , const Standard_Integer ) const) static_cast<Standard_Real (Graphic3d_TransformPersScaledAbove::*)( const opencascade::handle<Graphic3d_Camera> & , const Standard_Integer , const Standard_Integer ) const>(&Graphic3d_TransformPersScaledAbove::persistentScale),
R"#(Find scale value based on the camera position and view dimensions If the camera scale value less than the persistence scale, zoom persistence is not applied.)#" , py::arg("theCamera"), py::arg("theViewportWidth"), py::arg("theViewportHeight")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_TransformPersScaledAbove::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_TransformPersScaledAbove::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_TransformPersScaledAbove::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_TransformPersScaledAbove::*)() const>(&Graphic3d_TransformPersScaledAbove::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_CubeMap from ./opencascade/Graphic3d_CubeMap.hxx
klass = m.attr("Graphic3d_CubeMap");
// nested enums
static_cast<py::class_<Graphic3d_CubeMap ,opencascade::handle<Graphic3d_CubeMap> ,Py_Graphic3d_CubeMap , Graphic3d_TextureMap >>(klass)
// constructors
.def(py::init< const TCollection_AsciiString &,Standard_Boolean >() , py::arg("theFileName"), py::arg("theToGenerateMipmaps")=static_cast<Standard_Boolean>(Standard_False) )
.def(py::init< const opencascade::handle<Image_PixMap> &,Standard_Boolean >() , py::arg("thePixmap")=static_cast<const opencascade::handle<Image_PixMap> &>(Handle ( Image_PixMap ) ( )), py::arg("theToGenerateMipmaps")=static_cast<Standard_Boolean>(Standard_False) )
// custom constructors
// methods
.def("More",
(Standard_Boolean (Graphic3d_CubeMap::*)() const) static_cast<Standard_Boolean (Graphic3d_CubeMap::*)() const>(&Graphic3d_CubeMap::More),
R"#(Returns whether the iterator has reached the end (true if it hasn't).)#"
)
.def("CurrentSide",
(Graphic3d_CubeMapSide (Graphic3d_CubeMap::*)() const) static_cast<Graphic3d_CubeMapSide (Graphic3d_CubeMap::*)() const>(&Graphic3d_CubeMap::CurrentSide),
R"#(Returns current cubemap side (iterator state).)#"
)
.def("Next",
(void (Graphic3d_CubeMap::*)() ) static_cast<void (Graphic3d_CubeMap::*)() >(&Graphic3d_CubeMap::Next),
R"#(Moves iterator to the next cubemap side. Uses OpenGL cubemap sides order +X -> -X -> +Y -> -Y -> +Z -> -Z.)#"
)
.def("SetZInversion",
(void (Graphic3d_CubeMap::*)( Standard_Boolean ) ) static_cast<void (Graphic3d_CubeMap::*)( Standard_Boolean ) >(&Graphic3d_CubeMap::SetZInversion),
R"#(Sets Z axis inversion (vertical flipping).)#" , py::arg("theZIsInverted")
)
.def("ZIsInverted",
(Standard_Boolean (Graphic3d_CubeMap::*)() const) static_cast<Standard_Boolean (Graphic3d_CubeMap::*)() const>(&Graphic3d_CubeMap::ZIsInverted),
R"#(Returns whether Z axis is inverted.)#"
)
.def("HasMipmaps",
(Standard_Boolean (Graphic3d_CubeMap::*)() const) static_cast<Standard_Boolean (Graphic3d_CubeMap::*)() const>(&Graphic3d_CubeMap::HasMipmaps),
R"#(Returns whether mipmaps of cubemap will be generated or not.)#"
)
.def("SetMipmapsGeneration",
(void (Graphic3d_CubeMap::*)( Standard_Boolean ) ) static_cast<void (Graphic3d_CubeMap::*)( Standard_Boolean ) >(&Graphic3d_CubeMap::SetMipmapsGeneration),
R"#(Sets whether to generate mipmaps of cubemap or not.)#" , py::arg("theToGenerateMipmaps")
)
.def("CompressedValue",
(opencascade::handle<Image_CompressedPixMap> (Graphic3d_CubeMap::*)( const opencascade::handle<Image_SupportedFormats> & ) ) static_cast<opencascade::handle<Image_CompressedPixMap> (Graphic3d_CubeMap::*)( const opencascade::handle<Image_SupportedFormats> & ) >(&Graphic3d_CubeMap::CompressedValue),
R"#(Returns current cubemap side as compressed PixMap. Returns null handle if current side is invalid or if image is not in supported compressed format.)#" , py::arg("theSupported")
)
.def("Value",
(opencascade::handle<Image_PixMap> (Graphic3d_CubeMap::*)( const opencascade::handle<Image_SupportedFormats> & ) ) static_cast<opencascade::handle<Image_PixMap> (Graphic3d_CubeMap::*)( const opencascade::handle<Image_SupportedFormats> & ) >(&Graphic3d_CubeMap::Value),
R"#(Returns PixMap containing current side of cubemap. Returns null handle if current side is invalid.)#" , py::arg("theSupported")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_CubeMap::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_CubeMap::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_CubeMap::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_CubeMap::*)() const>(&Graphic3d_CubeMap::DynamicType),
R"#(None)#"
)
.def("Reset",
(Graphic3d_CubeMap & (Graphic3d_CubeMap::*)() ) static_cast<Graphic3d_CubeMap & (Graphic3d_CubeMap::*)() >(&Graphic3d_CubeMap::Reset),
R"#(Sets iterator state to +X cubemap side.)#"
, py::return_value_policy::reference_internal
)
;
// Class Graphic3d_MutableIndexBuffer from ./opencascade/Graphic3d_MutableIndexBuffer.hxx
klass = m.attr("Graphic3d_MutableIndexBuffer");
// nested enums
static_cast<py::class_<Graphic3d_MutableIndexBuffer ,opencascade::handle<Graphic3d_MutableIndexBuffer> , Graphic3d_IndexBuffer >>(klass)
// constructors
.def(py::init< const opencascade::handle<NCollection_BaseAllocator> & >() , py::arg("theAlloc") )
// custom constructors
// methods
.def("IsMutable",
(Standard_Boolean (Graphic3d_MutableIndexBuffer::*)() const) static_cast<Standard_Boolean (Graphic3d_MutableIndexBuffer::*)() const>(&Graphic3d_MutableIndexBuffer::IsMutable),
R"#(Return TRUE if data can be invalidated.)#"
)
.def("InvalidatedRange",
(Graphic3d_BufferRange (Graphic3d_MutableIndexBuffer::*)() const) static_cast<Graphic3d_BufferRange (Graphic3d_MutableIndexBuffer::*)() const>(&Graphic3d_MutableIndexBuffer::InvalidatedRange),
R"#(Return invalidated range.)#"
)
.def("Validate",
(void (Graphic3d_MutableIndexBuffer::*)() ) static_cast<void (Graphic3d_MutableIndexBuffer::*)() >(&Graphic3d_MutableIndexBuffer::Validate),
R"#(Reset invalidated range.)#"
)
.def("Invalidate",
(void (Graphic3d_MutableIndexBuffer::*)() ) static_cast<void (Graphic3d_MutableIndexBuffer::*)() >(&Graphic3d_MutableIndexBuffer::Invalidate),
R"#(Invalidate the entire buffer data.)#"
)
.def("Invalidate",
(void (Graphic3d_MutableIndexBuffer::*)( Standard_Integer , Standard_Integer ) ) static_cast<void (Graphic3d_MutableIndexBuffer::*)( Standard_Integer , Standard_Integer ) >(&Graphic3d_MutableIndexBuffer::Invalidate),
R"#(Invalidate the given indexes (starting from 0))#" , py::arg("theIndexLower"), py::arg("theIndexUpper")
)
.def("invalidate",
(void (Graphic3d_MutableIndexBuffer::*)( const Graphic3d_BufferRange & ) ) static_cast<void (Graphic3d_MutableIndexBuffer::*)( const Graphic3d_BufferRange & ) >(&Graphic3d_MutableIndexBuffer::invalidate),
R"#(Invalidate specified sub-range of data (as byte offsets).)#" , py::arg("theRange")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_MutableIndexBuffer::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_MutableIndexBuffer::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_MutableIndexBuffer::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_MutableIndexBuffer::*)() const>(&Graphic3d_MutableIndexBuffer::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_Texture1D from ./opencascade/Graphic3d_Texture1D.hxx
klass = m.attr("Graphic3d_Texture1D");
// nested enums
static_cast<py::class_<Graphic3d_Texture1D ,opencascade::handle<Graphic3d_Texture1D> , Graphic3d_TextureMap >>(klass)
// constructors
// custom constructors
// methods
.def("Name",
(Graphic3d_NameOfTexture1D (Graphic3d_Texture1D::*)() const) static_cast<Graphic3d_NameOfTexture1D (Graphic3d_Texture1D::*)() const>(&Graphic3d_Texture1D::Name),
R"#(Returns the name of the predefined textures or NOT_1D_UNKNOWN when the name is given as a filename.)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("NumberOfTextures_s",
(Standard_Integer (*)() ) static_cast<Standard_Integer (*)() >(&Graphic3d_Texture1D::NumberOfTextures),
R"#(Returns the number of predefined textures.)#"
)
.def_static("TextureName_s",
(TCollection_AsciiString (*)( const Standard_Integer ) ) static_cast<TCollection_AsciiString (*)( const Standard_Integer ) >(&Graphic3d_Texture1D::TextureName),
R"#(Returns the name of the predefined texture of rank <aRank>)#" , py::arg("aRank")
)
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_Texture1D::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_Texture1D::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_Texture1D::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_Texture1D::*)() const>(&Graphic3d_Texture1D::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_Texture2D from ./opencascade/Graphic3d_Texture2D.hxx
klass = m.attr("Graphic3d_Texture2D");
// nested enums
static_cast<py::class_<Graphic3d_Texture2D ,opencascade::handle<Graphic3d_Texture2D> , Graphic3d_TextureMap >>(klass)
// constructors
.def(py::init< const TCollection_AsciiString & >() , py::arg("theFileName") )
.def(py::init< const Graphic3d_NameOfTexture2D >() , py::arg("theNOT") )
.def(py::init< const opencascade::handle<Image_PixMap> & >() , py::arg("thePixMap") )
// custom constructors
// methods
.def("Name",
(Graphic3d_NameOfTexture2D (Graphic3d_Texture2D::*)() const) static_cast<Graphic3d_NameOfTexture2D (Graphic3d_Texture2D::*)() const>(&Graphic3d_Texture2D::Name),
R"#(Returns the name of the predefined textures or NOT_2D_UNKNOWN when the name is given as a filename.)#"
)
.def("SetImage",
(void (Graphic3d_Texture2D::*)( const opencascade::handle<Image_PixMap> & ) ) static_cast<void (Graphic3d_Texture2D::*)( const opencascade::handle<Image_PixMap> & ) >(&Graphic3d_Texture2D::SetImage),
R"#(Assign new image to the texture. Note that this method does not invalidate already uploaded resources - consider calling ::UpdateRevision() if needed.)#" , py::arg("thePixMap")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_Texture2D::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_Texture2D::get_type_descriptor),
R"#(None)#"
)
.def_static("NumberOfTextures_s",
(Standard_Integer (*)() ) static_cast<Standard_Integer (*)() >(&Graphic3d_Texture2D::NumberOfTextures),
R"#(Returns the number of predefined textures.)#"
)
.def_static("TextureName_s",
(TCollection_AsciiString (*)( const Standard_Integer ) ) static_cast<TCollection_AsciiString (*)( const Standard_Integer ) >(&Graphic3d_Texture2D::TextureName),
R"#(Returns the name of the predefined texture of rank <aRank>)#" , py::arg("theRank")
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_Texture2D::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_Texture2D::*)() const>(&Graphic3d_Texture2D::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_Texture3D from ./opencascade/Graphic3d_Texture3D.hxx
klass = m.attr("Graphic3d_Texture3D");
// nested enums
static_cast<py::class_<Graphic3d_Texture3D ,opencascade::handle<Graphic3d_Texture3D> , Graphic3d_TextureMap >>(klass)
// constructors
.def(py::init< const TCollection_AsciiString & >() , py::arg("theFileName") )
.def(py::init< const opencascade::handle<Image_PixMap> & >() , py::arg("thePixMap") )
.def(py::init< const NCollection_Array1<TCollection_AsciiString> & >() , py::arg("theFiles") )
// custom constructors
// methods
.def("SetImage",
(void (Graphic3d_Texture3D::*)( const opencascade::handle<Image_PixMap> & ) ) static_cast<void (Graphic3d_Texture3D::*)( const opencascade::handle<Image_PixMap> & ) >(&Graphic3d_Texture3D::SetImage),
R"#(Assign new image to the texture. Note that this method does not invalidate already uploaded resources - consider calling ::UpdateRevision() if needed.)#" , py::arg("thePixMap")
)
.def("GetImage",
(opencascade::handle<Image_PixMap> (Graphic3d_Texture3D::*)( const opencascade::handle<Image_SupportedFormats> & ) ) static_cast<opencascade::handle<Image_PixMap> (Graphic3d_Texture3D::*)( const opencascade::handle<Image_SupportedFormats> & ) >(&Graphic3d_Texture3D::GetImage),
R"#(Load and return image.)#" , py::arg("theSupported")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_Texture3D::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_Texture3D::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_Texture3D::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_Texture3D::*)() const>(&Graphic3d_Texture3D::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_CubeMapPacked from ./opencascade/Graphic3d_CubeMapPacked.hxx
klass = m.attr("Graphic3d_CubeMapPacked");
// nested enums
static_cast<py::class_<Graphic3d_CubeMapPacked ,opencascade::handle<Graphic3d_CubeMapPacked> , Graphic3d_CubeMap >>(klass)
// constructors
.def(py::init< const TCollection_AsciiString &,const Graphic3d_ValidatedCubeMapOrder & >() , py::arg("theFileName"), py::arg("theOrder")=static_cast<const Graphic3d_ValidatedCubeMapOrder &>(Graphic3d_CubeMapOrder :: Default ( )) )
.def(py::init< const opencascade::handle<Image_PixMap> &,const Graphic3d_ValidatedCubeMapOrder & >() , py::arg("theImage"), py::arg("theOrder")=static_cast<const Graphic3d_ValidatedCubeMapOrder &>(Graphic3d_CubeMapOrder :: Default ( )) )
// custom constructors
// methods
.def("CompressedValue",
(opencascade::handle<Image_CompressedPixMap> (Graphic3d_CubeMapPacked::*)( const opencascade::handle<Image_SupportedFormats> & ) ) static_cast<opencascade::handle<Image_CompressedPixMap> (Graphic3d_CubeMapPacked::*)( const opencascade::handle<Image_SupportedFormats> & ) >(&Graphic3d_CubeMapPacked::CompressedValue),
R"#(Returns current cubemap side as compressed PixMap.)#" , py::arg("theSupported")
)
.def("Value",
(opencascade::handle<Image_PixMap> (Graphic3d_CubeMapPacked::*)( const opencascade::handle<Image_SupportedFormats> & ) ) static_cast<opencascade::handle<Image_PixMap> (Graphic3d_CubeMapPacked::*)( const opencascade::handle<Image_SupportedFormats> & ) >(&Graphic3d_CubeMapPacked::Value),
R"#(Returns current cubemap side as PixMap. Resulting PixMap is memory wrapper over original image. Returns null handle if current side or whole cubemap is invalid. Origin image has to contain six quad tiles having one sizes without any gaps to be valid.)#" , py::arg("theSupported")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_CubeMapPacked::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_CubeMapPacked::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_CubeMapPacked::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_CubeMapPacked::*)() const>(&Graphic3d_CubeMapPacked::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_CubeMapSeparate from ./opencascade/Graphic3d_CubeMapSeparate.hxx
klass = m.attr("Graphic3d_CubeMapSeparate");
// nested enums
static_cast<py::class_<Graphic3d_CubeMapSeparate ,opencascade::handle<Graphic3d_CubeMapSeparate> , Graphic3d_CubeMap >>(klass)
// constructors
.def(py::init< const NCollection_Array1<TCollection_AsciiString> & >() , py::arg("thePaths") )
.def(py::init< const NCollection_Array1<opencascade::handle<Image_PixMap>> & >() , py::arg("theImages") )
// custom constructors
// methods
.def("CompressedValue",
(opencascade::handle<Image_CompressedPixMap> (Graphic3d_CubeMapSeparate::*)( const opencascade::handle<Image_SupportedFormats> & ) ) static_cast<opencascade::handle<Image_CompressedPixMap> (Graphic3d_CubeMapSeparate::*)( const opencascade::handle<Image_SupportedFormats> & ) >(&Graphic3d_CubeMapSeparate::CompressedValue),
R"#(Returns current cubemap side as compressed PixMap.)#" , py::arg("theSupported")
)
.def("Value",
(opencascade::handle<Image_PixMap> (Graphic3d_CubeMapSeparate::*)( const opencascade::handle<Image_SupportedFormats> & ) ) static_cast<opencascade::handle<Image_PixMap> (Graphic3d_CubeMapSeparate::*)( const opencascade::handle<Image_SupportedFormats> & ) >(&Graphic3d_CubeMapSeparate::Value),
R"#(Returns current side of cubemap as PixMap. Returns null handle if current side or whole cubemap is invalid. All origin images have to have the same sizes, format and quad shapes to form valid cubemap.)#" , py::arg("theSupported")
)
.def("GetImage",
(opencascade::handle<Image_PixMap> (Graphic3d_CubeMapSeparate::*)( const opencascade::handle<Image_SupportedFormats> & ) ) static_cast<opencascade::handle<Image_PixMap> (Graphic3d_CubeMapSeparate::*)( const opencascade::handle<Image_SupportedFormats> & ) >(&Graphic3d_CubeMapSeparate::GetImage),
R"#(Returns NULL.)#" , py::arg("arg")
)
.def("IsDone",
(Standard_Boolean (Graphic3d_CubeMapSeparate::*)() const) static_cast<Standard_Boolean (Graphic3d_CubeMapSeparate::*)() const>(&Graphic3d_CubeMapSeparate::IsDone),
R"#(Checks if a texture class is valid or not. Returns true if the construction of the class is correct.)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_CubeMapSeparate::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_CubeMapSeparate::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_CubeMapSeparate::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_CubeMapSeparate::*)() const>(&Graphic3d_CubeMapSeparate::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_MediaTexture from ./opencascade/Graphic3d_MediaTexture.hxx
klass = m.attr("Graphic3d_MediaTexture");
// nested enums
static_cast<py::class_<Graphic3d_MediaTexture ,opencascade::handle<Graphic3d_MediaTexture> , Graphic3d_Texture2D >>(klass)
// constructors
.def(py::init< const opencascade::handle<Standard_HMutex> &,Standard_Integer >() , py::arg("theMutex"), py::arg("thePlane")=static_cast<Standard_Integer>(- 1) )
// custom constructors
// methods
.def("GetImage",
(opencascade::handle<Image_PixMap> (Graphic3d_MediaTexture::*)( const opencascade::handle<Image_SupportedFormats> & ) ) static_cast<opencascade::handle<Image_PixMap> (Graphic3d_MediaTexture::*)( const opencascade::handle<Image_SupportedFormats> & ) >(&Graphic3d_MediaTexture::GetImage),
R"#(Image reader.)#" , py::arg("theSupported")
)
.def("SetFrame",
(void (Graphic3d_MediaTexture::*)( const opencascade::handle<Media_Frame> & ) ) static_cast<void (Graphic3d_MediaTexture::*)( const opencascade::handle<Media_Frame> & ) >(&Graphic3d_MediaTexture::SetFrame),
R"#(Set the frame.)#" , py::arg("theFrame")
)
.def("GenerateNewId",
(void (Graphic3d_MediaTexture::*)() ) static_cast<void (Graphic3d_MediaTexture::*)() >(&Graphic3d_MediaTexture::GenerateNewId),
R"#(Regenerate a new texture id)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_MediaTexture::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_MediaTexture::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_MediaTexture::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_MediaTexture::*)() const>(&Graphic3d_MediaTexture::DynamicType),
R"#(None)#"
)
.def("Frame",
(const opencascade::handle<Media_Frame> & (Graphic3d_MediaTexture::*)() const) static_cast<const opencascade::handle<Media_Frame> & (Graphic3d_MediaTexture::*)() const>(&Graphic3d_MediaTexture::Frame),
R"#(Return the frame.)#"
)
;
// Class Graphic3d_Texture1Dmanual from ./opencascade/Graphic3d_Texture1Dmanual.hxx
klass = m.attr("Graphic3d_Texture1Dmanual");
// nested enums
static_cast<py::class_<Graphic3d_Texture1Dmanual ,opencascade::handle<Graphic3d_Texture1Dmanual> , Graphic3d_Texture1D >>(klass)
// constructors
.def(py::init< const TCollection_AsciiString & >() , py::arg("theFileName") )
.def(py::init< const Graphic3d_NameOfTexture1D >() , py::arg("theNOT") )
.def(py::init< const opencascade::handle<Image_PixMap> & >() , py::arg("thePixMap") )
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_Texture1Dmanual::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_Texture1Dmanual::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_Texture1Dmanual::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_Texture1Dmanual::*)() const>(&Graphic3d_Texture1Dmanual::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_Texture1Dsegment from ./opencascade/Graphic3d_Texture1Dsegment.hxx
klass = m.attr("Graphic3d_Texture1Dsegment");
// nested enums
static_cast<py::class_<Graphic3d_Texture1Dsegment ,opencascade::handle<Graphic3d_Texture1Dsegment> , Graphic3d_Texture1D >>(klass)
// constructors
.def(py::init< const TCollection_AsciiString & >() , py::arg("theFileName") )
.def(py::init< const Graphic3d_NameOfTexture1D >() , py::arg("theNOT") )
.def(py::init< const opencascade::handle<Image_PixMap> & >() , py::arg("thePixMap") )
// custom constructors
// methods
.def("SetSegment",
(void (Graphic3d_Texture1Dsegment::*)( const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal ) ) static_cast<void (Graphic3d_Texture1Dsegment::*)( const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal ) >(&Graphic3d_Texture1Dsegment::SetSegment),
R"#(Sets the texture application bounds. Defines the way the texture is stretched across facets. Default values are <0.0, 0.0, 0.0> , <0.0, 0.0, 1.0>)#" , py::arg("theX1"), py::arg("theY1"), py::arg("theZ1"), py::arg("theX2"), py::arg("theY2"), py::arg("theZ2")
)
.def("Segment",
(void (Graphic3d_Texture1Dsegment::*)( Standard_ShortReal & , Standard_ShortReal & , Standard_ShortReal & , Standard_ShortReal & , Standard_ShortReal & , Standard_ShortReal & ) const) static_cast<void (Graphic3d_Texture1Dsegment::*)( Standard_ShortReal & , Standard_ShortReal & , Standard_ShortReal & , Standard_ShortReal & , Standard_ShortReal & , Standard_ShortReal & ) const>(&Graphic3d_Texture1Dsegment::Segment),
R"#(Returns the values of the current segment X1, Y1, Z1 , X2, Y2, Z2.)#" , py::arg("theX1"), py::arg("theY1"), py::arg("theZ1"), py::arg("theX2"), py::arg("theY2"), py::arg("theZ2")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_Texture1Dsegment::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_Texture1Dsegment::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_Texture1Dsegment::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_Texture1Dsegment::*)() const>(&Graphic3d_Texture1Dsegment::DynamicType),
R"#(None)#"
)
;
// Class Graphic3d_Texture2Dplane from ./opencascade/Graphic3d_Texture2Dplane.hxx
klass = m.attr("Graphic3d_Texture2Dplane");
// nested enums
static_cast<py::class_<Graphic3d_Texture2Dplane ,opencascade::handle<Graphic3d_Texture2Dplane> , Graphic3d_Texture2D >>(klass)
// constructors
.def(py::init< const TCollection_AsciiString & >() , py::arg("theFileName") )
.def(py::init< const Graphic3d_NameOfTexture2D >() , py::arg("theNOT") )
.def(py::init< const opencascade::handle<Image_PixMap> & >() , py::arg("thePixMap") )
// custom constructors
// methods
.def("SetPlaneS",
(void (Graphic3d_Texture2Dplane::*)( const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal ) ) static_cast<void (Graphic3d_Texture2Dplane::*)( const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal ) >(&Graphic3d_Texture2Dplane::SetPlaneS),
R"#(Defines the texture projection plane for texture coordinate S default is <1.0, 0.0, 0.0, 0.0>)#" , py::arg("A"), py::arg("B"), py::arg("C"), py::arg("D")
)
.def("SetPlaneT",
(void (Graphic3d_Texture2Dplane::*)( const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal ) ) static_cast<void (Graphic3d_Texture2Dplane::*)( const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal , const Standard_ShortReal ) >(&Graphic3d_Texture2Dplane::SetPlaneT),
R"#(Defines the texture projection plane for texture coordinate T default is <0.0, 1.0, 0.0, 0.0>)#" , py::arg("A"), py::arg("B"), py::arg("C"), py::arg("D")
)
.def("SetPlane",
(void (Graphic3d_Texture2Dplane::*)( const Graphic3d_NameOfTexturePlane ) ) static_cast<void (Graphic3d_Texture2Dplane::*)( const Graphic3d_NameOfTexturePlane ) >(&Graphic3d_Texture2Dplane::SetPlane),
R"#(Defines the texture projection plane for both S and T texture coordinate default is NOTP_XY meaning: <1.0, 0.0, 0.0, 0.0> for S and <0.0, 1.0, 0.0, 0.0> for T)#" , py::arg("thePlane")
)
.def("SetScaleS",
(void (Graphic3d_Texture2Dplane::*)( const Standard_ShortReal ) ) static_cast<void (Graphic3d_Texture2Dplane::*)( const Standard_ShortReal ) >(&Graphic3d_Texture2Dplane::SetScaleS),
R"#(Defines the texture scale for the S texture coordinate much easier than recomputing the S plane equation but the result is the same default to 1.0)#" , py::arg("theVal")
)
.def("SetScaleT",
(void (Graphic3d_Texture2Dplane::*)( const Standard_ShortReal ) ) static_cast<void (Graphic3d_Texture2Dplane::*)( const Standard_ShortReal ) >(&Graphic3d_Texture2Dplane::SetScaleT),
R"#(Defines the texture scale for the T texture coordinate much easier than recompution the T plane equation but the result is the same default to 1.0)#" , py::arg("theVal")
)
.def("SetTranslateS",
(void (Graphic3d_Texture2Dplane::*)( const Standard_ShortReal ) ) static_cast<void (Graphic3d_Texture2Dplane::*)( const Standard_ShortReal ) >(&Graphic3d_Texture2Dplane::SetTranslateS),
R"#(Defines the texture translation for the S texture coordinate you can obtain the same effect by modifying the S plane equation but its not easier. default to 0.0)#" , py::arg("theVal")
)
.def("SetTranslateT",
(void (Graphic3d_Texture2Dplane::*)( const Standard_ShortReal ) ) static_cast<void (Graphic3d_Texture2Dplane::*)( const Standard_ShortReal ) >(&Graphic3d_Texture2Dplane::SetTranslateT),
R"#(Defines the texture translation for the T texture coordinate you can obtain the same effect by modifying the T plane equation but its not easier. default to 0.0)#" , py::arg("theVal")
)
.def("SetRotation",
(void (Graphic3d_Texture2Dplane::*)( const Standard_ShortReal ) ) static_cast<void (Graphic3d_Texture2Dplane::*)( const Standard_ShortReal ) >(&Graphic3d_Texture2Dplane::SetRotation),
R"#(Sets the rotation angle of the whole texture. the same result might be achieved by recomputing the S and T plane equation but it's not the easiest way... the angle is expressed in degrees default is 0.0)#" , py::arg("theVal")
)
.def("Plane",
(Graphic3d_NameOfTexturePlane (Graphic3d_Texture2Dplane::*)() const) static_cast<Graphic3d_NameOfTexturePlane (Graphic3d_Texture2Dplane::*)() const>(&Graphic3d_Texture2Dplane::Plane),
R"#(Returns the current texture plane name or NOTP_UNKNOWN when the plane is user defined.)#"
)
.def("PlaneS",
(void (Graphic3d_Texture2Dplane::*)( Standard_ShortReal & , Standard_ShortReal & , Standard_ShortReal & , Standard_ShortReal & ) const) static_cast<void (Graphic3d_Texture2Dplane::*)( Standard_ShortReal & , Standard_ShortReal & , Standard_ShortReal & , Standard_ShortReal & ) const>(&Graphic3d_Texture2Dplane::PlaneS),
R"#(Returns the current texture plane S equation)#" , py::arg("A"), py::arg("B"), py::arg("C"), py::arg("D")
)
.def("PlaneT",
(void (Graphic3d_Texture2Dplane::*)( Standard_ShortReal & , Standard_ShortReal & , Standard_ShortReal & , Standard_ShortReal & ) const) static_cast<void (Graphic3d_Texture2Dplane::*)( Standard_ShortReal & , Standard_ShortReal & , Standard_ShortReal & , Standard_ShortReal & ) const>(&Graphic3d_Texture2Dplane::PlaneT),
R"#(Returns the current texture plane T equation)#" , py::arg("A"), py::arg("B"), py::arg("C"), py::arg("D")
)
.def("TranslateS",
(void (Graphic3d_Texture2Dplane::*)( Standard_ShortReal & ) const) static_cast<void (Graphic3d_Texture2Dplane::*)( Standard_ShortReal & ) const>(&Graphic3d_Texture2Dplane::TranslateS),
R"#(Returns the current texture S translation value)#" , py::arg("theVal")
)
.def("TranslateT",
(void (Graphic3d_Texture2Dplane::*)( Standard_ShortReal & ) const) static_cast<void (Graphic3d_Texture2Dplane::*)( Standard_ShortReal & ) const>(&Graphic3d_Texture2Dplane::TranslateT),
R"#(Returns the current texture T translation value)#" , py::arg("theVal")
)
.def("ScaleS",
(void (Graphic3d_Texture2Dplane::*)( Standard_ShortReal & ) const) static_cast<void (Graphic3d_Texture2Dplane::*)( Standard_ShortReal & ) const>(&Graphic3d_Texture2Dplane::ScaleS),
R"#(Returns the current texture S scale value)#" , py::arg("theVal")
)
.def("ScaleT",
(void (Graphic3d_Texture2Dplane::*)( Standard_ShortReal & ) const) static_cast<void (Graphic3d_Texture2Dplane::*)( Standard_ShortReal & ) const>(&Graphic3d_Texture2Dplane::ScaleT),
R"#(Returns the current texture T scale value)#" , py::arg("theVal")
)
.def("Rotation",
(void (Graphic3d_Texture2Dplane::*)( Standard_ShortReal & ) const) static_cast<void (Graphic3d_Texture2Dplane::*)( Standard_ShortReal & ) const>(&Graphic3d_Texture2Dplane::Rotation),
R"#(Returns the current texture rotation angle)#" , py::arg("theVal")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Graphic3d_Texture2Dplane::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Graphic3d_Texture2Dplane::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Graphic3d_Texture2Dplane::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Graphic3d_Texture2Dplane::*)() const>(&Graphic3d_Texture2Dplane::DynamicType),
R"#(None)#"
)
;
// functions
// ./opencascade/Graphic3d_AlphaMode.hxx
// ./opencascade/Graphic3d_ArrayFlags.hxx
// ./opencascade/Graphic3d_ArrayOfPoints.hxx
// ./opencascade/Graphic3d_ArrayOfPolygons.hxx
// ./opencascade/Graphic3d_ArrayOfPolylines.hxx
// ./opencascade/Graphic3d_ArrayOfPrimitives.hxx
// ./opencascade/Graphic3d_ArrayOfQuadrangleStrips.hxx
// ./opencascade/Graphic3d_ArrayOfQuadrangles.hxx
// ./opencascade/Graphic3d_ArrayOfSegments.hxx
// ./opencascade/Graphic3d_ArrayOfTriangleFans.hxx
// ./opencascade/Graphic3d_ArrayOfTriangleStrips.hxx
// ./opencascade/Graphic3d_ArrayOfTriangles.hxx
// ./opencascade/Graphic3d_AspectFillArea3d.hxx
// ./opencascade/Graphic3d_AspectLine3d.hxx
// ./opencascade/Graphic3d_AspectMarker3d.hxx
// ./opencascade/Graphic3d_AspectText3d.hxx
// ./opencascade/Graphic3d_Aspects.hxx
// ./opencascade/Graphic3d_AttribBuffer.hxx
// ./opencascade/Graphic3d_BSDF.hxx
// ./opencascade/Graphic3d_BndBox3d.hxx
// ./opencascade/Graphic3d_BndBox4d.hxx
// ./opencascade/Graphic3d_BndBox4f.hxx
// ./opencascade/Graphic3d_BoundBuffer.hxx
// ./opencascade/Graphic3d_Buffer.hxx
// ./opencascade/Graphic3d_BufferRange.hxx
// ./opencascade/Graphic3d_BufferType.hxx
// ./opencascade/Graphic3d_BvhCStructureSet.hxx
// ./opencascade/Graphic3d_BvhCStructureSetTrsfPers.hxx
// ./opencascade/Graphic3d_CLight.hxx
// ./opencascade/Graphic3d_CStructure.hxx
// ./opencascade/Graphic3d_CView.hxx
// ./opencascade/Graphic3d_Camera.hxx
// ./opencascade/Graphic3d_CameraTile.hxx
// ./opencascade/Graphic3d_CappingFlags.hxx
// ./opencascade/Graphic3d_ClipPlane.hxx
// ./opencascade/Graphic3d_CubeMap.hxx
// ./opencascade/Graphic3d_CubeMapOrder.hxx
// ./opencascade/Graphic3d_CubeMapPacked.hxx
// ./opencascade/Graphic3d_CubeMapSeparate.hxx
// ./opencascade/Graphic3d_CubeMapSide.hxx
// ./opencascade/Graphic3d_CullingTool.hxx
// ./opencascade/Graphic3d_DataStructureManager.hxx
// ./opencascade/Graphic3d_DiagnosticInfo.hxx
// ./opencascade/Graphic3d_DisplayPriority.hxx
// ./opencascade/Graphic3d_FrameStats.hxx
// ./opencascade/Graphic3d_FrameStatsCounter.hxx
// ./opencascade/Graphic3d_FrameStatsData.hxx
// ./opencascade/Graphic3d_FrameStatsTimer.hxx
// ./opencascade/Graphic3d_GraduatedTrihedron.hxx
// ./opencascade/Graphic3d_GraphicDriver.hxx
// ./opencascade/Graphic3d_GraphicDriverFactory.hxx
// ./opencascade/Graphic3d_Group.hxx
// ./opencascade/Graphic3d_GroupAspect.hxx
// ./opencascade/Graphic3d_GroupDefinitionError.hxx
// ./opencascade/Graphic3d_HatchStyle.hxx
// ./opencascade/Graphic3d_HorizontalTextAlignment.hxx
// ./opencascade/Graphic3d_IndexBuffer.hxx
// ./opencascade/Graphic3d_Layer.hxx
// ./opencascade/Graphic3d_LevelOfTextureAnisotropy.hxx
// ./opencascade/Graphic3d_LightSet.hxx
// ./opencascade/Graphic3d_MapIteratorOfMapOfStructure.hxx
// ./opencascade/Graphic3d_MapOfAspectsToAspects.hxx
// ./opencascade/Graphic3d_MapOfObject.hxx
// ./opencascade/Graphic3d_MapOfStructure.hxx
// ./opencascade/Graphic3d_MarkerImage.hxx
// ./opencascade/Graphic3d_Mat4.hxx
// ./opencascade/Graphic3d_Mat4d.hxx
// ./opencascade/Graphic3d_MaterialAspect.hxx
// ./opencascade/Graphic3d_MaterialDefinitionError.hxx
// ./opencascade/Graphic3d_MediaTexture.hxx
// ./opencascade/Graphic3d_MediaTextureSet.hxx
// ./opencascade/Graphic3d_MutableIndexBuffer.hxx
// ./opencascade/Graphic3d_NMapOfTransient.hxx
// ./opencascade/Graphic3d_NameOfMaterial.hxx
// ./opencascade/Graphic3d_NameOfTexture1D.hxx
// ./opencascade/Graphic3d_NameOfTexture2D.hxx
// ./opencascade/Graphic3d_NameOfTextureEnv.hxx
// ./opencascade/Graphic3d_NameOfTexturePlane.hxx
// ./opencascade/Graphic3d_PBRMaterial.hxx
// ./opencascade/Graphic3d_PolygonOffset.hxx
// ./opencascade/Graphic3d_PresentationAttributes.hxx
// ./opencascade/Graphic3d_PriorityDefinitionError.hxx
// ./opencascade/Graphic3d_RenderTransparentMethod.hxx
// ./opencascade/Graphic3d_RenderingMode.hxx
// ./opencascade/Graphic3d_RenderingParams.hxx
// ./opencascade/Graphic3d_SequenceOfGroup.hxx
// ./opencascade/Graphic3d_SequenceOfHClipPlane.hxx
// ./opencascade/Graphic3d_SequenceOfStructure.hxx
// ./opencascade/Graphic3d_ShaderAttribute.hxx
// ./opencascade/Graphic3d_ShaderFlags.hxx
// ./opencascade/Graphic3d_ShaderManager.hxx
// ./opencascade/Graphic3d_ShaderObject.hxx
// ./opencascade/Graphic3d_ShaderProgram.hxx
// ./opencascade/Graphic3d_ShaderVariable.hxx
// ./opencascade/Graphic3d_StereoMode.hxx
// ./opencascade/Graphic3d_Structure.hxx
// ./opencascade/Graphic3d_StructureDefinitionError.hxx
// ./opencascade/Graphic3d_StructureManager.hxx
// ./opencascade/Graphic3d_Text.hxx
// ./opencascade/Graphic3d_TextPath.hxx
// ./opencascade/Graphic3d_Texture1D.hxx
// ./opencascade/Graphic3d_Texture1Dmanual.hxx
// ./opencascade/Graphic3d_Texture1Dsegment.hxx
// ./opencascade/Graphic3d_Texture2D.hxx
// ./opencascade/Graphic3d_Texture2Dmanual.hxx
// ./opencascade/Graphic3d_Texture2Dplane.hxx
// ./opencascade/Graphic3d_Texture3D.hxx
// ./opencascade/Graphic3d_TextureEnv.hxx
// ./opencascade/Graphic3d_TextureMap.hxx
// ./opencascade/Graphic3d_TextureParams.hxx
// ./opencascade/Graphic3d_TextureRoot.hxx
// ./opencascade/Graphic3d_TextureSet.hxx
// ./opencascade/Graphic3d_TextureSetBits.hxx
// ./opencascade/Graphic3d_TextureUnit.hxx
// ./opencascade/Graphic3d_ToneMappingMethod.hxx
// ./opencascade/Graphic3d_TransModeFlags.hxx
// ./opencascade/Graphic3d_TransformPers.hxx
// ./opencascade/Graphic3d_TransformPersScaledAbove.hxx
// ./opencascade/Graphic3d_TransformUtils.hxx
// ./opencascade/Graphic3d_TypeOfAnswer.hxx
// ./opencascade/Graphic3d_TypeOfBackfacingModel.hxx
// ./opencascade/Graphic3d_TypeOfBackground.hxx
// ./opencascade/Graphic3d_TypeOfConnection.hxx
// ./opencascade/Graphic3d_TypeOfLightSource.hxx
// ./opencascade/Graphic3d_TypeOfLimit.hxx
// ./opencascade/Graphic3d_TypeOfMaterial.hxx
// ./opencascade/Graphic3d_TypeOfPrimitiveArray.hxx
// ./opencascade/Graphic3d_TypeOfReflection.hxx
// ./opencascade/Graphic3d_TypeOfShaderObject.hxx
// ./opencascade/Graphic3d_TypeOfShadingModel.hxx
// ./opencascade/Graphic3d_TypeOfStructure.hxx
// ./opencascade/Graphic3d_TypeOfTexture.hxx
// ./opencascade/Graphic3d_TypeOfTextureFilter.hxx
// ./opencascade/Graphic3d_TypeOfTextureMode.hxx
// ./opencascade/Graphic3d_TypeOfVisualization.hxx
// ./opencascade/Graphic3d_Vec.hxx
// ./opencascade/Graphic3d_Vec2.hxx
// ./opencascade/Graphic3d_Vec3.hxx
// ./opencascade/Graphic3d_Vec4.hxx
// ./opencascade/Graphic3d_Vertex.hxx
// ./opencascade/Graphic3d_VerticalTextAlignment.hxx
// ./opencascade/Graphic3d_ViewAffinity.hxx
// ./opencascade/Graphic3d_WorldViewProjState.hxx
// ./opencascade/Graphic3d_ZLayerId.hxx
// ./opencascade/Graphic3d_ZLayerSettings.hxx
// Additional functions
// operators
// register typdefs
register_template_NCollection_Array1<Graphic3d_Attribute>(m,"Graphic3d_Array1OfAttribute");
register_template_NCollection_Lerp<opencascade::handle<Graphic3d_Camera>>(m,"Graphic3d_CameraLerp");
register_template_NCollection_List<opencascade::handle<Graphic3d_GraphicDriverFactory>>(m,"Graphic3d_GraphicDriverFactoryList");
register_template_NCollection_Mat4<Standard_ShortReal>(m,"Graphic3d_Mat4");
register_template_NCollection_Mat4<Standard_Real>(m,"Graphic3d_Mat4d");
register_template_NCollection_Sequence<opencascade::handle<Graphic3d_Group>>(m,"Graphic3d_SequenceOfGroup");
register_template_NCollection_Sequence<opencascade::handle<Graphic3d_Structure>>(m,"Graphic3d_SequenceOfStructure");
register_template_NCollection_Sequence<opencascade::handle<Graphic3d_ShaderObject>>(m,"Graphic3d_ShaderObjectList");
register_template_NCollection_Sequence<opencascade::handle<Graphic3d_ShaderVariable>>(m,"Graphic3d_ShaderVariableList");
register_template_NCollection_Sequence<opencascade::handle<Graphic3d_ShaderAttribute>>(m,"Graphic3d_ShaderAttributeList");
register_template_Graphic3d_UniformValue<Standard_Integer>(m,"Graphic3d_UniformInt");
register_template_Graphic3d_UniformValue<Graphic3d_Vec2i>(m,"Graphic3d_UniformVec2i");
register_template_Graphic3d_UniformValue<Graphic3d_Vec3i>(m,"Graphic3d_UniformVec3i");
register_template_Graphic3d_UniformValue<Graphic3d_Vec4i>(m,"Graphic3d_UniformVec4i");
register_template_Graphic3d_UniformValue<Standard_ShortReal>(m,"Graphic3d_UniformFloat");
register_template_Graphic3d_UniformValue<Graphic3d_Vec2>(m,"Graphic3d_UniformVec2");
register_template_Graphic3d_UniformValue<Graphic3d_Vec3>(m,"Graphic3d_UniformVec3");
register_template_Graphic3d_UniformValue<Graphic3d_Vec4>(m,"Graphic3d_UniformVec4");
register_template_NCollection_Vec2<Standard_Real>(m,"Graphic3d_Vec2d");
register_template_NCollection_Vec2<Standard_Integer>(m,"Graphic3d_Vec2i");
register_template_NCollection_Vec2<Standard_Byte>(m,"Graphic3d_Vec2ub");
register_template_NCollection_Vec2<Standard_Character>(m,"Graphic3d_Vec2b");
register_template_NCollection_Vec3<Standard_Integer>(m,"Graphic3d_Vec3i");
register_template_NCollection_Vec3<Standard_Byte>(m,"Graphic3d_Vec3ub");
register_template_NCollection_Vec3<Standard_Character>(m,"Graphic3d_Vec3b");
register_template_NCollection_Vec4<Standard_ShortReal>(m,"Graphic3d_Vec4");
register_template_NCollection_Vec4<Standard_Real>(m,"Graphic3d_Vec4d");
register_template_NCollection_Vec4<Standard_Integer>(m,"Graphic3d_Vec4i");
register_template_NCollection_Vec4<Standard_Byte>(m,"Graphic3d_Vec4ub");
register_template_NCollection_Vec4<Standard_Character>(m,"Graphic3d_Vec4b");
// exceptions
register_occ_exception<Graphic3d_GroupDefinitionError>(m, "Graphic3d_GroupDefinitionError");
register_occ_exception<Graphic3d_MaterialDefinitionError>(m, "Graphic3d_MaterialDefinitionError");
register_occ_exception<Graphic3d_PriorityDefinitionError>(m, "Graphic3d_PriorityDefinitionError");
register_occ_exception<Graphic3d_StructureDefinitionError>(m, "Graphic3d_StructureDefinitionError");
// user-defined post-inclusion per module in the body
};
// user-defined post-inclusion per module
// user-defined post
|