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
|
// 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 <Graphic3d_Camera.hxx>
#include <V3d_View.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 <SelectMgr_EntityOwner.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Geom_Line.hxx>
#include <Geom_Axis1Placement.hxx>
#include <Geom_Axis2Placement.hxx>
#include <Prs3d_LineAspect.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <SelectMgr_EntityOwner.hxx>
#include <TopoDS_Edge.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 <SelectMgr_EntityOwner.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Graphic3d_ArrayOfSegments.hxx>
#include <Graphic3d_ArrayOfTriangles.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 <Geom_Circle.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 <StdSelect_BRepOwner.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 <SelectMgr_EntityOwner.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 <V3d_Viewer.hxx>
#include <V3d_View.hxx>
#include <Prs3d_LineAspect.hxx>
#include <Prs3d_BasicAspect.hxx>
#include <TopoDS_Shape.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <AIS_InteractiveContext.hxx>
#include <Prs3d_BasicAspect.hxx>
#include <V3d_View.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 <Select3D_SensitiveSphere.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Geom_Line.hxx>
#include <Geom_Point.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 <Geom_Plane.hxx>
#include <Geom_Axis2Placement.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <AIS_Line.hxx>
#include <AIS_Point.hxx>
#include <Geom_Plane.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Geom_Point.hxx>
#include <TopoDS_Vertex.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <TColStd_HPackedMapOfInteger.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 <SelectMgr_Filter.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 <SelectMgr_EntityOwner.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 <Font_TextFormatter.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Graphic3d_Texture2D.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Poly_Triangulation.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Geom_Axis2Placement.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 <SelectMgr_EntityOwner.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 <AIS_Animation.hxx>
#include <AIS_AnimationCamera.hxx>
#include <AIS_InteractiveObject.hxx>
#include <AIS_InteractiveContext.hxx>
#include <AIS_Point.hxx>
#include <AIS_RubberBand.hxx>
#include <AIS_XRTrackedDevice.hxx>
#include <SelectMgr_EntityOwner.hxx>
#include <V3d_View.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <AIS_AnimationCamera.hxx>
#include <Graphic3d_ArrayOfTriangles.hxx>
#include <V3d_View.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_ArrayOfTriangles.hxx>
#include <Image_Texture.hxx>
// module includes
#include <AIS.hxx>
#include <AIS_AngleDimension.hxx>
#include <AIS_Animation.hxx>
#include <AIS_AnimationAxisRotation.hxx>
#include <AIS_AnimationCamera.hxx>
#include <AIS_AnimationObject.hxx>
#include <AIS_AnimationTimer.hxx>
#include <AIS_AttributeFilter.hxx>
#include <AIS_Axis.hxx>
#include <AIS_BadEdgeFilter.hxx>
#include <AIS_BaseAnimationObject.hxx>
#include <AIS_C0RegularityFilter.hxx>
#include <AIS_CameraFrustum.hxx>
#include <AIS_Chamf2dDimension.hxx>
#include <AIS_Chamf3dDimension.hxx>
#include <AIS_Circle.hxx>
#include <AIS_ColoredDrawer.hxx>
#include <AIS_ColoredShape.hxx>
#include <AIS_ColorScale.hxx>
#include <AIS_ConcentricRelation.hxx>
#include <AIS_ConnectedInteractive.hxx>
#include <AIS_DataMapIteratorOfDataMapOfIOStatus.hxx>
#include <AIS_DataMapOfIOStatus.hxx>
#include <AIS_DataMapOfShapeDrawer.hxx>
#include <AIS_DiameterDimension.hxx>
#include <AIS_Dimension.hxx>
#include <AIS_DimensionOwner.hxx>
#include <AIS_DisplayMode.hxx>
#include <AIS_DisplayStatus.hxx>
#include <AIS_DragAction.hxx>
#include <AIS_EllipseRadiusDimension.hxx>
#include <AIS_EqualDistanceRelation.hxx>
#include <AIS_EqualRadiusRelation.hxx>
#include <AIS_ExclusionFilter.hxx>
#include <AIS_FixRelation.hxx>
#include <AIS_GlobalStatus.hxx>
#include <AIS_GraphicTool.hxx>
#include <AIS_IdenticRelation.hxx>
#include <AIS_InteractiveContext.hxx>
#include <AIS_InteractiveObject.hxx>
#include <AIS_KindOfInteractive.hxx>
#include <AIS_LengthDimension.hxx>
#include <AIS_LightSource.hxx>
#include <AIS_Line.hxx>
#include <AIS_ListIteratorOfListOfInteractive.hxx>
#include <AIS_ListOfInteractive.hxx>
#include <AIS_Manipulator.hxx>
#include <AIS_ManipulatorMode.hxx>
#include <AIS_ManipulatorOwner.hxx>
#include <AIS_MaxRadiusDimension.hxx>
#include <AIS_MediaPlayer.hxx>
#include <AIS_MidPointRelation.hxx>
#include <AIS_MinRadiusDimension.hxx>
#include <AIS_MouseGesture.hxx>
#include <AIS_MultipleConnectedInteractive.hxx>
#include <AIS_NArray1OfEntityOwner.hxx>
#include <AIS_NavigationMode.hxx>
#include <AIS_NListOfEntityOwner.hxx>
#include <AIS_OffsetDimension.hxx>
#include <AIS_ParallelRelation.hxx>
#include <AIS_PerpendicularRelation.hxx>
#include <AIS_Plane.hxx>
#include <AIS_PlaneTrihedron.hxx>
#include <AIS_Point.hxx>
#include <AIS_PointCloud.hxx>
#include <AIS_RadiusDimension.hxx>
#include <AIS_Relation.hxx>
#include <AIS_RotationMode.hxx>
#include <AIS_RubberBand.hxx>
#include <AIS_Selection.hxx>
#include <AIS_SelectionModesConcurrency.hxx>
#include <AIS_SelectionScheme.hxx>
#include <AIS_SelectStatus.hxx>
#include <AIS_Shape.hxx>
#include <AIS_SignatureFilter.hxx>
#include <AIS_StatusOfDetection.hxx>
#include <AIS_StatusOfPick.hxx>
#include <AIS_SymmetricRelation.hxx>
#include <AIS_TangentRelation.hxx>
#include <AIS_TextLabel.hxx>
#include <AIS_TexturedShape.hxx>
#include <AIS_Triangulation.hxx>
#include <AIS_Trihedron.hxx>
#include <AIS_TrihedronOwner.hxx>
#include <AIS_TrihedronSelectionMode.hxx>
#include <AIS_TypeFilter.hxx>
#include <AIS_TypeOfAttribute.hxx>
#include <AIS_TypeOfAxis.hxx>
#include <AIS_TypeOfIso.hxx>
#include <AIS_TypeOfPlane.hxx>
#include <AIS_ViewController.hxx>
#include <AIS_ViewCube.hxx>
#include <AIS_ViewInputBuffer.hxx>
#include <AIS_WalkDelta.hxx>
#include <AIS_XRTrackedDevice.hxx>
// template related includes
// ./opencascade/AIS_DataMapOfIOStatus.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/AIS_ListOfInteractive.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/AIS_ListOfInteractive.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/AIS_MouseGesture.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/AIS_MouseGesture.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/AIS_NArray1OfEntityOwner.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/AIS_NListOfEntityOwner.hxx
#include "NCollection_tmpl.hxx"
// user-defined pre
#include "OCP_specific.inc"
// user-defined inclusion per module
#include <Media_PlayerContext.hxx>
#include <WNT_HIDSpaceMouse.hxx>
auto OptionsForAttach = [](){return AIS_Manipulator::OptionsForAttach();};
// Module definiiton
void register_AIS(py::module &main_module) {
py::module m = static_cast<py::module>(main_module.attr("AIS"));
py::object klass;
//Python trampoline classes
class Py_AIS_InteractiveObject : public AIS_InteractiveObject{
public:
using AIS_InteractiveObject::AIS_InteractiveObject;
// public pure virtual
void ComputeSelection(const opencascade::handle<SelectMgr_Selection> & theSelection,const Standard_Integer theMode) override { PYBIND11_OVERLOAD_PURE(void,SelectMgr_SelectableObject,ComputeSelection,theSelection,theMode) };
// protected pure virtual
void Compute(const opencascade::handle<PrsMgr_PresentationManager> & thePrsMgr,const opencascade::handle<Prs3d_Presentation> & thePrs,const Standard_Integer theMode) override { PYBIND11_OVERLOAD_PURE(void,PrsMgr_PresentableObject,Compute,thePrsMgr,thePrs,theMode) };
// private pure virtual
};
// classes
// Class AIS from ./opencascade/AIS.hxx
klass = m.attr("AIS");
// default constructor
register_default_constructor<AIS , shared_ptr<AIS>>(m,"AIS");
// nested enums
static_cast<py::class_<AIS , shared_ptr<AIS> >>(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 AIS_Animation from ./opencascade/AIS_Animation.hxx
klass = m.attr("AIS_Animation");
// nested enums
static_cast<py::class_<AIS_Animation ,opencascade::handle<AIS_Animation> , Standard_Transient >>(klass)
// constructors
.def(py::init< const TCollection_AsciiString & >() , py::arg("theAnimationName") )
// custom constructors
// methods
.def("StartPts",
(Standard_Real (AIS_Animation::*)() const) static_cast<Standard_Real (AIS_Animation::*)() const>(&AIS_Animation::StartPts),
R"#(Returns start time of the animation in the timeline)#"
)
.def("SetStartPts",
(void (AIS_Animation::*)( const Standard_Real ) ) static_cast<void (AIS_Animation::*)( const Standard_Real ) >(&AIS_Animation::SetStartPts),
R"#(Sets time limits for animation in the animation timeline)#" , py::arg("thePtsStart")
)
.def("Duration",
(Standard_Real (AIS_Animation::*)() const) static_cast<Standard_Real (AIS_Animation::*)() const>(&AIS_Animation::Duration),
R"#(Returns duration of the animation in the timeline)#"
)
.def("UpdateTotalDuration",
(void (AIS_Animation::*)() ) static_cast<void (AIS_Animation::*)() >(&AIS_Animation::UpdateTotalDuration),
R"#(Update total duration considering all animations on timeline.)#"
)
.def("HasOwnDuration",
(Standard_Boolean (AIS_Animation::*)() const) static_cast<Standard_Boolean (AIS_Animation::*)() const>(&AIS_Animation::HasOwnDuration),
R"#(Return true if duration is defined.)#"
)
.def("OwnDuration",
(Standard_Real (AIS_Animation::*)() const) static_cast<Standard_Real (AIS_Animation::*)() const>(&AIS_Animation::OwnDuration),
R"#(Returns own duration of the animation in the timeline)#"
)
.def("SetOwnDuration",
(void (AIS_Animation::*)( const Standard_Real ) ) static_cast<void (AIS_Animation::*)( const Standard_Real ) >(&AIS_Animation::SetOwnDuration),
R"#(Defines duration of the animation.)#" , py::arg("theDuration")
)
.def("Add",
(void (AIS_Animation::*)( const opencascade::handle<AIS_Animation> & ) ) static_cast<void (AIS_Animation::*)( const opencascade::handle<AIS_Animation> & ) >(&AIS_Animation::Add),
R"#(Add single animation to the timeline.)#" , py::arg("theAnimation")
)
.def("Clear",
(void (AIS_Animation::*)() ) static_cast<void (AIS_Animation::*)() >(&AIS_Animation::Clear),
R"#(Clear animation timeline - remove all animations from it.)#"
)
.def("Find",
(opencascade::handle<AIS_Animation> (AIS_Animation::*)( const TCollection_AsciiString & ) const) static_cast<opencascade::handle<AIS_Animation> (AIS_Animation::*)( const TCollection_AsciiString & ) const>(&AIS_Animation::Find),
R"#(Return the child animation with the given name.)#" , py::arg("theAnimationName")
)
.def("Remove",
(Standard_Boolean (AIS_Animation::*)( const opencascade::handle<AIS_Animation> & ) ) static_cast<Standard_Boolean (AIS_Animation::*)( const opencascade::handle<AIS_Animation> & ) >(&AIS_Animation::Remove),
R"#(Remove the child animation.)#" , py::arg("theAnimation")
)
.def("Replace",
(Standard_Boolean (AIS_Animation::*)( const opencascade::handle<AIS_Animation> & , const opencascade::handle<AIS_Animation> & ) ) static_cast<Standard_Boolean (AIS_Animation::*)( const opencascade::handle<AIS_Animation> & , const opencascade::handle<AIS_Animation> & ) >(&AIS_Animation::Replace),
R"#(Replace the child animation.)#" , py::arg("theAnimationOld"), py::arg("theAnimationNew")
)
.def("CopyFrom",
(void (AIS_Animation::*)( const opencascade::handle<AIS_Animation> & ) ) static_cast<void (AIS_Animation::*)( const opencascade::handle<AIS_Animation> & ) >(&AIS_Animation::CopyFrom),
R"#(Clears own children and then copy child animations from another object. Copy also Start Time and Duration values.)#" , py::arg("theOther")
)
.def("StartTimer",
(void (AIS_Animation::*)( const Standard_Real , const Standard_Real , const Standard_Boolean , const Standard_Boolean ) ) static_cast<void (AIS_Animation::*)( const Standard_Real , const Standard_Real , const Standard_Boolean , const Standard_Boolean ) >(&AIS_Animation::StartTimer),
R"#(Start animation with internally defined timer instance. Calls ::Start() internally.)#" , py::arg("theStartPts"), py::arg("thePlaySpeed"), py::arg("theToUpdate"), py::arg("theToStopTimer")=static_cast<const Standard_Boolean>(Standard_False)
)
.def("UpdateTimer",
(Standard_Real (AIS_Animation::*)() ) static_cast<Standard_Real (AIS_Animation::*)() >(&AIS_Animation::UpdateTimer),
R"#(Update single frame of animation, update timer state)#"
)
.def("ElapsedTime",
(Standard_Real (AIS_Animation::*)() const) static_cast<Standard_Real (AIS_Animation::*)() const>(&AIS_Animation::ElapsedTime),
R"#(Return elapsed time.)#"
)
.def("SetTimer",
(void (AIS_Animation::*)( const opencascade::handle<Media_Timer> & ) ) static_cast<void (AIS_Animation::*)( const opencascade::handle<Media_Timer> & ) >(&AIS_Animation::SetTimer),
R"#(Set playback timer.)#" , py::arg("theTimer")
)
.def("Start",
(void (AIS_Animation::*)( const Standard_Boolean ) ) static_cast<void (AIS_Animation::*)( const Standard_Boolean ) >(&AIS_Animation::Start),
R"#(Start animation. This method changes status of the animation to Started. This status defines whether animation is to be performed in the timeline or not.)#" , py::arg("theToUpdate")
)
.def("Pause",
(void (AIS_Animation::*)() ) static_cast<void (AIS_Animation::*)() >(&AIS_Animation::Pause),
R"#(Pause the process timeline.)#"
)
.def("Stop",
(void (AIS_Animation::*)() ) static_cast<void (AIS_Animation::*)() >(&AIS_Animation::Stop),
R"#(Stop animation. This method changed status of the animation to Stopped. This status shows that animation will not be performed in the timeline or it is finished.)#"
)
.def("IsStopped",
(bool (AIS_Animation::*)() ) static_cast<bool (AIS_Animation::*)() >(&AIS_Animation::IsStopped),
R"#(Check if animation is to be performed in the animation timeline.)#"
)
.def("Update",
(Standard_Boolean (AIS_Animation::*)( const Standard_Real ) ) static_cast<Standard_Boolean (AIS_Animation::*)( const Standard_Real ) >(&AIS_Animation::Update),
R"#(Update single frame of animation, update timer state)#" , py::arg("thePts")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_Animation::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_Animation::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> & (AIS_Animation::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_Animation::*)() const>(&AIS_Animation::DynamicType),
R"#(None)#"
)
.def("Name",
(const TCollection_AsciiString & (AIS_Animation::*)() const) static_cast<const TCollection_AsciiString & (AIS_Animation::*)() const>(&AIS_Animation::Name),
R"#(Animation name.)#"
)
.def("Children",
(const NCollection_Sequence<opencascade::handle<AIS_Animation>> & (AIS_Animation::*)() const) static_cast<const NCollection_Sequence<opencascade::handle<AIS_Animation>> & (AIS_Animation::*)() const>(&AIS_Animation::Children),
R"#(Return sequence of child animations.)#"
)
.def("Timer",
(const opencascade::handle<Media_Timer> & (AIS_Animation::*)() const) static_cast<const opencascade::handle<Media_Timer> & (AIS_Animation::*)() const>(&AIS_Animation::Timer),
R"#(Return playback timer.)#"
)
;
// Class AIS_AnimationProgress from ./opencascade/AIS_Animation.hxx
klass = m.attr("AIS_AnimationProgress");
// nested enums
static_cast<py::class_<AIS_AnimationProgress , shared_ptr<AIS_AnimationProgress> >>(klass)
// constructors
.def(py::init< >() )
// 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
.def_readwrite("Pts", &AIS_AnimationProgress::Pts)
.def_readwrite("LocalPts", &AIS_AnimationProgress::LocalPts)
.def_readwrite("LocalNormalized", &AIS_AnimationProgress::LocalNormalized)
// methods returning by ref wrapped as properties
;
// Class AIS_AttributeFilter from ./opencascade/AIS_AttributeFilter.hxx
klass = m.attr("AIS_AttributeFilter");
// nested enums
static_cast<py::class_<AIS_AttributeFilter ,opencascade::handle<AIS_AttributeFilter> , SelectMgr_Filter >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Quantity_NameOfColor >() , py::arg("aCol") )
.def(py::init< const Standard_Real >() , py::arg("aWidth") )
// custom constructors
// methods
.def("HasColor",
(Standard_Boolean (AIS_AttributeFilter::*)() const) static_cast<Standard_Boolean (AIS_AttributeFilter::*)() const>(&AIS_AttributeFilter::HasColor),
R"#(Indicates that the Interactive Object has the color setting specified by the argument aCol at construction time.)#"
)
.def("HasWidth",
(Standard_Boolean (AIS_AttributeFilter::*)() const) static_cast<Standard_Boolean (AIS_AttributeFilter::*)() const>(&AIS_AttributeFilter::HasWidth),
R"#(Indicates that the Interactive Object has the width setting specified by the argument aWidth at construction time.)#"
)
.def("SetColor",
(void (AIS_AttributeFilter::*)( const Quantity_NameOfColor ) ) static_cast<void (AIS_AttributeFilter::*)( const Quantity_NameOfColor ) >(&AIS_AttributeFilter::SetColor),
R"#(Sets the color.)#" , py::arg("theCol")
)
.def("SetWidth",
(void (AIS_AttributeFilter::*)( const Standard_Real ) ) static_cast<void (AIS_AttributeFilter::*)( const Standard_Real ) >(&AIS_AttributeFilter::SetWidth),
R"#(Sets the line width.)#" , py::arg("theWidth")
)
.def("UnsetColor",
(void (AIS_AttributeFilter::*)() ) static_cast<void (AIS_AttributeFilter::*)() >(&AIS_AttributeFilter::UnsetColor),
R"#(Removes the setting for color from the filter.)#"
)
.def("UnsetWidth",
(void (AIS_AttributeFilter::*)() ) static_cast<void (AIS_AttributeFilter::*)() >(&AIS_AttributeFilter::UnsetWidth),
R"#(Removes the setting for width from the filter.)#"
)
.def("IsOk",
(Standard_Boolean (AIS_AttributeFilter::*)( const opencascade::handle<SelectMgr_EntityOwner> & ) const) static_cast<Standard_Boolean (AIS_AttributeFilter::*)( const opencascade::handle<SelectMgr_EntityOwner> & ) const>(&AIS_AttributeFilter::IsOk),
R"#(Indicates that the selected Interactive Object passes the filter. The owner, anObj, can be either direct or user. A direct owner is the corresponding construction element, whereas a user is the compound shape of which the entity forms a part. If the Interactive Object returns Standard_True when detected by the Local Context selector through the mouse, the object is kept; if not, it is rejected.)#" , py::arg("anObj")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_AttributeFilter::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_AttributeFilter::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> & (AIS_AttributeFilter::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_AttributeFilter::*)() const>(&AIS_AttributeFilter::DynamicType),
R"#(None)#"
)
;
// Class AIS_BadEdgeFilter from ./opencascade/AIS_BadEdgeFilter.hxx
klass = m.attr("AIS_BadEdgeFilter");
// nested enums
static_cast<py::class_<AIS_BadEdgeFilter ,opencascade::handle<AIS_BadEdgeFilter> , SelectMgr_Filter >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("ActsOn",
(Standard_Boolean (AIS_BadEdgeFilter::*)( const TopAbs_ShapeEnum ) const) static_cast<Standard_Boolean (AIS_BadEdgeFilter::*)( const TopAbs_ShapeEnum ) const>(&AIS_BadEdgeFilter::ActsOn),
R"#(None)#" , py::arg("aType")
)
.def("IsOk",
(Standard_Boolean (AIS_BadEdgeFilter::*)( const opencascade::handle<SelectMgr_EntityOwner> & ) const) static_cast<Standard_Boolean (AIS_BadEdgeFilter::*)( const opencascade::handle<SelectMgr_EntityOwner> & ) const>(&AIS_BadEdgeFilter::IsOk),
R"#(None)#" , py::arg("EO")
)
.def("SetContour",
(void (AIS_BadEdgeFilter::*)( const Standard_Integer ) ) static_cast<void (AIS_BadEdgeFilter::*)( const Standard_Integer ) >(&AIS_BadEdgeFilter::SetContour),
R"#(sets <myContour> with current contour. used by IsOk.)#" , py::arg("Index")
)
.def("AddEdge",
(void (AIS_BadEdgeFilter::*)( const TopoDS_Edge & , const Standard_Integer ) ) static_cast<void (AIS_BadEdgeFilter::*)( const TopoDS_Edge & , const Standard_Integer ) >(&AIS_BadEdgeFilter::AddEdge),
R"#(Adds an edge to the list of non-selectionnable edges.)#" , py::arg("anEdge"), py::arg("Index")
)
.def("RemoveEdges",
(void (AIS_BadEdgeFilter::*)( const Standard_Integer ) ) static_cast<void (AIS_BadEdgeFilter::*)( const Standard_Integer ) >(&AIS_BadEdgeFilter::RemoveEdges),
R"#(removes from the list of non-selectionnable edges all edges in the contour <Index>.)#" , py::arg("Index")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_BadEdgeFilter::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_BadEdgeFilter::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> & (AIS_BadEdgeFilter::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_BadEdgeFilter::*)() const>(&AIS_BadEdgeFilter::DynamicType),
R"#(None)#"
)
;
// Class AIS_C0RegularityFilter from ./opencascade/AIS_C0RegularityFilter.hxx
klass = m.attr("AIS_C0RegularityFilter");
// nested enums
static_cast<py::class_<AIS_C0RegularityFilter ,opencascade::handle<AIS_C0RegularityFilter> , SelectMgr_Filter >>(klass)
// constructors
.def(py::init< const TopoDS_Shape & >() , py::arg("aShape") )
// custom constructors
// methods
.def("ActsOn",
(Standard_Boolean (AIS_C0RegularityFilter::*)( const TopAbs_ShapeEnum ) const) static_cast<Standard_Boolean (AIS_C0RegularityFilter::*)( const TopAbs_ShapeEnum ) const>(&AIS_C0RegularityFilter::ActsOn),
R"#(None)#" , py::arg("aType")
)
.def("IsOk",
(Standard_Boolean (AIS_C0RegularityFilter::*)( const opencascade::handle<SelectMgr_EntityOwner> & ) const) static_cast<Standard_Boolean (AIS_C0RegularityFilter::*)( const opencascade::handle<SelectMgr_EntityOwner> & ) const>(&AIS_C0RegularityFilter::IsOk),
R"#(None)#" , py::arg("EO")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_C0RegularityFilter::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_C0RegularityFilter::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> & (AIS_C0RegularityFilter::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_C0RegularityFilter::*)() const>(&AIS_C0RegularityFilter::DynamicType),
R"#(None)#"
)
;
// Class AIS_ColoredDrawer from ./opencascade/AIS_ColoredDrawer.hxx
klass = m.attr("AIS_ColoredDrawer");
// nested enums
static_cast<py::class_<AIS_ColoredDrawer ,opencascade::handle<AIS_ColoredDrawer> , Prs3d_Drawer >>(klass)
// constructors
.def(py::init< const opencascade::handle<Prs3d_Drawer> & >() , py::arg("theLink") )
// custom constructors
// methods
.def("IsHidden",
(bool (AIS_ColoredDrawer::*)() const) static_cast<bool (AIS_ColoredDrawer::*)() const>(&AIS_ColoredDrawer::IsHidden),
R"#(None)#"
)
.def("SetHidden",
(void (AIS_ColoredDrawer::*)( const bool ) ) static_cast<void (AIS_ColoredDrawer::*)( const bool ) >(&AIS_ColoredDrawer::SetHidden),
R"#(None)#" , py::arg("theToHide")
)
.def("HasOwnMaterial",
(bool (AIS_ColoredDrawer::*)() const) static_cast<bool (AIS_ColoredDrawer::*)() const>(&AIS_ColoredDrawer::HasOwnMaterial),
R"#(None)#"
)
.def("UnsetOwnMaterial",
(void (AIS_ColoredDrawer::*)() ) static_cast<void (AIS_ColoredDrawer::*)() >(&AIS_ColoredDrawer::UnsetOwnMaterial),
R"#(None)#"
)
.def("SetOwnMaterial",
(void (AIS_ColoredDrawer::*)() ) static_cast<void (AIS_ColoredDrawer::*)() >(&AIS_ColoredDrawer::SetOwnMaterial),
R"#(None)#"
)
.def("HasOwnColor",
(bool (AIS_ColoredDrawer::*)() const) static_cast<bool (AIS_ColoredDrawer::*)() const>(&AIS_ColoredDrawer::HasOwnColor),
R"#(None)#"
)
.def("UnsetOwnColor",
(void (AIS_ColoredDrawer::*)() ) static_cast<void (AIS_ColoredDrawer::*)() >(&AIS_ColoredDrawer::UnsetOwnColor),
R"#(None)#"
)
.def("SetOwnColor",
(void (AIS_ColoredDrawer::*)( const Quantity_Color & ) ) static_cast<void (AIS_ColoredDrawer::*)( const Quantity_Color & ) >(&AIS_ColoredDrawer::SetOwnColor),
R"#(None)#" , py::arg("arg")
)
.def("HasOwnTransparency",
(bool (AIS_ColoredDrawer::*)() const) static_cast<bool (AIS_ColoredDrawer::*)() const>(&AIS_ColoredDrawer::HasOwnTransparency),
R"#(None)#"
)
.def("UnsetOwnTransparency",
(void (AIS_ColoredDrawer::*)() ) static_cast<void (AIS_ColoredDrawer::*)() >(&AIS_ColoredDrawer::UnsetOwnTransparency),
R"#(None)#"
)
.def("SetOwnTransparency",
(void (AIS_ColoredDrawer::*)( Standard_Real ) ) static_cast<void (AIS_ColoredDrawer::*)( Standard_Real ) >(&AIS_ColoredDrawer::SetOwnTransparency),
R"#(None)#" , py::arg("arg")
)
.def("HasOwnWidth",
(bool (AIS_ColoredDrawer::*)() const) static_cast<bool (AIS_ColoredDrawer::*)() const>(&AIS_ColoredDrawer::HasOwnWidth),
R"#(None)#"
)
.def("UnsetOwnWidth",
(void (AIS_ColoredDrawer::*)() ) static_cast<void (AIS_ColoredDrawer::*)() >(&AIS_ColoredDrawer::UnsetOwnWidth),
R"#(None)#"
)
.def("SetOwnWidth",
(void (AIS_ColoredDrawer::*)( const Standard_Real ) ) static_cast<void (AIS_ColoredDrawer::*)( const Standard_Real ) >(&AIS_ColoredDrawer::SetOwnWidth),
R"#(None)#" , py::arg("arg")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_ColoredDrawer::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_ColoredDrawer::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> & (AIS_ColoredDrawer::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_ColoredDrawer::*)() const>(&AIS_ColoredDrawer::DynamicType),
R"#(None)#"
)
;
// Class AIS_ExclusionFilter from ./opencascade/AIS_ExclusionFilter.hxx
klass = m.attr("AIS_ExclusionFilter");
// nested enums
static_cast<py::class_<AIS_ExclusionFilter ,opencascade::handle<AIS_ExclusionFilter> , SelectMgr_Filter >>(klass)
// constructors
.def(py::init< const Standard_Boolean >() , py::arg("ExclusionFlagOn")=static_cast<const Standard_Boolean>(Standard_True) )
.def(py::init< const AIS_KindOfInteractive,const Standard_Boolean >() , py::arg("TypeToExclude"), py::arg("ExclusionFlagOn")=static_cast<const Standard_Boolean>(Standard_True) )
.def(py::init< const AIS_KindOfInteractive,const Standard_Integer,const Standard_Boolean >() , py::arg("TypeToExclude"), py::arg("SignatureInType"), py::arg("ExclusionFlagOn")=static_cast<const Standard_Boolean>(Standard_True) )
// custom constructors
// methods
.def("IsOk",
(Standard_Boolean (AIS_ExclusionFilter::*)( const opencascade::handle<SelectMgr_EntityOwner> & ) const) static_cast<Standard_Boolean (AIS_ExclusionFilter::*)( const opencascade::handle<SelectMgr_EntityOwner> & ) const>(&AIS_ExclusionFilter::IsOk),
R"#(None)#" , py::arg("anObj")
)
.def("Add",
(Standard_Boolean (AIS_ExclusionFilter::*)( const AIS_KindOfInteractive ) ) static_cast<Standard_Boolean (AIS_ExclusionFilter::*)( const AIS_KindOfInteractive ) >(&AIS_ExclusionFilter::Add),
R"#(Adds the type TypeToExclude to the list of types.)#" , py::arg("TypeToExclude")
)
.def("Add",
(Standard_Boolean (AIS_ExclusionFilter::*)( const AIS_KindOfInteractive , const Standard_Integer ) ) static_cast<Standard_Boolean (AIS_ExclusionFilter::*)( const AIS_KindOfInteractive , const Standard_Integer ) >(&AIS_ExclusionFilter::Add),
R"#(None)#" , py::arg("TypeToExclude"), py::arg("SignatureInType")
)
.def("Remove",
(Standard_Boolean (AIS_ExclusionFilter::*)( const AIS_KindOfInteractive ) ) static_cast<Standard_Boolean (AIS_ExclusionFilter::*)( const AIS_KindOfInteractive ) >(&AIS_ExclusionFilter::Remove),
R"#(None)#" , py::arg("TypeToExclude")
)
.def("Remove",
(Standard_Boolean (AIS_ExclusionFilter::*)( const AIS_KindOfInteractive , const Standard_Integer ) ) static_cast<Standard_Boolean (AIS_ExclusionFilter::*)( const AIS_KindOfInteractive , const Standard_Integer ) >(&AIS_ExclusionFilter::Remove),
R"#(None)#" , py::arg("TypeToExclude"), py::arg("SignatureInType")
)
.def("Clear",
(void (AIS_ExclusionFilter::*)() ) static_cast<void (AIS_ExclusionFilter::*)() >(&AIS_ExclusionFilter::Clear),
R"#(None)#"
)
.def("IsExclusionFlagOn",
(Standard_Boolean (AIS_ExclusionFilter::*)() const) static_cast<Standard_Boolean (AIS_ExclusionFilter::*)() const>(&AIS_ExclusionFilter::IsExclusionFlagOn),
R"#(None)#"
)
.def("SetExclusionFlag",
(void (AIS_ExclusionFilter::*)( const Standard_Boolean ) ) static_cast<void (AIS_ExclusionFilter::*)( const Standard_Boolean ) >(&AIS_ExclusionFilter::SetExclusionFlag),
R"#(None)#" , py::arg("theStatus")
)
.def("IsStored",
(Standard_Boolean (AIS_ExclusionFilter::*)( const AIS_KindOfInteractive ) const) static_cast<Standard_Boolean (AIS_ExclusionFilter::*)( const AIS_KindOfInteractive ) const>(&AIS_ExclusionFilter::IsStored),
R"#(None)#" , py::arg("aType")
)
.def("ListOfStoredTypes",
(void (AIS_ExclusionFilter::*)( NCollection_List<Standard_Integer> & ) const) static_cast<void (AIS_ExclusionFilter::*)( NCollection_List<Standard_Integer> & ) const>(&AIS_ExclusionFilter::ListOfStoredTypes),
R"#(None)#" , py::arg("TheList")
)
.def("ListOfSignature",
(void (AIS_ExclusionFilter::*)( const AIS_KindOfInteractive , NCollection_List<Standard_Integer> & ) const) static_cast<void (AIS_ExclusionFilter::*)( const AIS_KindOfInteractive , NCollection_List<Standard_Integer> & ) const>(&AIS_ExclusionFilter::ListOfSignature),
R"#(None)#" , py::arg("aType"), py::arg("TheStoredList")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_ExclusionFilter::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_ExclusionFilter::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> & (AIS_ExclusionFilter::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_ExclusionFilter::*)() const>(&AIS_ExclusionFilter::DynamicType),
R"#(None)#"
)
;
// Class AIS_GlobalStatus from ./opencascade/AIS_GlobalStatus.hxx
klass = m.attr("AIS_GlobalStatus");
// nested enums
static_cast<py::class_<AIS_GlobalStatus ,opencascade::handle<AIS_GlobalStatus> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("DisplayMode",
(Standard_Integer (AIS_GlobalStatus::*)() const) static_cast<Standard_Integer (AIS_GlobalStatus::*)() const>(&AIS_GlobalStatus::DisplayMode),
R"#(Returns the display mode.)#"
)
.def("SetDisplayMode",
(void (AIS_GlobalStatus::*)( const Standard_Integer ) ) static_cast<void (AIS_GlobalStatus::*)( const Standard_Integer ) >(&AIS_GlobalStatus::SetDisplayMode),
R"#(Sets display mode.)#" , py::arg("theMode")
)
.def("IsHilighted",
(Standard_Boolean (AIS_GlobalStatus::*)() const) static_cast<Standard_Boolean (AIS_GlobalStatus::*)() const>(&AIS_GlobalStatus::IsHilighted),
R"#(Returns TRUE if object is highlighted)#"
)
.def("SetHilightStatus",
(void (AIS_GlobalStatus::*)( const Standard_Boolean ) ) static_cast<void (AIS_GlobalStatus::*)( const Standard_Boolean ) >(&AIS_GlobalStatus::SetHilightStatus),
R"#(Sets highlighted state.)#" , py::arg("theStatus")
)
.def("SetHilightStyle",
(void (AIS_GlobalStatus::*)( const opencascade::handle<Prs3d_Drawer> & ) ) static_cast<void (AIS_GlobalStatus::*)( const opencascade::handle<Prs3d_Drawer> & ) >(&AIS_GlobalStatus::SetHilightStyle),
R"#(Changes applied highlight style for a particular object)#" , py::arg("theStyle")
)
.def("IsSModeIn",
(Standard_Boolean (AIS_GlobalStatus::*)( Standard_Integer ) const) static_cast<Standard_Boolean (AIS_GlobalStatus::*)( Standard_Integer ) const>(&AIS_GlobalStatus::IsSModeIn),
R"#(Return TRUE if selection mode was registered.)#" , py::arg("theMode")
)
.def("AddSelectionMode",
(Standard_Boolean (AIS_GlobalStatus::*)( const Standard_Integer ) ) static_cast<Standard_Boolean (AIS_GlobalStatus::*)( const Standard_Integer ) >(&AIS_GlobalStatus::AddSelectionMode),
R"#(Add selection mode.)#" , py::arg("theMode")
)
.def("RemoveSelectionMode",
(Standard_Boolean (AIS_GlobalStatus::*)( const Standard_Integer ) ) static_cast<Standard_Boolean (AIS_GlobalStatus::*)( const Standard_Integer ) >(&AIS_GlobalStatus::RemoveSelectionMode),
R"#(Remove selection mode.)#" , py::arg("theMode")
)
.def("ClearSelectionModes",
(void (AIS_GlobalStatus::*)() ) static_cast<void (AIS_GlobalStatus::*)() >(&AIS_GlobalStatus::ClearSelectionModes),
R"#(Remove all selection modes.)#"
)
.def("IsSubIntensityOn",
(Standard_Boolean (AIS_GlobalStatus::*)() const) static_cast<Standard_Boolean (AIS_GlobalStatus::*)() const>(&AIS_GlobalStatus::IsSubIntensityOn),
R"#(None)#"
)
.def("SetSubIntensity",
(void (AIS_GlobalStatus::*)( Standard_Boolean ) ) static_cast<void (AIS_GlobalStatus::*)( Standard_Boolean ) >(&AIS_GlobalStatus::SetSubIntensity),
R"#(None)#" , py::arg("theIsOn")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_GlobalStatus::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_GlobalStatus::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> & (AIS_GlobalStatus::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_GlobalStatus::*)() const>(&AIS_GlobalStatus::DynamicType),
R"#(None)#"
)
.def("HilightStyle",
(const opencascade::handle<Prs3d_Drawer> & (AIS_GlobalStatus::*)() const) static_cast<const opencascade::handle<Prs3d_Drawer> & (AIS_GlobalStatus::*)() const>(&AIS_GlobalStatus::HilightStyle),
R"#(Returns applied highlight style for a particular object)#"
)
.def("SelectionModes",
(const TColStd_ListOfInteger & (AIS_GlobalStatus::*)() const) static_cast<const TColStd_ListOfInteger & (AIS_GlobalStatus::*)() const>(&AIS_GlobalStatus::SelectionModes),
R"#(Returns active selection modes of the object.)#"
, py::return_value_policy::reference_internal
)
;
// Class AIS_GraphicTool from ./opencascade/AIS_GraphicTool.hxx
klass = m.attr("AIS_GraphicTool");
// default constructor
register_default_constructor<AIS_GraphicTool , shared_ptr<AIS_GraphicTool>>(m,"AIS_GraphicTool");
// nested enums
static_cast<py::class_<AIS_GraphicTool , shared_ptr<AIS_GraphicTool> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
.def_static("GetLineColor_s",
(Quantity_NameOfColor (*)( const opencascade::handle<Prs3d_Drawer> & , const AIS_TypeOfAttribute ) ) static_cast<Quantity_NameOfColor (*)( const opencascade::handle<Prs3d_Drawer> & , const AIS_TypeOfAttribute ) >(&AIS_GraphicTool::GetLineColor),
R"#(None)#" , py::arg("aDrawer"), py::arg("TheTypeOfAttributes")
)
.def_static("GetLineColor_s",
(void (*)( const opencascade::handle<Prs3d_Drawer> & , const AIS_TypeOfAttribute , Quantity_Color & ) ) static_cast<void (*)( const opencascade::handle<Prs3d_Drawer> & , const AIS_TypeOfAttribute , Quantity_Color & ) >(&AIS_GraphicTool::GetLineColor),
R"#(None)#" , py::arg("aDrawer"), py::arg("TheTypeOfAttributes"), py::arg("TheLineColor")
)
.def_static("GetLineWidth_s",
(Standard_Real (*)( const opencascade::handle<Prs3d_Drawer> & , const AIS_TypeOfAttribute ) ) static_cast<Standard_Real (*)( const opencascade::handle<Prs3d_Drawer> & , const AIS_TypeOfAttribute ) >(&AIS_GraphicTool::GetLineWidth),
R"#(None)#" , py::arg("aDrawer"), py::arg("TheTypeOfAttributes")
)
.def_static("GetLineType_s",
(Aspect_TypeOfLine (*)( const opencascade::handle<Prs3d_Drawer> & , const AIS_TypeOfAttribute ) ) static_cast<Aspect_TypeOfLine (*)( const opencascade::handle<Prs3d_Drawer> & , const AIS_TypeOfAttribute ) >(&AIS_GraphicTool::GetLineType),
R"#(None)#" , py::arg("aDrawer"), py::arg("TheTypeOfAttributes")
)
.def_static("GetInteriorColor_s",
(Quantity_NameOfColor (*)( const opencascade::handle<Prs3d_Drawer> & ) ) static_cast<Quantity_NameOfColor (*)( const opencascade::handle<Prs3d_Drawer> & ) >(&AIS_GraphicTool::GetInteriorColor),
R"#(None)#" , py::arg("aDrawer")
)
.def_static("GetInteriorColor_s",
(void (*)( const opencascade::handle<Prs3d_Drawer> & , Quantity_Color & ) ) static_cast<void (*)( const opencascade::handle<Prs3d_Drawer> & , Quantity_Color & ) >(&AIS_GraphicTool::GetInteriorColor),
R"#(None)#" , py::arg("aDrawer"), py::arg("aColor")
)
.def_static("GetMaterial_s",
(Graphic3d_MaterialAspect (*)( const opencascade::handle<Prs3d_Drawer> & ) ) static_cast<Graphic3d_MaterialAspect (*)( const opencascade::handle<Prs3d_Drawer> & ) >(&AIS_GraphicTool::GetMaterial),
R"#(None)#" , py::arg("aDrawer")
)
// static methods using call by reference i.s.o. return
.def_static("GetLineAtt_s",
[](const opencascade::handle<Prs3d_Drawer> & aDrawer,const AIS_TypeOfAttribute TheTypeOfAttributes,Quantity_NameOfColor & aCol,Aspect_TypeOfLine & aTyp ){
Standard_Real aWidth;
AIS_GraphicTool::GetLineAtt(aDrawer,TheTypeOfAttributes,aCol,aWidth,aTyp);
return std::make_tuple(aWidth); },
R"#(None)#" , py::arg("aDrawer"), py::arg("TheTypeOfAttributes"), py::arg("aCol"), py::arg("aTyp")
)
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class AIS_InteractiveContext from ./opencascade/AIS_InteractiveContext.hxx
klass = m.attr("AIS_InteractiveContext");
// nested enums
static_cast<py::class_<AIS_InteractiveContext ,opencascade::handle<AIS_InteractiveContext> , Standard_Transient >>(klass)
// constructors
.def(py::init< const opencascade::handle<V3d_Viewer> & >() , py::arg("MainViewer") )
// custom constructors
// methods
.def("DisplayStatus",
(PrsMgr_DisplayStatus (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) const) static_cast<PrsMgr_DisplayStatus (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) const>(&AIS_InteractiveContext::DisplayStatus),
R"#(Returns the display status of the entity anIobj. This will be one of the following: - AIS_DS_Displayed displayed in main viewer - AIS_DS_Erased hidden in main viewer - AIS_DS_Temporary temporarily displayed - AIS_DS_None nowhere displayed.)#" , py::arg("anIobj")
)
.def("Status",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , TCollection_ExtendedString & ) const) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , TCollection_ExtendedString & ) const>(&AIS_InteractiveContext::Status),
R"#(Returns the status of the Interactive Context for the view of the Interactive Object.)#" , py::arg("anObj"), py::arg("astatus")
)
.def("IsDisplayed",
(Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) const>(&AIS_InteractiveContext::IsDisplayed),
R"#(Returns true if Object is displayed in the interactive context.)#" , py::arg("anIobj")
)
.def("IsDisplayed",
(Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer ) const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer ) const>(&AIS_InteractiveContext::IsDisplayed),
R"#(None)#" , py::arg("aniobj"), py::arg("aMode")
)
.def("SetAutoActivateSelection",
(void (AIS_InteractiveContext::*)( const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Boolean ) >(&AIS_InteractiveContext::SetAutoActivateSelection),
R"#(Enable or disable automatic activation of default selection mode while displaying the object.)#" , py::arg("theIsAuto")
)
.def("GetAutoActivateSelection",
(Standard_Boolean (AIS_InteractiveContext::*)() const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::GetAutoActivateSelection),
R"#(Manages displaying the new object should also automatically activate default selection mode; TRUE by default.)#"
)
.def("Display",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) >(&AIS_InteractiveContext::Display),
R"#(Displays the object in this Context using default Display Mode. This will be the object's default display mode, if there is one. Otherwise, it will be the context mode. The Interactive Object's default selection mode is activated if GetAutoActivateSelection() is TRUE. In general, this is 0.)#" , py::arg("theIObj"), py::arg("theToUpdateViewer")
)
.def("Display",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer , const Standard_Integer , const Standard_Boolean , const PrsMgr_DisplayStatus ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer , const Standard_Integer , const Standard_Boolean , const PrsMgr_DisplayStatus ) >(&AIS_InteractiveContext::Display),
R"#(Sets status, display mode and selection mode for specified Object If theSelectionMode equals -1, theIObj will not be activated: it will be displayed but will not be selectable.)#" , py::arg("theIObj"), py::arg("theDispMode"), py::arg("theSelectionMode"), py::arg("theToUpdateViewer"), py::arg("theDispStatus")=static_cast<const PrsMgr_DisplayStatus>(PrsMgr_DisplayStatus_None)
)
.def("Load",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer ) >(&AIS_InteractiveContext::Load),
R"#(Allows you to load the Interactive Object with a given selection mode, and/or with the desired decomposition option, whether the object is visualized or not. The loaded objects will be selectable but displayable in highlighting only when detected by the Selector.)#" , py::arg("theObj"), py::arg("theSelectionMode")=static_cast<const Standard_Integer>(- 1)
)
.def("Erase",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) >(&AIS_InteractiveContext::Erase),
R"#(Hides the object. The object's presentations are simply flagged as invisible and therefore excluded from redrawing. To show hidden objects, use Display().)#" , py::arg("theIObj"), py::arg("theToUpdateViewer")
)
.def("EraseAll",
(void (AIS_InteractiveContext::*)( const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Boolean ) >(&AIS_InteractiveContext::EraseAll),
R"#(Hides all objects. The object's presentations are simply flagged as invisible and therefore excluded from redrawing. To show all hidden objects, use DisplayAll().)#" , py::arg("theToUpdateViewer")
)
.def("DisplayAll",
(void (AIS_InteractiveContext::*)( const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Boolean ) >(&AIS_InteractiveContext::DisplayAll),
R"#(Displays all hidden objects.)#" , py::arg("theToUpdateViewer")
)
.def("EraseSelected",
(void (AIS_InteractiveContext::*)( const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Boolean ) >(&AIS_InteractiveContext::EraseSelected),
R"#(Hides selected objects. The object's presentations are simply flagged as invisible and therefore excluded from redrawing. To show hidden objects, use Display().)#" , py::arg("theToUpdateViewer")
)
.def("DisplaySelected",
(void (AIS_InteractiveContext::*)( const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Boolean ) >(&AIS_InteractiveContext::DisplaySelected),
R"#(Displays current objects.)#" , py::arg("theToUpdateViewer")
)
.def("ClearPrs",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer , const Standard_Boolean ) >(&AIS_InteractiveContext::ClearPrs),
R"#(Empties the graphic presentation of the mode indexed by aMode. Warning! Removes theIObj. theIObj is still active if it was previously activated.)#" , py::arg("theIObj"), py::arg("theMode"), py::arg("theToUpdateViewer")
)
.def("Remove",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) >(&AIS_InteractiveContext::Remove),
R"#(Removes Object from every viewer.)#" , py::arg("theIObj"), py::arg("theToUpdateViewer")
)
.def("RemoveAll",
(void (AIS_InteractiveContext::*)( const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Boolean ) >(&AIS_InteractiveContext::RemoveAll),
R"#(Removes all the objects from Context.)#" , py::arg("theToUpdateViewer")
)
.def("Redisplay",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean , const Standard_Boolean ) >(&AIS_InteractiveContext::Redisplay),
R"#(Recomputes the seen parts presentation of the Object. If theAllModes equals true, all presentations are present in the object even if unseen.)#" , py::arg("theIObj"), py::arg("theToUpdateViewer"), py::arg("theAllModes")=static_cast<const Standard_Boolean>(Standard_False)
)
.def("Redisplay",
(void (AIS_InteractiveContext::*)( const AIS_KindOfInteractive , const Standard_Integer , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const AIS_KindOfInteractive , const Standard_Integer , const Standard_Boolean ) >(&AIS_InteractiveContext::Redisplay),
R"#(Recomputes the Prs/Selection of displayed objects of a given type and a given signature. if signature = -1 doesn't take signature criterion.)#" , py::arg("theTypeOfObject"), py::arg("theSignature"), py::arg("theToUpdateViewer")
)
.def("RecomputePrsOnly",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean , const Standard_Boolean ) >(&AIS_InteractiveContext::RecomputePrsOnly),
R"#(Recomputes the displayed presentations, flags the others. Doesn't update presentations.)#" , py::arg("theIObj"), py::arg("theToUpdateViewer"), py::arg("theAllModes")=static_cast<const Standard_Boolean>(Standard_False)
)
.def("RecomputeSelectionOnly",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) >(&AIS_InteractiveContext::RecomputeSelectionOnly),
R"#(Recomputes the active selections, flags the others. Doesn't update presentations.)#" , py::arg("anIObj")
)
.def("Update",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) >(&AIS_InteractiveContext::Update),
R"#(Updates displayed interactive object by checking and recomputing its flagged as "to be recomputed" presentation and selection structures. This method does not force any recomputation on its own. The method recomputes selections even if they are loaded without activation in particular selector.)#" , py::arg("theIObj"), py::arg("theUpdateViewer")
)
.def("HighlightStyle",
(const opencascade::handle<Prs3d_Drawer> & (AIS_InteractiveContext::*)( const Prs3d_TypeOfHighlight ) const) static_cast<const opencascade::handle<Prs3d_Drawer> & (AIS_InteractiveContext::*)( const Prs3d_TypeOfHighlight ) const>(&AIS_InteractiveContext::HighlightStyle),
R"#(Returns default highlight style settings (could be overridden by PrsMgr_PresentableObject).)#" , py::arg("theStyleType")
)
.def("SetHighlightStyle",
(void (AIS_InteractiveContext::*)( const Prs3d_TypeOfHighlight , const opencascade::handle<Prs3d_Drawer> & ) ) static_cast<void (AIS_InteractiveContext::*)( const Prs3d_TypeOfHighlight , const opencascade::handle<Prs3d_Drawer> & ) >(&AIS_InteractiveContext::SetHighlightStyle),
R"#(Setup highlight style settings. Tip: it is better modifying existing style returned by method HighlightStyle() instead of creating a new Prs3d_Drawer to avoid unexpected results due misconfiguration.)#" , py::arg("theStyleType"), py::arg("theStyle")
)
.def("SetHighlightStyle",
(void (AIS_InteractiveContext::*)( const opencascade::handle<Prs3d_Drawer> & ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<Prs3d_Drawer> & ) >(&AIS_InteractiveContext::SetHighlightStyle),
R"#(Setup the style of dynamic highlighting corrsponding to Prs3d_TypeOfHighlight_Selected. This is just a short-cut to SetHighlightStyle(Prs3d_TypeOfHighlight_Dynamic,theStyle).)#" , py::arg("theStyle")
)
.def("SetSelectionStyle",
(void (AIS_InteractiveContext::*)( const opencascade::handle<Prs3d_Drawer> & ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<Prs3d_Drawer> & ) >(&AIS_InteractiveContext::SetSelectionStyle),
R"#(Setup the style of selection highlighting. This is just a short-cut to SetHighlightStyle(Prs3d_TypeOfHighlight_Selected,theStyle).)#" , py::arg("theStyle")
)
.def("HighlightStyle",
(Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , opencascade::handle<Prs3d_Drawer> & ) const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , opencascade::handle<Prs3d_Drawer> & ) const>(&AIS_InteractiveContext::HighlightStyle),
R"#(Returns highlight style of the object if it is marked as highlighted via global status)#" , py::arg("theObj"), py::arg("theStyle")
)
.def("HighlightStyle",
(Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<SelectMgr_EntityOwner> & , opencascade::handle<Prs3d_Drawer> & ) const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<SelectMgr_EntityOwner> & , opencascade::handle<Prs3d_Drawer> & ) const>(&AIS_InteractiveContext::HighlightStyle),
R"#(Returns highlight style of the owner if it is selected)#" , py::arg("theOwner"), py::arg("theStyle")
)
.def("IsHilighted",
(Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) const>(&AIS_InteractiveContext::IsHilighted),
R"#(Returns true if the object is marked as highlighted via its global status)#" , py::arg("theObj")
)
.def("IsHilighted",
(Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<SelectMgr_EntityOwner> & ) const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<SelectMgr_EntityOwner> & ) const>(&AIS_InteractiveContext::IsHilighted),
R"#(Returns true if the owner is marked as selected)#" , py::arg("theOwner")
)
.def("HilightWithColor",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const opencascade::handle<Prs3d_Drawer> & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const opencascade::handle<Prs3d_Drawer> & , const Standard_Boolean ) >(&AIS_InteractiveContext::HilightWithColor),
R"#(Changes the color of all the lines of the object in view.)#" , py::arg("theObj"), py::arg("theStyle"), py::arg("theToUpdateViewer")
)
.def("Unhilight",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) >(&AIS_InteractiveContext::Unhilight),
R"#(Removes hilighting from the Object.)#" , py::arg("theIObj"), py::arg("theToUpdateViewer")
)
.def("DisplayPriority",
(Graphic3d_DisplayPriority (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) const) static_cast<Graphic3d_DisplayPriority (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) const>(&AIS_InteractiveContext::DisplayPriority),
R"#(Returns the display priority of the Object.)#" , py::arg("theIObj")
)
.def("SetDisplayPriority",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Graphic3d_DisplayPriority ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Graphic3d_DisplayPriority ) >(&AIS_InteractiveContext::SetDisplayPriority),
R"#(Sets the display priority of the seen parts presentation of the Object.)#" , py::arg("theIObj"), py::arg("thePriority")
)
.def("SetDisplayPriority",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer ) >(&AIS_InteractiveContext::SetDisplayPriority),
R"#(None)#" , py::arg("theIObj"), py::arg("thePriority")
)
.def("GetZLayer",
(Graphic3d_ZLayerId (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) const) static_cast<Graphic3d_ZLayerId (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) const>(&AIS_InteractiveContext::GetZLayer),
R"#(Get Z layer id set for displayed interactive object.)#" , py::arg("theIObj")
)
.def("SetZLayer",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Graphic3d_ZLayerId ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Graphic3d_ZLayerId ) >(&AIS_InteractiveContext::SetZLayer),
R"#(Set Z layer id for interactive object. The Z layers can be used to display temporarily presentations of some object in front of the other objects in the scene. The ids for Z layers are generated by V3d_Viewer.)#" , py::arg("theIObj"), py::arg("theLayerId")
)
.def("SetViewAffinity",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const opencascade::handle<V3d_View> & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const opencascade::handle<V3d_View> & , const Standard_Boolean ) >(&AIS_InteractiveContext::SetViewAffinity),
R"#(Setup object visibility in specified view. Has no effect if object is not displayed in this context.)#" , py::arg("theIObj"), py::arg("theView"), py::arg("theIsVisible")
)
.def("DisplayMode",
(Standard_Integer (AIS_InteractiveContext::*)() const) static_cast<Standard_Integer (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::DisplayMode),
R"#(Returns the Display Mode setting to be used by default.)#"
)
.def("SetDisplayMode",
(void (AIS_InteractiveContext::*)( const Standard_Integer , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Integer , const Standard_Boolean ) >(&AIS_InteractiveContext::SetDisplayMode),
R"#(Sets the display mode of seen Interactive Objects (which have no overridden Display Mode).)#" , py::arg("theMode"), py::arg("theToUpdateViewer")
)
.def("SetDisplayMode",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer , const Standard_Boolean ) >(&AIS_InteractiveContext::SetDisplayMode),
R"#(Sets the display mode of seen Interactive Objects. theMode provides the display mode index of the entity theIObj.)#" , py::arg("theIObj"), py::arg("theMode"), py::arg("theToUpdateViewer")
)
.def("UnsetDisplayMode",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) >(&AIS_InteractiveContext::UnsetDisplayMode),
R"#(Unsets the display mode of seen Interactive Objects.)#" , py::arg("theIObj"), py::arg("theToUpdateViewer")
)
.def("SetLocation",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const TopLoc_Location & ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const TopLoc_Location & ) >(&AIS_InteractiveContext::SetLocation),
R"#(Puts the location on the initial graphic representation and the selection for the Object.)#" , py::arg("theObject"), py::arg("theLocation")
)
.def("ResetLocation",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) >(&AIS_InteractiveContext::ResetLocation),
R"#(Puts the Object back into its initial position.)#" , py::arg("theObject")
)
.def("HasLocation",
(Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) const>(&AIS_InteractiveContext::HasLocation),
R"#(Returns true if the Object has a location.)#" , py::arg("theObject")
)
.def("Location",
(TopLoc_Location (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) const) static_cast<TopLoc_Location (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) const>(&AIS_InteractiveContext::Location),
R"#(Returns the location of the Object.)#" , py::arg("theObject")
)
.def("SetTransformPersistence",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const opencascade::handle<Graphic3d_TransformPers> & ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const opencascade::handle<Graphic3d_TransformPers> & ) >(&AIS_InteractiveContext::SetTransformPersistence),
R"#(Sets transform persistence.)#" , py::arg("theObject"), py::arg("theTrsfPers")
)
.def("SetPixelTolerance",
(void (AIS_InteractiveContext::*)( const Standard_Integer ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Integer ) >(&AIS_InteractiveContext::SetPixelTolerance),
R"#(Setup pixel tolerance for MoveTo() operation.)#" , py::arg("thePrecision")=static_cast<const Standard_Integer>(2)
)
.def("PixelTolerance",
(Standard_Integer (AIS_InteractiveContext::*)() const) static_cast<Standard_Integer (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::PixelTolerance),
R"#(Returns the pixel tolerance, default is 2. Pixel Tolerance extends sensitivity within MoveTo() operation (picking by point) and can be adjusted by application based on user input precision (e.g. screen pixel density, input device precision, etc.).)#"
)
.def("SetSelectionSensitivity",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer , const Standard_Integer ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer , const Standard_Integer ) >(&AIS_InteractiveContext::SetSelectionSensitivity),
R"#(Allows to manage sensitivity of a particular selection of interactive object theObject and changes previous sensitivity value of all sensitive entities in selection with theMode to the given theNewSensitivity.)#" , py::arg("theObject"), py::arg("theMode"), py::arg("theNewSensitivity")
)
.def("LastActiveView",
(opencascade::handle<V3d_View> (AIS_InteractiveContext::*)() const) static_cast<opencascade::handle<V3d_View> (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::LastActiveView),
R"#(Returns last active View (argument of MoveTo()/Select() methods).)#"
)
.def("MoveTo",
(AIS_StatusOfDetection (AIS_InteractiveContext::*)( const Standard_Integer , const Standard_Integer , const opencascade::handle<V3d_View> & , const Standard_Boolean ) ) static_cast<AIS_StatusOfDetection (AIS_InteractiveContext::*)( const Standard_Integer , const Standard_Integer , const opencascade::handle<V3d_View> & , const Standard_Boolean ) >(&AIS_InteractiveContext::MoveTo),
R"#(Relays mouse position in pixels theXPix and theYPix to the interactive context selectors. This is done by the view theView passing this position to the main viewer and updating it. If theToRedrawOnUpdate is set to false, callee should call RedrawImmediate() to highlight detected object.)#" , py::arg("theXPix"), py::arg("theYPix"), py::arg("theView"), py::arg("theToRedrawOnUpdate")
)
.def("MoveTo",
(AIS_StatusOfDetection (AIS_InteractiveContext::*)( const gp_Ax1 & , const opencascade::handle<V3d_View> & , const Standard_Boolean ) ) static_cast<AIS_StatusOfDetection (AIS_InteractiveContext::*)( const gp_Ax1 & , const opencascade::handle<V3d_View> & , const Standard_Boolean ) >(&AIS_InteractiveContext::MoveTo),
R"#(Relays axis theAxis to the interactive context selectors. This is done by the view theView passing this axis to the main viewer and updating it. If theToRedrawOnUpdate is set to false, callee should call RedrawImmediate() to highlight detected object.)#" , py::arg("theAxis"), py::arg("theView"), py::arg("theToRedrawOnUpdate")
)
.def("ClearDetected",
(Standard_Boolean (AIS_InteractiveContext::*)( Standard_Boolean ) ) static_cast<Standard_Boolean (AIS_InteractiveContext::*)( Standard_Boolean ) >(&AIS_InteractiveContext::ClearDetected),
R"#(Clears the list of entities detected by MoveTo() and resets dynamic highlighting.)#" , py::arg("theToRedrawImmediate")=static_cast<Standard_Boolean>(Standard_False)
)
.def("HasDetected",
(Standard_Boolean (AIS_InteractiveContext::*)() const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::HasDetected),
R"#(Returns true if there is a mouse-detected entity in context.)#"
)
.def("DetectedInteractive",
(opencascade::handle<AIS_InteractiveObject> (AIS_InteractiveContext::*)() const) static_cast<opencascade::handle<AIS_InteractiveObject> (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::DetectedInteractive),
R"#(Returns the interactive objects last detected in context. In general this is just a wrapper for Handle(AIS_InteractiveObject)::DownCast(DetectedOwner()->Selectable()).)#"
)
.def("HasDetectedShape",
(Standard_Boolean (AIS_InteractiveContext::*)() const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::HasDetectedShape),
R"#(Returns true if there is a detected shape in local context.)#"
)
.def("HasNextDetected",
(Standard_Boolean (AIS_InteractiveContext::*)() const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::HasNextDetected),
R"#(returns True if other entities were detected in the last mouse detection)#"
)
.def("HilightNextDetected",
(Standard_Integer (AIS_InteractiveContext::*)( const opencascade::handle<V3d_View> & , const Standard_Boolean ) ) static_cast<Standard_Integer (AIS_InteractiveContext::*)( const opencascade::handle<V3d_View> & , const Standard_Boolean ) >(&AIS_InteractiveContext::HilightNextDetected),
R"#(If more than 1 object is detected by the selector, only the "best" owner is hilighted at the mouse position. This Method allows the user to hilight one after another the other detected entities. If The method select is called, the selected entity will be the hilighted one! WARNING: Loop Method. When all the detected entities have been hilighted, the next call will hilight the first one again.)#" , py::arg("theView"), py::arg("theToRedrawImmediate")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("HilightPreviousDetected",
(Standard_Integer (AIS_InteractiveContext::*)( const opencascade::handle<V3d_View> & , const Standard_Boolean ) ) static_cast<Standard_Integer (AIS_InteractiveContext::*)( const opencascade::handle<V3d_View> & , const Standard_Boolean ) >(&AIS_InteractiveContext::HilightPreviousDetected),
R"#(Same as previous methods in reverse direction.)#" , py::arg("theView"), py::arg("theToRedrawImmediate")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("InitDetected",
(void (AIS_InteractiveContext::*)() ) static_cast<void (AIS_InteractiveContext::*)() >(&AIS_InteractiveContext::InitDetected),
R"#(Initialization for iteration through mouse-detected objects in interactive context or in local context if it is opened.)#"
)
.def("MoreDetected",
(Standard_Boolean (AIS_InteractiveContext::*)() const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::MoreDetected),
R"#(Return TRUE if there is more mouse-detected objects after the current one during iteration through mouse-detected interactive objects.)#"
)
.def("NextDetected",
(void (AIS_InteractiveContext::*)() ) static_cast<void (AIS_InteractiveContext::*)() >(&AIS_InteractiveContext::NextDetected),
R"#(Gets next current object during iteration through mouse-detected interactive objects.)#"
)
.def("DetectedCurrentOwner",
(opencascade::handle<SelectMgr_EntityOwner> (AIS_InteractiveContext::*)() const) static_cast<opencascade::handle<SelectMgr_EntityOwner> (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::DetectedCurrentOwner),
R"#(Returns the owner from detected list pointed by current iterator position. WARNING! This method is irrelevant to DetectedOwner() which returns last picked Owner regardless of iterator position!)#"
)
.def("AddSelect",
(AIS_StatusOfPick (AIS_InteractiveContext::*)( const opencascade::handle<SelectMgr_EntityOwner> & ) ) static_cast<AIS_StatusOfPick (AIS_InteractiveContext::*)( const opencascade::handle<SelectMgr_EntityOwner> & ) >(&AIS_InteractiveContext::AddSelect),
R"#(Adds object in the selection.)#" , py::arg("theObject")
)
.def("AddSelect",
(AIS_StatusOfPick (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) ) static_cast<AIS_StatusOfPick (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) >(&AIS_InteractiveContext::AddSelect),
R"#(Adds object in the selection.)#" , py::arg("theObject")
)
.def("SelectRectangle",
(AIS_StatusOfPick (AIS_InteractiveContext::*)( const NCollection_Vec2<Standard_Integer> & , const NCollection_Vec2<Standard_Integer> & , const opencascade::handle<V3d_View> & , const AIS_SelectionScheme ) ) static_cast<AIS_StatusOfPick (AIS_InteractiveContext::*)( const NCollection_Vec2<Standard_Integer> & , const NCollection_Vec2<Standard_Integer> & , const opencascade::handle<V3d_View> & , const AIS_SelectionScheme ) >(&AIS_InteractiveContext::SelectRectangle),
R"#(Selects objects within the bounding rectangle. Viewer should be explicitly redrawn after selection.)#" , py::arg("thePntMin"), py::arg("thePntMax"), py::arg("theView"), py::arg("theSelScheme")=static_cast<const AIS_SelectionScheme>(AIS_SelectionScheme_Replace)
)
.def("SelectPolygon",
(AIS_StatusOfPick (AIS_InteractiveContext::*)( const NCollection_Array1<gp_Pnt2d> & , const opencascade::handle<V3d_View> & , const AIS_SelectionScheme ) ) static_cast<AIS_StatusOfPick (AIS_InteractiveContext::*)( const NCollection_Array1<gp_Pnt2d> & , const opencascade::handle<V3d_View> & , const AIS_SelectionScheme ) >(&AIS_InteractiveContext::SelectPolygon),
R"#(Select everything found in the polygon defined by bounding polyline. Viewer should be explicitly redrawn after selection.)#" , py::arg("thePolyline"), py::arg("theView"), py::arg("theSelScheme")=static_cast<const AIS_SelectionScheme>(AIS_SelectionScheme_Replace)
)
.def("SelectPoint",
(AIS_StatusOfPick (AIS_InteractiveContext::*)( const NCollection_Vec2<Standard_Integer> & , const opencascade::handle<V3d_View> & , const AIS_SelectionScheme ) ) static_cast<AIS_StatusOfPick (AIS_InteractiveContext::*)( const NCollection_Vec2<Standard_Integer> & , const opencascade::handle<V3d_View> & , const AIS_SelectionScheme ) >(&AIS_InteractiveContext::SelectPoint),
R"#(Selects the topmost object picked by the point in the view, Viewer should be explicitly redrawn after selection.)#" , py::arg("thePnt"), py::arg("theView"), py::arg("theSelScheme")=static_cast<const AIS_SelectionScheme>(AIS_SelectionScheme_Replace)
)
.def("SelectDetected",
(AIS_StatusOfPick (AIS_InteractiveContext::*)( const AIS_SelectionScheme ) ) static_cast<AIS_StatusOfPick (AIS_InteractiveContext::*)( const AIS_SelectionScheme ) >(&AIS_InteractiveContext::SelectDetected),
R"#(Select and hilights the previous detected via AIS_InteractiveContext::MoveTo() method; unhilights the previous picked. Viewer should be explicitly redrawn after selection.)#" , py::arg("theSelScheme")=static_cast<const AIS_SelectionScheme>(AIS_SelectionScheme_Replace)
)
.def("BoundingBoxOfSelection",
(Bnd_Box (AIS_InteractiveContext::*)( const opencascade::handle<V3d_View> & ) const) static_cast<Bnd_Box (AIS_InteractiveContext::*)( const opencascade::handle<V3d_View> & ) const>(&AIS_InteractiveContext::BoundingBoxOfSelection),
R"#(Returns bounding box of selected objects.)#" , py::arg("theView")
)
.def("BoundingBoxOfSelection",
(Bnd_Box (AIS_InteractiveContext::*)() const) static_cast<Bnd_Box (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::BoundingBoxOfSelection),
R"#(None)#"
)
.def("Select",
(AIS_StatusOfPick (AIS_InteractiveContext::*)( const NCollection_Array1<opencascade::handle<SelectMgr_EntityOwner>> & , const AIS_SelectionScheme ) ) static_cast<AIS_StatusOfPick (AIS_InteractiveContext::*)( const NCollection_Array1<opencascade::handle<SelectMgr_EntityOwner>> & , const AIS_SelectionScheme ) >(&AIS_InteractiveContext::Select),
R"#(Sets list of owner selected/deselected using specified selection scheme.)#" , py::arg("theOwners"), py::arg("theSelScheme")
)
.def("FitSelected",
(void (AIS_InteractiveContext::*)( const opencascade::handle<V3d_View> & , const Standard_Real , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<V3d_View> & , const Standard_Real , const Standard_Boolean ) >(&AIS_InteractiveContext::FitSelected),
R"#(Fits the view correspondingly to the bounds of selected objects. Infinite objects are ignored if infinite state of AIS_InteractiveObject is set to true.)#" , py::arg("theView"), py::arg("theMargin"), py::arg("theToUpdate")
)
.def("FitSelected",
(void (AIS_InteractiveContext::*)( const opencascade::handle<V3d_View> & ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<V3d_View> & ) >(&AIS_InteractiveContext::FitSelected),
R"#(Fits the view correspondingly to the bounds of selected objects. Infinite objects are ignored if infinite state of AIS_InteractiveObject is set to true.)#" , py::arg("theView")
)
.def("ToHilightSelected",
(Standard_Boolean (AIS_InteractiveContext::*)() const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::ToHilightSelected),
R"#(Return value specified whether selected object must be hilighted when mouse cursor is moved above it)#"
)
.def("SetToHilightSelected",
(void (AIS_InteractiveContext::*)( const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Boolean ) >(&AIS_InteractiveContext::SetToHilightSelected),
R"#(Specify whether selected object must be hilighted when mouse cursor is moved above it (in MoveTo method). By default this value is false and selected object is not hilighted in this case.)#" , py::arg("toHilight")
)
.def("AutomaticHilight",
(Standard_Boolean (AIS_InteractiveContext::*)() const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::AutomaticHilight),
R"#(Returns true if the automatic highlight mode is active; TRUE by default.)#"
)
.def("SetAutomaticHilight",
(void (AIS_InteractiveContext::*)( Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( Standard_Boolean ) >(&AIS_InteractiveContext::SetAutomaticHilight),
R"#(Sets the highlighting status of detected and selected entities. This function allows you to disconnect the automatic mode.)#" , py::arg("theStatus")
)
.def("SetSelected",
(void (AIS_InteractiveContext::*)( const opencascade::handle<SelectMgr_EntityOwner> & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<SelectMgr_EntityOwner> & , const Standard_Boolean ) >(&AIS_InteractiveContext::SetSelected),
R"#(Unhighlights previously selected owners and marks them as not selected. Marks owner given as selected and highlights it. Performs selection filters check.)#" , py::arg("theOwners"), py::arg("theToUpdateViewer")
)
.def("SetSelected",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) >(&AIS_InteractiveContext::SetSelected),
R"#(Puts the interactive object aniObj in the list of selected objects. Performs selection filters check.)#" , py::arg("theObject"), py::arg("theToUpdateViewer")
)
.def("AddOrRemoveSelected",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) >(&AIS_InteractiveContext::AddOrRemoveSelected),
R"#(Allows to highlight or unhighlight the owner given depending on its selection status)#" , py::arg("theObject"), py::arg("theToUpdateViewer")
)
.def("SetSelectedState",
(Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<SelectMgr_EntityOwner> & , const Standard_Boolean ) ) static_cast<Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<SelectMgr_EntityOwner> & , const Standard_Boolean ) >(&AIS_InteractiveContext::SetSelectedState),
R"#(Updates Selected state of specified owner without calling HilightSelected(). Has no effect if Selected state is not changed, and redirects to AddOrRemoveSelected() otherwise.)#" , py::arg("theOwner"), py::arg("theIsSelected")
)
.def("HilightSelected",
(void (AIS_InteractiveContext::*)( const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Boolean ) >(&AIS_InteractiveContext::HilightSelected),
R"#(Highlights selected objects.)#" , py::arg("theToUpdateViewer")
)
.def("UnhilightSelected",
(void (AIS_InteractiveContext::*)( const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Boolean ) >(&AIS_InteractiveContext::UnhilightSelected),
R"#(Removes highlighting from selected objects.)#" , py::arg("theToUpdateViewer")
)
.def("UpdateSelected",
(void (AIS_InteractiveContext::*)( Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( Standard_Boolean ) >(&AIS_InteractiveContext::UpdateSelected),
R"#(Updates the list of selected objects: i.e. highlights the newly selected ones and unhighlights previously selected objects.)#" , py::arg("theToUpdateViewer")
)
.def("ClearSelected",
(void (AIS_InteractiveContext::*)( const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Boolean ) >(&AIS_InteractiveContext::ClearSelected),
R"#(Empties previous selected objects in order to get the selected objects detected by the selector using UpdateSelected.)#" , py::arg("theToUpdateViewer")
)
.def("AddOrRemoveSelected",
(void (AIS_InteractiveContext::*)( const opencascade::handle<SelectMgr_EntityOwner> & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<SelectMgr_EntityOwner> & , const Standard_Boolean ) >(&AIS_InteractiveContext::AddOrRemoveSelected),
R"#(Allows to highlight or unhighlight the owner given depending on its selection status)#" , py::arg("theOwner"), py::arg("theToUpdateViewer")
)
.def("IsSelected",
(Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<SelectMgr_EntityOwner> & ) const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<SelectMgr_EntityOwner> & ) const>(&AIS_InteractiveContext::IsSelected),
R"#(Returns true is the owner given is selected)#" , py::arg("theOwner")
)
.def("IsSelected",
(Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) const>(&AIS_InteractiveContext::IsSelected),
R"#(Returns true is the object given is selected)#" , py::arg("theObj")
)
.def("FirstSelectedObject",
(opencascade::handle<AIS_InteractiveObject> (AIS_InteractiveContext::*)() const) static_cast<opencascade::handle<AIS_InteractiveObject> (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::FirstSelectedObject),
R"#(Returns the first selected object in the list of current selected.)#"
)
.def("NbSelected",
(Standard_Integer (AIS_InteractiveContext::*)() ) static_cast<Standard_Integer (AIS_InteractiveContext::*)() >(&AIS_InteractiveContext::NbSelected),
R"#(Count a number of selected entities using InitSelected()+MoreSelected()+NextSelected() iterator.)#"
)
.def("InitSelected",
(void (AIS_InteractiveContext::*)() ) static_cast<void (AIS_InteractiveContext::*)() >(&AIS_InteractiveContext::InitSelected),
R"#(Initializes a scan of the selected objects.)#"
)
.def("MoreSelected",
(Standard_Boolean (AIS_InteractiveContext::*)() const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::MoreSelected),
R"#(Returns true if there is another object found by the scan of the list of selected objects.)#"
)
.def("NextSelected",
(void (AIS_InteractiveContext::*)() ) static_cast<void (AIS_InteractiveContext::*)() >(&AIS_InteractiveContext::NextSelected),
R"#(Continues the scan to the next object in the list of selected objects.)#"
)
.def("SelectedOwner",
(opencascade::handle<SelectMgr_EntityOwner> (AIS_InteractiveContext::*)() const) static_cast<opencascade::handle<SelectMgr_EntityOwner> (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::SelectedOwner),
R"#(Returns the owner of the selected entity.)#"
)
.def("SelectedInteractive",
(opencascade::handle<AIS_InteractiveObject> (AIS_InteractiveContext::*)() const) static_cast<opencascade::handle<AIS_InteractiveObject> (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::SelectedInteractive),
R"#(Return Handle(AIS_InteractiveObject)::DownCast (SelectedOwner()->Selectable()).)#"
)
.def("HasSelectedShape",
(Standard_Boolean (AIS_InteractiveContext::*)() const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::HasSelectedShape),
R"#(Returns TRUE if the interactive context has a shape selected.)#"
)
.def("SelectedShape",
(TopoDS_Shape (AIS_InteractiveContext::*)() const) static_cast<TopoDS_Shape (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::SelectedShape),
R"#(Returns the selected shape. Basically it is just a shape returned stored by StdSelect_BRepOwner with graphic transformation being applied:)#"
)
.def("HasApplicative",
(Standard_Boolean (AIS_InteractiveContext::*)() const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::HasApplicative),
R"#(Returns SelectedInteractive()->HasOwner().)#"
)
.def("Applicative",
(opencascade::handle<Standard_Transient> (AIS_InteractiveContext::*)() const) static_cast<opencascade::handle<Standard_Transient> (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::Applicative),
R"#(Returns SelectedInteractive()->GetOwner().)#"
)
.def("BeginImmediateDraw",
(Standard_Boolean (AIS_InteractiveContext::*)() ) static_cast<Standard_Boolean (AIS_InteractiveContext::*)() >(&AIS_InteractiveContext::BeginImmediateDraw),
R"#(initializes the list of presentations to be displayed returns False if no local context is opened.)#"
)
.def("ImmediateAdd",
(Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer ) ) static_cast<Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer ) >(&AIS_InteractiveContext::ImmediateAdd),
R"#(returns True if <anIObj> has been stored in the list.)#" , py::arg("theObj"), py::arg("theMode")=static_cast<const Standard_Integer>(0)
)
.def("EndImmediateDraw",
(Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<V3d_View> & ) ) static_cast<Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<V3d_View> & ) >(&AIS_InteractiveContext::EndImmediateDraw),
R"#(returns True if the immediate display has been done.)#" , py::arg("theView")
)
.def("EndImmediateDraw",
(Standard_Boolean (AIS_InteractiveContext::*)() ) static_cast<Standard_Boolean (AIS_InteractiveContext::*)() >(&AIS_InteractiveContext::EndImmediateDraw),
R"#(Uses the First Active View of Main Viewer! returns True if the immediate display has been done.)#"
)
.def("IsImmediateModeOn",
(Standard_Boolean (AIS_InteractiveContext::*)() const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::IsImmediateModeOn),
R"#(None)#"
)
.def("RedrawImmediate",
(void (AIS_InteractiveContext::*)( const opencascade::handle<V3d_Viewer> & ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<V3d_Viewer> & ) >(&AIS_InteractiveContext::RedrawImmediate),
R"#(Redraws immediate structures in all views of the viewer given taking into account its visibility.)#" , py::arg("theViewer")
)
.def("SetSelectionModeActive",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer , const Standard_Boolean , const AIS_SelectionModesConcurrency , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer , const Standard_Boolean , const AIS_SelectionModesConcurrency , const Standard_Boolean ) >(&AIS_InteractiveContext::SetSelectionModeActive),
R"#(Activates or deactivates the selection mode for specified object. Has no effect if selection mode was already active/deactivated.)#" , py::arg("theObj"), py::arg("theMode"), py::arg("theToActivate"), py::arg("theConcurrency")=static_cast<const AIS_SelectionModesConcurrency>(AIS_SelectionModesConcurrency_Multiple), py::arg("theIsForce")=static_cast<const Standard_Boolean>(Standard_False)
)
.def("Activate",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer , const Standard_Boolean ) >(&AIS_InteractiveContext::Activate),
R"#(Activates the selection mode aMode whose index is given, for the given interactive entity anIobj.)#" , py::arg("theObj"), py::arg("theMode")=static_cast<const Standard_Integer>(0), py::arg("theIsForce")=static_cast<const Standard_Boolean>(Standard_False)
)
.def("Activate",
(void (AIS_InteractiveContext::*)( const Standard_Integer , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Integer , const Standard_Boolean ) >(&AIS_InteractiveContext::Activate),
R"#(Activates the given selection mode for the all displayed objects.)#" , py::arg("theMode"), py::arg("theIsForce")=static_cast<const Standard_Boolean>(Standard_False)
)
.def("Deactivate",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) >(&AIS_InteractiveContext::Deactivate),
R"#(Deactivates all the activated selection modes of an object.)#" , py::arg("theObj")
)
.def("Deactivate",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer ) >(&AIS_InteractiveContext::Deactivate),
R"#(Deactivates all the activated selection modes of the interactive object anIobj with a given selection mode aMode.)#" , py::arg("theObj"), py::arg("theMode")
)
.def("Deactivate",
(void (AIS_InteractiveContext::*)( const Standard_Integer ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Integer ) >(&AIS_InteractiveContext::Deactivate),
R"#(Deactivates the given selection mode for all displayed objects.)#" , py::arg("theMode")
)
.def("Deactivate",
(void (AIS_InteractiveContext::*)() ) static_cast<void (AIS_InteractiveContext::*)() >(&AIS_InteractiveContext::Deactivate),
R"#(Deactivates all the activated selection mode at all displayed objects.)#"
)
.def("ActivatedModes",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , NCollection_List<Standard_Integer> & ) const) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , NCollection_List<Standard_Integer> & ) const>(&AIS_InteractiveContext::ActivatedModes),
R"#(Returns the list of activated selection modes.)#" , py::arg("anIobj"), py::arg("theList")
)
.def("FilterType",
(SelectMgr_FilterType (AIS_InteractiveContext::*)() const) static_cast<SelectMgr_FilterType (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::FilterType),
R"#(Returns the context selection filter type.)#"
)
.def("SetFilterType",
(void (AIS_InteractiveContext::*)( const SelectMgr_FilterType ) ) static_cast<void (AIS_InteractiveContext::*)( const SelectMgr_FilterType ) >(&AIS_InteractiveContext::SetFilterType),
R"#(Sets the context selection filter type. SelectMgr_TypeFilter_OR selection filter is used by default.)#" , py::arg("theFilterType")
)
.def("AddFilter",
(void (AIS_InteractiveContext::*)( const opencascade::handle<SelectMgr_Filter> & ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<SelectMgr_Filter> & ) >(&AIS_InteractiveContext::AddFilter),
R"#(Allows you to add the filter.)#" , py::arg("theFilter")
)
.def("RemoveFilter",
(void (AIS_InteractiveContext::*)( const opencascade::handle<SelectMgr_Filter> & ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<SelectMgr_Filter> & ) >(&AIS_InteractiveContext::RemoveFilter),
R"#(Removes a filter from context.)#" , py::arg("theFilter")
)
.def("RemoveFilters",
(void (AIS_InteractiveContext::*)() ) static_cast<void (AIS_InteractiveContext::*)() >(&AIS_InteractiveContext::RemoveFilters),
R"#(Remove all filters from context.)#"
)
.def("PickingStrategy",
(SelectMgr_PickingStrategy (AIS_InteractiveContext::*)() const) static_cast<SelectMgr_PickingStrategy (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::PickingStrategy),
R"#(Return picking strategy; SelectMgr_PickingStrategy_FirstAcceptable by default.)#"
)
.def("SetPickingStrategy",
(void (AIS_InteractiveContext::*)( const SelectMgr_PickingStrategy ) ) static_cast<void (AIS_InteractiveContext::*)( const SelectMgr_PickingStrategy ) >(&AIS_InteractiveContext::SetPickingStrategy),
R"#(Setup picking strategy - which entities detected by picking line will be accepted, considering Selection Filters. By default (SelectMgr_PickingStrategy_FirstAcceptable), Selection Filters reduce the list of entities so that the context accepts topmost in remaining.)#" , py::arg("theStrategy")
)
.def("SetDefaultDrawer",
(void (AIS_InteractiveContext::*)( const opencascade::handle<Prs3d_Drawer> & ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<Prs3d_Drawer> & ) >(&AIS_InteractiveContext::SetDefaultDrawer),
R"#(Sets the default attribute manager; should be set at context creation time. Warning - this setter doesn't update links to the default drawer of already displayed objects!)#" , py::arg("theDrawer")
)
.def("UpdateCurrentViewer",
(void (AIS_InteractiveContext::*)() ) static_cast<void (AIS_InteractiveContext::*)() >(&AIS_InteractiveContext::UpdateCurrentViewer),
R"#(Updates the current viewer.)#"
)
.def("DisplayedObjects",
(void (AIS_InteractiveContext::*)( NCollection_List<opencascade::handle<AIS_InteractiveObject>> & ) const) static_cast<void (AIS_InteractiveContext::*)( NCollection_List<opencascade::handle<AIS_InteractiveObject>> & ) const>(&AIS_InteractiveContext::DisplayedObjects),
R"#(Returns the list of displayed objects of a particular Type WhichKind and Signature WhichSignature. By Default, WhichSignature equals -1. This means that there is a check on type only.)#" , py::arg("aListOfIO")
)
.def("DisplayedObjects",
(void (AIS_InteractiveContext::*)( const AIS_KindOfInteractive , const Standard_Integer , NCollection_List<opencascade::handle<AIS_InteractiveObject>> & ) const) static_cast<void (AIS_InteractiveContext::*)( const AIS_KindOfInteractive , const Standard_Integer , NCollection_List<opencascade::handle<AIS_InteractiveObject>> & ) const>(&AIS_InteractiveContext::DisplayedObjects),
R"#(gives the list of displayed objects of a particular Type and signature. by Default, <WhichSignature> = -1 means control only on <WhichKind>.)#" , py::arg("theWhichKind"), py::arg("theWhichSignature"), py::arg("theListOfIO")
)
.def("ErasedObjects",
(void (AIS_InteractiveContext::*)( NCollection_List<opencascade::handle<AIS_InteractiveObject>> & ) const) static_cast<void (AIS_InteractiveContext::*)( NCollection_List<opencascade::handle<AIS_InteractiveObject>> & ) const>(&AIS_InteractiveContext::ErasedObjects),
R"#(Returns the list theListOfIO of erased objects (hidden objects) particular Type WhichKind and Signature WhichSignature. By Default, WhichSignature equals 1. This means that there is a check on type only.)#" , py::arg("theListOfIO")
)
.def("ErasedObjects",
(void (AIS_InteractiveContext::*)( const AIS_KindOfInteractive , const Standard_Integer , NCollection_List<opencascade::handle<AIS_InteractiveObject>> & ) const) static_cast<void (AIS_InteractiveContext::*)( const AIS_KindOfInteractive , const Standard_Integer , NCollection_List<opencascade::handle<AIS_InteractiveObject>> & ) const>(&AIS_InteractiveContext::ErasedObjects),
R"#(gives the list of erased objects (hidden objects) Type and signature by Default, <WhichSignature> = -1 means control only on <WhichKind>.)#" , py::arg("theWhichKind"), py::arg("theWhichSignature"), py::arg("theListOfIO")
)
.def("ObjectsByDisplayStatus",
(void (AIS_InteractiveContext::*)( const PrsMgr_DisplayStatus , NCollection_List<opencascade::handle<AIS_InteractiveObject>> & ) const) static_cast<void (AIS_InteractiveContext::*)( const PrsMgr_DisplayStatus , NCollection_List<opencascade::handle<AIS_InteractiveObject>> & ) const>(&AIS_InteractiveContext::ObjectsByDisplayStatus),
R"#(Returns the list theListOfIO of objects with indicated display status particular Type WhichKind and Signature WhichSignature. By Default, WhichSignature equals 1. This means that there is a check on type only.)#" , py::arg("theStatus"), py::arg("theListOfIO")
)
.def("ObjectsByDisplayStatus",
(void (AIS_InteractiveContext::*)( const AIS_KindOfInteractive , const Standard_Integer , const PrsMgr_DisplayStatus , NCollection_List<opencascade::handle<AIS_InteractiveObject>> & ) const) static_cast<void (AIS_InteractiveContext::*)( const AIS_KindOfInteractive , const Standard_Integer , const PrsMgr_DisplayStatus , NCollection_List<opencascade::handle<AIS_InteractiveObject>> & ) const>(&AIS_InteractiveContext::ObjectsByDisplayStatus),
R"#(gives the list of objects with indicated display status Type and signature by Default, <WhichSignature> = -1 means control only on <WhichKind>.)#" , py::arg("WhichKind"), py::arg("WhichSignature"), py::arg("theStatus"), py::arg("theListOfIO")
)
.def("ObjectsInside",
(void (AIS_InteractiveContext::*)( NCollection_List<opencascade::handle<AIS_InteractiveObject>> & , const AIS_KindOfInteractive , const Standard_Integer ) const) static_cast<void (AIS_InteractiveContext::*)( NCollection_List<opencascade::handle<AIS_InteractiveObject>> & , const AIS_KindOfInteractive , const Standard_Integer ) const>(&AIS_InteractiveContext::ObjectsInside),
R"#(fills <aListOfIO> with objects of a particular Type and Signature with no consideration of display status. by Default, <WhichSignature> = -1 means control only on <WhichKind>. if <WhichKind> = AIS_KindOfInteractive_None and <WhichSignature> = -1, all the objects are put into the list.)#" , py::arg("aListOfIO"), py::arg("WhichKind")=static_cast<const AIS_KindOfInteractive>(AIS_KindOfInteractive_None), py::arg("WhichSignature")=static_cast<const Standard_Integer>(- 1)
)
.def("ObjectIterator",
(AIS_DataMapIteratorOfDataMapOfIOStatus (AIS_InteractiveContext::*)() const) static_cast<AIS_DataMapIteratorOfDataMapOfIOStatus (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::ObjectIterator),
R"#(Create iterator through all objects registered in context.)#"
)
.def("RebuildSelectionStructs",
(void (AIS_InteractiveContext::*)() ) static_cast<void (AIS_InteractiveContext::*)() >(&AIS_InteractiveContext::RebuildSelectionStructs),
R"#(Rebuilds 1st level of BVH selection forcibly)#"
)
.def("Disconnect",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const opencascade::handle<AIS_InteractiveObject> & ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const opencascade::handle<AIS_InteractiveObject> & ) >(&AIS_InteractiveContext::Disconnect),
R"#(Disconnects theObjToDisconnect from theAssembly and removes dependent selection structures)#" , py::arg("theAssembly"), py::arg("theObjToDisconnect")=static_cast<const opencascade::handle<AIS_InteractiveObject> &>(NULL)
)
.def("ObjectsForView",
(void (AIS_InteractiveContext::*)( NCollection_List<opencascade::handle<AIS_InteractiveObject>> & , const opencascade::handle<V3d_View> & , const Standard_Boolean , const PrsMgr_DisplayStatus ) const) static_cast<void (AIS_InteractiveContext::*)( NCollection_List<opencascade::handle<AIS_InteractiveObject>> & , const opencascade::handle<V3d_View> & , const Standard_Boolean , const PrsMgr_DisplayStatus ) const>(&AIS_InteractiveContext::ObjectsForView),
R"#(Query objects visible or hidden in specified view due to affinity mask.)#" , py::arg("theListOfIO"), py::arg("theView"), py::arg("theIsVisibleInView"), py::arg("theStatus")=static_cast<const PrsMgr_DisplayStatus>(PrsMgr_DisplayStatus_None)
)
.def("GravityPoint",
(gp_Pnt (AIS_InteractiveContext::*)( const opencascade::handle<V3d_View> & ) const) static_cast<gp_Pnt (AIS_InteractiveContext::*)( const opencascade::handle<V3d_View> & ) const>(&AIS_InteractiveContext::GravityPoint),
R"#(Return rotation gravity point.)#" , py::arg("theView")
)
.def("DisplayActiveSensitive",
(void (AIS_InteractiveContext::*)( const opencascade::handle<V3d_View> & ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<V3d_View> & ) >(&AIS_InteractiveContext::DisplayActiveSensitive),
R"#(Visualization of sensitives - for debugging purposes!)#" , py::arg("aView")
)
.def("ClearActiveSensitive",
(void (AIS_InteractiveContext::*)( const opencascade::handle<V3d_View> & ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<V3d_View> & ) >(&AIS_InteractiveContext::ClearActiveSensitive),
R"#(Clear visualization of sensitives.)#" , py::arg("aView")
)
.def("DisplayActiveSensitive",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const opencascade::handle<V3d_View> & ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const opencascade::handle<V3d_View> & ) >(&AIS_InteractiveContext::DisplayActiveSensitive),
R"#(Visualization of sensitives - for debugging purposes!)#" , py::arg("anObject"), py::arg("aView")
)
.def("SetLocalAttributes",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const opencascade::handle<Prs3d_Drawer> & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const opencascade::handle<Prs3d_Drawer> & , const Standard_Boolean ) >(&AIS_InteractiveContext::SetLocalAttributes),
R"#(Sets the graphic attributes of the interactive object, such as visualization mode, color, and material.)#" , py::arg("theIObj"), py::arg("theDrawer"), py::arg("theToUpdateViewer")
)
.def("UnsetLocalAttributes",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) >(&AIS_InteractiveContext::UnsetLocalAttributes),
R"#(Removes the settings for local attributes of the Object and returns to defaults.)#" , py::arg("theIObj"), py::arg("theToUpdateViewer")
)
.def("SetCurrentFacingModel",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Aspect_TypeOfFacingModel ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Aspect_TypeOfFacingModel ) >(&AIS_InteractiveContext::SetCurrentFacingModel),
R"#(change the current facing model apply on polygons for SetColor(), SetTransparency(), SetMaterial() methods default facing model is Aspect_TOFM_TWO_SIDE. This mean that attributes is applying both on the front and back face.)#" , py::arg("aniobj"), py::arg("aModel")=static_cast<const Aspect_TypeOfFacingModel>(Aspect_TOFM_BOTH_SIDE)
)
.def("HasColor",
(Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) const>(&AIS_InteractiveContext::HasColor),
R"#(Returns true if a view of the Interactive Object has color.)#" , py::arg("aniobj")
)
.def("Color",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , Quantity_Color & ) const) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , Quantity_Color & ) const>(&AIS_InteractiveContext::Color),
R"#(Returns the color of the Object in the interactive context.)#" , py::arg("aniobj"), py::arg("acolor")
)
.def("SetColor",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Quantity_Color & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Quantity_Color & , const Standard_Boolean ) >(&AIS_InteractiveContext::SetColor),
R"#(Sets the color of the selected entity.)#" , py::arg("theIObj"), py::arg("theColor"), py::arg("theToUpdateViewer")
)
.def("UnsetColor",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) >(&AIS_InteractiveContext::UnsetColor),
R"#(Removes the color selection for the selected entity.)#" , py::arg("theIObj"), py::arg("theToUpdateViewer")
)
.def("Width",
(Standard_Real (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) const) static_cast<Standard_Real (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) const>(&AIS_InteractiveContext::Width),
R"#(Returns the width of the Interactive Object in the interactive context.)#" , py::arg("aniobj")
)
.def("SetWidth",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Real , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Real , const Standard_Boolean ) >(&AIS_InteractiveContext::SetWidth),
R"#(Sets the width of the Object.)#" , py::arg("theIObj"), py::arg("theValue"), py::arg("theToUpdateViewer")
)
.def("UnsetWidth",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) >(&AIS_InteractiveContext::UnsetWidth),
R"#(Removes the width setting of the Object.)#" , py::arg("theIObj"), py::arg("theToUpdateViewer")
)
.def("SetMaterial",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Graphic3d_MaterialAspect & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Graphic3d_MaterialAspect & , const Standard_Boolean ) >(&AIS_InteractiveContext::SetMaterial),
R"#(Provides the type of material setting for the view of the Object.)#" , py::arg("theIObj"), py::arg("theMaterial"), py::arg("theToUpdateViewer")
)
.def("UnsetMaterial",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) >(&AIS_InteractiveContext::UnsetMaterial),
R"#(Removes the type of material setting for viewing the Object.)#" , py::arg("theIObj"), py::arg("theToUpdateViewer")
)
.def("SetTransparency",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Real , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Real , const Standard_Boolean ) >(&AIS_InteractiveContext::SetTransparency),
R"#(Provides the transparency settings for viewing the Object. The transparency value aValue may be between 0.0, opaque, and 1.0, fully transparent.)#" , py::arg("theIObj"), py::arg("theValue"), py::arg("theToUpdateViewer")
)
.def("UnsetTransparency",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) >(&AIS_InteractiveContext::UnsetTransparency),
R"#(Removes the transparency settings for viewing the Object.)#" , py::arg("theIObj"), py::arg("theToUpdateViewer")
)
.def("SetPolygonOffsets",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer , const Standard_ShortReal , const Standard_ShortReal , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer , const Standard_ShortReal , const Standard_ShortReal , const Standard_Boolean ) >(&AIS_InteractiveContext::SetPolygonOffsets),
R"#(Sets up polygon offsets for the given AIS_InteractiveObject. It simply calls AIS_InteractiveObject::SetPolygonOffsets().)#" , py::arg("theIObj"), py::arg("theMode"), py::arg("theFactor"), py::arg("theUnits"), py::arg("theToUpdateViewer")
)
.def("HasPolygonOffsets",
(Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) const>(&AIS_InteractiveContext::HasPolygonOffsets),
R"#(Simply calls AIS_InteractiveObject::HasPolygonOffsets().)#" , py::arg("anObj")
)
.def("SetTrihedronSize",
(void (AIS_InteractiveContext::*)( const Standard_Real , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Real , const Standard_Boolean ) >(&AIS_InteractiveContext::SetTrihedronSize),
R"#(Sets the size aSize of the trihedron. Is used to change the default value 100 mm for display of trihedra. Use of this function in one of your own interactive objects requires a call to the Compute function of the new class. This will recalculate the presentation for every trihedron displayed.)#" , py::arg("theSize"), py::arg("theToUpdateViewer")
)
.def("TrihedronSize",
(Standard_Real (AIS_InteractiveContext::*)() const) static_cast<Standard_Real (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::TrihedronSize),
R"#(returns the current value of trihedron size.)#"
)
.def("SetPlaneSize",
(void (AIS_InteractiveContext::*)( const Standard_Real , const Standard_Real , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Real , const Standard_Real , const Standard_Boolean ) >(&AIS_InteractiveContext::SetPlaneSize),
R"#(Sets the plane size defined by the length in the X direction XSize and that in the Y direction YSize.)#" , py::arg("theSizeX"), py::arg("theSizeY"), py::arg("theToUpdateViewer")
)
.def("SetPlaneSize",
(void (AIS_InteractiveContext::*)( const Standard_Real , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Real , const Standard_Boolean ) >(&AIS_InteractiveContext::SetPlaneSize),
R"#(Sets the plane size aSize.)#" , py::arg("theSize"), py::arg("theToUpdateViewer")
)
.def("PlaneSize",
(Standard_Boolean (AIS_InteractiveContext::*)( Standard_Real & , Standard_Real & ) const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)( Standard_Real & , Standard_Real & ) const>(&AIS_InteractiveContext::PlaneSize),
R"#(Returns true if the length in the X direction XSize is the same as that in the Y direction YSize.)#" , py::arg("XSize"), py::arg("YSize")
)
.def("SetDeviationCoefficient",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Real , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Real , const Standard_Boolean ) >(&AIS_InteractiveContext::SetDeviationCoefficient),
R"#(Sets the deviation coefficient theCoefficient. Drawings of curves or patches are made with respect to a maximal chordal deviation. A Deviation coefficient is used in the shading display mode. The shape is seen decomposed into triangles. These are used to calculate reflection of light from the surface of the object. The triangles are formed from chords of the curves in the shape. The deviation coefficient theCoefficient gives the highest value of the angle with which a chord can deviate from a tangent to a curve. If this limit is reached, a new triangle is begun. This deviation is absolute and is set through the method: SetMaximalChordialDeviation. The default value is 0.001. In drawing shapes, however, you are allowed to ask for a relative deviation. This deviation will be: SizeOfObject * DeviationCoefficient.)#" , py::arg("theIObj"), py::arg("theCoefficient"), py::arg("theToUpdateViewer")
)
.def("SetDeviationAngle",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Real , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Real , const Standard_Boolean ) >(&AIS_InteractiveContext::SetDeviationAngle),
R"#(None)#" , py::arg("theIObj"), py::arg("theAngle"), py::arg("theToUpdateViewer")
)
.def("SetAngleAndDeviation",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Real , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Real , const Standard_Boolean ) >(&AIS_InteractiveContext::SetAngleAndDeviation),
R"#(Calls the AIS_Shape SetAngleAndDeviation to set both Angle and Deviation coefficients)#" , py::arg("theIObj"), py::arg("theAngle"), py::arg("theToUpdateViewer")
)
.def("SetDeviationCoefficient",
(void (AIS_InteractiveContext::*)( const Standard_Real ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Real ) >(&AIS_InteractiveContext::SetDeviationCoefficient),
R"#(Sets the deviation coefficient theCoefficient. Drawings of curves or patches are made with respect to a maximal chordal deviation. A Deviation coefficient is used in the shading display mode. The shape is seen decomposed into triangles. These are used to calculate reflection of light from the surface of the object. The triangles are formed from chords of the curves in the shape. The deviation coefficient theCoefficient gives the highest value of the angle with which a chord can deviate from a tangent to a curve. If this limit is reached, a new triangle is begun. This deviation is absolute and is set through the method: SetMaximalChordialDeviation. The default value is 0.001. In drawing shapes, however, you are allowed to ask for a relative deviation. This deviation will be: SizeOfObject * DeviationCoefficient.)#" , py::arg("theCoefficient")
)
.def("DeviationCoefficient",
(Standard_Real (AIS_InteractiveContext::*)() const) static_cast<Standard_Real (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::DeviationCoefficient),
R"#(Returns the deviation coefficient. Drawings of curves or patches are made with respect to a maximal chordal deviation. A Deviation coefficient is used in the shading display mode. The shape is seen decomposed into triangles. These are used to calculate reflection of light from the surface of the object. The triangles are formed from chords of the curves in the shape. The deviation coefficient gives the highest value of the angle with which a chord can deviate from a tangent to a curve. If this limit is reached, a new triangle is begun. This deviation is absolute and is set through Prs3d_Drawer::SetMaximalChordialDeviation. The default value is 0.001. In drawing shapes, however, you are allowed to ask for a relative deviation. This deviation will be: SizeOfObject * DeviationCoefficient.)#"
)
.def("SetDeviationAngle",
(void (AIS_InteractiveContext::*)( const Standard_Real ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Real ) >(&AIS_InteractiveContext::SetDeviationAngle),
R"#(default 20 degrees)#" , py::arg("theAngle")
)
.def("DeviationAngle",
(Standard_Real (AIS_InteractiveContext::*)() const) static_cast<Standard_Real (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::DeviationAngle),
R"#(None)#"
)
.def("SetHiddenLineAspect",
(void (AIS_InteractiveContext::*)( const opencascade::handle<Prs3d_LineAspect> & ) const) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<Prs3d_LineAspect> & ) const>(&AIS_InteractiveContext::SetHiddenLineAspect),
R"#(Sets the hidden line aspect anAspect. Aspect defines display attributes for hidden lines in HLR projections.)#" , py::arg("theAspect")
)
.def("DrawHiddenLine",
(Standard_Boolean (AIS_InteractiveContext::*)() const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::DrawHiddenLine),
R"#(returns Standard_True if the hidden lines are to be drawn. By default the hidden lines are not drawn.)#"
)
.def("EnableDrawHiddenLine",
(void (AIS_InteractiveContext::*)() const) static_cast<void (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::EnableDrawHiddenLine),
R"#(None)#"
)
.def("DisableDrawHiddenLine",
(void (AIS_InteractiveContext::*)() const) static_cast<void (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::DisableDrawHiddenLine),
R"#(None)#"
)
.def("SetIsoNumber",
(void (AIS_InteractiveContext::*)( const Standard_Integer , const AIS_TypeOfIso ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Integer , const AIS_TypeOfIso ) >(&AIS_InteractiveContext::SetIsoNumber),
R"#(Sets the number of U and V isoparameters displayed.)#" , py::arg("NbIsos"), py::arg("WhichIsos")=static_cast<const AIS_TypeOfIso>(AIS_TOI_Both)
)
.def("IsoNumber",
(Standard_Integer (AIS_InteractiveContext::*)( const AIS_TypeOfIso ) ) static_cast<Standard_Integer (AIS_InteractiveContext::*)( const AIS_TypeOfIso ) >(&AIS_InteractiveContext::IsoNumber),
R"#(Returns the number of U and V isoparameters displayed.)#" , py::arg("WhichIsos")=static_cast<const AIS_TypeOfIso>(AIS_TOI_Both)
)
.def("IsoOnPlane",
(void (AIS_InteractiveContext::*)( const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Boolean ) >(&AIS_InteractiveContext::IsoOnPlane),
R"#(Returns True if drawing isoparameters on planes is enabled.)#" , py::arg("theToSwitchOn")
)
.def("IsoOnPlane",
(Standard_Boolean (AIS_InteractiveContext::*)() const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::IsoOnPlane),
R"#(Returns True if drawing isoparameters on planes is enabled. if <forUIsos> = False,)#"
)
.def("IsoOnTriangulation",
(void (AIS_InteractiveContext::*)( const Standard_Boolean , const opencascade::handle<AIS_InteractiveObject> & ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Boolean , const opencascade::handle<AIS_InteractiveObject> & ) >(&AIS_InteractiveContext::IsoOnTriangulation),
R"#(Enables or disables on-triangulation build for isolines for a particular object. In case if on-triangulation builder is disabled, default on-plane builder will compute isolines for the object given.)#" , py::arg("theIsEnabled"), py::arg("theObject")
)
.def("IsoOnTriangulation",
(void (AIS_InteractiveContext::*)( const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Boolean ) >(&AIS_InteractiveContext::IsoOnTriangulation),
R"#(Enables or disables on-triangulation build for isolines for default drawer. In case if on-triangulation builder is disabled, default on-plane builder will compute isolines for the object given.)#" , py::arg("theToSwitchOn")
)
.def("IsoOnTriangulation",
(Standard_Boolean (AIS_InteractiveContext::*)() const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::IsoOnTriangulation),
R"#(Returns true if drawing isolines on triangulation algorithm is enabled.)#"
)
.def("Display",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer , const Standard_Integer , const Standard_Boolean , const Standard_Boolean , const PrsMgr_DisplayStatus ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Integer , const Standard_Integer , const Standard_Boolean , const Standard_Boolean , const PrsMgr_DisplayStatus ) >(&AIS_InteractiveContext::Display),
R"#()#" , py::arg("theIObj"), py::arg("theDispMode"), py::arg("theSelectionMode"), py::arg("theToUpdateViewer"), py::arg("theToAllowDecomposition"), py::arg("theDispStatus")=static_cast<const PrsMgr_DisplayStatus>(PrsMgr_DisplayStatus_None)
)
.def("Load",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , Standard_Integer , Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , Standard_Integer , Standard_Boolean ) >(&AIS_InteractiveContext::Load),
R"#(None)#" , py::arg("theObj"), py::arg("theSelectionMode"), py::arg("arg")
)
.def("Hilight",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) >(&AIS_InteractiveContext::Hilight),
R"#(Updates the display in the viewer to take dynamic detection into account. On dynamic detection by the mouse cursor, sensitive primitives are highlighted. The highlight color of entities detected by mouse movement is white by default.)#" , py::arg("theObj"), py::arg("theIsToUpdateViewer")
)
.def("SetSelectedAspect",
(void (AIS_InteractiveContext::*)( const opencascade::handle<Prs3d_BasicAspect> & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<Prs3d_BasicAspect> & , const Standard_Boolean ) >(&AIS_InteractiveContext::SetSelectedAspect),
R"#(Sets the graphic basic aspect to the current presentation of ALL selected objects.)#" , py::arg("theAspect"), py::arg("theToUpdateViewer")
)
.def("Select",
(AIS_StatusOfPick (AIS_InteractiveContext::*)( const Standard_Integer , const Standard_Integer , const Standard_Integer , const Standard_Integer , const opencascade::handle<V3d_View> & , const Standard_Boolean ) ) static_cast<AIS_StatusOfPick (AIS_InteractiveContext::*)( const Standard_Integer , const Standard_Integer , const Standard_Integer , const Standard_Integer , const opencascade::handle<V3d_View> & , const Standard_Boolean ) >(&AIS_InteractiveContext::Select),
R"#(Selects everything found in the bounding rectangle defined by the pixel minima and maxima, XPMin, YPMin, XPMax, and YPMax in the view. The objects detected are passed to the main viewer, which is then updated.)#" , py::arg("theXPMin"), py::arg("theYPMin"), py::arg("theXPMax"), py::arg("theYPMax"), py::arg("theView"), py::arg("theToUpdateViewer")
)
.def("Select",
(AIS_StatusOfPick (AIS_InteractiveContext::*)( const NCollection_Array1<gp_Pnt2d> & , const opencascade::handle<V3d_View> & , const Standard_Boolean ) ) static_cast<AIS_StatusOfPick (AIS_InteractiveContext::*)( const NCollection_Array1<gp_Pnt2d> & , const opencascade::handle<V3d_View> & , const Standard_Boolean ) >(&AIS_InteractiveContext::Select),
R"#(polyline selection; clears the previous picked list)#" , py::arg("thePolyline"), py::arg("theView"), py::arg("theToUpdateViewer")
)
.def("Select",
(AIS_StatusOfPick (AIS_InteractiveContext::*)( const Standard_Boolean ) ) static_cast<AIS_StatusOfPick (AIS_InteractiveContext::*)( const Standard_Boolean ) >(&AIS_InteractiveContext::Select),
R"#(Stores and hilights the previous detected; Unhilights the previous picked.)#" , py::arg("theToUpdateViewer")
)
.def("ShiftSelect",
(AIS_StatusOfPick (AIS_InteractiveContext::*)( const Standard_Boolean ) ) static_cast<AIS_StatusOfPick (AIS_InteractiveContext::*)( const Standard_Boolean ) >(&AIS_InteractiveContext::ShiftSelect),
R"#(Adds the last detected to the list of previous picked. If the last detected was already declared as picked, removes it from the Picked List.)#" , py::arg("theToUpdateViewer")
)
.def("ShiftSelect",
(AIS_StatusOfPick (AIS_InteractiveContext::*)( const NCollection_Array1<gp_Pnt2d> & , const opencascade::handle<V3d_View> & , const Standard_Boolean ) ) static_cast<AIS_StatusOfPick (AIS_InteractiveContext::*)( const NCollection_Array1<gp_Pnt2d> & , const opencascade::handle<V3d_View> & , const Standard_Boolean ) >(&AIS_InteractiveContext::ShiftSelect),
R"#(Adds the last detected to the list of previous picked. If the last detected was already declared as picked, removes it from the Picked List.)#" , py::arg("thePolyline"), py::arg("theView"), py::arg("theToUpdateViewer")
)
.def("ShiftSelect",
(AIS_StatusOfPick (AIS_InteractiveContext::*)( const Standard_Integer , const Standard_Integer , const Standard_Integer , const Standard_Integer , const opencascade::handle<V3d_View> & , const Standard_Boolean ) ) static_cast<AIS_StatusOfPick (AIS_InteractiveContext::*)( const Standard_Integer , const Standard_Integer , const Standard_Integer , const Standard_Integer , const opencascade::handle<V3d_View> & , const Standard_Boolean ) >(&AIS_InteractiveContext::ShiftSelect),
R"#(Rectangle of selection; adds new detected entities into the picked list, removes the detected entities that were already stored.)#" , py::arg("theXPMin"), py::arg("theYPMin"), py::arg("theXPMax"), py::arg("theYPMax"), py::arg("theView"), py::arg("theToUpdateViewer")
)
.def("SetCurrentObject",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) >(&AIS_InteractiveContext::SetCurrentObject),
R"#(Updates the view of the current object in open context. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects.)#" , py::arg("theIObj"), py::arg("theToUpdateViewer")
)
.def("AddOrRemoveCurrentObject",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) >(&AIS_InteractiveContext::AddOrRemoveCurrentObject),
R"#(Allows to add or remove the object given to the list of current and highlight/unhighlight it correspondingly. Is valid for global context only; for local context use method AddOrRemoveSelected. Since this method makes sense only for neutral point selection of a whole object, if 0 selection of the object is empty this method simply does nothing.)#" , py::arg("theObj"), py::arg("theIsToUpdateViewer")
)
.def("UpdateCurrent",
(void (AIS_InteractiveContext::*)() ) static_cast<void (AIS_InteractiveContext::*)() >(&AIS_InteractiveContext::UpdateCurrent),
R"#(Updates the list of current objects, i.e. hilights new current objects, removes hilighting from former current objects. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects.)#"
)
.def("IsCurrent",
(Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & ) const>(&AIS_InteractiveContext::IsCurrent),
R"#(Returns true if there is a non-null interactive object in Neutral Point. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects.)#" , py::arg("theObject")
)
.def("InitCurrent",
(void (AIS_InteractiveContext::*)() ) static_cast<void (AIS_InteractiveContext::*)() >(&AIS_InteractiveContext::InitCurrent),
R"#(Initializes a scan of the current selected objects in Neutral Point. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects.)#"
)
.def("MoreCurrent",
(Standard_Boolean (AIS_InteractiveContext::*)() const) static_cast<Standard_Boolean (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::MoreCurrent),
R"#(Returns true if there is another object found by the scan of the list of current objects. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects.)#"
)
.def("NextCurrent",
(void (AIS_InteractiveContext::*)() ) static_cast<void (AIS_InteractiveContext::*)() >(&AIS_InteractiveContext::NextCurrent),
R"#(Continues the scan to the next object in the list of current objects. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects.)#"
)
.def("Current",
(opencascade::handle<AIS_InteractiveObject> (AIS_InteractiveContext::*)() const) static_cast<opencascade::handle<AIS_InteractiveObject> (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::Current),
R"#(Returns the current interactive object. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects.)#"
)
.def("NbCurrents",
(Standard_Integer (AIS_InteractiveContext::*)() ) static_cast<Standard_Integer (AIS_InteractiveContext::*)() >(&AIS_InteractiveContext::NbCurrents),
R"#(None)#"
)
.def("HilightCurrents",
(void (AIS_InteractiveContext::*)( const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Boolean ) >(&AIS_InteractiveContext::HilightCurrents),
R"#(Highlights current objects. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects.)#" , py::arg("theToUpdateViewer")
)
.def("UnhilightCurrents",
(void (AIS_InteractiveContext::*)( const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Boolean ) >(&AIS_InteractiveContext::UnhilightCurrents),
R"#(Removes highlighting from current objects. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects.)#" , py::arg("theToUpdateViewer")
)
.def("ClearCurrents",
(void (AIS_InteractiveContext::*)( const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const Standard_Boolean ) >(&AIS_InteractiveContext::ClearCurrents),
R"#(Empties previous current objects in order to get the current objects detected by the selector using UpdateCurrent. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects.)#" , py::arg("theToUpdateViewer")
)
.def("DetectedCurrentObject",
(opencascade::handle<AIS_InteractiveObject> (AIS_InteractiveContext::*)() const) static_cast<opencascade::handle<AIS_InteractiveObject> (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::DetectedCurrentObject),
R"#(Returns current mouse-detected interactive object or null object, if there is no currently detected interactives DetectedCurrentOwner(), InitDetected(), MoreDetected(), NextDetected().)#"
)
.def("SetSubIntensityColor",
(void (AIS_InteractiveContext::*)( const Quantity_Color & ) ) static_cast<void (AIS_InteractiveContext::*)( const Quantity_Color & ) >(&AIS_InteractiveContext::SetSubIntensityColor),
R"#(Sub-intensity allows temporary highlighting of particular objects with specified color in a manner of selection highlight, but without actual selection (e.g., global status and owner's selection state will not be updated). The method sets up the color for such highlighting. By default, this is Quantity_NOC_GRAY40.)#" , py::arg("theColor")
)
.def("SubIntensityOn",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) >(&AIS_InteractiveContext::SubIntensityOn),
R"#(Highlights, and removes highlights from, the displayed object which is displayed at Neutral Point with subintensity color. Available only for active local context. There is no effect if there is no local context. If a local context is open, the presentation of the Interactive Object activates the selection mode.)#" , py::arg("theIObj"), py::arg("theToUpdateViewer")
)
.def("SubIntensityOff",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_InteractiveObject> & , const Standard_Boolean ) >(&AIS_InteractiveContext::SubIntensityOff),
R"#(Removes the subintensity option for the entity. If a local context is open, the presentation of the Interactive Object activates the selection mode.)#" , py::arg("theIObj"), py::arg("theToUpdateViewer")
)
.def("SetSelection",
(void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_Selection> & ) ) static_cast<void (AIS_InteractiveContext::*)( const opencascade::handle<AIS_Selection> & ) >(&AIS_InteractiveContext::SetSelection),
R"#(Sets selection instance to manipulate a container of selected owners)#" , py::arg("theSelection")
)
.def("DumpJson",
(void (AIS_InteractiveContext::*)( std::ostream & , Standard_Integer ) const) static_cast<void (AIS_InteractiveContext::*)( std::ostream & , Standard_Integer ) const>(&AIS_InteractiveContext::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("EntityOwners",
[]( AIS_InteractiveContext &self , SelectMgr_IndexedMapOfOwner& theOwners,const opencascade::handle<AIS_InteractiveObject> & theIObj,const Standard_Integer theMode ){
opencascade::handle<SelectMgr_IndexedMapOfOwner> theOwners_ptr; theOwners_ptr = &theOwners;
self.EntityOwners(theOwners_ptr,theIObj,theMode);
if ( theOwners_ptr.get() != &theOwners ) copy_if_copy_constructible(theOwners, *theOwners_ptr);
return std::make_tuple(); },
R"#(Returns a collection containing all entity owners created for the interactive object in specified selection mode (in all active modes if the Mode == -1))#" , py::arg("theOwners"), py::arg("theIObj"), py::arg("theMode")=static_cast<const Standard_Integer>(- 1)
)
.def("PolygonOffsets",
[]( AIS_InteractiveContext &self , const opencascade::handle<AIS_InteractiveObject> & anObj,Standard_ShortReal & aFactor,Standard_ShortReal & aUnits ){
Standard_Integer aMode;
self.PolygonOffsets(anObj,aMode,aFactor,aUnits);
return std::make_tuple(aMode); },
R"#(Retrieves current polygon offsets settings for Object.)#" , py::arg("anObj"), py::arg("aFactor"), py::arg("aUnits")
)
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_InteractiveContext::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_InteractiveContext::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> & (AIS_InteractiveContext::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::DynamicType),
R"#(None)#"
)
.def("HighlightStyle",
(const opencascade::handle<Prs3d_Drawer> & (AIS_InteractiveContext::*)() const) static_cast<const opencascade::handle<Prs3d_Drawer> & (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::HighlightStyle),
R"#(Returns current dynamic highlight style settings corresponding to Prs3d_TypeOfHighlight_Dynamic. This is just a short-cut to HighlightStyle(Prs3d_TypeOfHighlight_Dynamic).)#"
)
.def("SelectionStyle",
(const opencascade::handle<Prs3d_Drawer> & (AIS_InteractiveContext::*)() const) static_cast<const opencascade::handle<Prs3d_Drawer> & (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::SelectionStyle),
R"#(Returns current selection style settings corrsponding to Prs3d_TypeOfHighlight_Selected. This is just a short-cut to HighlightStyle(Prs3d_TypeOfHighlight_Selected).)#"
)
.def("DetectedOwner",
(const opencascade::handle<SelectMgr_EntityOwner> & (AIS_InteractiveContext::*)() const) static_cast<const opencascade::handle<SelectMgr_EntityOwner> & (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::DetectedOwner),
R"#(Returns the owner of the detected sensitive primitive which is currently dynamically highlighted. WARNING! This method is irrelevant to InitDetected()/MoreDetected()/NextDetected().)#"
)
.def("DetectedShape",
(const TopoDS_Shape & (AIS_InteractiveContext::*)() const) static_cast<const TopoDS_Shape & (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::DetectedShape),
R"#(Returns the shape detected in local context.)#"
)
.def("Filters",
(const SelectMgr_ListOfFilter & (AIS_InteractiveContext::*)() const) static_cast<const SelectMgr_ListOfFilter & (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::Filters),
R"#(Returns the list of filters active in a local context.)#"
)
.def("GlobalFilter",
(const opencascade::handle<SelectMgr_AndOrFilter> & (AIS_InteractiveContext::*)() const) static_cast<const opencascade::handle<SelectMgr_AndOrFilter> & (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::GlobalFilter),
R"#(Returns the context selection global context filter.)#"
)
.def("DefaultDrawer",
(const opencascade::handle<Prs3d_Drawer> & (AIS_InteractiveContext::*)() const) static_cast<const opencascade::handle<Prs3d_Drawer> & (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::DefaultDrawer),
R"#(Returns the default attribute manager. This contains all the color and line attributes which can be used by interactive objects which do not have their own attributes.)#"
)
.def("CurrentViewer",
(const opencascade::handle<V3d_Viewer> & (AIS_InteractiveContext::*)() const) static_cast<const opencascade::handle<V3d_Viewer> & (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::CurrentViewer),
R"#(Returns the current viewer.)#"
)
.def("SelectionManager",
(const opencascade::handle<SelectMgr_SelectionManager> & (AIS_InteractiveContext::*)() const) static_cast<const opencascade::handle<SelectMgr_SelectionManager> & (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::SelectionManager),
R"#(None)#"
)
.def("MainPrsMgr",
(const opencascade::handle<PrsMgr_PresentationManager> & (AIS_InteractiveContext::*)() const) static_cast<const opencascade::handle<PrsMgr_PresentationManager> & (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::MainPrsMgr),
R"#(None)#"
)
.def("MainSelector",
(const opencascade::handle<StdSelect_ViewerSelector3d> & (AIS_InteractiveContext::*)() const) static_cast<const opencascade::handle<StdSelect_ViewerSelector3d> & (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::MainSelector),
R"#(None)#"
)
.def("HiddenLineAspect",
(const opencascade::handle<Prs3d_LineAspect> & (AIS_InteractiveContext::*)() const) static_cast<const opencascade::handle<Prs3d_LineAspect> & (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::HiddenLineAspect),
R"#(Initializes hidden line aspect in the default drawing tool, or Drawer. The default values are: Color: Quantity_NOC_YELLOW Type of line: Aspect_TOL_DASH Width: 1.)#"
)
.def("DetectedCurrentShape",
(const TopoDS_Shape & (AIS_InteractiveContext::*)() const) static_cast<const TopoDS_Shape & (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::DetectedCurrentShape),
R"#(Returns current mouse-detected shape or empty (null) shape, if current interactive object is not a shape (AIS_Shape) or there is no current mouse-detected interactive object at all. DetectedCurrentOwner(), InitDetected(), MoreDetected(), NextDetected().)#"
)
.def("SubIntensityColor",
(const Quantity_Color & (AIS_InteractiveContext::*)() const) static_cast<const Quantity_Color & (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::SubIntensityColor),
R"#(Sub-intensity allows temporary highlighting of particular objects with specified color in a manner of selection highlight, but without actual selection (e.g., global status and owner's selection state will not be updated). The method returns the color of such highlighting. By default, it is Quantity_NOC_GRAY40.)#"
)
.def("Selection",
(const opencascade::handle<AIS_Selection> & (AIS_InteractiveContext::*)() const) static_cast<const opencascade::handle<AIS_Selection> & (AIS_InteractiveContext::*)() const>(&AIS_InteractiveContext::Selection),
R"#(Returns selection instance)#"
)
;
// Class AIS_InteractiveObject from ./opencascade/AIS_InteractiveObject.hxx
klass = m.attr("AIS_InteractiveObject");
// nested enums
static_cast<py::class_<AIS_InteractiveObject ,opencascade::handle<AIS_InteractiveObject> ,Py_AIS_InteractiveObject , SelectMgr_SelectableObject >>(klass)
// constructors
// custom constructors
// methods
.def("Type",
(AIS_KindOfInteractive (AIS_InteractiveObject::*)() const) static_cast<AIS_KindOfInteractive (AIS_InteractiveObject::*)() const>(&AIS_InteractiveObject::Type),
R"#(Returns the kind of Interactive Object; AIS_KindOfInteractive_None by default.)#"
)
.def("Signature",
(Standard_Integer (AIS_InteractiveObject::*)() const) static_cast<Standard_Integer (AIS_InteractiveObject::*)() const>(&AIS_InteractiveObject::Signature),
R"#(Specifies additional characteristics of Interactive Object of Type(); -1 by default. Among the datums, this signature is attributed to the shape. The remaining datums have the following default signatures: - Point signature 1 - Axis signature 2 - Trihedron signature 3 - PlaneTrihedron signature 4 - Line signature 5 - Circle signature 6 - Plane signature 7.)#"
)
.def("Redisplay",
(void (AIS_InteractiveObject::*)( const Standard_Boolean ) ) static_cast<void (AIS_InteractiveObject::*)( const Standard_Boolean ) >(&AIS_InteractiveObject::Redisplay),
R"#(Updates the active presentation; if <AllModes> = Standard_True all the presentations inside are recomputed. IMPORTANT: It is preferable to call Redisplay method of corresponding AIS_InteractiveContext instance for cases when it is accessible. This method just redirects call to myCTXPtr, so this class field must be up to date for proper result.)#" , py::arg("AllModes")=static_cast<const Standard_Boolean>(Standard_False)
)
.def("HasInteractiveContext",
(Standard_Boolean (AIS_InteractiveObject::*)() const) static_cast<Standard_Boolean (AIS_InteractiveObject::*)() const>(&AIS_InteractiveObject::HasInteractiveContext),
R"#(Indicates whether the Interactive Object has a pointer to an interactive context.)#"
)
.def("InteractiveContext",
(AIS_InteractiveContext * (AIS_InteractiveObject::*)() const) static_cast<AIS_InteractiveContext * (AIS_InteractiveObject::*)() const>(&AIS_InteractiveObject::InteractiveContext),
R"#(Returns the context pointer to the interactive context.)#"
)
.def("SetContext",
(void (AIS_InteractiveObject::*)( const opencascade::handle<AIS_InteractiveContext> & ) ) static_cast<void (AIS_InteractiveObject::*)( const opencascade::handle<AIS_InteractiveContext> & ) >(&AIS_InteractiveObject::SetContext),
R"#(Sets the interactive context aCtx and provides a link to the default drawing tool or "Drawer" if there is none.)#" , py::arg("aCtx")
)
.def("HasOwner",
(Standard_Boolean (AIS_InteractiveObject::*)() const) static_cast<Standard_Boolean (AIS_InteractiveObject::*)() const>(&AIS_InteractiveObject::HasOwner),
R"#(Returns true if the object has an owner attributed to it. The owner can be a shape for a set of sub-shapes or a sub-shape for sub-shapes which it is composed of, and takes the form of a transient.)#"
)
.def("SetOwner",
(void (AIS_InteractiveObject::*)( const opencascade::handle<Standard_Transient> & ) ) static_cast<void (AIS_InteractiveObject::*)( const opencascade::handle<Standard_Transient> & ) >(&AIS_InteractiveObject::SetOwner),
R"#(Allows you to attribute the owner theApplicativeEntity to an Interactive Object. This can be a shape for a set of sub-shapes or a sub-shape for sub-shapes which it is composed of. The owner takes the form of a transient.)#" , py::arg("theApplicativeEntity")
)
.def("ClearOwner",
(void (AIS_InteractiveObject::*)() ) static_cast<void (AIS_InteractiveObject::*)() >(&AIS_InteractiveObject::ClearOwner),
R"#(Each Interactive Object has methods which allow us to attribute an Owner to it in the form of a Transient. This method removes the owner from the graphic entity.)#"
)
.def("ProcessDragging",
(Standard_Boolean (AIS_InteractiveObject::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & , const opencascade::handle<SelectMgr_EntityOwner> & , const NCollection_Vec2<Standard_Integer> & , const NCollection_Vec2<Standard_Integer> & , const AIS_DragAction ) ) static_cast<Standard_Boolean (AIS_InteractiveObject::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & , const opencascade::handle<SelectMgr_EntityOwner> & , const NCollection_Vec2<Standard_Integer> & , const NCollection_Vec2<Standard_Integer> & , const AIS_DragAction ) >(&AIS_InteractiveObject::ProcessDragging),
R"#(Drag object in the viewer.)#" , py::arg("theCtx"), py::arg("theView"), py::arg("theOwner"), py::arg("theDragFrom"), py::arg("theDragTo"), py::arg("theAction")
)
.def("GetContext",
(opencascade::handle<AIS_InteractiveContext> (AIS_InteractiveObject::*)() const) static_cast<opencascade::handle<AIS_InteractiveContext> (AIS_InteractiveObject::*)() const>(&AIS_InteractiveObject::GetContext),
R"#(Returns the context pointer to the interactive context.)#"
)
.def("HasPresentation",
(Standard_Boolean (AIS_InteractiveObject::*)() const) static_cast<Standard_Boolean (AIS_InteractiveObject::*)() const>(&AIS_InteractiveObject::HasPresentation),
R"#(Returns TRUE when this object has a presentation in the current DisplayMode())#"
)
.def("Presentation",
(opencascade::handle<Prs3d_Presentation> (AIS_InteractiveObject::*)() const) static_cast<opencascade::handle<Prs3d_Presentation> (AIS_InteractiveObject::*)() const>(&AIS_InteractiveObject::Presentation),
R"#(Returns the current presentation of this object according to the current DisplayMode())#"
)
.def("SetAspect",
(void (AIS_InteractiveObject::*)( const opencascade::handle<Prs3d_BasicAspect> & ) ) static_cast<void (AIS_InteractiveObject::*)( const opencascade::handle<Prs3d_BasicAspect> & ) >(&AIS_InteractiveObject::SetAspect),
R"#(Sets the graphic basic aspect to the current presentation.)#" , py::arg("anAspect")
)
.def("DumpJson",
(void (AIS_InteractiveObject::*)( std::ostream & , Standard_Integer ) const) static_cast<void (AIS_InteractiveObject::*)( std::ostream & , Standard_Integer ) const>(&AIS_InteractiveObject::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 * (*)() >(&AIS_InteractiveObject::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_InteractiveObject::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> & (AIS_InteractiveObject::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_InteractiveObject::*)() const>(&AIS_InteractiveObject::DynamicType),
R"#(None)#"
)
.def("GetOwner",
(const opencascade::handle<Standard_Transient> & (AIS_InteractiveObject::*)() const) static_cast<const opencascade::handle<Standard_Transient> & (AIS_InteractiveObject::*)() const>(&AIS_InteractiveObject::GetOwner),
R"#(Returns the owner of the Interactive Object. The owner can be a shape for a set of sub-shapes or a sub-shape for sub-shapes which it is composed of, and takes the form of a transient. There are two types of owners: - Direct owners, decomposition shapes such as edges, wires, and faces. - Users, presentable objects connecting to sensitive primitives, or a shape which has been decomposed.)#"
)
;
// Class AIS_LightSourceOwner from ./opencascade/AIS_LightSource.hxx
klass = m.attr("AIS_LightSourceOwner");
// nested enums
static_cast<py::class_<AIS_LightSourceOwner ,opencascade::handle<AIS_LightSourceOwner> , SelectMgr_EntityOwner >>(klass)
// constructors
.def(py::init< const opencascade::handle<AIS_LightSource> &,Standard_Integer >() , py::arg("theObject"), py::arg("thePriority")=static_cast<Standard_Integer>(5) )
// custom constructors
// methods
.def("HandleMouseClick",
(Standard_Boolean (AIS_LightSourceOwner::*)( const NCollection_Vec2<Standard_Integer> & , Aspect_VKeyMouse , Aspect_VKeyFlags , bool ) ) static_cast<Standard_Boolean (AIS_LightSourceOwner::*)( const NCollection_Vec2<Standard_Integer> & , Aspect_VKeyMouse , Aspect_VKeyFlags , bool ) >(&AIS_LightSourceOwner::HandleMouseClick),
R"#(Handle mouse button click event.)#" , py::arg("thePoint"), py::arg("theButton"), py::arg("theModifiers"), py::arg("theIsDoubleClick")
)
.def("HilightWithColor",
(void (AIS_LightSourceOwner::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const opencascade::handle<Prs3d_Drawer> & , const Standard_Integer ) ) static_cast<void (AIS_LightSourceOwner::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const opencascade::handle<Prs3d_Drawer> & , const Standard_Integer ) >(&AIS_LightSourceOwner::HilightWithColor),
R"#(Highlights selectable object's presentation with display mode in presentation manager with given highlight style. Also a check for auto-highlight is performed - if selectable object manages highlighting on its own, execution will be passed to SelectMgr_SelectableObject::HilightOwnerWithColor method.)#" , py::arg("thePrsMgr"), py::arg("theStyle"), py::arg("theMode")
)
.def("IsForcedHilight",
(Standard_Boolean (AIS_LightSourceOwner::*)() const) static_cast<Standard_Boolean (AIS_LightSourceOwner::*)() const>(&AIS_LightSourceOwner::IsForcedHilight),
R"#(Always update dynamic highlighting.)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_LightSourceOwner::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_LightSourceOwner::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> & (AIS_LightSourceOwner::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_LightSourceOwner::*)() const>(&AIS_LightSourceOwner::DynamicType),
R"#(None)#"
)
;
// Class AIS_ManipulatorObjectSequence from ./opencascade/AIS_Manipulator.hxx
klass = m.attr("AIS_ManipulatorObjectSequence");
// nested enums
static_cast<py::class_<AIS_ManipulatorObjectSequence ,opencascade::handle<AIS_ManipulatorObjectSequence> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const NCollection_Sequence<opencascade::handle<AIS_InteractiveObject>> & >() , py::arg("theOther") )
// custom constructors
// methods
.def("Append",
(void (AIS_ManipulatorObjectSequence::*)( const opencascade::handle<AIS_InteractiveObject> & ) ) static_cast<void (AIS_ManipulatorObjectSequence::*)( const opencascade::handle<AIS_InteractiveObject> & ) >(&AIS_ManipulatorObjectSequence::Append),
R"#(None)#" , py::arg("theItem")
)
.def("Append",
(void (AIS_ManipulatorObjectSequence::*)( NCollection_Sequence<opencascade::handle<AIS_InteractiveObject>> & ) ) static_cast<void (AIS_ManipulatorObjectSequence::*)( NCollection_Sequence<opencascade::handle<AIS_InteractiveObject>> & ) >(&AIS_ManipulatorObjectSequence::Append),
R"#(None)#" , py::arg("theSequence")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_ManipulatorObjectSequence::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_ManipulatorObjectSequence::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("Sequence",
(const NCollection_Sequence<opencascade::handle<AIS_InteractiveObject>> & (AIS_ManipulatorObjectSequence::*)() const) static_cast<const NCollection_Sequence<opencascade::handle<AIS_InteractiveObject>> & (AIS_ManipulatorObjectSequence::*)() const>(&AIS_ManipulatorObjectSequence::Sequence),
R"#(None)#"
)
.def("ChangeSequence",
(NCollection_Sequence<opencascade::handle<AIS_InteractiveObject>> & (AIS_ManipulatorObjectSequence::*)() ) static_cast<NCollection_Sequence<opencascade::handle<AIS_InteractiveObject>> & (AIS_ManipulatorObjectSequence::*)() >(&AIS_ManipulatorObjectSequence::ChangeSequence),
R"#(None)#"
, py::return_value_policy::reference_internal
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (AIS_ManipulatorObjectSequence::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_ManipulatorObjectSequence::*)() const>(&AIS_ManipulatorObjectSequence::DynamicType),
R"#(None)#"
)
;
// Class AIS_ManipulatorOwner from ./opencascade/AIS_ManipulatorOwner.hxx
klass = m.attr("AIS_ManipulatorOwner");
// nested enums
static_cast<py::class_<AIS_ManipulatorOwner ,opencascade::handle<AIS_ManipulatorOwner> , SelectMgr_EntityOwner >>(klass)
// constructors
.def(py::init< const opencascade::handle<SelectMgr_SelectableObject> &,const Standard_Integer,const AIS_ManipulatorMode,const Standard_Integer >() , py::arg("theSelObject"), py::arg("theIndex"), py::arg("theMode"), py::arg("thePriority")=static_cast<const Standard_Integer>(0) )
// custom constructors
// methods
.def("HilightWithColor",
(void (AIS_ManipulatorOwner::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const opencascade::handle<Prs3d_Drawer> & , const Standard_Integer ) ) static_cast<void (AIS_ManipulatorOwner::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const opencascade::handle<Prs3d_Drawer> & , const Standard_Integer ) >(&AIS_ManipulatorOwner::HilightWithColor),
R"#(None)#" , py::arg("thePM"), py::arg("theStyle"), py::arg("theMode")
)
.def("IsHilighted",
(Standard_Boolean (AIS_ManipulatorOwner::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const Standard_Integer ) const) static_cast<Standard_Boolean (AIS_ManipulatorOwner::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const Standard_Integer ) const>(&AIS_ManipulatorOwner::IsHilighted),
R"#(None)#" , py::arg("thePM"), py::arg("theMode")
)
.def("Unhilight",
(void (AIS_ManipulatorOwner::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const Standard_Integer ) ) static_cast<void (AIS_ManipulatorOwner::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const Standard_Integer ) >(&AIS_ManipulatorOwner::Unhilight),
R"#(None)#" , py::arg("thePM"), py::arg("theMode")
)
.def("Mode",
(AIS_ManipulatorMode (AIS_ManipulatorOwner::*)() const) static_cast<AIS_ManipulatorMode (AIS_ManipulatorOwner::*)() const>(&AIS_ManipulatorOwner::Mode),
R"#(None)#"
)
.def("Index",
(Standard_Integer (AIS_ManipulatorOwner::*)() const) static_cast<Standard_Integer (AIS_ManipulatorOwner::*)() const>(&AIS_ManipulatorOwner::Index),
R"#(Returns index of manipulator axis.)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_ManipulatorOwner::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_ManipulatorOwner::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> & (AIS_ManipulatorOwner::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_ManipulatorOwner::*)() const>(&AIS_ManipulatorOwner::DynamicType),
R"#(None)#"
)
;
// Class AIS_PointCloudOwner from ./opencascade/AIS_PointCloud.hxx
klass = m.attr("AIS_PointCloudOwner");
// nested enums
static_cast<py::class_<AIS_PointCloudOwner ,opencascade::handle<AIS_PointCloudOwner> , SelectMgr_EntityOwner >>(klass)
// constructors
.def(py::init< const opencascade::handle<AIS_PointCloud> & >() , py::arg("theOrigin") )
// custom constructors
// methods
.def("IsForcedHilight",
(Standard_Boolean (AIS_PointCloudOwner::*)() const) static_cast<Standard_Boolean (AIS_PointCloudOwner::*)() const>(&AIS_PointCloudOwner::IsForcedHilight),
R"#(Always update dynamic highlighting.)#"
)
.def("HilightWithColor",
(void (AIS_PointCloudOwner::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const opencascade::handle<Prs3d_Drawer> & , const Standard_Integer ) ) static_cast<void (AIS_PointCloudOwner::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const opencascade::handle<Prs3d_Drawer> & , const Standard_Integer ) >(&AIS_PointCloudOwner::HilightWithColor),
R"#(Handle dynamic highlighting.)#" , py::arg("thePrsMgr"), py::arg("theStyle"), py::arg("theMode")
)
.def("Unhilight",
(void (AIS_PointCloudOwner::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const Standard_Integer ) ) static_cast<void (AIS_PointCloudOwner::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const Standard_Integer ) >(&AIS_PointCloudOwner::Unhilight),
R"#(Removes highlighting.)#" , py::arg("thePrsMgr"), py::arg("theMode")
)
.def("Clear",
(void (AIS_PointCloudOwner::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const Standard_Integer ) ) static_cast<void (AIS_PointCloudOwner::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const Standard_Integer ) >(&AIS_PointCloudOwner::Clear),
R"#(Clears presentation.)#" , py::arg("thePrsMgr"), py::arg("theMode")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_PointCloudOwner::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_PointCloudOwner::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> & (AIS_PointCloudOwner::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_PointCloudOwner::*)() const>(&AIS_PointCloudOwner::DynamicType),
R"#(None)#"
)
.def("SelectedPoints",
(const opencascade::handle<TColStd_HPackedMapOfInteger> & (AIS_PointCloudOwner::*)() const) static_cast<const opencascade::handle<TColStd_HPackedMapOfInteger> & (AIS_PointCloudOwner::*)() const>(&AIS_PointCloudOwner::SelectedPoints),
R"#(Return selected points. WARNING! Indexation starts with 0 (shifted by -1 comparing to Graphic3d_ArrayOfPoints::Vertice()).)#"
, py::return_value_policy::reference_internal
)
.def("DetectedPoints",
(const opencascade::handle<TColStd_HPackedMapOfInteger> & (AIS_PointCloudOwner::*)() const) static_cast<const opencascade::handle<TColStd_HPackedMapOfInteger> & (AIS_PointCloudOwner::*)() const>(&AIS_PointCloudOwner::DetectedPoints),
R"#(Return last detected points. WARNING! Indexation starts with 0 (shifted by -1 comparing to Graphic3d_ArrayOfPoints::Vertice()).)#"
, py::return_value_policy::reference_internal
)
;
// Class AIS_Selection from ./opencascade/AIS_Selection.hxx
klass = m.attr("AIS_Selection");
// nested enums
static_cast<py::class_<AIS_Selection ,opencascade::handle<AIS_Selection> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("Clear",
(void (AIS_Selection::*)() ) static_cast<void (AIS_Selection::*)() >(&AIS_Selection::Clear),
R"#(removes all the object of the selection.)#"
)
.def("Select",
(AIS_SelectStatus (AIS_Selection::*)( const opencascade::handle<SelectMgr_EntityOwner> & , const opencascade::handle<SelectMgr_Filter> & , const AIS_SelectionScheme , const Standard_Boolean ) ) static_cast<AIS_SelectStatus (AIS_Selection::*)( const opencascade::handle<SelectMgr_EntityOwner> & , const opencascade::handle<SelectMgr_Filter> & , const AIS_SelectionScheme , const Standard_Boolean ) >(&AIS_Selection::Select),
R"#(if the object is not yet in the selection, it will be added. if the object is already in the selection, it will be removed.)#" , py::arg("theOwner"), py::arg("theFilter"), py::arg("theSelScheme"), py::arg("theIsDetected")
)
.def("AddSelect",
(AIS_SelectStatus (AIS_Selection::*)( const opencascade::handle<SelectMgr_EntityOwner> & ) ) static_cast<AIS_SelectStatus (AIS_Selection::*)( const opencascade::handle<SelectMgr_EntityOwner> & ) >(&AIS_Selection::AddSelect),
R"#(the object is always add int the selection. faster when the number of objects selected is great.)#" , py::arg("theObject")
)
.def("ClearAndSelect",
(void (AIS_Selection::*)( const opencascade::handle<SelectMgr_EntityOwner> & , const opencascade::handle<SelectMgr_Filter> & , const Standard_Boolean ) ) static_cast<void (AIS_Selection::*)( const opencascade::handle<SelectMgr_EntityOwner> & , const opencascade::handle<SelectMgr_Filter> & , const Standard_Boolean ) >(&AIS_Selection::ClearAndSelect),
R"#(clears the selection and adds the object in the selection.)#" , py::arg("theObject"), py::arg("theFilter"), py::arg("theIsDetected")
)
.def("IsSelected",
(Standard_Boolean (AIS_Selection::*)( const opencascade::handle<SelectMgr_EntityOwner> & ) const) static_cast<Standard_Boolean (AIS_Selection::*)( const opencascade::handle<SelectMgr_EntityOwner> & ) const>(&AIS_Selection::IsSelected),
R"#(checks if the object is in the selection.)#" , py::arg("theObject")
)
.def("Extent",
(Standard_Integer (AIS_Selection::*)() const) static_cast<Standard_Integer (AIS_Selection::*)() const>(&AIS_Selection::Extent),
R"#(Return the number of selected objects.)#"
)
.def("IsEmpty",
(Standard_Boolean (AIS_Selection::*)() const) static_cast<Standard_Boolean (AIS_Selection::*)() const>(&AIS_Selection::IsEmpty),
R"#(Return true if list of selected objects is empty.)#"
)
.def("Init",
(void (AIS_Selection::*)() ) static_cast<void (AIS_Selection::*)() >(&AIS_Selection::Init),
R"#(Start iteration through selected objects.)#"
)
.def("More",
(Standard_Boolean (AIS_Selection::*)() const) static_cast<Standard_Boolean (AIS_Selection::*)() const>(&AIS_Selection::More),
R"#(Return true if iterator points to selected object.)#"
)
.def("Next",
(void (AIS_Selection::*)() ) static_cast<void (AIS_Selection::*)() >(&AIS_Selection::Next),
R"#(Continue iteration through selected objects.)#"
)
.def("SelectOwners",
(void (AIS_Selection::*)( const NCollection_Array1<opencascade::handle<SelectMgr_EntityOwner>> & , const AIS_SelectionScheme , const Standard_Boolean , const opencascade::handle<SelectMgr_Filter> & ) ) static_cast<void (AIS_Selection::*)( const NCollection_Array1<opencascade::handle<SelectMgr_EntityOwner>> & , const AIS_SelectionScheme , const Standard_Boolean , const opencascade::handle<SelectMgr_Filter> & ) >(&AIS_Selection::SelectOwners),
R"#(Select or deselect owners depending on the selection scheme.)#" , py::arg("thePickedOwners"), py::arg("theSelScheme"), py::arg("theToAllowSelOverlap"), py::arg("theFilter")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_Selection::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_Selection::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> & (AIS_Selection::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_Selection::*)() const>(&AIS_Selection::DynamicType),
R"#(None)#"
)
.def("Objects",
(const AIS_NListOfEntityOwner & (AIS_Selection::*)() const) static_cast<const AIS_NListOfEntityOwner & (AIS_Selection::*)() const>(&AIS_Selection::Objects),
R"#(Return the list of selected objects.)#"
)
.def("Value",
(const opencascade::handle<SelectMgr_EntityOwner> & (AIS_Selection::*)() const) static_cast<const opencascade::handle<SelectMgr_EntityOwner> & (AIS_Selection::*)() const>(&AIS_Selection::Value),
R"#(Return selected object at iterator position.)#"
)
;
// Class AIS_TrihedronOwner from ./opencascade/AIS_TrihedronOwner.hxx
klass = m.attr("AIS_TrihedronOwner");
// nested enums
static_cast<py::class_<AIS_TrihedronOwner ,opencascade::handle<AIS_TrihedronOwner> , SelectMgr_EntityOwner >>(klass)
// constructors
.def(py::init< const opencascade::handle<SelectMgr_SelectableObject> &,const Prs3d_DatumParts,const Standard_Integer >() , py::arg("theSelObject"), py::arg("theDatumPart"), py::arg("thePriority") )
// custom constructors
// methods
.def("DatumPart",
(Prs3d_DatumParts (AIS_TrihedronOwner::*)() const) static_cast<Prs3d_DatumParts (AIS_TrihedronOwner::*)() const>(&AIS_TrihedronOwner::DatumPart),
R"#(Returns the datum part identifier.)#"
)
.def("HilightWithColor",
(void (AIS_TrihedronOwner::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const opencascade::handle<Prs3d_Drawer> & , const Standard_Integer ) ) static_cast<void (AIS_TrihedronOwner::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const opencascade::handle<Prs3d_Drawer> & , const Standard_Integer ) >(&AIS_TrihedronOwner::HilightWithColor),
R"#(Highlights selectable object's presentation.)#" , py::arg("thePM"), py::arg("theStyle"), py::arg("theMode")
)
.def("IsHilighted",
(Standard_Boolean (AIS_TrihedronOwner::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const Standard_Integer ) const) static_cast<Standard_Boolean (AIS_TrihedronOwner::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const Standard_Integer ) const>(&AIS_TrihedronOwner::IsHilighted),
R"#(Returns true if the presentation manager thePM highlights selections corresponding to the selection mode aMode.)#" , py::arg("thePM"), py::arg("theMode")
)
.def("Unhilight",
(void (AIS_TrihedronOwner::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const Standard_Integer ) ) static_cast<void (AIS_TrihedronOwner::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const Standard_Integer ) >(&AIS_TrihedronOwner::Unhilight),
R"#(Removes highlighting from the owner of a detected selectable object in the presentation manager thePM.)#" , py::arg("thePM"), py::arg("theMode")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_TrihedronOwner::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_TrihedronOwner::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> & (AIS_TrihedronOwner::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_TrihedronOwner::*)() const>(&AIS_TrihedronOwner::DynamicType),
R"#(None)#"
)
;
// Class AIS_TypeFilter from ./opencascade/AIS_TypeFilter.hxx
klass = m.attr("AIS_TypeFilter");
// nested enums
static_cast<py::class_<AIS_TypeFilter ,opencascade::handle<AIS_TypeFilter> , SelectMgr_Filter >>(klass)
// constructors
.def(py::init< const AIS_KindOfInteractive >() , py::arg("aGivenKind") )
// custom constructors
// methods
.def("IsOk",
(Standard_Boolean (AIS_TypeFilter::*)( const opencascade::handle<SelectMgr_EntityOwner> & ) const) static_cast<Standard_Boolean (AIS_TypeFilter::*)( const opencascade::handle<SelectMgr_EntityOwner> & ) const>(&AIS_TypeFilter::IsOk),
R"#(Returns False if the transient is not an Interactive Object, or if the type of the Interactive Object is not the same as that stored in the filter.)#" , py::arg("anobj")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_TypeFilter::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_TypeFilter::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> & (AIS_TypeFilter::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_TypeFilter::*)() const>(&AIS_TypeFilter::DynamicType),
R"#(None)#"
)
;
// Class AIS_ViewController from ./opencascade/AIS_ViewController.hxx
klass = m.attr("AIS_ViewController");
// nested enums
static_cast<py::class_<AIS_ViewController , shared_ptr<AIS_ViewController> , Aspect_WindowInputListener >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("InputBuffer",
(const AIS_ViewInputBuffer & (AIS_ViewController::*)( AIS_ViewInputBufferType ) const) static_cast<const AIS_ViewInputBuffer & (AIS_ViewController::*)( AIS_ViewInputBufferType ) const>(&AIS_ViewController::InputBuffer),
R"#(Return input buffer.)#" , py::arg("theType")
)
.def("ChangeInputBuffer",
(AIS_ViewInputBuffer & (AIS_ViewController::*)( AIS_ViewInputBufferType ) ) static_cast<AIS_ViewInputBuffer & (AIS_ViewController::*)( AIS_ViewInputBufferType ) >(&AIS_ViewController::ChangeInputBuffer),
R"#(Return input buffer.)#" , py::arg("theType")
)
.def("SetViewAnimation",
(void (AIS_ViewController::*)( const opencascade::handle<AIS_AnimationCamera> & ) ) static_cast<void (AIS_ViewController::*)( const opencascade::handle<AIS_AnimationCamera> & ) >(&AIS_ViewController::SetViewAnimation),
R"#(Set view animation to be handled within handleViewRedraw().)#" , py::arg("theAnimation")
)
.def("AbortViewAnimation",
(void (AIS_ViewController::*)() ) static_cast<void (AIS_ViewController::*)() >(&AIS_ViewController::AbortViewAnimation),
R"#(Interrupt active view animation.)#"
)
.def("SetObjectsAnimation",
(void (AIS_ViewController::*)( const opencascade::handle<AIS_Animation> & ) ) static_cast<void (AIS_ViewController::*)( const opencascade::handle<AIS_Animation> & ) >(&AIS_ViewController::SetObjectsAnimation),
R"#(Set object animation to be handled within handleViewRedraw().)#" , py::arg("theAnimation")
)
.def("ToPauseObjectsAnimation",
(bool (AIS_ViewController::*)() const) static_cast<bool (AIS_ViewController::*)() const>(&AIS_ViewController::ToPauseObjectsAnimation),
R"#(Return TRUE if object animation should be paused on mouse click; FALSE by default.)#"
)
.def("SetPauseObjectsAnimation",
(void (AIS_ViewController::*)( bool ) ) static_cast<void (AIS_ViewController::*)( bool ) >(&AIS_ViewController::SetPauseObjectsAnimation),
R"#(Set if object animation should be paused on mouse click.)#" , py::arg("theToPause")
)
.def("IsContinuousRedraw",
(bool (AIS_ViewController::*)() const) static_cast<bool (AIS_ViewController::*)() const>(&AIS_ViewController::IsContinuousRedraw),
R"#(Return TRUE if continuous redrawing is enabled; FALSE by default. This option would request a next viewer frame to be completely redrawn right after current frame is finished.)#"
)
.def("SetContinuousRedraw",
(void (AIS_ViewController::*)( bool ) ) static_cast<void (AIS_ViewController::*)( bool ) >(&AIS_ViewController::SetContinuousRedraw),
R"#(Enable or disable continuous updates.)#" , py::arg("theToEnable")
)
.def("RotationMode",
(AIS_RotationMode (AIS_ViewController::*)() const) static_cast<AIS_RotationMode (AIS_ViewController::*)() const>(&AIS_ViewController::RotationMode),
R"#(Return camera rotation mode, AIS_RotationMode_BndBoxActive by default.)#"
)
.def("SetRotationMode",
(void (AIS_ViewController::*)( AIS_RotationMode ) ) static_cast<void (AIS_ViewController::*)( AIS_RotationMode ) >(&AIS_ViewController::SetRotationMode),
R"#(Set camera rotation mode.)#" , py::arg("theMode")
)
.def("NavigationMode",
(AIS_NavigationMode (AIS_ViewController::*)() const) static_cast<AIS_NavigationMode (AIS_ViewController::*)() const>(&AIS_ViewController::NavigationMode),
R"#(Return camera navigation mode; AIS_NavigationMode_Orbit by default.)#"
)
.def("SetNavigationMode",
(void (AIS_ViewController::*)( AIS_NavigationMode ) ) static_cast<void (AIS_ViewController::*)( AIS_NavigationMode ) >(&AIS_ViewController::SetNavigationMode),
R"#(Set camera navigation mode.)#" , py::arg("theMode")
)
.def("MouseAcceleration",
(float (AIS_ViewController::*)() const) static_cast<float (AIS_ViewController::*)() const>(&AIS_ViewController::MouseAcceleration),
R"#(Return mouse input acceleration ratio in First Person mode; 1.0 by default.)#"
)
.def("SetMouseAcceleration",
(void (AIS_ViewController::*)( float ) ) static_cast<void (AIS_ViewController::*)( float ) >(&AIS_ViewController::SetMouseAcceleration),
R"#(Set mouse input acceleration ratio.)#" , py::arg("theRatio")
)
.def("OrbitAcceleration",
(float (AIS_ViewController::*)() const) static_cast<float (AIS_ViewController::*)() const>(&AIS_ViewController::OrbitAcceleration),
R"#(Return orbit rotation acceleration ratio; 1.0 by default.)#"
)
.def("SetOrbitAcceleration",
(void (AIS_ViewController::*)( float ) ) static_cast<void (AIS_ViewController::*)( float ) >(&AIS_ViewController::SetOrbitAcceleration),
R"#(Set orbit rotation acceleration ratio.)#" , py::arg("theRatio")
)
.def("ToShowPanAnchorPoint",
(bool (AIS_ViewController::*)() const) static_cast<bool (AIS_ViewController::*)() const>(&AIS_ViewController::ToShowPanAnchorPoint),
R"#(Return TRUE if panning anchor point within perspective projection should be displayed in 3D Viewer; TRUE by default.)#"
)
.def("SetShowPanAnchorPoint",
(void (AIS_ViewController::*)( bool ) ) static_cast<void (AIS_ViewController::*)( bool ) >(&AIS_ViewController::SetShowPanAnchorPoint),
R"#(Set if panning anchor point within perspective projection should be displayed in 3D Viewer.)#" , py::arg("theToShow")
)
.def("ToShowRotateCenter",
(bool (AIS_ViewController::*)() const) static_cast<bool (AIS_ViewController::*)() const>(&AIS_ViewController::ToShowRotateCenter),
R"#(Return TRUE if rotation point should be displayed in 3D Viewer; TRUE by default.)#"
)
.def("SetShowRotateCenter",
(void (AIS_ViewController::*)( bool ) ) static_cast<void (AIS_ViewController::*)( bool ) >(&AIS_ViewController::SetShowRotateCenter),
R"#(Set if rotation point should be displayed in 3D Viewer.)#" , py::arg("theToShow")
)
.def("ToLockOrbitZUp",
(bool (AIS_ViewController::*)() const) static_cast<bool (AIS_ViewController::*)() const>(&AIS_ViewController::ToLockOrbitZUp),
R"#(Return TRUE if camera up orientation within AIS_NavigationMode_Orbit rotation mode should be forced Z up; FALSE by default.)#"
)
.def("SetLockOrbitZUp",
(void (AIS_ViewController::*)( bool ) ) static_cast<void (AIS_ViewController::*)( bool ) >(&AIS_ViewController::SetLockOrbitZUp),
R"#(Set if camera up orientation within AIS_NavigationMode_Orbit rotation mode should be forced Z up.)#" , py::arg("theToForceUp")
)
.def("ToAllowTouchZRotation",
(bool (AIS_ViewController::*)() const) static_cast<bool (AIS_ViewController::*)() const>(&AIS_ViewController::ToAllowTouchZRotation),
R"#(Return TRUE if z-rotation via two-touches gesture is enabled; FALSE by default.)#"
)
.def("SetAllowTouchZRotation",
(void (AIS_ViewController::*)( bool ) ) static_cast<void (AIS_ViewController::*)( bool ) >(&AIS_ViewController::SetAllowTouchZRotation),
R"#(Set if z-rotation via two-touches gesture is enabled.)#" , py::arg("theToEnable")
)
.def("ToAllowRotation",
(bool (AIS_ViewController::*)() const) static_cast<bool (AIS_ViewController::*)() const>(&AIS_ViewController::ToAllowRotation),
R"#(Return TRUE if camera rotation is allowed; TRUE by default.)#"
)
.def("SetAllowRotation",
(void (AIS_ViewController::*)( bool ) ) static_cast<void (AIS_ViewController::*)( bool ) >(&AIS_ViewController::SetAllowRotation),
R"#(Set if camera rotation is allowed.)#" , py::arg("theToEnable")
)
.def("ToAllowPanning",
(bool (AIS_ViewController::*)() const) static_cast<bool (AIS_ViewController::*)() const>(&AIS_ViewController::ToAllowPanning),
R"#(Return TRUE if panning is allowed; TRUE by default.)#"
)
.def("SetAllowPanning",
(void (AIS_ViewController::*)( bool ) ) static_cast<void (AIS_ViewController::*)( bool ) >(&AIS_ViewController::SetAllowPanning),
R"#(Set if panning is allowed.)#" , py::arg("theToEnable")
)
.def("ToAllowZooming",
(bool (AIS_ViewController::*)() const) static_cast<bool (AIS_ViewController::*)() const>(&AIS_ViewController::ToAllowZooming),
R"#(Return TRUE if zooming is allowed; TRUE by default.)#"
)
.def("SetAllowZooming",
(void (AIS_ViewController::*)( bool ) ) static_cast<void (AIS_ViewController::*)( bool ) >(&AIS_ViewController::SetAllowZooming),
R"#(Set if zooming is allowed.)#" , py::arg("theToEnable")
)
.def("ToAllowZFocus",
(bool (AIS_ViewController::*)() const) static_cast<bool (AIS_ViewController::*)() const>(&AIS_ViewController::ToAllowZFocus),
R"#(Return TRUE if ZFocus change is allowed; TRUE by default.)#"
)
.def("SetAllowZFocus",
(void (AIS_ViewController::*)( bool ) ) static_cast<void (AIS_ViewController::*)( bool ) >(&AIS_ViewController::SetAllowZFocus),
R"#(Set if ZFocus change is allowed.)#" , py::arg("theToEnable")
)
.def("ToAllowHighlight",
(bool (AIS_ViewController::*)() const) static_cast<bool (AIS_ViewController::*)() const>(&AIS_ViewController::ToAllowHighlight),
R"#(Return TRUE if dynamic highlight on mouse move is allowed; TRUE by default.)#"
)
.def("SetAllowHighlight",
(void (AIS_ViewController::*)( bool ) ) static_cast<void (AIS_ViewController::*)( bool ) >(&AIS_ViewController::SetAllowHighlight),
R"#(Set if dragging object is allowed.)#" , py::arg("theToEnable")
)
.def("ToAllowDragging",
(bool (AIS_ViewController::*)() const) static_cast<bool (AIS_ViewController::*)() const>(&AIS_ViewController::ToAllowDragging),
R"#(Return TRUE if dragging object is allowed; TRUE by default.)#"
)
.def("SetAllowDragging",
(void (AIS_ViewController::*)( bool ) ) static_cast<void (AIS_ViewController::*)( bool ) >(&AIS_ViewController::SetAllowDragging),
R"#(Set if dynamic highlight on mouse move is allowed.)#" , py::arg("theToEnable")
)
.def("ToStickToRayOnZoom",
(bool (AIS_ViewController::*)() const) static_cast<bool (AIS_ViewController::*)() const>(&AIS_ViewController::ToStickToRayOnZoom),
R"#(Return TRUE if picked point should be projected to picking ray on zooming at point; TRUE by default.)#"
)
.def("SetStickToRayOnZoom",
(void (AIS_ViewController::*)( bool ) ) static_cast<void (AIS_ViewController::*)( bool ) >(&AIS_ViewController::SetStickToRayOnZoom),
R"#(Set if picked point should be projected to picking ray on zooming at point.)#" , py::arg("theToEnable")
)
.def("ToStickToRayOnRotation",
(bool (AIS_ViewController::*)() const) static_cast<bool (AIS_ViewController::*)() const>(&AIS_ViewController::ToStickToRayOnRotation),
R"#(Return TRUE if picked point should be projected to picking ray on rotating around point; TRUE by default.)#"
)
.def("SetStickToRayOnRotation",
(void (AIS_ViewController::*)( bool ) ) static_cast<void (AIS_ViewController::*)( bool ) >(&AIS_ViewController::SetStickToRayOnRotation),
R"#(Set if picked point should be projected to picking ray on rotating around point.)#" , py::arg("theToEnable")
)
.def("ToInvertPitch",
(bool (AIS_ViewController::*)() const) static_cast<bool (AIS_ViewController::*)() const>(&AIS_ViewController::ToInvertPitch),
R"#(Return TRUE if pitch direction should be inverted while processing Aspect_VKey_NavLookUp/Aspect_VKey_NavLookDown; FALSE by default.)#"
)
.def("SetInvertPitch",
(void (AIS_ViewController::*)( bool ) ) static_cast<void (AIS_ViewController::*)( bool ) >(&AIS_ViewController::SetInvertPitch),
R"#(Set flag inverting pitch direction.)#" , py::arg("theToInvert")
)
.def("WalkSpeedAbsolute",
(float (AIS_ViewController::*)() const) static_cast<float (AIS_ViewController::*)() const>(&AIS_ViewController::WalkSpeedAbsolute),
R"#(Return normal walking speed, in m/s; 1.5 by default.)#"
)
.def("SetWalkSpeedAbsolute",
(void (AIS_ViewController::*)( float ) ) static_cast<void (AIS_ViewController::*)( float ) >(&AIS_ViewController::SetWalkSpeedAbsolute),
R"#(Set normal walking speed, in m/s; 1.5 by default.)#" , py::arg("theSpeed")
)
.def("WalkSpeedRelative",
(float (AIS_ViewController::*)() const) static_cast<float (AIS_ViewController::*)() const>(&AIS_ViewController::WalkSpeedRelative),
R"#(Return walking speed relative to scene bounding box; 0.1 by default.)#"
)
.def("SetWalkSpeedRelative",
(void (AIS_ViewController::*)( float ) ) static_cast<void (AIS_ViewController::*)( float ) >(&AIS_ViewController::SetWalkSpeedRelative),
R"#(Set walking speed relative to scene bounding box.)#" , py::arg("theFactor")
)
.def("ThrustSpeed",
(float (AIS_ViewController::*)() const) static_cast<float (AIS_ViewController::*)() const>(&AIS_ViewController::ThrustSpeed),
R"#(Return active thrust value; 0.0f by default.)#"
)
.def("SetThrustSpeed",
(void (AIS_ViewController::*)( float ) ) static_cast<void (AIS_ViewController::*)( float ) >(&AIS_ViewController::SetThrustSpeed),
R"#(Set active thrust value.)#" , py::arg("theSpeed")
)
.def("HasPreviousMoveTo",
(bool (AIS_ViewController::*)() const) static_cast<bool (AIS_ViewController::*)() const>(&AIS_ViewController::HasPreviousMoveTo),
R"#(Return TRUE if previous position of MoveTo has been defined.)#"
)
.def("ResetPreviousMoveTo",
(void (AIS_ViewController::*)() ) static_cast<void (AIS_ViewController::*)() >(&AIS_ViewController::ResetPreviousMoveTo),
R"#(Reset previous position of MoveTo.)#"
)
.def("ToDisplayXRAuxDevices",
(bool (AIS_ViewController::*)() const) static_cast<bool (AIS_ViewController::*)() const>(&AIS_ViewController::ToDisplayXRAuxDevices),
R"#(Return TRUE to display auxiliary tracked XR devices (like tracking stations).)#"
)
.def("SetDisplayXRAuxDevices",
(void (AIS_ViewController::*)( bool ) ) static_cast<void (AIS_ViewController::*)( bool ) >(&AIS_ViewController::SetDisplayXRAuxDevices),
R"#(Set if auxiliary tracked XR devices should be displayed.)#" , py::arg("theToDisplay")
)
.def("ToDisplayXRHands",
(bool (AIS_ViewController::*)() const) static_cast<bool (AIS_ViewController::*)() const>(&AIS_ViewController::ToDisplayXRHands),
R"#(Return TRUE to display XR hand controllers.)#"
)
.def("SetDisplayXRHands",
(void (AIS_ViewController::*)( bool ) ) static_cast<void (AIS_ViewController::*)( bool ) >(&AIS_ViewController::SetDisplayXRHands),
R"#(Set if tracked XR hand controllers should be displayed.)#" , py::arg("theToDisplay")
)
.def("KeyDown",
(void (AIS_ViewController::*)( Aspect_VKey , double , double ) ) static_cast<void (AIS_ViewController::*)( Aspect_VKey , double , double ) >(&AIS_ViewController::KeyDown),
R"#(Press key. Default implementation updates internal cache.)#" , py::arg("theKey"), py::arg("theTime"), py::arg("thePressure")=static_cast<double>(1.0)
)
.def("KeyUp",
(void (AIS_ViewController::*)( Aspect_VKey , double ) ) static_cast<void (AIS_ViewController::*)( Aspect_VKey , double ) >(&AIS_ViewController::KeyUp),
R"#(Release key. Default implementation updates internal cache.)#" , py::arg("theKey"), py::arg("theTime")
)
.def("KeyFromAxis",
(void (AIS_ViewController::*)( Aspect_VKey , Aspect_VKey , double , double ) ) static_cast<void (AIS_ViewController::*)( Aspect_VKey , Aspect_VKey , double , double ) >(&AIS_ViewController::KeyFromAxis),
R"#(Simulate key up/down events from axis value. Default implementation updates internal cache.)#" , py::arg("theNegative"), py::arg("thePositive"), py::arg("theTime"), py::arg("thePressure")
)
.def("FetchNavigationKeys",
(AIS_WalkDelta (AIS_ViewController::*)( Standard_Real , Standard_Real ) ) static_cast<AIS_WalkDelta (AIS_ViewController::*)( Standard_Real , Standard_Real ) >(&AIS_ViewController::FetchNavigationKeys),
R"#(Fetch active navigation actions.)#" , py::arg("theCrouchRatio"), py::arg("theRunRatio")
)
.def("MouseDoubleClickInterval",
(double (AIS_ViewController::*)() const) static_cast<double (AIS_ViewController::*)() const>(&AIS_ViewController::MouseDoubleClickInterval),
R"#(Return double click interval in seconds; 0.4 by default.)#"
)
.def("SetMouseDoubleClickInterval",
(void (AIS_ViewController::*)( double ) ) static_cast<void (AIS_ViewController::*)( double ) >(&AIS_ViewController::SetMouseDoubleClickInterval),
R"#(Set double click interval in seconds.)#" , py::arg("theSeconds")
)
.def("SelectInViewer",
(void (AIS_ViewController::*)( const NCollection_Vec2<Standard_Integer> & , const AIS_SelectionScheme ) ) static_cast<void (AIS_ViewController::*)( const NCollection_Vec2<Standard_Integer> & , const AIS_SelectionScheme ) >(&AIS_ViewController::SelectInViewer),
R"#(Perform selection in 3D viewer. This method is expected to be called from UI thread.)#" , py::arg("thePnt"), py::arg("theScheme")=static_cast<const AIS_SelectionScheme>(AIS_SelectionScheme_Replace)
)
.def("SelectInViewer",
(void (AIS_ViewController::*)( const NCollection_Sequence<Graphic3d_Vec2i> & , const AIS_SelectionScheme ) ) static_cast<void (AIS_ViewController::*)( const NCollection_Sequence<Graphic3d_Vec2i> & , const AIS_SelectionScheme ) >(&AIS_ViewController::SelectInViewer),
R"#(Perform selection in 3D viewer. This method is expected to be called from UI thread.)#" , py::arg("thePnts"), py::arg("theScheme")=static_cast<const AIS_SelectionScheme>(AIS_SelectionScheme_Replace)
)
.def("UpdateRubberBand",
(void (AIS_ViewController::*)( const NCollection_Vec2<Standard_Integer> & , const NCollection_Vec2<Standard_Integer> & ) ) static_cast<void (AIS_ViewController::*)( const NCollection_Vec2<Standard_Integer> & , const NCollection_Vec2<Standard_Integer> & ) >(&AIS_ViewController::UpdateRubberBand),
R"#(Update rectangle selection tool. This method is expected to be called from UI thread.)#" , py::arg("thePntFrom"), py::arg("thePntTo")
)
.def("UpdatePolySelection",
(void (AIS_ViewController::*)( const NCollection_Vec2<Standard_Integer> & , bool ) ) static_cast<void (AIS_ViewController::*)( const NCollection_Vec2<Standard_Integer> & , bool ) >(&AIS_ViewController::UpdatePolySelection),
R"#(Update polygonal selection tool. This method is expected to be called from UI thread.)#" , py::arg("thePnt"), py::arg("theToAppend")
)
.def("UpdateZoom",
(bool (AIS_ViewController::*)( const Aspect_ScrollDelta & ) ) static_cast<bool (AIS_ViewController::*)( const Aspect_ScrollDelta & ) >(&AIS_ViewController::UpdateZoom),
R"#(Update zoom event (e.g. from mouse scroll). This method is expected to be called from UI thread.)#" , py::arg("theDelta")
)
.def("UpdateZRotation",
(bool (AIS_ViewController::*)( double ) ) static_cast<bool (AIS_ViewController::*)( double ) >(&AIS_ViewController::UpdateZRotation),
R"#(Update Z rotation event.)#" , py::arg("theAngle")
)
.def("UpdateMouseScroll",
(bool (AIS_ViewController::*)( const Aspect_ScrollDelta & ) ) static_cast<bool (AIS_ViewController::*)( const Aspect_ScrollDelta & ) >(&AIS_ViewController::UpdateMouseScroll),
R"#(Update mouse scroll event; redirects to UpdateZoom by default. This method is expected to be called from UI thread.)#" , py::arg("theDelta")
)
.def("UpdateMouseButtons",
(bool (AIS_ViewController::*)( const NCollection_Vec2<Standard_Integer> & , Aspect_VKeyMouse , Aspect_VKeyFlags , bool ) ) static_cast<bool (AIS_ViewController::*)( const NCollection_Vec2<Standard_Integer> & , Aspect_VKeyMouse , Aspect_VKeyFlags , bool ) >(&AIS_ViewController::UpdateMouseButtons),
R"#(Handle mouse button press/release event. This method is expected to be called from UI thread.)#" , py::arg("thePoint"), py::arg("theButtons"), py::arg("theModifiers"), py::arg("theIsEmulated")
)
.def("UpdateMousePosition",
(bool (AIS_ViewController::*)( const NCollection_Vec2<Standard_Integer> & , Aspect_VKeyMouse , Aspect_VKeyFlags , bool ) ) static_cast<bool (AIS_ViewController::*)( const NCollection_Vec2<Standard_Integer> & , Aspect_VKeyMouse , Aspect_VKeyFlags , bool ) >(&AIS_ViewController::UpdateMousePosition),
R"#(Handle mouse cursor movement event. This method is expected to be called from UI thread.)#" , py::arg("thePoint"), py::arg("theButtons"), py::arg("theModifiers"), py::arg("theIsEmulated")
)
.def("UpdateMouseClick",
(bool (AIS_ViewController::*)( const NCollection_Vec2<Standard_Integer> & , Aspect_VKeyMouse , Aspect_VKeyFlags , bool ) ) static_cast<bool (AIS_ViewController::*)( const NCollection_Vec2<Standard_Integer> & , Aspect_VKeyMouse , Aspect_VKeyFlags , bool ) >(&AIS_ViewController::UpdateMouseClick),
R"#(Handle mouse button click event (emulated by UpdateMouseButtons() while releasing single button). Note that as this method is called by UpdateMouseButtons(), it should be executed from UI thread. Default implementation redirects to SelectInViewer(). This method is expected to be called from UI thread.)#" , py::arg("thePoint"), py::arg("theButton"), py::arg("theModifiers"), py::arg("theIsDoubleClick")
)
.def("TouchToleranceScale",
(float (AIS_ViewController::*)() const) static_cast<float (AIS_ViewController::*)() const>(&AIS_ViewController::TouchToleranceScale),
R"#(Return scale factor for adjusting tolerances for starting multi-touch gestures; 1.0 by default This scale factor is expected to be computed from touch screen resolution.)#"
)
.def("SetTouchToleranceScale",
(void (AIS_ViewController::*)( float ) ) static_cast<void (AIS_ViewController::*)( float ) >(&AIS_ViewController::SetTouchToleranceScale),
R"#(Set scale factor for adjusting tolerances for starting multi-touch gestures.)#" , py::arg("theTolerance")
)
.def("AddTouchPoint",
(void (AIS_ViewController::*)( Standard_Size , const NCollection_Vec2<Standard_Real> & , Standard_Boolean ) ) static_cast<void (AIS_ViewController::*)( Standard_Size , const NCollection_Vec2<Standard_Real> & , Standard_Boolean ) >(&AIS_ViewController::AddTouchPoint),
R"#(Add touch point with the given ID. This method is expected to be called from UI thread.)#" , py::arg("theId"), py::arg("thePnt"), py::arg("theClearBefore")=static_cast<Standard_Boolean>(false)
)
.def("RemoveTouchPoint",
(bool (AIS_ViewController::*)( Standard_Size , Standard_Boolean ) ) static_cast<bool (AIS_ViewController::*)( Standard_Size , Standard_Boolean ) >(&AIS_ViewController::RemoveTouchPoint),
R"#(Remove touch point with the given ID. This method is expected to be called from UI thread.)#" , py::arg("theId"), py::arg("theClearSelectPnts")=static_cast<Standard_Boolean>(false)
)
.def("UpdateTouchPoint",
(void (AIS_ViewController::*)( Standard_Size , const NCollection_Vec2<Standard_Real> & ) ) static_cast<void (AIS_ViewController::*)( Standard_Size , const NCollection_Vec2<Standard_Real> & ) >(&AIS_ViewController::UpdateTouchPoint),
R"#(Update touch point with the given ID. If point with specified ID was not registered before, it will be added. This method is expected to be called from UI thread.)#" , py::arg("theId"), py::arg("thePnt")
)
.def("Update3dMouse",
(bool (AIS_ViewController::*)( const WNT_HIDSpaceMouse & ) ) static_cast<bool (AIS_ViewController::*)( const WNT_HIDSpaceMouse & ) >(&AIS_ViewController::Update3dMouse),
R"#(Process 3d mouse input event (redirects to translation, rotation and keys).)#" , py::arg("theEvent")
)
.def("ProcessExpose",
(void (AIS_ViewController::*)() ) static_cast<void (AIS_ViewController::*)() >(&AIS_ViewController::ProcessExpose),
R"#(Handle expose event (window content has been invalidation and should be redrawn). Default implementation does nothing.)#"
)
.def("ProcessConfigure",
(void (AIS_ViewController::*)( bool ) ) static_cast<void (AIS_ViewController::*)( bool ) >(&AIS_ViewController::ProcessConfigure),
R"#(Handle window resize event. Default implementation does nothing.)#" , py::arg("theIsResized")
)
.def("ProcessInput",
(void (AIS_ViewController::*)() ) static_cast<void (AIS_ViewController::*)() >(&AIS_ViewController::ProcessInput),
R"#(Handle window input event immediately. Default implementation does nothing - input events are accumulated in internal buffer until explicit FlushViewEvents() call.)#"
)
.def("ProcessFocus",
(void (AIS_ViewController::*)( bool ) ) static_cast<void (AIS_ViewController::*)( bool ) >(&AIS_ViewController::ProcessFocus),
R"#(Handle focus event. Default implementation resets cached input state (pressed keys).)#" , py::arg("theIsActivated")
)
.def("ProcessClose",
(void (AIS_ViewController::*)() ) static_cast<void (AIS_ViewController::*)() >(&AIS_ViewController::ProcessClose),
R"#(Handle window close event. Default implementation does nothing.)#"
)
.def("ResetViewInput",
(void (AIS_ViewController::*)() ) static_cast<void (AIS_ViewController::*)() >(&AIS_ViewController::ResetViewInput),
R"#(Reset input state (pressed keys, mouse buttons, etc.) e.g. on window focus loss. This method is expected to be called from UI thread.)#"
)
.def("UpdateViewOrientation",
(void (AIS_ViewController::*)( V3d_TypeOfOrientation , bool ) ) static_cast<void (AIS_ViewController::*)( V3d_TypeOfOrientation , bool ) >(&AIS_ViewController::UpdateViewOrientation),
R"#(Reset view orientation. This method is expected to be called from UI thread.)#" , py::arg("theOrientation"), py::arg("theToFitAll")
)
.def("FlushViewEvents",
(void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & , Standard_Boolean ) ) static_cast<void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & , Standard_Boolean ) >(&AIS_ViewController::FlushViewEvents),
R"#(Update buffer for rendering thread. This method is expected to be called within synchronization barrier between GUI and Rendering threads (e.g. GUI thread should be locked beforehand to avoid data races).)#" , py::arg("theCtx"), py::arg("theView"), py::arg("theToHandle")=static_cast<Standard_Boolean>(Standard_False)
)
.def("HandleViewEvents",
(void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) ) static_cast<void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) >(&AIS_ViewController::HandleViewEvents),
R"#(Process events within rendering thread.)#" , py::arg("theCtx"), py::arg("theView")
)
.def("OnSelectionChanged",
(void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) ) static_cast<void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) >(&AIS_ViewController::OnSelectionChanged),
R"#(Callback called by handleMoveTo() on Selection in 3D Viewer. This method is expected to be called from rendering thread.)#" , py::arg("theCtx"), py::arg("theView")
)
.def("OnObjectDragged",
(void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & , AIS_DragAction ) ) static_cast<void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & , AIS_DragAction ) >(&AIS_ViewController::OnObjectDragged),
R"#(Callback called by handleMoveTo() on dragging object in 3D Viewer. This method is expected to be called from rendering thread.)#" , py::arg("theCtx"), py::arg("theView"), py::arg("theAction")
)
.def("OnSubviewChanged",
(void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & , const opencascade::handle<V3d_View> & ) ) static_cast<void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & , const opencascade::handle<V3d_View> & ) >(&AIS_ViewController::OnSubviewChanged),
R"#(Callback called by HandleViewEvents() on Selection of another (sub)view. This method is expected to be called from rendering thread.)#" , py::arg("theCtx"), py::arg("theOldView"), py::arg("theNewView")
)
.def("PickPoint",
(bool (AIS_ViewController::*)( gp_Pnt & , const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & , const NCollection_Vec2<Standard_Integer> & , bool ) ) static_cast<bool (AIS_ViewController::*)( gp_Pnt & , const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & , const NCollection_Vec2<Standard_Integer> & , bool ) >(&AIS_ViewController::PickPoint),
R"#(Pick closest point under mouse cursor. This method is expected to be called from rendering thread.)#" , py::arg("thePnt"), py::arg("theCtx"), py::arg("theView"), py::arg("theCursor"), py::arg("theToStickToPickRay")
)
.def("PickAxis",
(bool (AIS_ViewController::*)( gp_Pnt & , const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & , const gp_Ax1 & ) ) static_cast<bool (AIS_ViewController::*)( gp_Pnt & , const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & , const gp_Ax1 & ) >(&AIS_ViewController::PickAxis),
R"#(Pick closest point by axis. This method is expected to be called from rendering thread.)#" , py::arg("theTopPnt"), py::arg("theCtx"), py::arg("theView"), py::arg("theAxis")
)
.def("GravityPoint",
(gp_Pnt (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) ) static_cast<gp_Pnt (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) >(&AIS_ViewController::GravityPoint),
R"#(Compute rotation gravity center point depending on rotation mode. This method is expected to be called from rendering thread.)#" , py::arg("theCtx"), py::arg("theView")
)
.def("FitAllAuto",
(void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) ) static_cast<void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) >(&AIS_ViewController::FitAllAuto),
R"#(Modify view camera to fit all objects. Default implementation fits either all visible and all selected objects (swapped on each call).)#" , py::arg("theCtx"), py::arg("theView")
)
.def("handleViewOrientationKeys",
(void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) ) static_cast<void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) >(&AIS_ViewController::handleViewOrientationKeys),
R"#(Handle hot-keys defining new camera orientation (Aspect_VKey_ViewTop and similar keys). Default implementation starts an animated transaction from the current to the target camera orientation, when specific action key was pressed. This method is expected to be called from rendering thread.)#" , py::arg("theCtx"), py::arg("theView")
)
.def("handleNavigationKeys",
(AIS_WalkDelta (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) ) static_cast<AIS_WalkDelta (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) >(&AIS_ViewController::handleNavigationKeys),
R"#(Perform navigation (Aspect_VKey_NavForward and similar keys). This method is expected to be called from rendering thread.)#" , py::arg("theCtx"), py::arg("theView")
)
.def("handleCameraActions",
(void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & , const AIS_WalkDelta & ) ) static_cast<void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & , const AIS_WalkDelta & ) >(&AIS_ViewController::handleCameraActions),
R"#(Perform immediate camera actions (rotate/zoom/pan) on gesture progress. This method is expected to be called from rendering thread.)#" , py::arg("theCtx"), py::arg("theView"), py::arg("theWalk")
)
.def("handleMoveTo",
(void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) ) static_cast<void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) >(&AIS_ViewController::handleMoveTo),
R"#(Perform moveto/selection/dragging. This method is expected to be called from rendering thread.)#" , py::arg("theCtx"), py::arg("theView")
)
.def("toAskNextFrame",
(bool (AIS_ViewController::*)() const) static_cast<bool (AIS_ViewController::*)() const>(&AIS_ViewController::toAskNextFrame),
R"#(Return TRUE if another frame should be drawn right after this one.)#"
)
.def("setAskNextFrame",
(void (AIS_ViewController::*)( bool ) ) static_cast<void (AIS_ViewController::*)( bool ) >(&AIS_ViewController::setAskNextFrame),
R"#(Set if another frame should be drawn right after this one.)#" , py::arg("theToDraw")=static_cast<bool>(true)
)
.def("hasPanningAnchorPoint",
(bool (AIS_ViewController::*)() const) static_cast<bool (AIS_ViewController::*)() const>(&AIS_ViewController::hasPanningAnchorPoint),
R"#(Return if panning anchor point has been defined.)#"
)
.def("setPanningAnchorPoint",
(void (AIS_ViewController::*)( const gp_Pnt & ) ) static_cast<void (AIS_ViewController::*)( const gp_Pnt & ) >(&AIS_ViewController::setPanningAnchorPoint),
R"#(Set active panning anchor point.)#" , py::arg("thePnt")
)
.def("handlePanning",
(void (AIS_ViewController::*)( const opencascade::handle<V3d_View> & ) ) static_cast<void (AIS_ViewController::*)( const opencascade::handle<V3d_View> & ) >(&AIS_ViewController::handlePanning),
R"#(Handle panning event myGL.Panning.)#" , py::arg("theView")
)
.def("handleZRotate",
(void (AIS_ViewController::*)( const opencascade::handle<V3d_View> & ) ) static_cast<void (AIS_ViewController::*)( const opencascade::handle<V3d_View> & ) >(&AIS_ViewController::handleZRotate),
R"#(Handle Z rotation event myGL.ZRotate.)#" , py::arg("theView")
)
.def("MinZoomDistance",
(double (AIS_ViewController::*)() const) static_cast<double (AIS_ViewController::*)() const>(&AIS_ViewController::MinZoomDistance),
R"#(Return minimal camera distance for zoom operation.)#"
)
.def("SetMinZoomDistance",
(void (AIS_ViewController::*)( double ) ) static_cast<void (AIS_ViewController::*)( double ) >(&AIS_ViewController::SetMinZoomDistance),
R"#(Set minimal camera distance for zoom operation.)#" , py::arg("theDist")
)
.def("handleZoom",
(void (AIS_ViewController::*)( const opencascade::handle<V3d_View> & , const Aspect_ScrollDelta & , const gp_Pnt * ) ) static_cast<void (AIS_ViewController::*)( const opencascade::handle<V3d_View> & , const Aspect_ScrollDelta & , const gp_Pnt * ) >(&AIS_ViewController::handleZoom),
R"#(Handle zoom event myGL.ZoomActions. This method is expected to be called from rendering thread.)#" , py::arg("theView"), py::arg("theParams"), py::arg("thePnt")
)
.def("handleZFocusScroll",
(void (AIS_ViewController::*)( const opencascade::handle<V3d_View> & , const Aspect_ScrollDelta & ) ) static_cast<void (AIS_ViewController::*)( const opencascade::handle<V3d_View> & , const Aspect_ScrollDelta & ) >(&AIS_ViewController::handleZFocusScroll),
R"#(Handle ZScroll event myGL.ZoomActions. This method is expected to be called from rendering thread.)#" , py::arg("theView"), py::arg("theParams")
)
.def("handleOrbitRotation",
(void (AIS_ViewController::*)( const opencascade::handle<V3d_View> & , const gp_Pnt & , bool ) ) static_cast<void (AIS_ViewController::*)( const opencascade::handle<V3d_View> & , const gp_Pnt & , bool ) >(&AIS_ViewController::handleOrbitRotation),
R"#(Handle orbital rotation events myGL.OrbitRotation.)#" , py::arg("theView"), py::arg("thePnt"), py::arg("theToLockZUp")
)
.def("handleViewRotation",
(void (AIS_ViewController::*)( const opencascade::handle<V3d_View> & , double , double , double , bool ) ) static_cast<void (AIS_ViewController::*)( const opencascade::handle<V3d_View> & , double , double , double , bool ) >(&AIS_ViewController::handleViewRotation),
R"#(Handle view direction rotation events myGL.ViewRotation. This method is expected to be called from rendering thread.)#" , py::arg("theView"), py::arg("theYawExtra"), py::arg("thePitchExtra"), py::arg("theRoll"), py::arg("theToRestartOnIncrement")
)
.def("handleViewRedraw",
(void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) ) static_cast<void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) >(&AIS_ViewController::handleViewRedraw),
R"#(Handle view redraw. This method is expected to be called from rendering thread.)#" , py::arg("theCtx"), py::arg("theView")
)
.def("handleXRInput",
(void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & , const AIS_WalkDelta & ) ) static_cast<void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & , const AIS_WalkDelta & ) >(&AIS_ViewController::handleXRInput),
R"#(Perform XR input. This method is expected to be called from rendering thread.)#" , py::arg("theCtx"), py::arg("theView"), py::arg("theWalk")
)
.def("handleXRTurnPad",
(void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) ) static_cast<void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) >(&AIS_ViewController::handleXRTurnPad),
R"#(Handle trackpad view turn action.)#" , py::arg("theCtx"), py::arg("theView")
)
.def("handleXRTeleport",
(void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) ) static_cast<void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) >(&AIS_ViewController::handleXRTeleport),
R"#(Handle trackpad teleportation action.)#" , py::arg("theCtx"), py::arg("theView")
)
.def("handleXRPicking",
(void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) ) static_cast<void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) >(&AIS_ViewController::handleXRPicking),
R"#(Handle picking on trigger click.)#" , py::arg("theCtx"), py::arg("theView")
)
.def("handleXRHighlight",
(void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) ) static_cast<void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) >(&AIS_ViewController::handleXRHighlight),
R"#(Perform dynamic highlighting for active hand.)#" , py::arg("theCtx"), py::arg("theView")
)
.def("handleXRPresentations",
(void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) ) static_cast<void (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & ) >(&AIS_ViewController::handleXRPresentations),
R"#(Display auxiliary XR presentations.)#" , py::arg("theCtx"), py::arg("theView")
)
.def("handleXRMoveTo",
(Standard_Integer (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & , const gp_Trsf & , const Standard_Boolean ) ) static_cast<Standard_Integer (AIS_ViewController::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & , const gp_Trsf & , const Standard_Boolean ) >(&AIS_ViewController::handleXRMoveTo),
R"#(Perform picking with/without dynamic highlighting for XR pose.)#" , py::arg("theCtx"), py::arg("theView"), py::arg("thePose"), py::arg("theToHighlight")
)
// 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("ViewAnimation",
(const opencascade::handle<AIS_AnimationCamera> & (AIS_ViewController::*)() const) static_cast<const opencascade::handle<AIS_AnimationCamera> & (AIS_ViewController::*)() const>(&AIS_ViewController::ViewAnimation),
R"#(Return view animation; empty (but not NULL) animation by default.)#"
)
.def("ObjectsAnimation",
(const opencascade::handle<AIS_Animation> & (AIS_ViewController::*)() const) static_cast<const opencascade::handle<AIS_Animation> & (AIS_ViewController::*)() const>(&AIS_ViewController::ObjectsAnimation),
R"#(Return objects animation; empty (but not NULL) animation by default.)#"
)
.def("PreviousMoveTo",
(const Graphic3d_Vec2i & (AIS_ViewController::*)() const) static_cast<const Graphic3d_Vec2i & (AIS_ViewController::*)() const>(&AIS_ViewController::PreviousMoveTo),
R"#(Return previous position of MoveTo event in 3D viewer.)#"
)
.def("MouseGestureMap",
(const AIS_MouseGestureMap & (AIS_ViewController::*)() const) static_cast<const AIS_MouseGestureMap & (AIS_ViewController::*)() const>(&AIS_ViewController::MouseGestureMap),
R"#(Return map defining mouse gestures.)#"
)
.def("ChangeMouseGestureMap",
(AIS_MouseGestureMap & (AIS_ViewController::*)() ) static_cast<AIS_MouseGestureMap & (AIS_ViewController::*)() >(&AIS_ViewController::ChangeMouseGestureMap),
R"#(Return map defining mouse gestures.)#"
, py::return_value_policy::reference_internal
)
.def("MouseSelectionSchemes",
(const AIS_MouseSelectionSchemeMap & (AIS_ViewController::*)() const) static_cast<const AIS_MouseSelectionSchemeMap & (AIS_ViewController::*)() const>(&AIS_ViewController::MouseSelectionSchemes),
R"#(Return map defining mouse selection schemes.)#"
)
.def("ChangeMouseSelectionSchemes",
(AIS_MouseSelectionSchemeMap & (AIS_ViewController::*)() ) static_cast<AIS_MouseSelectionSchemeMap & (AIS_ViewController::*)() >(&AIS_ViewController::ChangeMouseSelectionSchemes),
R"#(Return map defining mouse gestures.)#"
, py::return_value_policy::reference_internal
)
.def("panningAnchorPoint",
(const gp_Pnt & (AIS_ViewController::*)() const) static_cast<const gp_Pnt & (AIS_ViewController::*)() const>(&AIS_ViewController::panningAnchorPoint),
R"#(Return active panning anchor point.)#"
)
;
// Class AIS_ViewCubeOwner from ./opencascade/AIS_ViewCube.hxx
klass = m.attr("AIS_ViewCubeOwner");
// nested enums
static_cast<py::class_<AIS_ViewCubeOwner ,opencascade::handle<AIS_ViewCubeOwner> , SelectMgr_EntityOwner >>(klass)
// constructors
.def(py::init< const opencascade::handle<AIS_ViewCube> &,V3d_TypeOfOrientation,Standard_Integer >() , py::arg("theObject"), py::arg("theOrient"), py::arg("thePriority")=static_cast<Standard_Integer>(5) )
// custom constructors
// methods
.def("IsForcedHilight",
(Standard_Boolean (AIS_ViewCubeOwner::*)() const) static_cast<Standard_Boolean (AIS_ViewCubeOwner::*)() const>(&AIS_ViewCubeOwner::IsForcedHilight),
R"#(Returns TRUE. This owner will always call method Hilight for its Selectable Object when the owner is detected.)#"
)
.def("MainOrientation",
(V3d_TypeOfOrientation (AIS_ViewCubeOwner::*)() const) static_cast<V3d_TypeOfOrientation (AIS_ViewCubeOwner::*)() const>(&AIS_ViewCubeOwner::MainOrientation),
R"#(Return new orientation to set.)#"
)
.def("HandleMouseClick",
(Standard_Boolean (AIS_ViewCubeOwner::*)( const NCollection_Vec2<Standard_Integer> & , Aspect_VKeyMouse , Aspect_VKeyFlags , bool ) ) static_cast<Standard_Boolean (AIS_ViewCubeOwner::*)( const NCollection_Vec2<Standard_Integer> & , Aspect_VKeyMouse , Aspect_VKeyFlags , bool ) >(&AIS_ViewCubeOwner::HandleMouseClick),
R"#(Handle mouse button click event.)#" , py::arg("thePoint"), py::arg("theButton"), py::arg("theModifiers"), py::arg("theIsDoubleClick")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_ViewCubeOwner::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_ViewCubeOwner::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> & (AIS_ViewCubeOwner::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_ViewCubeOwner::*)() const>(&AIS_ViewCubeOwner::DynamicType),
R"#(None)#"
)
;
// Class AIS_ViewCubeSensitive from ./opencascade/AIS_ViewCube.hxx
klass = m.attr("AIS_ViewCubeSensitive");
// nested enums
static_cast<py::class_<AIS_ViewCubeSensitive ,opencascade::handle<AIS_ViewCubeSensitive> , Select3D_SensitivePrimitiveArray >>(klass)
// constructors
.def(py::init< const opencascade::handle<SelectMgr_EntityOwner> &,const opencascade::handle<Graphic3d_ArrayOfTriangles> & >() , py::arg("theOwner"), py::arg("theTris") )
// custom constructors
// methods
.def("Matches",
(Standard_Boolean (AIS_ViewCubeSensitive::*)( SelectBasics_SelectingVolumeManager & , SelectBasics_PickResult & ) ) static_cast<Standard_Boolean (AIS_ViewCubeSensitive::*)( SelectBasics_SelectingVolumeManager & , SelectBasics_PickResult & ) >(&AIS_ViewCubeSensitive::Matches),
R"#(Checks whether element overlaps current selecting volume.)#" , py::arg("theMgr"), py::arg("thePickResult")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_ViewCubeSensitive::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_ViewCubeSensitive::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> & (AIS_ViewCubeSensitive::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_ViewCubeSensitive::*)() const>(&AIS_ViewCubeSensitive::DynamicType),
R"#(None)#"
)
;
// Class AIS_ViewInputBuffer from ./opencascade/AIS_ViewInputBuffer.hxx
klass = m.attr("AIS_ViewInputBuffer");
// nested enums
static_cast<py::class_<AIS_ViewInputBuffer , shared_ptr<AIS_ViewInputBuffer> >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("Reset",
(void (AIS_ViewInputBuffer::*)() ) static_cast<void (AIS_ViewInputBuffer::*)() >(&AIS_ViewInputBuffer::Reset),
R"#(Reset events buffer.)#"
)
// 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 AIS_WalkDelta from ./opencascade/AIS_WalkDelta.hxx
klass = m.attr("AIS_WalkDelta");
// nested enums
static_cast<py::class_<AIS_WalkDelta , shared_ptr<AIS_WalkDelta> >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("IsJumping",
(bool (AIS_WalkDelta::*)() const) static_cast<bool (AIS_WalkDelta::*)() const>(&AIS_WalkDelta::IsJumping),
R"#(Return jumping state.)#"
)
.def("SetJumping",
(void (AIS_WalkDelta::*)( bool ) ) static_cast<void (AIS_WalkDelta::*)( bool ) >(&AIS_WalkDelta::SetJumping),
R"#(Set jumping state.)#" , py::arg("theIsJumping")
)
.def("IsCrouching",
(bool (AIS_WalkDelta::*)() const) static_cast<bool (AIS_WalkDelta::*)() const>(&AIS_WalkDelta::IsCrouching),
R"#(Return crouching state.)#"
)
.def("SetCrouching",
(void (AIS_WalkDelta::*)( bool ) ) static_cast<void (AIS_WalkDelta::*)( bool ) >(&AIS_WalkDelta::SetCrouching),
R"#(Set crouching state.)#" , py::arg("theIsCrouching")
)
.def("IsRunning",
(bool (AIS_WalkDelta::*)() const) static_cast<bool (AIS_WalkDelta::*)() const>(&AIS_WalkDelta::IsRunning),
R"#(Return running state.)#"
)
.def("SetRunning",
(void (AIS_WalkDelta::*)( bool ) ) static_cast<void (AIS_WalkDelta::*)( bool ) >(&AIS_WalkDelta::SetRunning),
R"#(Set running state.)#" , py::arg("theIsRunning")
)
.def("IsDefined",
(bool (AIS_WalkDelta::*)() const) static_cast<bool (AIS_WalkDelta::*)() const>(&AIS_WalkDelta::IsDefined),
R"#(Return TRUE if navigation keys are pressed even if delta from the previous frame is empty.)#"
)
.def("SetDefined",
(void (AIS_WalkDelta::*)( bool ) ) static_cast<void (AIS_WalkDelta::*)( bool ) >(&AIS_WalkDelta::SetDefined),
R"#(Set if any navigation key is pressed.)#" , py::arg("theIsDefined")
)
.def("IsEmpty",
(bool (AIS_WalkDelta::*)() const) static_cast<bool (AIS_WalkDelta::*)() const>(&AIS_WalkDelta::IsEmpty),
R"#(Return TRUE when both Rotation and Translation deltas are empty.)#"
)
.def("ToMove",
(bool (AIS_WalkDelta::*)() const) static_cast<bool (AIS_WalkDelta::*)() const>(&AIS_WalkDelta::ToMove),
R"#(Return TRUE if translation delta is defined.)#"
)
.def("ToRotate",
(bool (AIS_WalkDelta::*)() const) static_cast<bool (AIS_WalkDelta::*)() const>(&AIS_WalkDelta::ToRotate),
R"#(Return TRUE if rotation delta is defined.)#"
)
// 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 AIS_WalkPart from ./opencascade/AIS_WalkDelta.hxx
klass = m.attr("AIS_WalkPart");
// nested enums
static_cast<py::class_<AIS_WalkPart , shared_ptr<AIS_WalkPart> >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("IsEmpty",
(bool (AIS_WalkPart::*)() const) static_cast<bool (AIS_WalkPart::*)() const>(&AIS_WalkPart::IsEmpty),
R"#(Return TRUE if delta is empty.)#"
)
// 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("Value", &AIS_WalkPart::Value)
.def_readwrite("Pressure", &AIS_WalkPart::Pressure)
.def_readwrite("Duration", &AIS_WalkPart::Duration)
// methods returning by ref wrapped as properties
;
// Class AIS_AnimationCamera from ./opencascade/AIS_AnimationCamera.hxx
klass = m.attr("AIS_AnimationCamera");
// nested enums
static_cast<py::class_<AIS_AnimationCamera ,opencascade::handle<AIS_AnimationCamera> , AIS_Animation >>(klass)
// constructors
.def(py::init< const TCollection_AsciiString &,const opencascade::handle<V3d_View> & >() , py::arg("theAnimationName"), py::arg("theView") )
// custom constructors
// methods
.def("SetView",
(void (AIS_AnimationCamera::*)( const opencascade::handle<V3d_View> & ) ) static_cast<void (AIS_AnimationCamera::*)( const opencascade::handle<V3d_View> & ) >(&AIS_AnimationCamera::SetView),
R"#(Set target view.)#" , py::arg("theView")
)
.def("SetCameraStart",
(void (AIS_AnimationCamera::*)( const opencascade::handle<Graphic3d_Camera> & ) ) static_cast<void (AIS_AnimationCamera::*)( const opencascade::handle<Graphic3d_Camera> & ) >(&AIS_AnimationCamera::SetCameraStart),
R"#(Define camera start position.)#" , py::arg("theCameraStart")
)
.def("SetCameraEnd",
(void (AIS_AnimationCamera::*)( const opencascade::handle<Graphic3d_Camera> & ) ) static_cast<void (AIS_AnimationCamera::*)( const opencascade::handle<Graphic3d_Camera> & ) >(&AIS_AnimationCamera::SetCameraEnd),
R"#(Define camera end position.)#" , py::arg("theCameraEnd")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_AnimationCamera::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_AnimationCamera::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> & (AIS_AnimationCamera::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_AnimationCamera::*)() const>(&AIS_AnimationCamera::DynamicType),
R"#(None)#"
)
.def("View",
(const opencascade::handle<V3d_View> & (AIS_AnimationCamera::*)() const) static_cast<const opencascade::handle<V3d_View> & (AIS_AnimationCamera::*)() const>(&AIS_AnimationCamera::View),
R"#(Return the target view.)#"
)
.def("CameraStart",
(const opencascade::handle<Graphic3d_Camera> & (AIS_AnimationCamera::*)() const) static_cast<const opencascade::handle<Graphic3d_Camera> & (AIS_AnimationCamera::*)() const>(&AIS_AnimationCamera::CameraStart),
R"#(Return camera start position.)#"
)
.def("CameraEnd",
(const opencascade::handle<Graphic3d_Camera> & (AIS_AnimationCamera::*)() const) static_cast<const opencascade::handle<Graphic3d_Camera> & (AIS_AnimationCamera::*)() const>(&AIS_AnimationCamera::CameraEnd),
R"#(Return camera end position.)#"
)
;
// Class AIS_Axis from ./opencascade/AIS_Axis.hxx
klass = m.attr("AIS_Axis");
// nested enums
static_cast<py::class_<AIS_Axis ,opencascade::handle<AIS_Axis> , AIS_InteractiveObject >>(klass)
// constructors
.def(py::init< const opencascade::handle<Geom_Line> & >() , py::arg("aComponent") )
.def(py::init< const opencascade::handle<Geom_Axis2Placement> &,const AIS_TypeOfAxis >() , py::arg("aComponent"), py::arg("anAxisType") )
.def(py::init< const opencascade::handle<Geom_Axis1Placement> & >() , py::arg("anAxis") )
.def(py::init< const gp_Ax1 &,const Standard_Real >() , py::arg("theAxis"), py::arg("theLength")=static_cast<const Standard_Real>(- 1) )
// custom constructors
// methods
.def("SetComponent",
(void (AIS_Axis::*)( const opencascade::handle<Geom_Line> & ) ) static_cast<void (AIS_Axis::*)( const opencascade::handle<Geom_Line> & ) >(&AIS_Axis::SetComponent),
R"#(Sets the coordinates of the lin aComponent.)#" , py::arg("aComponent")
)
.def("SetAxis2Placement",
(void (AIS_Axis::*)( const opencascade::handle<Geom_Axis2Placement> & , const AIS_TypeOfAxis ) ) static_cast<void (AIS_Axis::*)( const opencascade::handle<Geom_Axis2Placement> & , const AIS_TypeOfAxis ) >(&AIS_Axis::SetAxis2Placement),
R"#(Allows you to provide settings for aComponent:the position and direction of an axis in 3D space. The coordinate system used is right-handed.)#" , py::arg("aComponent"), py::arg("anAxisType")
)
.def("SetAxis1Placement",
(void (AIS_Axis::*)( const opencascade::handle<Geom_Axis1Placement> & ) ) static_cast<void (AIS_Axis::*)( const opencascade::handle<Geom_Axis1Placement> & ) >(&AIS_Axis::SetAxis1Placement),
R"#(Constructs a new line to serve as the axis anAxis in 3D space.)#" , py::arg("anAxis")
)
.def("TypeOfAxis",
(AIS_TypeOfAxis (AIS_Axis::*)() const) static_cast<AIS_TypeOfAxis (AIS_Axis::*)() const>(&AIS_Axis::TypeOfAxis),
R"#(Returns the type of axis.)#"
)
.def("SetTypeOfAxis",
(void (AIS_Axis::*)( const AIS_TypeOfAxis ) ) static_cast<void (AIS_Axis::*)( const AIS_TypeOfAxis ) >(&AIS_Axis::SetTypeOfAxis),
R"#(Constructs the entity theTypeAxis to stock information concerning type of axis.)#" , py::arg("theTypeAxis")
)
.def("IsXYZAxis",
(Standard_Boolean (AIS_Axis::*)() const) static_cast<Standard_Boolean (AIS_Axis::*)() const>(&AIS_Axis::IsXYZAxis),
R"#(Returns a signature of 2 for axis datums. When you activate mode 2 by a signature, you pick AIS objects of type AIS_Axis.)#"
)
.def("AcceptDisplayMode",
(Standard_Boolean (AIS_Axis::*)( const Standard_Integer ) const) static_cast<Standard_Boolean (AIS_Axis::*)( const Standard_Integer ) const>(&AIS_Axis::AcceptDisplayMode),
R"#(Returns true if the interactive object accepts the display mode aMode.)#" , py::arg("aMode")
)
.def("Signature",
(Standard_Integer (AIS_Axis::*)() const) static_cast<Standard_Integer (AIS_Axis::*)() const>(&AIS_Axis::Signature),
R"#(None)#"
)
.def("Type",
(AIS_KindOfInteractive (AIS_Axis::*)() const) static_cast<AIS_KindOfInteractive (AIS_Axis::*)() const>(&AIS_Axis::Type),
R"#(None)#"
)
.def("SetColor",
(void (AIS_Axis::*)( const Quantity_Color & ) ) static_cast<void (AIS_Axis::*)( const Quantity_Color & ) >(&AIS_Axis::SetColor),
R"#(None)#" , py::arg("aColor")
)
.def("SetWidth",
(void (AIS_Axis::*)( const Standard_Real ) ) static_cast<void (AIS_Axis::*)( const Standard_Real ) >(&AIS_Axis::SetWidth),
R"#(None)#" , py::arg("aValue")
)
.def("SetDisplayAspect",
(void (AIS_Axis::*)( const opencascade::handle<Prs3d_LineAspect> & ) ) static_cast<void (AIS_Axis::*)( const opencascade::handle<Prs3d_LineAspect> & ) >(&AIS_Axis::SetDisplayAspect),
R"#(Set required visualization parameters.)#" , py::arg("theNewDatumAspect")
)
.def("UnsetColor",
(void (AIS_Axis::*)() ) static_cast<void (AIS_Axis::*)() >(&AIS_Axis::UnsetColor),
R"#(None)#"
)
.def("UnsetWidth",
(void (AIS_Axis::*)() ) static_cast<void (AIS_Axis::*)() >(&AIS_Axis::UnsetWidth),
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 * (*)() >(&AIS_Axis::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_Axis::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> & (AIS_Axis::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_Axis::*)() const>(&AIS_Axis::DynamicType),
R"#(None)#"
)
.def("Component",
(const opencascade::handle<Geom_Line> & (AIS_Axis::*)() const) static_cast<const opencascade::handle<Geom_Line> & (AIS_Axis::*)() const>(&AIS_Axis::Component),
R"#(Returns the axis entity aComponent and identifies it as a component of a shape.)#"
)
.def("Axis2Placement",
(const opencascade::handle<Geom_Axis2Placement> & (AIS_Axis::*)() const) static_cast<const opencascade::handle<Geom_Axis2Placement> & (AIS_Axis::*)() const>(&AIS_Axis::Axis2Placement),
R"#(Returns the position of axis2 and positions it by identifying it as the x, y, or z axis and giving its direction in 3D space. The coordinate system used is right-handed.)#"
)
;
// Class AIS_BaseAnimationObject from ./opencascade/AIS_BaseAnimationObject.hxx
klass = m.attr("AIS_BaseAnimationObject");
// nested enums
static_cast<py::class_<AIS_BaseAnimationObject ,opencascade::handle<AIS_BaseAnimationObject> , AIS_Animation >>(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 * (*)() >(&AIS_BaseAnimationObject::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_BaseAnimationObject::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> & (AIS_BaseAnimationObject::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_BaseAnimationObject::*)() const>(&AIS_BaseAnimationObject::DynamicType),
R"#(None)#"
)
;
// Class AIS_CameraFrustum from ./opencascade/AIS_CameraFrustum.hxx
klass = m.attr("AIS_CameraFrustum");
// nested enums
py::enum_<AIS_CameraFrustum::SelectionMode>(klass, "SelectionMode_e", R"#(Selection modes supported by this object)#")
.value("SelectionMode_Edges", AIS_CameraFrustum::SelectionMode::SelectionMode_Edges)
.value("SelectionMode_Volume", AIS_CameraFrustum::SelectionMode::SelectionMode_Volume).export_values();
static_cast<py::class_<AIS_CameraFrustum ,opencascade::handle<AIS_CameraFrustum> , AIS_InteractiveObject >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("SetCameraFrustum",
(void (AIS_CameraFrustum::*)( const opencascade::handle<Graphic3d_Camera> & ) ) static_cast<void (AIS_CameraFrustum::*)( const opencascade::handle<Graphic3d_Camera> & ) >(&AIS_CameraFrustum::SetCameraFrustum),
R"#(Sets camera frustum.)#" , py::arg("theCamera")
)
.def("SetColor",
(void (AIS_CameraFrustum::*)( const Quantity_Color & ) ) static_cast<void (AIS_CameraFrustum::*)( const Quantity_Color & ) >(&AIS_CameraFrustum::SetColor),
R"#(Setup custom color.)#" , py::arg("theColor")
)
.def("UnsetColor",
(void (AIS_CameraFrustum::*)() ) static_cast<void (AIS_CameraFrustum::*)() >(&AIS_CameraFrustum::UnsetColor),
R"#(Restore default color.)#"
)
.def("UnsetTransparency",
(void (AIS_CameraFrustum::*)() ) static_cast<void (AIS_CameraFrustum::*)() >(&AIS_CameraFrustum::UnsetTransparency),
R"#(Restore transparency setting.)#"
)
.def("AcceptDisplayMode",
(Standard_Boolean (AIS_CameraFrustum::*)( const Standard_Integer ) const) static_cast<Standard_Boolean (AIS_CameraFrustum::*)( const Standard_Integer ) const>(&AIS_CameraFrustum::AcceptDisplayMode),
R"#(Return true if specified display mode is supported.)#" , py::arg("theMode")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_CameraFrustum::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_CameraFrustum::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> & (AIS_CameraFrustum::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_CameraFrustum::*)() const>(&AIS_CameraFrustum::DynamicType),
R"#(None)#"
)
;
// Class AIS_Circle from ./opencascade/AIS_Circle.hxx
klass = m.attr("AIS_Circle");
// nested enums
static_cast<py::class_<AIS_Circle ,opencascade::handle<AIS_Circle> , AIS_InteractiveObject >>(klass)
// constructors
.def(py::init< const opencascade::handle<Geom_Circle> & >() , py::arg("aCircle") )
.def(py::init< const opencascade::handle<Geom_Circle> &,const Standard_Real,const Standard_Real,const Standard_Boolean >() , py::arg("theCircle"), py::arg("theUStart"), py::arg("theUEnd"), py::arg("theIsFilledCircleSens")=static_cast<const Standard_Boolean>(Standard_False) )
// custom constructors
// methods
.def("Signature",
(Standard_Integer (AIS_Circle::*)() const) static_cast<Standard_Integer (AIS_Circle::*)() const>(&AIS_Circle::Signature),
R"#(Returns index 6 by default.)#"
)
.def("Type",
(AIS_KindOfInteractive (AIS_Circle::*)() const) static_cast<AIS_KindOfInteractive (AIS_Circle::*)() const>(&AIS_Circle::Type),
R"#(Indicates that the type of Interactive Object is a datum.)#"
)
.def("SetCircle",
(void (AIS_Circle::*)( const opencascade::handle<Geom_Circle> & ) ) static_cast<void (AIS_Circle::*)( const opencascade::handle<Geom_Circle> & ) >(&AIS_Circle::SetCircle),
R"#(Allows you to provide settings for the circle datum aCircle.)#" , py::arg("theCircle")
)
.def("SetFirstParam",
(void (AIS_Circle::*)( const Standard_Real ) ) static_cast<void (AIS_Circle::*)( const Standard_Real ) >(&AIS_Circle::SetFirstParam),
R"#(Allows you to set the parameter theU for the starting point of an arc.)#" , py::arg("theU")
)
.def("SetLastParam",
(void (AIS_Circle::*)( const Standard_Real ) ) static_cast<void (AIS_Circle::*)( const Standard_Real ) >(&AIS_Circle::SetLastParam),
R"#(Allows you to provide the parameter theU for the end point of an arc.)#" , py::arg("theU")
)
.def("SetColor",
(void (AIS_Circle::*)( const Quantity_Color & ) ) static_cast<void (AIS_Circle::*)( const Quantity_Color & ) >(&AIS_Circle::SetColor),
R"#(None)#" , py::arg("aColor")
)
.def("SetWidth",
(void (AIS_Circle::*)( const Standard_Real ) ) static_cast<void (AIS_Circle::*)( const Standard_Real ) >(&AIS_Circle::SetWidth),
R"#(Assigns the width aValue to the solid line boundary of the circle datum.)#" , py::arg("aValue")
)
.def("UnsetColor",
(void (AIS_Circle::*)() ) static_cast<void (AIS_Circle::*)() >(&AIS_Circle::UnsetColor),
R"#(Removes color from the solid line boundary of the circle datum.)#"
)
.def("UnsetWidth",
(void (AIS_Circle::*)() ) static_cast<void (AIS_Circle::*)() >(&AIS_Circle::UnsetWidth),
R"#(Removes width settings from the solid line boundary of the circle datum.)#"
)
.def("IsFilledCircleSens",
(Standard_Boolean (AIS_Circle::*)() const) static_cast<Standard_Boolean (AIS_Circle::*)() const>(&AIS_Circle::IsFilledCircleSens),
R"#(Returns the type of sensitivity for the circle;)#"
)
.def("SetFilledCircleSens",
(void (AIS_Circle::*)( const Standard_Boolean ) ) static_cast<void (AIS_Circle::*)( const Standard_Boolean ) >(&AIS_Circle::SetFilledCircleSens),
R"#(Sets the type of sensitivity for the circle. If theIsFilledCircleSens set to Standard_True then the whole circle will be detectable, otherwise only the boundary of the circle.)#" , py::arg("theIsFilledCircleSens")
)
// methods using call by reference i.s.o. return
.def("Parameters",
[]( AIS_Circle &self ){
Standard_Real theU1;
Standard_Real theU2;
self.Parameters(theU1,theU2);
return std::make_tuple(theU1,theU2); },
R"#(Constructs instances of the starting point and the end point parameters, theU1 and theU2.)#"
)
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_Circle::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_Circle::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> & (AIS_Circle::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_Circle::*)() const>(&AIS_Circle::DynamicType),
R"#(None)#"
)
.def("Circle",
(const opencascade::handle<Geom_Circle> & (AIS_Circle::*)() const) static_cast<const opencascade::handle<Geom_Circle> & (AIS_Circle::*)() const>(&AIS_Circle::Circle),
R"#(Returns the circle component defined in SetCircle.)#"
)
;
// Class AIS_ColorScale from ./opencascade/AIS_ColorScale.hxx
klass = m.attr("AIS_ColorScale");
// nested enums
static_cast<py::class_<AIS_ColorScale ,opencascade::handle<AIS_ColorScale> , AIS_InteractiveObject >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("FindColor",
(Standard_Boolean (AIS_ColorScale::*)( const Standard_Real , Quantity_Color & ) const) static_cast<Standard_Boolean (AIS_ColorScale::*)( const Standard_Real , Quantity_Color & ) const>(&AIS_ColorScale::FindColor),
R"#(Calculate color according passed value; returns true if value is in range or false, if isn't)#" , py::arg("theValue"), py::arg("theColor")
)
.def("GetMin",
(Standard_Real (AIS_ColorScale::*)() const) static_cast<Standard_Real (AIS_ColorScale::*)() const>(&AIS_ColorScale::GetMin),
R"#(Returns minimal value of color scale, 0.0 by default.)#"
)
.def("SetMin",
(void (AIS_ColorScale::*)( const Standard_Real ) ) static_cast<void (AIS_ColorScale::*)( const Standard_Real ) >(&AIS_ColorScale::SetMin),
R"#(Sets the minimal value of color scale.)#" , py::arg("theMin")
)
.def("GetMax",
(Standard_Real (AIS_ColorScale::*)() const) static_cast<Standard_Real (AIS_ColorScale::*)() const>(&AIS_ColorScale::GetMax),
R"#(Returns maximal value of color scale, 1.0 by default.)#"
)
.def("SetMax",
(void (AIS_ColorScale::*)( const Standard_Real ) ) static_cast<void (AIS_ColorScale::*)( const Standard_Real ) >(&AIS_ColorScale::SetMax),
R"#(Sets the maximal value of color scale.)#" , py::arg("theMax")
)
.def("SetRange",
(void (AIS_ColorScale::*)( const Standard_Real , const Standard_Real ) ) static_cast<void (AIS_ColorScale::*)( const Standard_Real , const Standard_Real ) >(&AIS_ColorScale::SetRange),
R"#(Sets the minimal and maximal value of color scale. Note that values order will be ignored - the minimum and maximum values will be swapped if needed. ::SetReversed() should be called to swap displaying order.)#" , py::arg("theMin"), py::arg("theMax")
)
.def("HueMin",
(Standard_Real (AIS_ColorScale::*)() const) static_cast<Standard_Real (AIS_ColorScale::*)() const>(&AIS_ColorScale::HueMin),
R"#(Returns the hue angle corresponding to minimum value, 230 by default (blue).)#"
)
.def("HueMax",
(Standard_Real (AIS_ColorScale::*)() const) static_cast<Standard_Real (AIS_ColorScale::*)() const>(&AIS_ColorScale::HueMax),
R"#(Returns the hue angle corresponding to maximum value, 0 by default (red).)#"
)
.def("SetHueRange",
(void (AIS_ColorScale::*)( const Standard_Real , const Standard_Real ) ) static_cast<void (AIS_ColorScale::*)( const Standard_Real , const Standard_Real ) >(&AIS_ColorScale::SetHueRange),
R"#(Sets hue angle range corresponding to minimum and maximum values. The valid angle range is [0, 360], see Quantity_Color and Quantity_TOC_HLS for more details.)#" , py::arg("theMinAngle"), py::arg("theMaxAngle")
)
.def("ColorRange",
(void (AIS_ColorScale::*)( Quantity_Color & , Quantity_Color & ) const) static_cast<void (AIS_ColorScale::*)( Quantity_Color & , Quantity_Color & ) const>(&AIS_ColorScale::ColorRange),
R"#(Returns color range corresponding to minimum and maximum values, blue to red by default.)#" , py::arg("theMinColor"), py::arg("theMaxColor")
)
.def("SetColorRange",
(void (AIS_ColorScale::*)( const Quantity_Color & , const Quantity_Color & ) ) static_cast<void (AIS_ColorScale::*)( const Quantity_Color & , const Quantity_Color & ) >(&AIS_ColorScale::SetColorRange),
R"#(Sets color range corresponding to minimum and maximum values.)#" , py::arg("theMinColor"), py::arg("theMaxColor")
)
.def("GetLabelType",
(Aspect_TypeOfColorScaleData (AIS_ColorScale::*)() const) static_cast<Aspect_TypeOfColorScaleData (AIS_ColorScale::*)() const>(&AIS_ColorScale::GetLabelType),
R"#(Returns the type of labels, Aspect_TOCSD_AUTO by default. Aspect_TOCSD_AUTO - labels as boundary values for intervals Aspect_TOCSD_USER - user specified label is used)#"
)
.def("SetLabelType",
(void (AIS_ColorScale::*)( const Aspect_TypeOfColorScaleData ) ) static_cast<void (AIS_ColorScale::*)( const Aspect_TypeOfColorScaleData ) >(&AIS_ColorScale::SetLabelType),
R"#(Sets the type of labels. Aspect_TOCSD_AUTO - labels as boundary values for intervals Aspect_TOCSD_USER - user specified label is used)#" , py::arg("theType")
)
.def("GetColorType",
(Aspect_TypeOfColorScaleData (AIS_ColorScale::*)() const) static_cast<Aspect_TypeOfColorScaleData (AIS_ColorScale::*)() const>(&AIS_ColorScale::GetColorType),
R"#(Returns the type of colors, Aspect_TOCSD_AUTO by default. Aspect_TOCSD_AUTO - value between Red and Blue Aspect_TOCSD_USER - user specified color from color map)#"
)
.def("SetColorType",
(void (AIS_ColorScale::*)( const Aspect_TypeOfColorScaleData ) ) static_cast<void (AIS_ColorScale::*)( const Aspect_TypeOfColorScaleData ) >(&AIS_ColorScale::SetColorType),
R"#(Sets the type of colors. Aspect_TOCSD_AUTO - value between Red and Blue Aspect_TOCSD_USER - user specified color from color map)#" , py::arg("theType")
)
.def("GetNumberOfIntervals",
(Standard_Integer (AIS_ColorScale::*)() const) static_cast<Standard_Integer (AIS_ColorScale::*)() const>(&AIS_ColorScale::GetNumberOfIntervals),
R"#(Returns the number of color scale intervals, 10 by default.)#"
)
.def("SetNumberOfIntervals",
(void (AIS_ColorScale::*)( const Standard_Integer ) ) static_cast<void (AIS_ColorScale::*)( const Standard_Integer ) >(&AIS_ColorScale::SetNumberOfIntervals),
R"#(Sets the number of color scale intervals.)#" , py::arg("theNum")
)
.def("SetTitle",
(void (AIS_ColorScale::*)( const TCollection_ExtendedString & ) ) static_cast<void (AIS_ColorScale::*)( const TCollection_ExtendedString & ) >(&AIS_ColorScale::SetTitle),
R"#(Sets the color scale title string.)#" , py::arg("theTitle")
)
.def("SetFormat",
(void (AIS_ColorScale::*)( const TCollection_AsciiString & ) ) static_cast<void (AIS_ColorScale::*)( const TCollection_AsciiString & ) >(&AIS_ColorScale::SetFormat),
R"#(Sets the color scale auto label format specification.)#" , py::arg("theFormat")
)
.def("GetLabel",
(TCollection_ExtendedString (AIS_ColorScale::*)( const Standard_Integer ) const) static_cast<TCollection_ExtendedString (AIS_ColorScale::*)( const Standard_Integer ) const>(&AIS_ColorScale::GetLabel),
R"#(Returns the user specified label with index theIndex. Index is in range from 1 to GetNumberOfIntervals() or to GetNumberOfIntervals() + 1 if IsLabelAtBorder() is true. Returns empty string if label not defined.)#" , py::arg("theIndex")
)
.def("GetIntervalColor",
(Quantity_Color (AIS_ColorScale::*)( const Standard_Integer ) const) static_cast<Quantity_Color (AIS_ColorScale::*)( const Standard_Integer ) const>(&AIS_ColorScale::GetIntervalColor),
R"#(Returns the user specified color from color map with index (starts at 1). Returns default color if index is out of range in color map.)#" , py::arg("theIndex")
)
.def("SetIntervalColor",
(void (AIS_ColorScale::*)( const Quantity_Color & , const Standard_Integer ) ) static_cast<void (AIS_ColorScale::*)( const Quantity_Color & , const Standard_Integer ) >(&AIS_ColorScale::SetIntervalColor),
R"#(Sets the color of the specified interval. Note that list is automatically resized to include specified index.)#" , py::arg("theColor"), py::arg("theIndex")
)
.def("GetLabels",
(void (AIS_ColorScale::*)( NCollection_Sequence<TCollection_ExtendedString> & ) const) static_cast<void (AIS_ColorScale::*)( NCollection_Sequence<TCollection_ExtendedString> & ) const>(&AIS_ColorScale::GetLabels),
R"#(Returns the user specified labels.)#" , py::arg("theLabels")
)
.def("SetLabels",
(void (AIS_ColorScale::*)( const NCollection_Sequence<TCollection_ExtendedString> & ) ) static_cast<void (AIS_ColorScale::*)( const NCollection_Sequence<TCollection_ExtendedString> & ) >(&AIS_ColorScale::SetLabels),
R"#(Sets the color scale labels. The length of the sequence should be equal to GetNumberOfIntervals() or to GetNumberOfIntervals() + 1 if IsLabelAtBorder() is true. If length of the sequence does not much the number of intervals, then these labels will be considered as "free" and will be located at the virtual intervals corresponding to the number of labels (with flag IsLabelAtBorder() having the same effect as in normal case).)#" , py::arg("theSeq")
)
.def("GetColors",
(void (AIS_ColorScale::*)( NCollection_Sequence<Quantity_Color> & ) const) static_cast<void (AIS_ColorScale::*)( NCollection_Sequence<Quantity_Color> & ) const>(&AIS_ColorScale::GetColors),
R"#(Returns the user specified colors.)#" , py::arg("theColors")
)
.def("SetColors",
(void (AIS_ColorScale::*)( const NCollection_Sequence<Quantity_Color> & ) ) static_cast<void (AIS_ColorScale::*)( const NCollection_Sequence<Quantity_Color> & ) >(&AIS_ColorScale::SetColors),
R"#(Sets the color scale colors. The length of the sequence should be equal to GetNumberOfIntervals().)#" , py::arg("theSeq")
)
.def("SetUniformColors",
(void (AIS_ColorScale::*)( Standard_Real , Standard_Real , Standard_Real ) ) static_cast<void (AIS_ColorScale::*)( Standard_Real , Standard_Real , Standard_Real ) >(&AIS_ColorScale::SetUniformColors),
R"#(Populates colors scale by colors of the same lightness value in CIE Lch color space, distributed by hue, with perceptually uniform differences between consequent colors. See MakeUniformColors() for description of parameters.)#" , py::arg("theLightness"), py::arg("theHueFrom"), py::arg("theHueTo")
)
.def("GetLabelPosition",
(Aspect_TypeOfColorScalePosition (AIS_ColorScale::*)() const) static_cast<Aspect_TypeOfColorScalePosition (AIS_ColorScale::*)() const>(&AIS_ColorScale::GetLabelPosition),
R"#(Returns the position of labels concerning color filled rectangles, Aspect_TOCSP_RIGHT by default.)#"
)
.def("SetLabelPosition",
(void (AIS_ColorScale::*)( const Aspect_TypeOfColorScalePosition ) ) static_cast<void (AIS_ColorScale::*)( const Aspect_TypeOfColorScalePosition ) >(&AIS_ColorScale::SetLabelPosition),
R"#(Sets the color scale labels position relative to color bar.)#" , py::arg("thePos")
)
.def("GetTitlePosition",
(Aspect_TypeOfColorScalePosition (AIS_ColorScale::*)() const) static_cast<Aspect_TypeOfColorScalePosition (AIS_ColorScale::*)() const>(&AIS_ColorScale::GetTitlePosition),
R"#(Returns the position of color scale title, Aspect_TOCSP_LEFT by default.)#"
)
.def("SetTitlePosition",
(void (AIS_ColorScale::*)( const Aspect_TypeOfColorScalePosition ) ) static_cast<void (AIS_ColorScale::*)( const Aspect_TypeOfColorScalePosition ) >(&AIS_ColorScale::SetTitlePosition),
R"#(Sets the color scale title position.)#" , py::arg("thePos")
)
.def("IsReversed",
(Standard_Boolean (AIS_ColorScale::*)() const) static_cast<Standard_Boolean (AIS_ColorScale::*)() const>(&AIS_ColorScale::IsReversed),
R"#(Returns TRUE if the labels and colors used in reversed order, FALSE by default. - Normal, bottom-up order with Minimal value on the Bottom and Maximum value on Top. - Reversed, top-down order with Maximum value on the Bottom and Minimum value on Top.)#"
)
.def("SetReversed",
(void (AIS_ColorScale::*)( const Standard_Boolean ) ) static_cast<void (AIS_ColorScale::*)( const Standard_Boolean ) >(&AIS_ColorScale::SetReversed),
R"#(Sets true if the labels and colors used in reversed order.)#" , py::arg("theReverse")
)
.def("IsSmoothTransition",
(Standard_Boolean (AIS_ColorScale::*)() const) static_cast<Standard_Boolean (AIS_ColorScale::*)() const>(&AIS_ColorScale::IsSmoothTransition),
R"#(Return TRUE if color transition between neighbor intervals should be linearly interpolated, FALSE by default.)#"
)
.def("SetSmoothTransition",
(void (AIS_ColorScale::*)( const Standard_Boolean ) ) static_cast<void (AIS_ColorScale::*)( const Standard_Boolean ) >(&AIS_ColorScale::SetSmoothTransition),
R"#(Setup smooth color transition.)#" , py::arg("theIsSmooth")
)
.def("IsLabelAtBorder",
(Standard_Boolean (AIS_ColorScale::*)() const) static_cast<Standard_Boolean (AIS_ColorScale::*)() const>(&AIS_ColorScale::IsLabelAtBorder),
R"#(Returns TRUE if the labels are placed at border of color intervals, TRUE by default. The automatically generated label will show value exactly on the current position: - value connecting two neighbor intervals (TRUE) - value in the middle of interval (FALSE))#"
)
.def("SetLabelAtBorder",
(void (AIS_ColorScale::*)( const Standard_Boolean ) ) static_cast<void (AIS_ColorScale::*)( const Standard_Boolean ) >(&AIS_ColorScale::SetLabelAtBorder),
R"#(Sets true if the labels are placed at border of color intervals (TRUE by default). If set to False, labels will be drawn at color intervals rather than at borders.)#" , py::arg("theOn")
)
.def("IsLogarithmic",
(Standard_Boolean (AIS_ColorScale::*)() const) static_cast<Standard_Boolean (AIS_ColorScale::*)() const>(&AIS_ColorScale::IsLogarithmic),
R"#(Returns TRUE if the color scale has logarithmic intervals, FALSE by default.)#"
)
.def("SetLogarithmic",
(void (AIS_ColorScale::*)( const Standard_Boolean ) ) static_cast<void (AIS_ColorScale::*)( const Standard_Boolean ) >(&AIS_ColorScale::SetLogarithmic),
R"#(Sets true if the color scale has logarithmic intervals.)#" , py::arg("isLogarithmic")
)
.def("SetLabel",
(void (AIS_ColorScale::*)( const TCollection_ExtendedString & , const Standard_Integer ) ) static_cast<void (AIS_ColorScale::*)( const TCollection_ExtendedString & , const Standard_Integer ) >(&AIS_ColorScale::SetLabel),
R"#(Sets the color scale label at index. Note that list is automatically resized to include specified index.)#" , py::arg("theLabel"), py::arg("theIndex")
)
.def("SetSize",
(void (AIS_ColorScale::*)( const Standard_Integer , const Standard_Integer ) ) static_cast<void (AIS_ColorScale::*)( const Standard_Integer , const Standard_Integer ) >(&AIS_ColorScale::SetSize),
R"#(Sets the size of color bar.)#" , py::arg("theBreadth"), py::arg("theHeight")
)
.def("GetBreadth",
(Standard_Integer (AIS_ColorScale::*)() const) static_cast<Standard_Integer (AIS_ColorScale::*)() const>(&AIS_ColorScale::GetBreadth),
R"#(Returns the breadth of color bar, 0 by default (e.g. should be set by user explicitly before displaying).)#"
)
.def("SetBreadth",
(void (AIS_ColorScale::*)( const Standard_Integer ) ) static_cast<void (AIS_ColorScale::*)( const Standard_Integer ) >(&AIS_ColorScale::SetBreadth),
R"#(Sets the width of color bar.)#" , py::arg("theBreadth")
)
.def("GetHeight",
(Standard_Integer (AIS_ColorScale::*)() const) static_cast<Standard_Integer (AIS_ColorScale::*)() const>(&AIS_ColorScale::GetHeight),
R"#(Returns the height of color bar, 0 by default (e.g. should be set by user explicitly before displaying).)#"
)
.def("SetHeight",
(void (AIS_ColorScale::*)( const Standard_Integer ) ) static_cast<void (AIS_ColorScale::*)( const Standard_Integer ) >(&AIS_ColorScale::SetHeight),
R"#(Sets the height of color bar.)#" , py::arg("theHeight")
)
.def("SetPosition",
(void (AIS_ColorScale::*)( const Standard_Integer , const Standard_Integer ) ) static_cast<void (AIS_ColorScale::*)( const Standard_Integer , const Standard_Integer ) >(&AIS_ColorScale::SetPosition),
R"#(Sets the position of color scale.)#" , py::arg("theX"), py::arg("theY")
)
.def("GetXPosition",
(Standard_Integer (AIS_ColorScale::*)() const) static_cast<Standard_Integer (AIS_ColorScale::*)() const>(&AIS_ColorScale::GetXPosition),
R"#(Returns the left position of color scale, 0 by default.)#"
)
.def("SetXPosition",
(void (AIS_ColorScale::*)( const Standard_Integer ) ) static_cast<void (AIS_ColorScale::*)( const Standard_Integer ) >(&AIS_ColorScale::SetXPosition),
R"#(Sets the left position of color scale.)#" , py::arg("theX")
)
.def("GetYPosition",
(Standard_Integer (AIS_ColorScale::*)() const) static_cast<Standard_Integer (AIS_ColorScale::*)() const>(&AIS_ColorScale::GetYPosition),
R"#(Returns the bottom position of color scale, 0 by default.)#"
)
.def("SetYPosition",
(void (AIS_ColorScale::*)( const Standard_Integer ) ) static_cast<void (AIS_ColorScale::*)( const Standard_Integer ) >(&AIS_ColorScale::SetYPosition),
R"#(Sets the bottom position of color scale.)#" , py::arg("theY")
)
.def("GetTextHeight",
(Standard_Integer (AIS_ColorScale::*)() const) static_cast<Standard_Integer (AIS_ColorScale::*)() const>(&AIS_ColorScale::GetTextHeight),
R"#(Returns the font height of text labels, 20 by default.)#"
)
.def("SetTextHeight",
(void (AIS_ColorScale::*)( const Standard_Integer ) ) static_cast<void (AIS_ColorScale::*)( const Standard_Integer ) >(&AIS_ColorScale::SetTextHeight),
R"#(Sets the height of text of color scale.)#" , py::arg("theHeight")
)
.def("TextWidth",
(Standard_Integer (AIS_ColorScale::*)( const TCollection_ExtendedString & ) const) static_cast<Standard_Integer (AIS_ColorScale::*)( const TCollection_ExtendedString & ) const>(&AIS_ColorScale::TextWidth),
R"#(Returns the width of text.)#" , py::arg("theText")
)
.def("TextHeight",
(Standard_Integer (AIS_ColorScale::*)( const TCollection_ExtendedString & ) const) static_cast<Standard_Integer (AIS_ColorScale::*)( const TCollection_ExtendedString & ) const>(&AIS_ColorScale::TextHeight),
R"#(Returns the height of text.)#" , py::arg("theText")
)
.def("AcceptDisplayMode",
(Standard_Boolean (AIS_ColorScale::*)( const Standard_Integer ) const) static_cast<Standard_Boolean (AIS_ColorScale::*)( const Standard_Integer ) const>(&AIS_ColorScale::AcceptDisplayMode),
R"#(Return true if specified display mode is supported.)#" , py::arg("theMode")
)
.def("Compute",
(void (AIS_ColorScale::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const opencascade::handle<Prs3d_Presentation> & , const Standard_Integer ) ) static_cast<void (AIS_ColorScale::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const opencascade::handle<Prs3d_Presentation> & , const Standard_Integer ) >(&AIS_ColorScale::Compute),
R"#(Compute presentation.)#" , py::arg("thePrsMgr"), py::arg("thePresentation"), py::arg("theMode")
)
.def("ComputeSelection",
(void (AIS_ColorScale::*)( const opencascade::handle<SelectMgr_Selection> & , const Standard_Integer ) ) static_cast<void (AIS_ColorScale::*)( const opencascade::handle<SelectMgr_Selection> & , const Standard_Integer ) >(&AIS_ColorScale::ComputeSelection),
R"#(Compute selection - not implemented for color scale.)#" , py::arg("arg"), py::arg("arg")
)
// methods using call by reference i.s.o. return
.def("GetRange",
[]( AIS_ColorScale &self ){
Standard_Real theMin;
Standard_Real theMax;
self.GetRange(theMin,theMax);
return std::make_tuple(theMin,theMax); },
R"#(Returns minimal and maximal values of color scale, 0.0 to 1.0 by default.)#"
)
.def("HueRange",
[]( AIS_ColorScale &self ){
Standard_Real theMinAngle;
Standard_Real theMaxAngle;
self.HueRange(theMinAngle,theMaxAngle);
return std::make_tuple(theMinAngle,theMaxAngle); },
R"#(Returns the hue angle range corresponding to minimum and maximum values, 230 to 0 by default (blue to red).)#"
)
.def("GetSize",
[]( AIS_ColorScale &self ){
Standard_Integer theBreadth;
Standard_Integer theHeight;
self.GetSize(theBreadth,theHeight);
return std::make_tuple(theBreadth,theHeight); },
R"#(Returns the size of color bar, 0 and 0 by default (e.g. should be set by user explicitly before displaying).)#"
)
.def("GetPosition",
[]( AIS_ColorScale &self ){
Standard_Real theX;
Standard_Real theY;
self.GetPosition(theX,theY);
return std::make_tuple(theX,theY); },
R"#(Returns the bottom-left position of color scale, 0x0 by default.)#"
)
.def("TextSize",
[]( AIS_ColorScale &self , const TCollection_ExtendedString & theText,const Standard_Integer theHeight ){
Standard_Integer theWidth;
Standard_Integer theAscent;
Standard_Integer theDescent;
self.TextSize(theText,theHeight,theWidth,theAscent,theDescent);
return std::make_tuple(theWidth,theAscent,theDescent); },
R"#(None)#" , py::arg("theText"), py::arg("theHeight")
)
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_ColorScale::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_ColorScale::get_type_descriptor),
R"#(None)#"
)
.def_static("FindColor_s",
(Standard_Boolean (*)( const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Integer , const NCollection_Vec3<Standard_Real> & , const NCollection_Vec3<Standard_Real> & , Quantity_Color & ) ) static_cast<Standard_Boolean (*)( const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Integer , const NCollection_Vec3<Standard_Real> & , const NCollection_Vec3<Standard_Real> & , Quantity_Color & ) >(&AIS_ColorScale::FindColor),
R"#(Calculate color according passed value; returns true if value is in range or false, if isn't)#" , py::arg("theValue"), py::arg("theMin"), py::arg("theMax"), py::arg("theColorsCount"), py::arg("theColorHlsMin"), py::arg("theColorHlsMax"), py::arg("theColor")
)
.def_static("FindColor_s",
(Standard_Boolean (*)( const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Integer , Quantity_Color & ) ) static_cast<Standard_Boolean (*)( const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Integer , Quantity_Color & ) >(&AIS_ColorScale::FindColor),
R"#(Calculate color according passed value; returns true if value is in range or false, if isn't)#" , py::arg("theValue"), py::arg("theMin"), py::arg("theMax"), py::arg("theColorsCount"), py::arg("theColor")
)
.def_static("hueToValidRange_s",
(Standard_Real (*)( const Standard_Real ) ) static_cast<Standard_Real (*)( const Standard_Real ) >(&AIS_ColorScale::hueToValidRange),
R"#(Shift hue into valid range. Lightness and Saturation should be specified in valid range [0.0, 1.0], however Hue might be given out of Quantity_Color range to specify desired range for interpolation.)#" , py::arg("theHue")
)
.def_static("MakeUniformColors_s",
(Aspect_SequenceOfColor (*)( Standard_Integer , Standard_Real , Standard_Real , Standard_Real ) ) static_cast<Aspect_SequenceOfColor (*)( Standard_Integer , Standard_Real , Standard_Real , Standard_Real ) >(&AIS_ColorScale::MakeUniformColors),
R"#(Generates sequence of colors of the same lightness value in CIE Lch color space (see #Quantity_TOC_CIELch), with hue values in the specified range. The colors are distributed across the range such as to have perceptually same difference between neighbour colors. For each color, maximal chroma value fitting in sRGB gamut is used.)#" , py::arg("theNbColors"), py::arg("theLightness"), py::arg("theHueFrom"), py::arg("theHueTo")
)
// 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> & (AIS_ColorScale::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_ColorScale::*)() const>(&AIS_ColorScale::DynamicType),
R"#(None)#"
)
.def("GetTitle",
(const TCollection_ExtendedString & (AIS_ColorScale::*)() const) static_cast<const TCollection_ExtendedString & (AIS_ColorScale::*)() const>(&AIS_ColorScale::GetTitle),
R"#(Returns the color scale title string, empty string by default.)#"
)
.def("GetFormat",
(const TCollection_AsciiString & (AIS_ColorScale::*)() const) static_cast<const TCollection_AsciiString & (AIS_ColorScale::*)() const>(&AIS_ColorScale::GetFormat),
R"#(Returns the format for numbers, "%.4g" by default. The same like format for function printf(). Used if GetLabelType() is TOCSD_AUTO;)#"
)
.def("Format",
(const TCollection_AsciiString & (AIS_ColorScale::*)() const) static_cast<const TCollection_AsciiString & (AIS_ColorScale::*)() const>(&AIS_ColorScale::Format),
R"#(Returns the format of text.)#"
)
.def("Labels",
(const TColStd_SequenceOfExtendedString & (AIS_ColorScale::*)() const) static_cast<const TColStd_SequenceOfExtendedString & (AIS_ColorScale::*)() const>(&AIS_ColorScale::Labels),
R"#(Returns the user specified labels.)#"
, py::return_value_policy::reference_internal
)
.def("GetColors",
(const Aspect_SequenceOfColor & (AIS_ColorScale::*)() const) static_cast<const Aspect_SequenceOfColor & (AIS_ColorScale::*)() const>(&AIS_ColorScale::GetColors),
R"#(Returns the user specified colors.)#"
)
;
// Class AIS_ConnectedInteractive from ./opencascade/AIS_ConnectedInteractive.hxx
klass = m.attr("AIS_ConnectedInteractive");
// nested enums
static_cast<py::class_<AIS_ConnectedInteractive ,opencascade::handle<AIS_ConnectedInteractive> , AIS_InteractiveObject >>(klass)
// constructors
.def(py::init< const PrsMgr_TypeOfPresentation3d >() , py::arg("aTypeOfPresentation3d")=static_cast<const PrsMgr_TypeOfPresentation3d>(PrsMgr_TOP_AllView) )
// custom constructors
// methods
.def("Type",
(AIS_KindOfInteractive (AIS_ConnectedInteractive::*)() const) static_cast<AIS_KindOfInteractive (AIS_ConnectedInteractive::*)() const>(&AIS_ConnectedInteractive::Type),
R"#(Returns KOI_Object)#"
)
.def("Signature",
(Standard_Integer (AIS_ConnectedInteractive::*)() const) static_cast<Standard_Integer (AIS_ConnectedInteractive::*)() const>(&AIS_ConnectedInteractive::Signature),
R"#(Returns 0)#"
)
.def("Connect",
(void (AIS_ConnectedInteractive::*)( const opencascade::handle<AIS_InteractiveObject> & ) ) static_cast<void (AIS_ConnectedInteractive::*)( const opencascade::handle<AIS_InteractiveObject> & ) >(&AIS_ConnectedInteractive::Connect),
R"#(Establishes the connection between the Connected Interactive Object, anotherIobj, and its reference.)#" , py::arg("theAnotherObj")
)
.def("Connect",
(void (AIS_ConnectedInteractive::*)( const opencascade::handle<AIS_InteractiveObject> & , const gp_Trsf & ) ) static_cast<void (AIS_ConnectedInteractive::*)( const opencascade::handle<AIS_InteractiveObject> & , const gp_Trsf & ) >(&AIS_ConnectedInteractive::Connect),
R"#(Establishes the connection between the Connected Interactive Object, anotherIobj, and its reference. Locates instance in aLocation.)#" , py::arg("theAnotherObj"), py::arg("theLocation")
)
.def("Connect",
(void (AIS_ConnectedInteractive::*)( const opencascade::handle<AIS_InteractiveObject> & , const opencascade::handle<TopLoc_Datum3D> & ) ) static_cast<void (AIS_ConnectedInteractive::*)( const opencascade::handle<AIS_InteractiveObject> & , const opencascade::handle<TopLoc_Datum3D> & ) >(&AIS_ConnectedInteractive::Connect),
R"#(Establishes the connection between the Connected Interactive Object, anotherIobj, and its reference. Locates instance in aLocation.)#" , py::arg("theAnotherObj"), py::arg("theLocation")
)
.def("HasConnection",
(Standard_Boolean (AIS_ConnectedInteractive::*)() const) static_cast<Standard_Boolean (AIS_ConnectedInteractive::*)() const>(&AIS_ConnectedInteractive::HasConnection),
R"#(Returns true if there is a connection established between the presentation and its source reference.)#"
)
.def("Disconnect",
(void (AIS_ConnectedInteractive::*)() ) static_cast<void (AIS_ConnectedInteractive::*)() >(&AIS_ConnectedInteractive::Disconnect),
R"#(Clears the connection with a source reference. The presentation will no longer be displayed. Warning Must be done before deleting the presentation.)#"
)
.def("AcceptShapeDecomposition",
(Standard_Boolean (AIS_ConnectedInteractive::*)() const) static_cast<Standard_Boolean (AIS_ConnectedInteractive::*)() const>(&AIS_ConnectedInteractive::AcceptShapeDecomposition),
R"#(Informs the graphic context that the interactive Object may be decomposed into sub-shapes for dynamic selection.)#"
)
.def("AcceptDisplayMode",
(Standard_Boolean (AIS_ConnectedInteractive::*)( const Standard_Integer ) const) static_cast<Standard_Boolean (AIS_ConnectedInteractive::*)( const Standard_Integer ) const>(&AIS_ConnectedInteractive::AcceptDisplayMode),
R"#(Return true if reference presentation accepts specified display mode.)#" , py::arg("theMode")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_ConnectedInteractive::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_ConnectedInteractive::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> & (AIS_ConnectedInteractive::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_ConnectedInteractive::*)() const>(&AIS_ConnectedInteractive::DynamicType),
R"#(None)#"
)
.def("ConnectedTo",
(const opencascade::handle<AIS_InteractiveObject> & (AIS_ConnectedInteractive::*)() const) static_cast<const opencascade::handle<AIS_InteractiveObject> & (AIS_ConnectedInteractive::*)() const>(&AIS_ConnectedInteractive::ConnectedTo),
R"#(Returns the connection with the reference Interactive Object.)#"
)
;
// Class AIS_LightSource from ./opencascade/AIS_LightSource.hxx
klass = m.attr("AIS_LightSource");
// nested enums
static_cast<py::class_<AIS_LightSource ,opencascade::handle<AIS_LightSource> , AIS_InteractiveObject >>(klass)
// constructors
.def(py::init< const opencascade::handle<Graphic3d_CLight> & >() , py::arg("theLightSource") )
// custom constructors
// methods
.def("SetLight",
(void (AIS_LightSource::*)( const opencascade::handle<Graphic3d_CLight> & ) ) static_cast<void (AIS_LightSource::*)( const opencascade::handle<Graphic3d_CLight> & ) >(&AIS_LightSource::SetLight),
R"#(Set the light.)#" , py::arg("theLight")
)
.def("ToDisplayName",
(Standard_Boolean (AIS_LightSource::*)() const) static_cast<Standard_Boolean (AIS_LightSource::*)() const>(&AIS_LightSource::ToDisplayName),
R"#(Returns TRUE if the light source name should be displayed; TRUE by default.)#"
)
.def("SetDisplayName",
(void (AIS_LightSource::*)( Standard_Boolean ) ) static_cast<void (AIS_LightSource::*)( Standard_Boolean ) >(&AIS_LightSource::SetDisplayName),
R"#(Show/hide light source name.)#" , py::arg("theToDisplay")
)
.def("ToDisplayRange",
(Standard_Boolean (AIS_LightSource::*)() const) static_cast<Standard_Boolean (AIS_LightSource::*)() const>(&AIS_LightSource::ToDisplayRange),
R"#(Returns TRUE to display light source range as sphere (positional light) or cone (spot light); TRUE by default. Has no effect for non-zoomable presentation.)#"
)
.def("SetDisplayRange",
(void (AIS_LightSource::*)( Standard_Boolean ) ) static_cast<void (AIS_LightSource::*)( Standard_Boolean ) >(&AIS_LightSource::SetDisplayRange),
R"#(Show/hide light source range shaded presentation.)#" , py::arg("theToDisplay")
)
.def("Size",
(Standard_Real (AIS_LightSource::*)() const) static_cast<Standard_Real (AIS_LightSource::*)() const>(&AIS_LightSource::Size),
R"#(Returns the size of presentation; 50 by default.)#"
)
.def("SetSize",
(void (AIS_LightSource::*)( Standard_Real ) ) static_cast<void (AIS_LightSource::*)( Standard_Real ) >(&AIS_LightSource::SetSize),
R"#(Sets the size of presentation.)#" , py::arg("theSize")
)
.def("ArcSize",
(Standard_Integer (AIS_LightSource::*)() const) static_cast<Standard_Integer (AIS_LightSource::*)() const>(&AIS_LightSource::ArcSize),
R"#(Returns Sensitive sphere arc size in pixels; 20 by default.)#"
)
.def("SetArcSize",
(void (AIS_LightSource::*)( Standard_Integer ) ) static_cast<void (AIS_LightSource::*)( Standard_Integer ) >(&AIS_LightSource::SetArcSize),
R"#(Sets the size of sensitive sphere arc.)#" , py::arg("theSize")
)
.def("IsZoomable",
(bool (AIS_LightSource::*)() const) static_cast<bool (AIS_LightSource::*)() const>(&AIS_LightSource::IsZoomable),
R"#(Returns TRUE if transform-persistence is allowed; TRUE by default for Ambient and Directional lights and FALSE by default for Positional and Spot lights.)#"
)
.def("SetZoomable",
(void (AIS_LightSource::*)( bool ) ) static_cast<void (AIS_LightSource::*)( bool ) >(&AIS_LightSource::SetZoomable),
R"#(Sets if transform-persistence is allowed.)#" , py::arg("theIsZoomable")
)
.def("SetDraggable",
(void (AIS_LightSource::*)( bool ) ) static_cast<void (AIS_LightSource::*)( bool ) >(&AIS_LightSource::SetDraggable),
R"#(Sets if dragging is allowed.)#" , py::arg("theIsDraggable")
)
.def("ToSwitchOnClick",
(bool (AIS_LightSource::*)() const) static_cast<bool (AIS_LightSource::*)() const>(&AIS_LightSource::ToSwitchOnClick),
R"#(Returns TRUE if mouse click will turn light on/off; TRUE by default.)#"
)
.def("SetSwitchOnClick",
(void (AIS_LightSource::*)( bool ) ) static_cast<void (AIS_LightSource::*)( bool ) >(&AIS_LightSource::SetSwitchOnClick),
R"#(Sets if mouse click should turn light on/off.)#" , py::arg("theToHandle")
)
.def("NbArrows",
(Standard_Integer (AIS_LightSource::*)() const) static_cast<Standard_Integer (AIS_LightSource::*)() const>(&AIS_LightSource::NbArrows),
R"#(Returns a number of directional light arrows to display; 5 by default.)#"
)
.def("SetNbArrows",
(void (AIS_LightSource::*)( Standard_Integer ) ) static_cast<void (AIS_LightSource::*)( Standard_Integer ) >(&AIS_LightSource::SetNbArrows),
R"#(Returns a number of directional light arrows to display (supported values: 1, 3, 5, 9).)#" , py::arg("theNbArrows")
)
.def("MarkerImage",
(const opencascade::handle<Graphic3d_MarkerImage> & (AIS_LightSource::*)( bool ) const) static_cast<const opencascade::handle<Graphic3d_MarkerImage> & (AIS_LightSource::*)( bool ) const>(&AIS_LightSource::MarkerImage),
R"#(Returns light source icon.)#" , py::arg("theIsEnabled")
)
.def("MarkerType",
(Aspect_TypeOfMarker (AIS_LightSource::*)( bool ) const) static_cast<Aspect_TypeOfMarker (AIS_LightSource::*)( bool ) const>(&AIS_LightSource::MarkerType),
R"#(Returns light source icon.)#" , py::arg("theIsEnabled")
)
.def("SetMarkerImage",
(void (AIS_LightSource::*)( const opencascade::handle<Graphic3d_MarkerImage> & , bool ) ) static_cast<void (AIS_LightSource::*)( const opencascade::handle<Graphic3d_MarkerImage> & , bool ) >(&AIS_LightSource::SetMarkerImage),
R"#(Sets custom icon to light source.)#" , py::arg("theImage"), py::arg("theIsEnabled")
)
.def("SetMarkerType",
(void (AIS_LightSource::*)( Aspect_TypeOfMarker , bool ) ) static_cast<void (AIS_LightSource::*)( Aspect_TypeOfMarker , bool ) >(&AIS_LightSource::SetMarkerType),
R"#(Sets standard icon to light source.)#" , py::arg("theType"), py::arg("theIsEnabled")
)
.def("NbSplitsQuadric",
(Standard_Integer (AIS_LightSource::*)() const) static_cast<Standard_Integer (AIS_LightSource::*)() const>(&AIS_LightSource::NbSplitsQuadric),
R"#(Returns tessellation level for quadric surfaces; 30 by default.)#"
)
.def("SetNbSplitsQuadric",
(void (AIS_LightSource::*)( Standard_Integer ) ) static_cast<void (AIS_LightSource::*)( Standard_Integer ) >(&AIS_LightSource::SetNbSplitsQuadric),
R"#(Sets tessellation level for quadric surfaces.)#" , py::arg("theNbSplits")
)
.def("NbSplitsArrow",
(Standard_Integer (AIS_LightSource::*)() const) static_cast<Standard_Integer (AIS_LightSource::*)() const>(&AIS_LightSource::NbSplitsArrow),
R"#(Returns tessellation level for arrows; 20 by default.)#"
)
.def("SetNbSplitsArrow",
(void (AIS_LightSource::*)( Standard_Integer ) ) static_cast<void (AIS_LightSource::*)( Standard_Integer ) >(&AIS_LightSource::SetNbSplitsArrow),
R"#(Sets tessellation level for arrows.)#" , py::arg("theNbSplits")
)
.def("Type",
(AIS_KindOfInteractive (AIS_LightSource::*)() const) static_cast<AIS_KindOfInteractive (AIS_LightSource::*)() const>(&AIS_LightSource::Type),
R"#(Returns kind of the object.)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_LightSource::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_LightSource::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> & (AIS_LightSource::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_LightSource::*)() const>(&AIS_LightSource::DynamicType),
R"#(None)#"
)
.def("Light",
(const opencascade::handle<Graphic3d_CLight> & (AIS_LightSource::*)() const) static_cast<const opencascade::handle<Graphic3d_CLight> & (AIS_LightSource::*)() const>(&AIS_LightSource::Light),
R"#(Returns the light.)#"
)
;
// Class AIS_Line from ./opencascade/AIS_Line.hxx
klass = m.attr("AIS_Line");
// nested enums
static_cast<py::class_<AIS_Line ,opencascade::handle<AIS_Line> , AIS_InteractiveObject >>(klass)
// constructors
.def(py::init< const opencascade::handle<Geom_Line> & >() , py::arg("aLine") )
.def(py::init< const opencascade::handle<Geom_Point> &,const opencascade::handle<Geom_Point> & >() , py::arg("aStartPoint"), py::arg("aEndPoint") )
// custom constructors
// methods
.def("Signature",
(Standard_Integer (AIS_Line::*)() const) static_cast<Standard_Integer (AIS_Line::*)() const>(&AIS_Line::Signature),
R"#(Returns the signature 5.)#"
)
.def("Type",
(AIS_KindOfInteractive (AIS_Line::*)() const) static_cast<AIS_KindOfInteractive (AIS_Line::*)() const>(&AIS_Line::Type),
R"#(Returns the type Datum.)#"
)
.def("SetLine",
(void (AIS_Line::*)( const opencascade::handle<Geom_Line> & ) ) static_cast<void (AIS_Line::*)( const opencascade::handle<Geom_Line> & ) >(&AIS_Line::SetLine),
R"#(instantiates an infinite line.)#" , py::arg("theLine")
)
.def("SetPoints",
(void (AIS_Line::*)( const opencascade::handle<Geom_Point> & , const opencascade::handle<Geom_Point> & ) ) static_cast<void (AIS_Line::*)( const opencascade::handle<Geom_Point> & , const opencascade::handle<Geom_Point> & ) >(&AIS_Line::SetPoints),
R"#(Sets the starting point thePStart and ending point thePEnd of the infinite line to create a finite line segment.)#" , py::arg("thePStart"), py::arg("thePEnd")
)
.def("SetColor",
(void (AIS_Line::*)( const Quantity_Color & ) ) static_cast<void (AIS_Line::*)( const Quantity_Color & ) >(&AIS_Line::SetColor),
R"#(Provides a new color setting aColor for the line in the drawing tool, or "Drawer".)#" , py::arg("aColor")
)
.def("SetWidth",
(void (AIS_Line::*)( const Standard_Real ) ) static_cast<void (AIS_Line::*)( const Standard_Real ) >(&AIS_Line::SetWidth),
R"#(Provides the new width setting aValue for the line in the drawing tool, or "Drawer".)#" , py::arg("aValue")
)
.def("UnsetColor",
(void (AIS_Line::*)() ) static_cast<void (AIS_Line::*)() >(&AIS_Line::UnsetColor),
R"#(Removes the color setting and returns the original color.)#"
)
.def("UnsetWidth",
(void (AIS_Line::*)() ) static_cast<void (AIS_Line::*)() >(&AIS_Line::UnsetWidth),
R"#(Removes the width setting and returns the original width.)#"
)
// methods using call by reference i.s.o. return
.def("Points",
[]( AIS_Line &self , Geom_Point& thePStart,Geom_Point& thePEnd ){
opencascade::handle<Geom_Point> thePStart_ptr; thePStart_ptr = &thePStart;
opencascade::handle<Geom_Point> thePEnd_ptr; thePEnd_ptr = &thePEnd;
self.Points(thePStart_ptr,thePEnd_ptr);
if ( thePStart_ptr.get() != &thePStart ) copy_if_copy_constructible(thePStart, *thePStart_ptr);
if ( thePEnd_ptr.get() != &thePEnd ) copy_if_copy_constructible(thePEnd, *thePEnd_ptr);
return std::make_tuple(); },
R"#(Returns the starting point thePStart and the end point thePEnd of the line set by SetPoints.)#" , py::arg("thePStart"), py::arg("thePEnd")
)
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_Line::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_Line::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> & (AIS_Line::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_Line::*)() const>(&AIS_Line::DynamicType),
R"#(None)#"
)
.def("Line",
(const opencascade::handle<Geom_Line> & (AIS_Line::*)() const) static_cast<const opencascade::handle<Geom_Line> & (AIS_Line::*)() const>(&AIS_Line::Line),
R"#(Constructs an infinite line.)#"
)
;
// Class AIS_Manipulator from ./opencascade/AIS_Manipulator.hxx
klass = m.attr("AIS_Manipulator");
// nested enums
static_cast<py::class_<AIS_Manipulator ,opencascade::handle<AIS_Manipulator> , AIS_InteractiveObject >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const gp_Ax2 & >() , py::arg("thePosition") )
// custom constructors
// methods
.def("SetPart",
(void (AIS_Manipulator::*)( const Standard_Integer , const AIS_ManipulatorMode , const Standard_Boolean ) ) static_cast<void (AIS_Manipulator::*)( const Standard_Integer , const AIS_ManipulatorMode , const Standard_Boolean ) >(&AIS_Manipulator::SetPart),
R"#(Disable or enable visual parts for translation, rotation or scaling for some axis. By default all parts are enabled (will be displayed).)#" , py::arg("theAxisIndex"), py::arg("theMode"), py::arg("theIsEnabled")
)
.def("SetPart",
(void (AIS_Manipulator::*)( const AIS_ManipulatorMode , const Standard_Boolean ) ) static_cast<void (AIS_Manipulator::*)( const AIS_ManipulatorMode , const Standard_Boolean ) >(&AIS_Manipulator::SetPart),
R"#(Disable or enable visual parts for translation, rotation or scaling for ALL axes. By default all parts are enabled (will be displayed).)#" , py::arg("theMode"), py::arg("theIsEnabled")
)
.def("Attach",
(void (AIS_Manipulator::*)( const opencascade::handle<AIS_InteractiveObject> & , const AIS_Manipulator::OptionsForAttach & ) ) static_cast<void (AIS_Manipulator::*)( const opencascade::handle<AIS_InteractiveObject> & , const AIS_Manipulator::OptionsForAttach & ) >(&AIS_Manipulator::Attach),
R"#(Attaches himself to the input interactive object and become displayed in the same context. It is placed in the center of object bounding box, and its size is adjusted to the object bounding box.)#" , py::arg("theObject"), py::arg("theOptions")=static_cast<const AIS_Manipulator::OptionsForAttach &>(OptionsForAttach ( ))
)
.def("Attach",
(void (AIS_Manipulator::*)( const opencascade::handle<AIS_ManipulatorObjectSequence> & , const AIS_Manipulator::OptionsForAttach & ) ) static_cast<void (AIS_Manipulator::*)( const opencascade::handle<AIS_ManipulatorObjectSequence> & , const AIS_Manipulator::OptionsForAttach & ) >(&AIS_Manipulator::Attach),
R"#(Attaches himself to the input interactive object group and become displayed in the same context. It become attached to the first object, baut manage manipulation of the whole group. It is placed in the center of object bounding box, and its size is adjusted to the object bounding box.)#" , py::arg("theObject"), py::arg("theOptions")=static_cast<const AIS_Manipulator::OptionsForAttach &>(OptionsForAttach ( ))
)
.def("EnableMode",
(void (AIS_Manipulator::*)( const AIS_ManipulatorMode ) ) static_cast<void (AIS_Manipulator::*)( const AIS_ManipulatorMode ) >(&AIS_Manipulator::EnableMode),
R"#(Enable manipualtion mode.)#" , py::arg("theMode")
)
.def("SetModeActivationOnDetection",
(void (AIS_Manipulator::*)( const Standard_Boolean ) ) static_cast<void (AIS_Manipulator::*)( const Standard_Boolean ) >(&AIS_Manipulator::SetModeActivationOnDetection),
R"#(Enables mode activation on detection (highlighting). By default, mode is activated on selection of manipulator part.)#" , py::arg("theToEnable")
)
.def("IsModeActivationOnDetection",
(Standard_Boolean (AIS_Manipulator::*)() const) static_cast<Standard_Boolean (AIS_Manipulator::*)() const>(&AIS_Manipulator::IsModeActivationOnDetection),
R"#(Returns true if manual mode activation is enabled.)#"
)
.def("ProcessDragging",
(Standard_Boolean (AIS_Manipulator::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & , const opencascade::handle<SelectMgr_EntityOwner> & , const NCollection_Vec2<Standard_Integer> & , const NCollection_Vec2<Standard_Integer> & , const AIS_DragAction ) ) static_cast<Standard_Boolean (AIS_Manipulator::*)( const opencascade::handle<AIS_InteractiveContext> & , const opencascade::handle<V3d_View> & , const opencascade::handle<SelectMgr_EntityOwner> & , const NCollection_Vec2<Standard_Integer> & , const NCollection_Vec2<Standard_Integer> & , const AIS_DragAction ) >(&AIS_Manipulator::ProcessDragging),
R"#(Drag object in the viewer.)#" , py::arg("theCtx"), py::arg("theView"), py::arg("theOwner"), py::arg("theDragFrom"), py::arg("theDragTo"), py::arg("theAction")
)
.def("StartTransform",
(void (AIS_Manipulator::*)( const Standard_Integer , const Standard_Integer , const opencascade::handle<V3d_View> & ) ) static_cast<void (AIS_Manipulator::*)( const Standard_Integer , const Standard_Integer , const opencascade::handle<V3d_View> & ) >(&AIS_Manipulator::StartTransform),
R"#(Init start (reference) transformation.)#" , py::arg("theX"), py::arg("theY"), py::arg("theView")
)
.def("Transform",
(void (AIS_Manipulator::*)( const gp_Trsf & ) ) static_cast<void (AIS_Manipulator::*)( const gp_Trsf & ) >(&AIS_Manipulator::Transform),
R"#(Apply to the owning objects the input transformation.)#" , py::arg("aTrsf")
)
.def("StopTransform",
(void (AIS_Manipulator::*)( const Standard_Boolean ) ) static_cast<void (AIS_Manipulator::*)( const Standard_Boolean ) >(&AIS_Manipulator::StopTransform),
R"#(Reset start (reference) transformation.)#" , py::arg("theToApply")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("Transform",
(gp_Trsf (AIS_Manipulator::*)( const Standard_Integer , const Standard_Integer , const opencascade::handle<V3d_View> & ) ) static_cast<gp_Trsf (AIS_Manipulator::*)( const Standard_Integer , const Standard_Integer , const opencascade::handle<V3d_View> & ) >(&AIS_Manipulator::Transform),
R"#(Apply transformation made from mouse moving from start position (save on the first Transform() call and reset on DeactivateCurrentMode() call.) to the in/out mouse position (theX, theY))#" , py::arg("theX"), py::arg("theY"), py::arg("theView")
)
.def("ObjectTransformation",
(Standard_Boolean (AIS_Manipulator::*)( const Standard_Integer , const Standard_Integer , const opencascade::handle<V3d_View> & , gp_Trsf & ) ) static_cast<Standard_Boolean (AIS_Manipulator::*)( const Standard_Integer , const Standard_Integer , const opencascade::handle<V3d_View> & , gp_Trsf & ) >(&AIS_Manipulator::ObjectTransformation),
R"#(Computes transformation of parent object according to the active mode and input motion vector. You can use this method to get object transformation according to current mode or use own algorithm to implement any other transformation for modes.)#" , py::arg("theX"), py::arg("theY"), py::arg("theView"), py::arg("theTrsf")
)
.def("DeactivateCurrentMode",
(void (AIS_Manipulator::*)() ) static_cast<void (AIS_Manipulator::*)() >(&AIS_Manipulator::DeactivateCurrentMode),
R"#(Make inactive the current selected manipulator part and reset current axis index and current mode. After its call HasActiveMode() returns false.)#"
)
.def("Detach",
(void (AIS_Manipulator::*)() ) static_cast<void (AIS_Manipulator::*)() >(&AIS_Manipulator::Detach),
R"#(Detaches himself from the owner object, and removes itself from context.)#"
)
.def("Objects",
(opencascade::handle<AIS_ManipulatorObjectSequence> (AIS_Manipulator::*)() const) static_cast<opencascade::handle<AIS_ManipulatorObjectSequence> (AIS_Manipulator::*)() const>(&AIS_Manipulator::Objects),
R"#(Returns all owning objects.)#"
)
.def("Object",
(opencascade::handle<AIS_InteractiveObject> (AIS_Manipulator::*)() const) static_cast<opencascade::handle<AIS_InteractiveObject> (AIS_Manipulator::*)() const>(&AIS_Manipulator::Object),
R"#(Returns the first (leading) object of the owning objects.)#"
)
.def("Object",
(opencascade::handle<AIS_InteractiveObject> (AIS_Manipulator::*)( const Standard_Integer ) const) static_cast<opencascade::handle<AIS_InteractiveObject> (AIS_Manipulator::*)( const Standard_Integer ) const>(&AIS_Manipulator::Object),
R"#(Returns one of the owning objects. raises program error if theIndex is more than owning objects count or less than 1.)#" , py::arg("theIndex")
)
.def("IsAttached",
(Standard_Boolean (AIS_Manipulator::*)() const) static_cast<Standard_Boolean (AIS_Manipulator::*)() const>(&AIS_Manipulator::IsAttached),
R"#(Returns true if manipulator is attached to some interactive object (has owning object).)#"
)
.def("HasActiveMode",
(Standard_Boolean (AIS_Manipulator::*)() const) static_cast<Standard_Boolean (AIS_Manipulator::*)() const>(&AIS_Manipulator::HasActiveMode),
R"#(Returns true if some part of manipulator is selected (transformation mode is active, and owning object can be transformed).)#"
)
.def("HasActiveTransformation",
(Standard_Boolean (AIS_Manipulator::*)() ) static_cast<Standard_Boolean (AIS_Manipulator::*)() >(&AIS_Manipulator::HasActiveTransformation),
R"#(None)#"
)
.def("StartTransformation",
(gp_Trsf (AIS_Manipulator::*)() const) static_cast<gp_Trsf (AIS_Manipulator::*)() const>(&AIS_Manipulator::StartTransformation),
R"#(None)#"
)
.def("StartTransformation",
(gp_Trsf (AIS_Manipulator::*)( Standard_Integer ) const) static_cast<gp_Trsf (AIS_Manipulator::*)( Standard_Integer ) const>(&AIS_Manipulator::StartTransformation),
R"#(None)#" , py::arg("theIndex")
)
.def("SetZoomPersistence",
(void (AIS_Manipulator::*)( const Standard_Boolean ) ) static_cast<void (AIS_Manipulator::*)( const Standard_Boolean ) >(&AIS_Manipulator::SetZoomPersistence),
R"#(Enable or disable zoom persistence mode for the manipulator. With this mode turned on the presentation will keep fixed screen size.)#" , py::arg("theToEnable")
)
.def("ZoomPersistence",
(Standard_Boolean (AIS_Manipulator::*)() const) static_cast<Standard_Boolean (AIS_Manipulator::*)() const>(&AIS_Manipulator::ZoomPersistence),
R"#(Returns state of zoom persistence mode, whether it turned on or off.)#"
)
.def("SetTransformPersistence",
(void (AIS_Manipulator::*)( const opencascade::handle<Graphic3d_TransformPers> & ) ) static_cast<void (AIS_Manipulator::*)( const opencascade::handle<Graphic3d_TransformPers> & ) >(&AIS_Manipulator::SetTransformPersistence),
R"#(Redefines transform persistence management to setup transformation for sub-presentation of axes.)#" , py::arg("theTrsfPers")
)
.def("ActiveMode",
(AIS_ManipulatorMode (AIS_Manipulator::*)() const) static_cast<AIS_ManipulatorMode (AIS_Manipulator::*)() const>(&AIS_Manipulator::ActiveMode),
R"#()#"
)
.def("ActiveAxisIndex",
(Standard_Integer (AIS_Manipulator::*)() const) static_cast<Standard_Integer (AIS_Manipulator::*)() const>(&AIS_Manipulator::ActiveAxisIndex),
R"#(None)#"
)
.def("SetPosition",
(void (AIS_Manipulator::*)( const gp_Ax2 & ) ) static_cast<void (AIS_Manipulator::*)( const gp_Ax2 & ) >(&AIS_Manipulator::SetPosition),
R"#(Sets position of the manipulator object.)#" , py::arg("thePosition")
)
.def("Size",
(Standard_ShortReal (AIS_Manipulator::*)() const) static_cast<Standard_ShortReal (AIS_Manipulator::*)() const>(&AIS_Manipulator::Size),
R"#(None)#"
)
.def("SetSize",
(void (AIS_Manipulator::*)( const Standard_ShortReal ) ) static_cast<void (AIS_Manipulator::*)( const Standard_ShortReal ) >(&AIS_Manipulator::SetSize),
R"#(Sets size (length of side of the manipulator cubic bounding box.)#" , py::arg("theSideLength")
)
.def("SetGap",
(void (AIS_Manipulator::*)( const Standard_ShortReal ) ) static_cast<void (AIS_Manipulator::*)( const Standard_ShortReal ) >(&AIS_Manipulator::SetGap),
R"#(Sets gaps between translator, scaler and rotator sub-presentations.)#" , py::arg("theValue")
)
.def("SetTransformBehavior",
(void (AIS_Manipulator::*)( const AIS_Manipulator::BehaviorOnTransform & ) ) static_cast<void (AIS_Manipulator::*)( const AIS_Manipulator::BehaviorOnTransform & ) >(&AIS_Manipulator::SetTransformBehavior),
R"#(Sets behavior settings for transformation action carried on the manipulator, whether it translates, rotates together with the transformed object or not.)#" , py::arg("theSettings")
)
.def("Compute",
(void (AIS_Manipulator::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const opencascade::handle<Prs3d_Presentation> & , const Standard_Integer ) ) static_cast<void (AIS_Manipulator::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const opencascade::handle<Prs3d_Presentation> & , const Standard_Integer ) >(&AIS_Manipulator::Compute),
R"#(Fills presentation.)#" , py::arg("thePrsMgr"), py::arg("thePrs"), py::arg("theMode")=static_cast<const Standard_Integer>(0)
)
.def("ComputeSelection",
(void (AIS_Manipulator::*)( const opencascade::handle<SelectMgr_Selection> & , const Standard_Integer ) ) static_cast<void (AIS_Manipulator::*)( const opencascade::handle<SelectMgr_Selection> & , const Standard_Integer ) >(&AIS_Manipulator::ComputeSelection),
R"#(Computes selection sensitive zones (triangulation) for manipulator.)#" , py::arg("theSelection"), py::arg("theMode")
)
.def("IsAutoHilight",
(Standard_Boolean (AIS_Manipulator::*)() const) static_cast<Standard_Boolean (AIS_Manipulator::*)() const>(&AIS_Manipulator::IsAutoHilight),
R"#(Disables auto highlighting to use HilightSelected() and HilightOwnerWithColor() overridden methods.)#"
)
.def("ClearSelected",
(void (AIS_Manipulator::*)() ) static_cast<void (AIS_Manipulator::*)() >(&AIS_Manipulator::ClearSelected),
R"#(Method which clear all selected owners belonging to this selectable object ( for fast presentation draw ).)#"
)
.def("HilightSelected",
(void (AIS_Manipulator::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const NCollection_Sequence<opencascade::handle<SelectMgr_EntityOwner>> & ) ) static_cast<void (AIS_Manipulator::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const NCollection_Sequence<opencascade::handle<SelectMgr_EntityOwner>> & ) >(&AIS_Manipulator::HilightSelected),
R"#(Method which draws selected owners ( for fast presentation draw ).)#" , py::arg("thePM"), py::arg("theSeq")
)
.def("HilightOwnerWithColor",
(void (AIS_Manipulator::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const opencascade::handle<Prs3d_Drawer> & , const opencascade::handle<SelectMgr_EntityOwner> & ) ) static_cast<void (AIS_Manipulator::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const opencascade::handle<Prs3d_Drawer> & , const opencascade::handle<SelectMgr_EntityOwner> & ) >(&AIS_Manipulator::HilightOwnerWithColor),
R"#(Method which hilight an owner belonging to this selectable object ( for fast presentation draw ).)#" , py::arg("thePM"), py::arg("theStyle"), py::arg("theOwner")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_Manipulator::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_Manipulator::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("Position",
(const gp_Ax2 & (AIS_Manipulator::*)() const) static_cast<const gp_Ax2 & (AIS_Manipulator::*)() const>(&AIS_Manipulator::Position),
R"#(Returns poition of manipulator interactive object.)#"
)
.def("ChangeTransformBehavior",
(AIS_Manipulator::BehaviorOnTransform & (AIS_Manipulator::*)() ) static_cast<AIS_Manipulator::BehaviorOnTransform & (AIS_Manipulator::*)() >(&AIS_Manipulator::ChangeTransformBehavior),
R"#(Returns behavior settings for transformation action of the manipulator.)#"
, py::return_value_policy::reference_internal
)
.def("TransformBehavior",
(const AIS_Manipulator::BehaviorOnTransform & (AIS_Manipulator::*)() const) static_cast<const AIS_Manipulator::BehaviorOnTransform & (AIS_Manipulator::*)() const>(&AIS_Manipulator::TransformBehavior),
R"#(Returns behavior settings for transformation action of the manipulator.)#"
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (AIS_Manipulator::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_Manipulator::*)() const>(&AIS_Manipulator::DynamicType),
R"#(None)#"
)
;
// Class AIS_MediaPlayer from ./opencascade/AIS_MediaPlayer.hxx
klass = m.attr("AIS_MediaPlayer");
// nested enums
static_cast<py::class_<AIS_MediaPlayer ,opencascade::handle<AIS_MediaPlayer> , AIS_InteractiveObject >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("SetCallback",
(void (AIS_MediaPlayer::*)( Graphic3d_MediaTextureSet::CallbackOnUpdate_t , void * ) ) static_cast<void (AIS_MediaPlayer::*)( Graphic3d_MediaTextureSet::CallbackOnUpdate_t , void * ) >(&AIS_MediaPlayer::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("OpenInput",
(void (AIS_MediaPlayer::*)( const TCollection_AsciiString & , Standard_Boolean ) ) static_cast<void (AIS_MediaPlayer::*)( const TCollection_AsciiString & , Standard_Boolean ) >(&AIS_MediaPlayer::OpenInput),
R"#(Open specified file.)#" , py::arg("thePath"), py::arg("theToWait")
)
.def("PresentFrame",
(bool (AIS_MediaPlayer::*)( const NCollection_Vec2<Standard_Integer> & , const NCollection_Vec2<Standard_Integer> & ) ) static_cast<bool (AIS_MediaPlayer::*)( const NCollection_Vec2<Standard_Integer> & , const NCollection_Vec2<Standard_Integer> & ) >(&AIS_MediaPlayer::PresentFrame),
R"#(Display new frame.)#" , py::arg("theLeftCorner"), py::arg("theMaxSize")
)
.def("PlayPause",
(void (AIS_MediaPlayer::*)() ) static_cast<void (AIS_MediaPlayer::*)() >(&AIS_MediaPlayer::PlayPause),
R"#(Switch playback state.)#"
)
.def("SetClosePlayer",
(void (AIS_MediaPlayer::*)() ) static_cast<void (AIS_MediaPlayer::*)() >(&AIS_MediaPlayer::SetClosePlayer),
R"#(Schedule player to be closed.)#"
)
.def("Duration",
(double (AIS_MediaPlayer::*)() const) static_cast<double (AIS_MediaPlayer::*)() const>(&AIS_MediaPlayer::Duration),
R"#(Return duration.)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_MediaPlayer::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_MediaPlayer::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> & (AIS_MediaPlayer::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_MediaPlayer::*)() const>(&AIS_MediaPlayer::DynamicType),
R"#(None)#"
)
.def("PlayerContext",
(const opencascade::handle<Media_PlayerContext> & (AIS_MediaPlayer::*)() const) static_cast<const opencascade::handle<Media_PlayerContext> & (AIS_MediaPlayer::*)() const>(&AIS_MediaPlayer::PlayerContext),
R"#(Return player context.)#"
)
;
// Class AIS_MultipleConnectedInteractive from ./opencascade/AIS_MultipleConnectedInteractive.hxx
klass = m.attr("AIS_MultipleConnectedInteractive");
// nested enums
static_cast<py::class_<AIS_MultipleConnectedInteractive ,opencascade::handle<AIS_MultipleConnectedInteractive> , AIS_InteractiveObject >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("Connect",
(opencascade::handle<AIS_InteractiveObject> (AIS_MultipleConnectedInteractive::*)( const opencascade::handle<AIS_InteractiveObject> & , const opencascade::handle<TopLoc_Datum3D> & , const opencascade::handle<Graphic3d_TransformPers> & ) ) static_cast<opencascade::handle<AIS_InteractiveObject> (AIS_MultipleConnectedInteractive::*)( const opencascade::handle<AIS_InteractiveObject> & , const opencascade::handle<TopLoc_Datum3D> & , const opencascade::handle<Graphic3d_TransformPers> & ) >(&AIS_MultipleConnectedInteractive::Connect),
R"#(Establishes the connection between the Connected Interactive Object, theInteractive, and its reference. Locates instance in theLocation and applies specified transformation persistence mode.)#" , py::arg("theAnotherObj"), py::arg("theLocation"), py::arg("theTrsfPers")
)
.def("Type",
(AIS_KindOfInteractive (AIS_MultipleConnectedInteractive::*)() const) static_cast<AIS_KindOfInteractive (AIS_MultipleConnectedInteractive::*)() const>(&AIS_MultipleConnectedInteractive::Type),
R"#(None)#"
)
.def("Signature",
(Standard_Integer (AIS_MultipleConnectedInteractive::*)() const) static_cast<Standard_Integer (AIS_MultipleConnectedInteractive::*)() const>(&AIS_MultipleConnectedInteractive::Signature),
R"#(None)#"
)
.def("HasConnection",
(Standard_Boolean (AIS_MultipleConnectedInteractive::*)() const) static_cast<Standard_Boolean (AIS_MultipleConnectedInteractive::*)() const>(&AIS_MultipleConnectedInteractive::HasConnection),
R"#(Returns true if the object is connected to others.)#"
)
.def("Disconnect",
(void (AIS_MultipleConnectedInteractive::*)( const opencascade::handle<AIS_InteractiveObject> & ) ) static_cast<void (AIS_MultipleConnectedInteractive::*)( const opencascade::handle<AIS_InteractiveObject> & ) >(&AIS_MultipleConnectedInteractive::Disconnect),
R"#(Removes the connection with theInteractive.)#" , py::arg("theInteractive")
)
.def("DisconnectAll",
(void (AIS_MultipleConnectedInteractive::*)() ) static_cast<void (AIS_MultipleConnectedInteractive::*)() >(&AIS_MultipleConnectedInteractive::DisconnectAll),
R"#(Clears all the connections to objects.)#"
)
.def("AcceptShapeDecomposition",
(Standard_Boolean (AIS_MultipleConnectedInteractive::*)() const) static_cast<Standard_Boolean (AIS_MultipleConnectedInteractive::*)() const>(&AIS_MultipleConnectedInteractive::AcceptShapeDecomposition),
R"#(Informs the graphic context that the interactive Object may be decomposed into sub-shapes for dynamic selection.)#"
)
.def("GlobalSelOwner",
(opencascade::handle<SelectMgr_EntityOwner> (AIS_MultipleConnectedInteractive::*)() const) static_cast<opencascade::handle<SelectMgr_EntityOwner> (AIS_MultipleConnectedInteractive::*)() const>(&AIS_MultipleConnectedInteractive::GlobalSelOwner),
R"#(Returns the owner of mode for selection of object as a whole)#"
)
.def("SetContext",
(void (AIS_MultipleConnectedInteractive::*)( const opencascade::handle<AIS_InteractiveContext> & ) ) static_cast<void (AIS_MultipleConnectedInteractive::*)( const opencascade::handle<AIS_InteractiveContext> & ) >(&AIS_MultipleConnectedInteractive::SetContext),
R"#(Assigns interactive context.)#" , py::arg("theCtx")
)
.def("Connect",
(opencascade::handle<AIS_InteractiveObject> (AIS_MultipleConnectedInteractive::*)( const opencascade::handle<AIS_InteractiveObject> & ) ) static_cast<opencascade::handle<AIS_InteractiveObject> (AIS_MultipleConnectedInteractive::*)( const opencascade::handle<AIS_InteractiveObject> & ) >(&AIS_MultipleConnectedInteractive::Connect),
R"#(Establishes the connection between the Connected Interactive Object, theInteractive, and its reference. Copies local transformation and transformation persistence mode from theInteractive.)#" , py::arg("theAnotherObj")
)
.def("Connect",
(opencascade::handle<AIS_InteractiveObject> (AIS_MultipleConnectedInteractive::*)( const opencascade::handle<AIS_InteractiveObject> & , const gp_Trsf & ) ) static_cast<opencascade::handle<AIS_InteractiveObject> (AIS_MultipleConnectedInteractive::*)( const opencascade::handle<AIS_InteractiveObject> & , const gp_Trsf & ) >(&AIS_MultipleConnectedInteractive::Connect),
R"#(Establishes the connection between the Connected Interactive Object, theInteractive, and its reference. Locates instance in theLocation and copies transformation persistence mode from theInteractive.)#" , py::arg("theAnotherObj"), py::arg("theLocation")
)
.def("Connect",
(opencascade::handle<AIS_InteractiveObject> (AIS_MultipleConnectedInteractive::*)( const opencascade::handle<AIS_InteractiveObject> & , const gp_Trsf & , const opencascade::handle<Graphic3d_TransformPers> & ) ) static_cast<opencascade::handle<AIS_InteractiveObject> (AIS_MultipleConnectedInteractive::*)( const opencascade::handle<AIS_InteractiveObject> & , const gp_Trsf & , const opencascade::handle<Graphic3d_TransformPers> & ) >(&AIS_MultipleConnectedInteractive::Connect),
R"#(Establishes the connection between the Connected Interactive Object, theInteractive, and its reference. Locates instance in theLocation and applies specified transformation persistence mode.)#" , py::arg("theAnotherObj"), py::arg("theLocation"), py::arg("theTrsfPers")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_MultipleConnectedInteractive::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_MultipleConnectedInteractive::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> & (AIS_MultipleConnectedInteractive::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_MultipleConnectedInteractive::*)() const>(&AIS_MultipleConnectedInteractive::DynamicType),
R"#(None)#"
)
.def("GetAssemblyOwner",
(const opencascade::handle<SelectMgr_EntityOwner> & (AIS_MultipleConnectedInteractive::*)() const) static_cast<const opencascade::handle<SelectMgr_EntityOwner> & (AIS_MultipleConnectedInteractive::*)() const>(&AIS_MultipleConnectedInteractive::GetAssemblyOwner),
R"#(Returns common entity owner if the object is an assembly)#"
)
;
// Class AIS_Plane from ./opencascade/AIS_Plane.hxx
klass = m.attr("AIS_Plane");
// nested enums
static_cast<py::class_<AIS_Plane ,opencascade::handle<AIS_Plane> , AIS_InteractiveObject >>(klass)
// constructors
.def(py::init< const opencascade::handle<Geom_Plane> &,const Standard_Boolean >() , py::arg("aComponent"), py::arg("aCurrentMode")=static_cast<const Standard_Boolean>(Standard_False) )
.def(py::init< const opencascade::handle<Geom_Plane> &,const gp_Pnt &,const Standard_Boolean >() , py::arg("aComponent"), py::arg("aCenter"), py::arg("aCurrentMode")=static_cast<const Standard_Boolean>(Standard_False) )
.def(py::init< const opencascade::handle<Geom_Plane> &,const gp_Pnt &,const gp_Pnt &,const gp_Pnt &,const Standard_Boolean >() , py::arg("aComponent"), py::arg("aCenter"), py::arg("aPmin"), py::arg("aPmax"), py::arg("aCurrentMode")=static_cast<const Standard_Boolean>(Standard_False) )
.def(py::init< const opencascade::handle<Geom_Axis2Placement> &,const AIS_TypeOfPlane,const Standard_Boolean >() , py::arg("aComponent"), py::arg("aPlaneType"), py::arg("aCurrentMode")=static_cast<const Standard_Boolean>(Standard_False) )
// custom constructors
// methods
.def("SetSize",
(void (AIS_Plane::*)( const Standard_Real ) ) static_cast<void (AIS_Plane::*)( const Standard_Real ) >(&AIS_Plane::SetSize),
R"#(Same value for x and y directions)#" , py::arg("aValue")
)
.def("SetSize",
(void (AIS_Plane::*)( const Standard_Real , const Standard_Real ) ) static_cast<void (AIS_Plane::*)( const Standard_Real , const Standard_Real ) >(&AIS_Plane::SetSize),
R"#(Sets the size defined by the length along the X axis XVal and the length along the Y axis YVal.)#" , py::arg("Xval"), py::arg("YVal")
)
.def("UnsetSize",
(void (AIS_Plane::*)() ) static_cast<void (AIS_Plane::*)() >(&AIS_Plane::UnsetSize),
R"#(None)#"
)
.def("Size",
(Standard_Boolean (AIS_Plane::*)( Standard_Real & , Standard_Real & ) const) static_cast<Standard_Boolean (AIS_Plane::*)( Standard_Real & , Standard_Real & ) const>(&AIS_Plane::Size),
R"#(None)#" , py::arg("X"), py::arg("Y")
)
.def("HasOwnSize",
(Standard_Boolean (AIS_Plane::*)() const) static_cast<Standard_Boolean (AIS_Plane::*)() const>(&AIS_Plane::HasOwnSize),
R"#(None)#"
)
.def("SetMinimumSize",
(void (AIS_Plane::*)( const Standard_Real ) ) static_cast<void (AIS_Plane::*)( const Standard_Real ) >(&AIS_Plane::SetMinimumSize),
R"#(Sets transform persistence for zoom with value of minimum size)#" , py::arg("theValue")
)
.def("UnsetMinimumSize",
(void (AIS_Plane::*)() ) static_cast<void (AIS_Plane::*)() >(&AIS_Plane::UnsetMinimumSize),
R"#(Unsets transform persistence zoom)#"
)
.def("HasMinimumSize",
(Standard_Boolean (AIS_Plane::*)() const) static_cast<Standard_Boolean (AIS_Plane::*)() const>(&AIS_Plane::HasMinimumSize),
R"#(Returns true if transform persistence for zoom is set)#"
)
.def("Signature",
(Standard_Integer (AIS_Plane::*)() const) static_cast<Standard_Integer (AIS_Plane::*)() const>(&AIS_Plane::Signature),
R"#(None)#"
)
.def("Type",
(AIS_KindOfInteractive (AIS_Plane::*)() const) static_cast<AIS_KindOfInteractive (AIS_Plane::*)() const>(&AIS_Plane::Type),
R"#(None)#"
)
.def("SetComponent",
(void (AIS_Plane::*)( const opencascade::handle<Geom_Plane> & ) ) static_cast<void (AIS_Plane::*)( const opencascade::handle<Geom_Plane> & ) >(&AIS_Plane::SetComponent),
R"#(Creates an instance of the plane aComponent.)#" , py::arg("aComponent")
)
.def("PlaneAttributes",
(Standard_Boolean (AIS_Plane::*)( opencascade::handle<Geom_Plane> & , gp_Pnt & , gp_Pnt & , gp_Pnt & ) ) static_cast<Standard_Boolean (AIS_Plane::*)( opencascade::handle<Geom_Plane> & , gp_Pnt & , gp_Pnt & , gp_Pnt & ) >(&AIS_Plane::PlaneAttributes),
R"#(Returns the settings for the selected plane aComponent, provided in SetPlaneAttributes. These include the points aCenter, aPmin, and aPmax)#" , py::arg("aComponent"), py::arg("aCenter"), py::arg("aPmin"), py::arg("aPmax")
)
.def("SetPlaneAttributes",
(void (AIS_Plane::*)( const opencascade::handle<Geom_Plane> & , const gp_Pnt & , const gp_Pnt & , const gp_Pnt & ) ) static_cast<void (AIS_Plane::*)( const opencascade::handle<Geom_Plane> & , const gp_Pnt & , const gp_Pnt & , const gp_Pnt & ) >(&AIS_Plane::SetPlaneAttributes),
R"#(Allows you to provide settings other than default ones for the selected plane. These include: center point aCenter, maximum aPmax and minimum aPmin.)#" , py::arg("aComponent"), py::arg("aCenter"), py::arg("aPmin"), py::arg("aPmax")
)
.def("SetCenter",
(void (AIS_Plane::*)( const gp_Pnt & ) ) static_cast<void (AIS_Plane::*)( const gp_Pnt & ) >(&AIS_Plane::SetCenter),
R"#(Provides settings for the center theCenter other than (0, 0, 0).)#" , py::arg("theCenter")
)
.def("SetAxis2Placement",
(void (AIS_Plane::*)( const opencascade::handle<Geom_Axis2Placement> & , const AIS_TypeOfPlane ) ) static_cast<void (AIS_Plane::*)( const opencascade::handle<Geom_Axis2Placement> & , const AIS_TypeOfPlane ) >(&AIS_Plane::SetAxis2Placement),
R"#(Allows you to provide settings for the position and direction of one of the plane's axes, aComponent, in 3D space. The coordinate system used is right-handed, and the type of plane aPlaneType is one of: - AIS_ TOPL_Unknown - AIS_ TOPL_XYPlane - AIS_ TOPL_XZPlane - AIS_ TOPL_YZPlane}.)#" , py::arg("aComponent"), py::arg("aPlaneType")
)
.def("Axis2Placement",
(opencascade::handle<Geom_Axis2Placement> (AIS_Plane::*)() ) static_cast<opencascade::handle<Geom_Axis2Placement> (AIS_Plane::*)() >(&AIS_Plane::Axis2Placement),
R"#(Returns the position of the plane's axis2 system identifying the x, y, or z axis and giving the plane a direction in 3D space. An axis2 system is a right-handed coordinate system.)#"
)
.def("TypeOfPlane",
(AIS_TypeOfPlane (AIS_Plane::*)() ) static_cast<AIS_TypeOfPlane (AIS_Plane::*)() >(&AIS_Plane::TypeOfPlane),
R"#(Returns the type of plane - xy, yz, xz or unknown.)#"
)
.def("IsXYZPlane",
(Standard_Boolean (AIS_Plane::*)() ) static_cast<Standard_Boolean (AIS_Plane::*)() >(&AIS_Plane::IsXYZPlane),
R"#(Returns the type of plane - xy, yz, or xz.)#"
)
.def("CurrentMode",
(Standard_Boolean (AIS_Plane::*)() ) static_cast<Standard_Boolean (AIS_Plane::*)() >(&AIS_Plane::CurrentMode),
R"#(Returns the non-default current display mode set by SetCurrentMode.)#"
)
.def("SetCurrentMode",
(void (AIS_Plane::*)( const Standard_Boolean ) ) static_cast<void (AIS_Plane::*)( const Standard_Boolean ) >(&AIS_Plane::SetCurrentMode),
R"#(Allows you to provide settings for a non-default current display mode.)#" , py::arg("theCurrentMode")
)
.def("AcceptDisplayMode",
(Standard_Boolean (AIS_Plane::*)( const Standard_Integer ) const) static_cast<Standard_Boolean (AIS_Plane::*)( const Standard_Integer ) const>(&AIS_Plane::AcceptDisplayMode),
R"#(Returns true if the display mode selected, aMode, is valid for planes.)#" , py::arg("aMode")
)
.def("SetContext",
(void (AIS_Plane::*)( const opencascade::handle<AIS_InteractiveContext> & ) ) static_cast<void (AIS_Plane::*)( const opencascade::handle<AIS_InteractiveContext> & ) >(&AIS_Plane::SetContext),
R"#(connection to <aCtx> default drawer implies a recomputation of Frame values.)#" , py::arg("aCtx")
)
.def("TypeOfSensitivity",
(Select3D_TypeOfSensitivity (AIS_Plane::*)() const) static_cast<Select3D_TypeOfSensitivity (AIS_Plane::*)() const>(&AIS_Plane::TypeOfSensitivity),
R"#(Returns the type of sensitivity for the plane;)#"
)
.def("SetTypeOfSensitivity",
(void (AIS_Plane::*)( Select3D_TypeOfSensitivity ) ) static_cast<void (AIS_Plane::*)( Select3D_TypeOfSensitivity ) >(&AIS_Plane::SetTypeOfSensitivity),
R"#(Sets the type of sensitivity for the plane.)#" , py::arg("theTypeOfSensitivity")
)
.def("ComputeSelection",
(void (AIS_Plane::*)( const opencascade::handle<SelectMgr_Selection> & , const Standard_Integer ) ) static_cast<void (AIS_Plane::*)( const opencascade::handle<SelectMgr_Selection> & , const Standard_Integer ) >(&AIS_Plane::ComputeSelection),
R"#(None)#" , py::arg("theSelection"), py::arg("theMode")
)
.def("SetColor",
(void (AIS_Plane::*)( const Quantity_Color & ) ) static_cast<void (AIS_Plane::*)( const Quantity_Color & ) >(&AIS_Plane::SetColor),
R"#(None)#" , py::arg("aColor")
)
.def("UnsetColor",
(void (AIS_Plane::*)() ) static_cast<void (AIS_Plane::*)() >(&AIS_Plane::UnsetColor),
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 * (*)() >(&AIS_Plane::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_Plane::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> & (AIS_Plane::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_Plane::*)() const>(&AIS_Plane::DynamicType),
R"#(None)#"
)
.def("Component",
(const opencascade::handle<Geom_Plane> & (AIS_Plane::*)() ) static_cast<const opencascade::handle<Geom_Plane> & (AIS_Plane::*)() >(&AIS_Plane::Component),
R"#(Returns the component specified in SetComponent.)#"
)
.def("Center",
(const gp_Pnt & (AIS_Plane::*)() const) static_cast<const gp_Pnt & (AIS_Plane::*)() const>(&AIS_Plane::Center),
R"#(Returns the coordinates of the center point.)#"
)
;
// Class AIS_PlaneTrihedron from ./opencascade/AIS_PlaneTrihedron.hxx
klass = m.attr("AIS_PlaneTrihedron");
// nested enums
static_cast<py::class_<AIS_PlaneTrihedron ,opencascade::handle<AIS_PlaneTrihedron> , AIS_InteractiveObject >>(klass)
// constructors
.def(py::init< const opencascade::handle<Geom_Plane> & >() , py::arg("aPlane") )
// custom constructors
// methods
.def("Component",
(opencascade::handle<Geom_Plane> (AIS_PlaneTrihedron::*)() ) static_cast<opencascade::handle<Geom_Plane> (AIS_PlaneTrihedron::*)() >(&AIS_PlaneTrihedron::Component),
R"#(Returns the component specified in SetComponent.)#"
)
.def("SetComponent",
(void (AIS_PlaneTrihedron::*)( const opencascade::handle<Geom_Plane> & ) ) static_cast<void (AIS_PlaneTrihedron::*)( const opencascade::handle<Geom_Plane> & ) >(&AIS_PlaneTrihedron::SetComponent),
R"#(Creates an instance of the component object aPlane.)#" , py::arg("aPlane")
)
.def("XAxis",
(opencascade::handle<AIS_Line> (AIS_PlaneTrihedron::*)() const) static_cast<opencascade::handle<AIS_Line> (AIS_PlaneTrihedron::*)() const>(&AIS_PlaneTrihedron::XAxis),
R"#(Returns the "XAxis".)#"
)
.def("YAxis",
(opencascade::handle<AIS_Line> (AIS_PlaneTrihedron::*)() const) static_cast<opencascade::handle<AIS_Line> (AIS_PlaneTrihedron::*)() const>(&AIS_PlaneTrihedron::YAxis),
R"#(Returns the "YAxis".)#"
)
.def("Position",
(opencascade::handle<AIS_Point> (AIS_PlaneTrihedron::*)() const) static_cast<opencascade::handle<AIS_Point> (AIS_PlaneTrihedron::*)() const>(&AIS_PlaneTrihedron::Position),
R"#(Returns the point of origin of the plane trihedron.)#"
)
.def("SetLength",
(void (AIS_PlaneTrihedron::*)( const Standard_Real ) ) static_cast<void (AIS_PlaneTrihedron::*)( const Standard_Real ) >(&AIS_PlaneTrihedron::SetLength),
R"#(Sets the length of the X and Y axes.)#" , py::arg("theLength")
)
.def("GetLength",
(Standard_Real (AIS_PlaneTrihedron::*)() const) static_cast<Standard_Real (AIS_PlaneTrihedron::*)() const>(&AIS_PlaneTrihedron::GetLength),
R"#(Returns the length of X and Y axes.)#"
)
.def("AcceptDisplayMode",
(Standard_Boolean (AIS_PlaneTrihedron::*)( const Standard_Integer ) const) static_cast<Standard_Boolean (AIS_PlaneTrihedron::*)( const Standard_Integer ) const>(&AIS_PlaneTrihedron::AcceptDisplayMode),
R"#(Returns true if the display mode selected, aMode, is valid.)#" , py::arg("aMode")
)
.def("Signature",
(Standard_Integer (AIS_PlaneTrihedron::*)() const) static_cast<Standard_Integer (AIS_PlaneTrihedron::*)() const>(&AIS_PlaneTrihedron::Signature),
R"#(None)#"
)
.def("Type",
(AIS_KindOfInteractive (AIS_PlaneTrihedron::*)() const) static_cast<AIS_KindOfInteractive (AIS_PlaneTrihedron::*)() const>(&AIS_PlaneTrihedron::Type),
R"#(Returns datum as the type of Interactive Object.)#"
)
.def("SetColor",
(void (AIS_PlaneTrihedron::*)( const Quantity_Color & ) ) static_cast<void (AIS_PlaneTrihedron::*)( const Quantity_Color & ) >(&AIS_PlaneTrihedron::SetColor),
R"#(Allows you to provide settings for the color aColor.)#" , py::arg("theColor")
)
.def("SetXLabel",
(void (AIS_PlaneTrihedron::*)( const TCollection_AsciiString & ) ) static_cast<void (AIS_PlaneTrihedron::*)( const TCollection_AsciiString & ) >(&AIS_PlaneTrihedron::SetXLabel),
R"#(None)#" , py::arg("theLabel")
)
.def("SetYLabel",
(void (AIS_PlaneTrihedron::*)( const TCollection_AsciiString & ) ) static_cast<void (AIS_PlaneTrihedron::*)( const TCollection_AsciiString & ) >(&AIS_PlaneTrihedron::SetYLabel),
R"#(None)#" , py::arg("theLabel")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_PlaneTrihedron::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_PlaneTrihedron::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> & (AIS_PlaneTrihedron::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_PlaneTrihedron::*)() const>(&AIS_PlaneTrihedron::DynamicType),
R"#(None)#"
)
;
// Class AIS_Point from ./opencascade/AIS_Point.hxx
klass = m.attr("AIS_Point");
// nested enums
static_cast<py::class_<AIS_Point ,opencascade::handle<AIS_Point> , AIS_InteractiveObject >>(klass)
// constructors
.def(py::init< const opencascade::handle<Geom_Point> & >() , py::arg("aComponent") )
// custom constructors
// methods
.def("Signature",
(Standard_Integer (AIS_Point::*)() const) static_cast<Standard_Integer (AIS_Point::*)() const>(&AIS_Point::Signature),
R"#(Returns index 1, the default index for a point.)#"
)
.def("Type",
(AIS_KindOfInteractive (AIS_Point::*)() const) static_cast<AIS_KindOfInteractive (AIS_Point::*)() const>(&AIS_Point::Type),
R"#(Indicates that a point is a datum.)#"
)
.def("Component",
(opencascade::handle<Geom_Point> (AIS_Point::*)() ) static_cast<opencascade::handle<Geom_Point> (AIS_Point::*)() >(&AIS_Point::Component),
R"#(Returns the component specified in SetComponent.)#"
)
.def("SetComponent",
(void (AIS_Point::*)( const opencascade::handle<Geom_Point> & ) ) static_cast<void (AIS_Point::*)( const opencascade::handle<Geom_Point> & ) >(&AIS_Point::SetComponent),
R"#(Constructs an instance of the point aComponent.)#" , py::arg("aComponent")
)
.def("AcceptDisplayMode",
(Standard_Boolean (AIS_Point::*)( const Standard_Integer ) const) static_cast<Standard_Boolean (AIS_Point::*)( const Standard_Integer ) const>(&AIS_Point::AcceptDisplayMode),
R"#(Returns true if the display mode selected is valid for point datums.)#" , py::arg("aMode")
)
.def("SetColor",
(void (AIS_Point::*)( const Quantity_Color & ) ) static_cast<void (AIS_Point::*)( const Quantity_Color & ) >(&AIS_Point::SetColor),
R"#(Allows you to provide settings for the Color.)#" , py::arg("theColor")
)
.def("UnsetColor",
(void (AIS_Point::*)() ) static_cast<void (AIS_Point::*)() >(&AIS_Point::UnsetColor),
R"#(Allows you to remove color settings.)#"
)
.def("SetMarker",
(void (AIS_Point::*)( const Aspect_TypeOfMarker ) ) static_cast<void (AIS_Point::*)( const Aspect_TypeOfMarker ) >(&AIS_Point::SetMarker),
R"#(Allows you to provide settings for a marker. These include - type of marker, - marker color, - scale factor.)#" , py::arg("aType")
)
.def("UnsetMarker",
(void (AIS_Point::*)() ) static_cast<void (AIS_Point::*)() >(&AIS_Point::UnsetMarker),
R"#(Removes the marker settings.)#"
)
.def("HasMarker",
(Standard_Boolean (AIS_Point::*)() const) static_cast<Standard_Boolean (AIS_Point::*)() const>(&AIS_Point::HasMarker),
R"#(Returns true if the point datum has a marker.)#"
)
.def("Vertex",
(TopoDS_Vertex (AIS_Point::*)() const) static_cast<TopoDS_Vertex (AIS_Point::*)() const>(&AIS_Point::Vertex),
R"#(Converts a point into a vertex.)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_Point::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_Point::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> & (AIS_Point::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_Point::*)() const>(&AIS_Point::DynamicType),
R"#(None)#"
)
;
// Class AIS_PointCloud from ./opencascade/AIS_PointCloud.hxx
klass = m.attr("AIS_PointCloud");
// nested enums
py::enum_<AIS_PointCloud::DisplayMode>(klass, "DisplayMode_e", R"#(Display modes supported by this Point Cloud object)#")
.value("DM_Points", AIS_PointCloud::DisplayMode::DM_Points)
.value("DM_BndBox", AIS_PointCloud::DisplayMode::DM_BndBox).export_values();
py::enum_<AIS_PointCloud::SelectionMode>(klass, "SelectionMode_e", R"#(Selection modes supported by this Point Cloud object)#")
.value("SM_Points", AIS_PointCloud::SelectionMode::SM_Points)
.value("SM_SubsetOfPoints", AIS_PointCloud::SelectionMode::SM_SubsetOfPoints)
.value("SM_BndBox", AIS_PointCloud::SelectionMode::SM_BndBox).export_values();
static_cast<py::class_<AIS_PointCloud ,opencascade::handle<AIS_PointCloud> , AIS_InteractiveObject >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("SetPoints",
(void (AIS_PointCloud::*)( const opencascade::handle<Graphic3d_ArrayOfPoints> & ) ) static_cast<void (AIS_PointCloud::*)( const opencascade::handle<Graphic3d_ArrayOfPoints> & ) >(&AIS_PointCloud::SetPoints),
R"#(Sets the points from array of points. Method will not copy the input data - array will be stored as handle.)#" , py::arg("thePoints")
)
.def("SetPoints",
(void (AIS_PointCloud::*)( const opencascade::handle<TColgp_HArray1OfPnt> & , const opencascade::handle<Quantity_HArray1OfColor> & , const opencascade::handle<TColgp_HArray1OfDir> & ) ) static_cast<void (AIS_PointCloud::*)( const opencascade::handle<TColgp_HArray1OfPnt> & , const opencascade::handle<Quantity_HArray1OfColor> & , const opencascade::handle<TColgp_HArray1OfDir> & ) >(&AIS_PointCloud::SetPoints),
R"#(Sets the points with optional colors. The input data will be copied into internal buffer. The input arrays should have equal length, otherwise the presentation will not be computed and displayed.)#" , py::arg("theCoords"), py::arg("theColors")=static_cast<const opencascade::handle<Quantity_HArray1OfColor> &>(NULL), py::arg("theNormals")=static_cast<const opencascade::handle<TColgp_HArray1OfDir> &>(NULL)
)
.def("GetPoints",
(const opencascade::handle<Graphic3d_ArrayOfPoints> (AIS_PointCloud::*)() const) static_cast<const opencascade::handle<Graphic3d_ArrayOfPoints> (AIS_PointCloud::*)() const>(&AIS_PointCloud::GetPoints),
R"#(Get the points array. Method might be overridden to fill in points array dynamically from application data structures.)#"
)
.def("GetBoundingBox",
(Bnd_Box (AIS_PointCloud::*)() const) static_cast<Bnd_Box (AIS_PointCloud::*)() const>(&AIS_PointCloud::GetBoundingBox),
R"#(Get bounding box for presentation.)#"
)
.def("SetColor",
(void (AIS_PointCloud::*)( const Quantity_Color & ) ) static_cast<void (AIS_PointCloud::*)( const Quantity_Color & ) >(&AIS_PointCloud::SetColor),
R"#(Setup custom color. Affects presentation only when no per-point color attribute has been assigned.)#" , py::arg("theColor")
)
.def("UnsetColor",
(void (AIS_PointCloud::*)() ) static_cast<void (AIS_PointCloud::*)() >(&AIS_PointCloud::UnsetColor),
R"#(Restore default color.)#"
)
.def("SetMaterial",
(void (AIS_PointCloud::*)( const Graphic3d_MaterialAspect & ) ) static_cast<void (AIS_PointCloud::*)( const Graphic3d_MaterialAspect & ) >(&AIS_PointCloud::SetMaterial),
R"#(Setup custom material. Affects presentation only when normals are defined.)#" , py::arg("theMat")
)
.def("UnsetMaterial",
(void (AIS_PointCloud::*)() ) static_cast<void (AIS_PointCloud::*)() >(&AIS_PointCloud::UnsetMaterial),
R"#(Restore default material.)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_PointCloud::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_PointCloud::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> & (AIS_PointCloud::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_PointCloud::*)() const>(&AIS_PointCloud::DynamicType),
R"#(None)#"
)
;
// Class AIS_RubberBand from ./opencascade/AIS_RubberBand.hxx
klass = m.attr("AIS_RubberBand");
// nested enums
static_cast<py::class_<AIS_RubberBand ,opencascade::handle<AIS_RubberBand> , AIS_InteractiveObject >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Quantity_Color &,const Aspect_TypeOfLine,const Standard_Real,const Standard_Boolean >() , py::arg("theLineColor"), py::arg("theType"), py::arg("theLineWidth")=static_cast<const Standard_Real>(1.0), py::arg("theIsPolygonClosed")=static_cast<const Standard_Boolean>(Standard_True) )
.def(py::init< const Quantity_Color &,const Aspect_TypeOfLine,const Quantity_Color,const Standard_Real,const Standard_Real,const Standard_Boolean >() , py::arg("theLineColor"), py::arg("theType"), py::arg("theFillColor"), py::arg("theTransparency")=static_cast<const Standard_Real>(1.0), py::arg("theLineWidth")=static_cast<const Standard_Real>(1.0), py::arg("theIsPolygonClosed")=static_cast<const Standard_Boolean>(Standard_True) )
// custom constructors
// methods
.def("SetRectangle",
(void (AIS_RubberBand::*)( const Standard_Integer , const Standard_Integer , const Standard_Integer , const Standard_Integer ) ) static_cast<void (AIS_RubberBand::*)( const Standard_Integer , const Standard_Integer , const Standard_Integer , const Standard_Integer ) >(&AIS_RubberBand::SetRectangle),
R"#(Sets rectangle bounds.)#" , py::arg("theMinX"), py::arg("theMinY"), py::arg("theMaxX"), py::arg("theMaxY")
)
.def("AddPoint",
(void (AIS_RubberBand::*)( const NCollection_Vec2<Standard_Integer> & ) ) static_cast<void (AIS_RubberBand::*)( const NCollection_Vec2<Standard_Integer> & ) >(&AIS_RubberBand::AddPoint),
R"#(Adds last point to the list of points. They are used to build polygon for rubber band.)#" , py::arg("thePoint")
)
.def("RemoveLastPoint",
(void (AIS_RubberBand::*)() ) static_cast<void (AIS_RubberBand::*)() >(&AIS_RubberBand::RemoveLastPoint),
R"#(Remove last point from the list of points for the rubber band polygon.)#"
)
.def("ClearPoints",
(void (AIS_RubberBand::*)() ) static_cast<void (AIS_RubberBand::*)() >(&AIS_RubberBand::ClearPoints),
R"#(Remove all points for the rubber band polygon.)#"
)
.def("LineColor",
(Quantity_Color (AIS_RubberBand::*)() const) static_cast<Quantity_Color (AIS_RubberBand::*)() const>(&AIS_RubberBand::LineColor),
R"#(Returns the Color attributes.)#"
)
.def("SetLineColor",
(void (AIS_RubberBand::*)( const Quantity_Color & ) ) static_cast<void (AIS_RubberBand::*)( const Quantity_Color & ) >(&AIS_RubberBand::SetLineColor),
R"#(Sets color of lines for rubber band presentation.)#" , py::arg("theColor")
)
.def("FillColor",
(Quantity_Color (AIS_RubberBand::*)() const) static_cast<Quantity_Color (AIS_RubberBand::*)() const>(&AIS_RubberBand::FillColor),
R"#(Returns the color of rubber band filling.)#"
)
.def("SetFillColor",
(void (AIS_RubberBand::*)( const Quantity_Color & ) ) static_cast<void (AIS_RubberBand::*)( const Quantity_Color & ) >(&AIS_RubberBand::SetFillColor),
R"#(Sets color of rubber band filling.)#" , py::arg("theColor")
)
.def("SetLineWidth",
(void (AIS_RubberBand::*)( const Standard_Real ) const) static_cast<void (AIS_RubberBand::*)( const Standard_Real ) const>(&AIS_RubberBand::SetLineWidth),
R"#(Sets width of line for rubber band presentation.)#" , py::arg("theWidth")
)
.def("LineWidth",
(Standard_Real (AIS_RubberBand::*)() const) static_cast<Standard_Real (AIS_RubberBand::*)() const>(&AIS_RubberBand::LineWidth),
R"#(Returns width of lines.)#"
)
.def("SetLineType",
(void (AIS_RubberBand::*)( const Aspect_TypeOfLine ) ) static_cast<void (AIS_RubberBand::*)( const Aspect_TypeOfLine ) >(&AIS_RubberBand::SetLineType),
R"#(Sets type of line for rubber band presentation.)#" , py::arg("theType")
)
.def("LineType",
(Aspect_TypeOfLine (AIS_RubberBand::*)() const) static_cast<Aspect_TypeOfLine (AIS_RubberBand::*)() const>(&AIS_RubberBand::LineType),
R"#(Returns type of lines.)#"
)
.def("SetFillTransparency",
(void (AIS_RubberBand::*)( const Standard_Real ) const) static_cast<void (AIS_RubberBand::*)( const Standard_Real ) const>(&AIS_RubberBand::SetFillTransparency),
R"#(Sets fill transparency.)#" , py::arg("theValue")
)
.def("FillTransparency",
(Standard_Real (AIS_RubberBand::*)() const) static_cast<Standard_Real (AIS_RubberBand::*)() const>(&AIS_RubberBand::FillTransparency),
R"#(Returns fill transparency.)#"
)
.def("SetFilling",
(void (AIS_RubberBand::*)( const Standard_Boolean ) ) static_cast<void (AIS_RubberBand::*)( const Standard_Boolean ) >(&AIS_RubberBand::SetFilling),
R"#(Enable or disable filling of rubber band.)#" , py::arg("theIsFilling")
)
.def("SetFilling",
(void (AIS_RubberBand::*)( const Quantity_Color , const Standard_Real ) ) static_cast<void (AIS_RubberBand::*)( const Quantity_Color , const Standard_Real ) >(&AIS_RubberBand::SetFilling),
R"#(Enable filling of rubber band with defined parameters.)#" , py::arg("theColor"), py::arg("theTransparency")
)
.def("IsFilling",
(Standard_Boolean (AIS_RubberBand::*)() const) static_cast<Standard_Boolean (AIS_RubberBand::*)() const>(&AIS_RubberBand::IsFilling),
R"#(Returns true if filling of rubber band is enabled.)#"
)
.def("IsPolygonClosed",
(Standard_Boolean (AIS_RubberBand::*)() const) static_cast<Standard_Boolean (AIS_RubberBand::*)() const>(&AIS_RubberBand::IsPolygonClosed),
R"#(Returns true if automatic closing of rubber band is enabled.)#"
)
.def("SetPolygonClosed",
(void (AIS_RubberBand::*)( Standard_Boolean ) ) static_cast<void (AIS_RubberBand::*)( Standard_Boolean ) >(&AIS_RubberBand::SetPolygonClosed),
R"#(Automatically create an additional line connecting the first and the last screen points to close the boundary polyline)#" , py::arg("theIsPolygonClosed")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_RubberBand::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_RubberBand::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> & (AIS_RubberBand::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_RubberBand::*)() const>(&AIS_RubberBand::DynamicType),
R"#(None)#"
)
.def("Points",
(const NCollection_Sequence<Graphic3d_Vec2i> & (AIS_RubberBand::*)() const) static_cast<const NCollection_Sequence<Graphic3d_Vec2i> & (AIS_RubberBand::*)() const>(&AIS_RubberBand::Points),
R"#(Returns points for the rubber band polygon.)#"
)
;
// Class AIS_Shape from ./opencascade/AIS_Shape.hxx
klass = m.attr("AIS_Shape");
// nested enums
static_cast<py::class_<AIS_Shape ,opencascade::handle<AIS_Shape> , AIS_InteractiveObject >>(klass)
// constructors
.def(py::init< const TopoDS_Shape & >() , py::arg("shap") )
// custom constructors
// methods
.def("Signature",
(Standard_Integer (AIS_Shape::*)() const) static_cast<Standard_Integer (AIS_Shape::*)() const>(&AIS_Shape::Signature),
R"#(Returns index 0. This value refers to SHAPE from TopAbs_ShapeEnum)#"
)
.def("Type",
(AIS_KindOfInteractive (AIS_Shape::*)() const) static_cast<AIS_KindOfInteractive (AIS_Shape::*)() const>(&AIS_Shape::Type),
R"#(Returns Object as the type of Interactive Object.)#"
)
.def("AcceptShapeDecomposition",
(Standard_Boolean (AIS_Shape::*)() const) static_cast<Standard_Boolean (AIS_Shape::*)() const>(&AIS_Shape::AcceptShapeDecomposition),
R"#(Returns true if the Interactive Object accepts shape decomposition.)#"
)
.def("AcceptDisplayMode",
(Standard_Boolean (AIS_Shape::*)( const Standard_Integer ) const) static_cast<Standard_Boolean (AIS_Shape::*)( const Standard_Integer ) const>(&AIS_Shape::AcceptDisplayMode),
R"#(Return true if specified display mode is supported.)#" , py::arg("theMode")
)
.def("SetShape",
(void (AIS_Shape::*)( const TopoDS_Shape & ) ) static_cast<void (AIS_Shape::*)( const TopoDS_Shape & ) >(&AIS_Shape::SetShape),
R"#(Constructs an instance of the shape object theShape.)#" , py::arg("theShape")
)
.def("Set",
(void (AIS_Shape::*)( const TopoDS_Shape & ) ) static_cast<void (AIS_Shape::*)( const TopoDS_Shape & ) >(&AIS_Shape::Set),
R"#(Alias for ::SetShape().)#" , py::arg("theShape")
)
.def("SetOwnDeviationCoefficient",
(Standard_Boolean (AIS_Shape::*)() ) static_cast<Standard_Boolean (AIS_Shape::*)() >(&AIS_Shape::SetOwnDeviationCoefficient),
R"#(Sets a local value for deviation coefficient for this specific shape.)#"
)
.def("SetOwnDeviationAngle",
(Standard_Boolean (AIS_Shape::*)() ) static_cast<Standard_Boolean (AIS_Shape::*)() >(&AIS_Shape::SetOwnDeviationAngle),
R"#(Sets a local value for deviation angle for this specific shape.)#"
)
.def("SetOwnDeviationCoefficient",
(void (AIS_Shape::*)( const Standard_Real ) ) static_cast<void (AIS_Shape::*)( const Standard_Real ) >(&AIS_Shape::SetOwnDeviationCoefficient),
R"#(Sets a local value for deviation coefficient for this specific shape.)#" , py::arg("aCoefficient")
)
.def("SetAngleAndDeviation",
(void (AIS_Shape::*)( const Standard_Real ) ) static_cast<void (AIS_Shape::*)( const Standard_Real ) >(&AIS_Shape::SetAngleAndDeviation),
R"#(this compute a new angle and Deviation from the value anAngle and set the values stored in myDrawer with these that become local to the shape)#" , py::arg("anAngle")
)
.def("UserAngle",
(Standard_Real (AIS_Shape::*)() const) static_cast<Standard_Real (AIS_Shape::*)() const>(&AIS_Shape::UserAngle),
R"#(gives back the angle initial value put by the User.)#"
)
.def("SetOwnDeviationAngle",
(void (AIS_Shape::*)( const Standard_Real ) ) static_cast<void (AIS_Shape::*)( const Standard_Real ) >(&AIS_Shape::SetOwnDeviationAngle),
R"#(sets myOwnDeviationAngle field in Prs3d_Drawer & recomputes presentation)#" , py::arg("anAngle")
)
.def("OwnDeviationCoefficient",
(Standard_Boolean (AIS_Shape::*)( Standard_Real & , Standard_Real & ) const) static_cast<Standard_Boolean (AIS_Shape::*)( Standard_Real & , Standard_Real & ) const>(&AIS_Shape::OwnDeviationCoefficient),
R"#(Returns true and the values of the deviation coefficient aCoefficient and the previous deviation coefficient aPreviousCoefficient. If these values are not already set, false is returned.)#" , py::arg("aCoefficient"), py::arg("aPreviousCoefficient")
)
.def("OwnDeviationAngle",
(Standard_Boolean (AIS_Shape::*)( Standard_Real & , Standard_Real & ) const) static_cast<Standard_Boolean (AIS_Shape::*)( Standard_Real & , Standard_Real & ) const>(&AIS_Shape::OwnDeviationAngle),
R"#(Returns true and the values of the deviation angle anAngle and the previous deviation angle aPreviousAngle. If these values are not already set, false is returned.)#" , py::arg("anAngle"), py::arg("aPreviousAngle")
)
.def("SetTypeOfHLR",
(void (AIS_Shape::*)( const Prs3d_TypeOfHLR ) ) static_cast<void (AIS_Shape::*)( const Prs3d_TypeOfHLR ) >(&AIS_Shape::SetTypeOfHLR),
R"#(Sets the type of HLR algorithm used by the shape)#" , py::arg("theTypeOfHLR")
)
.def("TypeOfHLR",
(Prs3d_TypeOfHLR (AIS_Shape::*)() const) static_cast<Prs3d_TypeOfHLR (AIS_Shape::*)() const>(&AIS_Shape::TypeOfHLR),
R"#(Gets the type of HLR algorithm)#"
)
.def("SetColor",
(void (AIS_Shape::*)( const Quantity_Color & ) ) static_cast<void (AIS_Shape::*)( const Quantity_Color & ) >(&AIS_Shape::SetColor),
R"#(Sets the color aColor in the reconstructed compound shape. Acts via the Drawer methods below on the appearance of: - free boundaries: Prs3d_Drawer_FreeBoundaryAspect, - isos: Prs3d_Drawer_UIsoAspect, Prs3dDrawer_VIsoAspect, - shared boundaries: Prs3d_Drawer_UnFreeBoundaryAspect, - shading: Prs3d_Drawer_ShadingAspect, - visible line color in hidden line mode: Prs3d_Drawer_SeenLineAspect - hidden line color in hidden line mode: Prs3d_Drawer_HiddenLineAspect.)#" , py::arg("theColor")
)
.def("UnsetColor",
(void (AIS_Shape::*)() ) static_cast<void (AIS_Shape::*)() >(&AIS_Shape::UnsetColor),
R"#(Removes settings for color in the reconstructed compound shape.)#"
)
.def("SetWidth",
(void (AIS_Shape::*)( const Standard_Real ) ) static_cast<void (AIS_Shape::*)( const Standard_Real ) >(&AIS_Shape::SetWidth),
R"#(Sets the value aValue for line width in the reconstructed compound shape. Changes line aspects for lines presentation.)#" , py::arg("aValue")
)
.def("UnsetWidth",
(void (AIS_Shape::*)() ) static_cast<void (AIS_Shape::*)() >(&AIS_Shape::UnsetWidth),
R"#(Removes the setting for line width in the reconstructed compound shape.)#"
)
.def("SetMaterial",
(void (AIS_Shape::*)( const Graphic3d_MaterialAspect & ) ) static_cast<void (AIS_Shape::*)( const Graphic3d_MaterialAspect & ) >(&AIS_Shape::SetMaterial),
R"#(Allows you to provide settings for the material aName in the reconstructed compound shape.)#" , py::arg("aName")
)
.def("UnsetMaterial",
(void (AIS_Shape::*)() ) static_cast<void (AIS_Shape::*)() >(&AIS_Shape::UnsetMaterial),
R"#(Removes settings for material in the reconstructed compound shape.)#"
)
.def("SetTransparency",
(void (AIS_Shape::*)( const Standard_Real ) ) static_cast<void (AIS_Shape::*)( const Standard_Real ) >(&AIS_Shape::SetTransparency),
R"#(Sets the value aValue for transparency in the reconstructed compound shape.)#" , py::arg("aValue")=static_cast<const Standard_Real>(0.6)
)
.def("UnsetTransparency",
(void (AIS_Shape::*)() ) static_cast<void (AIS_Shape::*)() >(&AIS_Shape::UnsetTransparency),
R"#(Removes the setting for transparency in the reconstructed compound shape.)#"
)
.def("Color",
(void (AIS_Shape::*)( Quantity_Color & ) const) static_cast<void (AIS_Shape::*)( Quantity_Color & ) const>(&AIS_Shape::Color),
R"#(Returns the Color attributes of the shape accordingly to the current facing model;)#" , py::arg("aColor")
)
.def("Material",
(Graphic3d_NameOfMaterial (AIS_Shape::*)() const) static_cast<Graphic3d_NameOfMaterial (AIS_Shape::*)() const>(&AIS_Shape::Material),
R"#(Returns the NameOfMaterial attributes of the shape accordingly to the current facing model;)#"
)
.def("Transparency",
(Standard_Real (AIS_Shape::*)() const) static_cast<Standard_Real (AIS_Shape::*)() const>(&AIS_Shape::Transparency),
R"#(Returns the transparency attributes of the shape accordingly to the current facing model;)#"
)
.def("SetTextureRepeatUV",
(void (AIS_Shape::*)( const gp_Pnt2d & ) ) static_cast<void (AIS_Shape::*)( const gp_Pnt2d & ) >(&AIS_Shape::SetTextureRepeatUV),
R"#(Sets the number of occurrences of the texture on each face. The texture itself is parameterized in (0,1) by (0,1). Each face of the shape to be textured is parameterized in UV space (Umin,Umax) by (Vmin,Vmax).)#" , py::arg("theRepeatUV")
)
.def("SetTextureOriginUV",
(void (AIS_Shape::*)( const gp_Pnt2d & ) ) static_cast<void (AIS_Shape::*)( const gp_Pnt2d & ) >(&AIS_Shape::SetTextureOriginUV),
R"#(Use this method to change the origin of the texture. The texel (0,0) will be mapped to the surface (myUVOrigin.X(), myUVOrigin.Y()).)#" , py::arg("theOriginUV")
)
.def("SetTextureScaleUV",
(void (AIS_Shape::*)( const gp_Pnt2d & ) ) static_cast<void (AIS_Shape::*)( const gp_Pnt2d & ) >(&AIS_Shape::SetTextureScaleUV),
R"#(Use this method to scale the texture (percent of the face). You can specify a scale factor for both U and V. Example: if you set ScaleU and ScaleV to 0.5 and you enable texture repeat, the texture will appear twice on the face in each direction.)#" , py::arg("theScaleUV")
)
.def("DumpJson",
(void (AIS_Shape::*)( std::ostream & , Standard_Integer ) const) static_cast<void (AIS_Shape::*)( std::ostream & , Standard_Integer ) const>(&AIS_Shape::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 * (*)() >(&AIS_Shape::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_Shape::get_type_descriptor),
R"#(None)#"
)
.def_static("SelectionType_s",
(TopAbs_ShapeEnum (*)( const Standard_Integer ) ) static_cast<TopAbs_ShapeEnum (*)( const Standard_Integer ) >(&AIS_Shape::SelectionType),
R"#(Return shape type for specified selection mode.)#" , py::arg("theSelMode")
)
.def_static("SelectionMode_s",
(Standard_Integer (*)( const TopAbs_ShapeEnum ) ) static_cast<Standard_Integer (*)( const TopAbs_ShapeEnum ) >(&AIS_Shape::SelectionMode),
R"#(Return selection mode for specified shape type.)#" , py::arg("theShapeType")
)
.def_static("computeHlrPresentation_s",
(void (*)( const opencascade::handle<Graphic3d_Camera> & , const opencascade::handle<Prs3d_Presentation> & , const TopoDS_Shape & , const opencascade::handle<Prs3d_Drawer> & ) ) static_cast<void (*)( const opencascade::handle<Graphic3d_Camera> & , const opencascade::handle<Prs3d_Presentation> & , const TopoDS_Shape & , const opencascade::handle<Prs3d_Drawer> & ) >(&AIS_Shape::computeHlrPresentation),
R"#(Compute HLR presentation for specified shape.)#" , py::arg("theProjector"), py::arg("thePrs"), py::arg("theShape"), py::arg("theDrawer")
)
// 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> & (AIS_Shape::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_Shape::*)() const>(&AIS_Shape::DynamicType),
R"#(None)#"
)
.def("Shape",
(const TopoDS_Shape & (AIS_Shape::*)() const) static_cast<const TopoDS_Shape & (AIS_Shape::*)() const>(&AIS_Shape::Shape),
R"#(Returns this shape object.)#"
)
.def("BoundingBox",
(const Bnd_Box & (AIS_Shape::*)() ) static_cast<const Bnd_Box & (AIS_Shape::*)() >(&AIS_Shape::BoundingBox),
R"#(Constructs a bounding box with which to reconstruct compound topological shapes for presentation.)#"
)
.def("TextureRepeatUV",
(const gp_Pnt2d & (AIS_Shape::*)() const) static_cast<const gp_Pnt2d & (AIS_Shape::*)() const>(&AIS_Shape::TextureRepeatUV),
R"#(Return texture repeat UV values; (1, 1) by default.)#"
)
.def("TextureOriginUV",
(const gp_Pnt2d & (AIS_Shape::*)() const) static_cast<const gp_Pnt2d & (AIS_Shape::*)() const>(&AIS_Shape::TextureOriginUV),
R"#(Return texture origin UV position; (0, 0) by default.)#"
)
.def("TextureScaleUV",
(const gp_Pnt2d & (AIS_Shape::*)() const) static_cast<const gp_Pnt2d & (AIS_Shape::*)() const>(&AIS_Shape::TextureScaleUV),
R"#(Return scale factor for UV coordinates; (1, 1) by default.)#"
)
;
// Class AIS_SignatureFilter from ./opencascade/AIS_SignatureFilter.hxx
klass = m.attr("AIS_SignatureFilter");
// nested enums
static_cast<py::class_<AIS_SignatureFilter ,opencascade::handle<AIS_SignatureFilter> , AIS_TypeFilter >>(klass)
// constructors
.def(py::init< const AIS_KindOfInteractive,const Standard_Integer >() , py::arg("aGivenKind"), py::arg("aGivenSignature") )
// custom constructors
// methods
.def("IsOk",
(Standard_Boolean (AIS_SignatureFilter::*)( const opencascade::handle<SelectMgr_EntityOwner> & ) const) static_cast<Standard_Boolean (AIS_SignatureFilter::*)( const opencascade::handle<SelectMgr_EntityOwner> & ) const>(&AIS_SignatureFilter::IsOk),
R"#(Returns False if the transient is not an AIS_InteractiveObject. Returns False if the signature of InteractiveObject is not the same as the stored one in the filter...)#" , py::arg("anobj")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_SignatureFilter::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_SignatureFilter::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> & (AIS_SignatureFilter::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_SignatureFilter::*)() const>(&AIS_SignatureFilter::DynamicType),
R"#(None)#"
)
;
// Class AIS_TextLabel from ./opencascade/AIS_TextLabel.hxx
klass = m.attr("AIS_TextLabel");
// nested enums
static_cast<py::class_<AIS_TextLabel ,opencascade::handle<AIS_TextLabel> , AIS_InteractiveObject >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("AcceptDisplayMode",
(Standard_Boolean (AIS_TextLabel::*)( const Standard_Integer ) const) static_cast<Standard_Boolean (AIS_TextLabel::*)( const Standard_Integer ) const>(&AIS_TextLabel::AcceptDisplayMode),
R"#(Return TRUE for supported display mode.)#" , py::arg("theMode")
)
.def("SetColor",
(void (AIS_TextLabel::*)( const Quantity_Color & ) ) static_cast<void (AIS_TextLabel::*)( const Quantity_Color & ) >(&AIS_TextLabel::SetColor),
R"#(Setup color of entire text.)#" , py::arg("theColor")
)
.def("SetTransparency",
(void (AIS_TextLabel::*)( const Standard_Real ) ) static_cast<void (AIS_TextLabel::*)( const Standard_Real ) >(&AIS_TextLabel::SetTransparency),
R"#(Setup transparency within [0, 1] range.)#" , py::arg("theValue")
)
.def("UnsetTransparency",
(void (AIS_TextLabel::*)() ) static_cast<void (AIS_TextLabel::*)() >(&AIS_TextLabel::UnsetTransparency),
R"#(Removes the transparency setting.)#"
)
.def("SetMaterial",
(void (AIS_TextLabel::*)( const Graphic3d_MaterialAspect & ) ) static_cast<void (AIS_TextLabel::*)( const Graphic3d_MaterialAspect & ) >(&AIS_TextLabel::SetMaterial),
R"#(Material has no effect for text label.)#" , py::arg("arg")
)
.def("SetText",
(void (AIS_TextLabel::*)( const TCollection_ExtendedString & ) ) static_cast<void (AIS_TextLabel::*)( const TCollection_ExtendedString & ) >(&AIS_TextLabel::SetText),
R"#(Setup text.)#" , py::arg("theText")
)
.def("SetPosition",
(void (AIS_TextLabel::*)( const gp_Pnt & ) ) static_cast<void (AIS_TextLabel::*)( const gp_Pnt & ) >(&AIS_TextLabel::SetPosition),
R"#(Setup position.)#" , py::arg("thePosition")
)
.def("SetHJustification",
(void (AIS_TextLabel::*)( const Graphic3d_HorizontalTextAlignment ) ) static_cast<void (AIS_TextLabel::*)( const Graphic3d_HorizontalTextAlignment ) >(&AIS_TextLabel::SetHJustification),
R"#(Setup horizontal justification.)#" , py::arg("theHJust")
)
.def("SetVJustification",
(void (AIS_TextLabel::*)( const Graphic3d_VerticalTextAlignment ) ) static_cast<void (AIS_TextLabel::*)( const Graphic3d_VerticalTextAlignment ) >(&AIS_TextLabel::SetVJustification),
R"#(Setup vertical justification.)#" , py::arg("theVJust")
)
.def("SetAngle",
(void (AIS_TextLabel::*)( const Standard_Real ) ) static_cast<void (AIS_TextLabel::*)( const Standard_Real ) >(&AIS_TextLabel::SetAngle),
R"#(Setup angle.)#" , py::arg("theAngle")
)
.def("SetZoomable",
(void (AIS_TextLabel::*)( const Standard_Boolean ) ) static_cast<void (AIS_TextLabel::*)( const Standard_Boolean ) >(&AIS_TextLabel::SetZoomable),
R"#(Setup zoomable property.)#" , py::arg("theIsZoomable")
)
.def("SetHeight",
(void (AIS_TextLabel::*)( const Standard_Real ) ) static_cast<void (AIS_TextLabel::*)( const Standard_Real ) >(&AIS_TextLabel::SetHeight),
R"#(Setup height.)#" , py::arg("theHeight")
)
.def("SetFontAspect",
(void (AIS_TextLabel::*)( const Font_FontAspect ) ) static_cast<void (AIS_TextLabel::*)( const Font_FontAspect ) >(&AIS_TextLabel::SetFontAspect),
R"#(Setup font aspect.)#" , py::arg("theFontAspect")
)
.def("SetFont",
(void (AIS_TextLabel::*)( Standard_CString ) ) static_cast<void (AIS_TextLabel::*)( Standard_CString ) >(&AIS_TextLabel::SetFont),
R"#(Setup font.)#" , py::arg("theFont")
)
.def("SetOrientation3D",
(void (AIS_TextLabel::*)( const gp_Ax2 & ) ) static_cast<void (AIS_TextLabel::*)( const gp_Ax2 & ) >(&AIS_TextLabel::SetOrientation3D),
R"#(Setup label orientation in the model 3D space.)#" , py::arg("theOrientation")
)
.def("UnsetOrientation3D",
(void (AIS_TextLabel::*)() ) static_cast<void (AIS_TextLabel::*)() >(&AIS_TextLabel::UnsetOrientation3D),
R"#(Reset label orientation in the model 3D space.)#"
)
.def("FontAspect",
(Font_FontAspect (AIS_TextLabel::*)() const) static_cast<Font_FontAspect (AIS_TextLabel::*)() const>(&AIS_TextLabel::FontAspect),
R"#(Returns the font aspect of the label text.)#"
)
.def("HasOrientation3D",
(Standard_Boolean (AIS_TextLabel::*)() const) static_cast<Standard_Boolean (AIS_TextLabel::*)() const>(&AIS_TextLabel::HasOrientation3D),
R"#(Returns true if the current text placement mode uses text orientation in the model 3D space.)#"
)
.def("SetFlipping",
(void (AIS_TextLabel::*)( const Standard_Boolean ) ) static_cast<void (AIS_TextLabel::*)( const Standard_Boolean ) >(&AIS_TextLabel::SetFlipping),
R"#(None)#" , py::arg("theIsFlipping")
)
.def("HasFlipping",
(Standard_Boolean (AIS_TextLabel::*)() const) static_cast<Standard_Boolean (AIS_TextLabel::*)() const>(&AIS_TextLabel::HasFlipping),
R"#(None)#"
)
.def("HasOwnAnchorPoint",
(Standard_Boolean (AIS_TextLabel::*)() const) static_cast<Standard_Boolean (AIS_TextLabel::*)() const>(&AIS_TextLabel::HasOwnAnchorPoint),
R"#(Returns flag if text uses position as point of attach)#"
)
.def("SetOwnAnchorPoint",
(void (AIS_TextLabel::*)( const Standard_Boolean ) ) static_cast<void (AIS_TextLabel::*)( const Standard_Boolean ) >(&AIS_TextLabel::SetOwnAnchorPoint),
R"#(Set flag if text uses position as point of attach)#" , py::arg("theOwnAnchorPoint")
)
.def("SetDisplayType",
(void (AIS_TextLabel::*)( const Aspect_TypeOfDisplayText ) ) static_cast<void (AIS_TextLabel::*)( const Aspect_TypeOfDisplayText ) >(&AIS_TextLabel::SetDisplayType),
R"#(Define the display type of the text.)#" , py::arg("theDisplayType")
)
.def("SetColorSubTitle",
(void (AIS_TextLabel::*)( const Quantity_Color & ) ) static_cast<void (AIS_TextLabel::*)( const Quantity_Color & ) >(&AIS_TextLabel::SetColorSubTitle),
R"#(Modifies the colour of the subtitle for the TODT_SUBTITLE TextDisplayType and the colour of backgroubd for the TODT_DEKALE TextDisplayType.)#" , py::arg("theColor")
)
.def("SetTextFormatter",
(void (AIS_TextLabel::*)( const opencascade::handle<Font_TextFormatter> & ) ) static_cast<void (AIS_TextLabel::*)( const opencascade::handle<Font_TextFormatter> & ) >(&AIS_TextLabel::SetTextFormatter),
R"#(Setup text formatter for presentation. It's empty by default.)#" , py::arg("theFormatter")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_TextLabel::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_TextLabel::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("Position",
(const gp_Pnt & (AIS_TextLabel::*)() const) static_cast<const gp_Pnt & (AIS_TextLabel::*)() const>(&AIS_TextLabel::Position),
R"#(Returns position.)#"
)
.def("Text",
(const TCollection_ExtendedString & (AIS_TextLabel::*)() const) static_cast<const TCollection_ExtendedString & (AIS_TextLabel::*)() const>(&AIS_TextLabel::Text),
R"#(Returns the label text.)#"
)
.def("FontName",
(const TCollection_AsciiString & (AIS_TextLabel::*)() const) static_cast<const TCollection_AsciiString & (AIS_TextLabel::*)() const>(&AIS_TextLabel::FontName),
R"#(Returns the font of the label text.)#"
)
.def("Orientation3D",
(const gp_Ax2 & (AIS_TextLabel::*)() const) static_cast<const gp_Ax2 & (AIS_TextLabel::*)() const>(&AIS_TextLabel::Orientation3D),
R"#(Returns label orientation in the model 3D space.)#"
)
.def("TextFormatter",
(const opencascade::handle<Font_TextFormatter> & (AIS_TextLabel::*)() const) static_cast<const opencascade::handle<Font_TextFormatter> & (AIS_TextLabel::*)() const>(&AIS_TextLabel::TextFormatter),
R"#(Returns text presentation formatter; NULL by default, which means standard text formatter will be used.)#"
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (AIS_TextLabel::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_TextLabel::*)() const>(&AIS_TextLabel::DynamicType),
R"#(None)#"
)
;
// Class AIS_Triangulation from ./opencascade/AIS_Triangulation.hxx
klass = m.attr("AIS_Triangulation");
// nested enums
static_cast<py::class_<AIS_Triangulation ,opencascade::handle<AIS_Triangulation> , AIS_InteractiveObject >>(klass)
// constructors
.def(py::init< const opencascade::handle<Poly_Triangulation> & >() , py::arg("aTriangulation") )
// custom constructors
// methods
.def("SetColors",
(void (AIS_Triangulation::*)( const opencascade::handle<TColStd_HArray1OfInteger> & ) ) static_cast<void (AIS_Triangulation::*)( const opencascade::handle<TColStd_HArray1OfInteger> & ) >(&AIS_Triangulation::SetColors),
R"#(Set the color for each node. Each 32-bit color is Alpha << 24 + Blue << 16 + Green << 8 + Red Order of color components is essential for further usage by OpenGL)#" , py::arg("aColor")
)
.def("GetColors",
(opencascade::handle<TColStd_HArray1OfInteger> (AIS_Triangulation::*)() const) static_cast<opencascade::handle<TColStd_HArray1OfInteger> (AIS_Triangulation::*)() const>(&AIS_Triangulation::GetColors),
R"#(Get the color for each node. Each 32-bit color is Alpha << 24 + Blue << 16 + Green << 8 + Red)#"
)
.def("HasVertexColors",
(Standard_Boolean (AIS_Triangulation::*)() const) static_cast<Standard_Boolean (AIS_Triangulation::*)() const>(&AIS_Triangulation::HasVertexColors),
R"#(Returns true if triangulation has vertex colors.)#"
)
.def("SetTriangulation",
(void (AIS_Triangulation::*)( const opencascade::handle<Poly_Triangulation> & ) ) static_cast<void (AIS_Triangulation::*)( const opencascade::handle<Poly_Triangulation> & ) >(&AIS_Triangulation::SetTriangulation),
R"#(None)#" , py::arg("aTriangulation")
)
.def("GetTriangulation",
(opencascade::handle<Poly_Triangulation> (AIS_Triangulation::*)() const) static_cast<opencascade::handle<Poly_Triangulation> (AIS_Triangulation::*)() const>(&AIS_Triangulation::GetTriangulation),
R"#(Returns Poly_Triangulation .)#"
)
.def("SetTransparency",
(void (AIS_Triangulation::*)( const Standard_Real ) ) static_cast<void (AIS_Triangulation::*)( const Standard_Real ) >(&AIS_Triangulation::SetTransparency),
R"#(Sets the value aValue for transparency in the reconstructed compound shape.)#" , py::arg("aValue")=static_cast<const Standard_Real>(0.6)
)
.def("UnsetTransparency",
(void (AIS_Triangulation::*)() ) static_cast<void (AIS_Triangulation::*)() >(&AIS_Triangulation::UnsetTransparency),
R"#(Removes the setting for transparency in the reconstructed compound shape.)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_Triangulation::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_Triangulation::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> & (AIS_Triangulation::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_Triangulation::*)() const>(&AIS_Triangulation::DynamicType),
R"#(None)#"
)
;
// Class AIS_Trihedron from ./opencascade/AIS_Trihedron.hxx
klass = m.attr("AIS_Trihedron");
// nested enums
static_cast<py::class_<AIS_Trihedron ,opencascade::handle<AIS_Trihedron> , AIS_InteractiveObject >>(klass)
// constructors
.def(py::init< const opencascade::handle<Geom_Axis2Placement> & >() , py::arg("theComponent") )
// custom constructors
// methods
.def("DatumDisplayMode",
(Prs3d_DatumMode (AIS_Trihedron::*)() const) static_cast<Prs3d_DatumMode (AIS_Trihedron::*)() const>(&AIS_Trihedron::DatumDisplayMode),
R"#(Returns datum display mode.)#"
)
.def("SetDatumDisplayMode",
(void (AIS_Trihedron::*)( Prs3d_DatumMode ) ) static_cast<void (AIS_Trihedron::*)( Prs3d_DatumMode ) >(&AIS_Trihedron::SetDatumDisplayMode),
R"#(Sets Shading or Wireframe display mode, triangle or segment graphic group is used relatively.)#" , py::arg("theMode")
)
.def("SetComponent",
(void (AIS_Trihedron::*)( const opencascade::handle<Geom_Axis2Placement> & ) ) static_cast<void (AIS_Trihedron::*)( const opencascade::handle<Geom_Axis2Placement> & ) >(&AIS_Trihedron::SetComponent),
R"#(Constructs the right-handed coordinate system aComponent.)#" , py::arg("theComponent")
)
.def("HasOwnSize",
(Standard_Boolean (AIS_Trihedron::*)() const) static_cast<Standard_Boolean (AIS_Trihedron::*)() const>(&AIS_Trihedron::HasOwnSize),
R"#(Returns true if the trihedron object has a size other than the default size of 100 mm. along each axis.)#"
)
.def("Size",
(Standard_Real (AIS_Trihedron::*)() const) static_cast<Standard_Real (AIS_Trihedron::*)() const>(&AIS_Trihedron::Size),
R"#(Returns the size of trihedron object; 100.0 by DEFAULT.)#"
)
.def("SetSize",
(void (AIS_Trihedron::*)( const Standard_Real ) ) static_cast<void (AIS_Trihedron::*)( const Standard_Real ) >(&AIS_Trihedron::SetSize),
R"#(Sets the size of trihedron object.)#" , py::arg("theValue")
)
.def("UnsetSize",
(void (AIS_Trihedron::*)() ) static_cast<void (AIS_Trihedron::*)() >(&AIS_Trihedron::UnsetSize),
R"#(Removes any non-default settings for size of this trihedron object. If the object has 1 color, the default size of the drawer is reproduced, otherwise DatumAspect becomes null.)#"
)
.def("HasTextColor",
(Standard_Boolean (AIS_Trihedron::*)() const) static_cast<Standard_Boolean (AIS_Trihedron::*)() const>(&AIS_Trihedron::HasTextColor),
R"#(Returns true if trihedron has own text color)#"
)
.def("TextColor",
(Quantity_Color (AIS_Trihedron::*)() const) static_cast<Quantity_Color (AIS_Trihedron::*)() const>(&AIS_Trihedron::TextColor),
R"#(Returns trihedron text color)#"
)
.def("SetTextColor",
(void (AIS_Trihedron::*)( const Quantity_Color & ) ) static_cast<void (AIS_Trihedron::*)( const Quantity_Color & ) >(&AIS_Trihedron::SetTextColor),
R"#(Sets color of label of trihedron axes.)#" , py::arg("theColor")
)
.def("SetTextColor",
(void (AIS_Trihedron::*)( const Prs3d_DatumParts , const Quantity_Color & ) ) static_cast<void (AIS_Trihedron::*)( const Prs3d_DatumParts , const Quantity_Color & ) >(&AIS_Trihedron::SetTextColor),
R"#(Sets color of label of trihedron axis.)#" , py::arg("thePart"), py::arg("theColor")
)
.def("HasArrowColor",
(Standard_Boolean (AIS_Trihedron::*)() const) static_cast<Standard_Boolean (AIS_Trihedron::*)() const>(&AIS_Trihedron::HasArrowColor),
R"#(Returns true if trihedron has own arrow color)#"
)
.def("ArrowColor",
(Quantity_Color (AIS_Trihedron::*)() const) static_cast<Quantity_Color (AIS_Trihedron::*)() const>(&AIS_Trihedron::ArrowColor),
R"#(Returns trihedron arrow color)#"
)
.def("SetArrowColor",
(void (AIS_Trihedron::*)( const Quantity_Color & ) ) static_cast<void (AIS_Trihedron::*)( const Quantity_Color & ) >(&AIS_Trihedron::SetArrowColor),
R"#(Sets color of arrow of trihedron axes.)#" , py::arg("theColor")
)
.def("SetArrowColor",
(void (AIS_Trihedron::*)( const Prs3d_DatumParts , const Quantity_Color & ) ) static_cast<void (AIS_Trihedron::*)( const Prs3d_DatumParts , const Quantity_Color & ) >(&AIS_Trihedron::SetArrowColor),
R"#(Sets color of arrow of trihedron axes.)#" , py::arg("thePart"), py::arg("theColor")
)
.def("DatumPartColor",
(Quantity_Color (AIS_Trihedron::*)( Prs3d_DatumParts ) ) static_cast<Quantity_Color (AIS_Trihedron::*)( Prs3d_DatumParts ) >(&AIS_Trihedron::DatumPartColor),
R"#(Returns color of datum part: origin or some of trihedron axes.)#" , py::arg("thePart")
)
.def("SetDatumPartColor",
(void (AIS_Trihedron::*)( const Prs3d_DatumParts , const Quantity_Color & ) ) static_cast<void (AIS_Trihedron::*)( const Prs3d_DatumParts , const Quantity_Color & ) >(&AIS_Trihedron::SetDatumPartColor),
R"#(Sets color of datum part: origin or some of trihedron axes. If presentation is shading mode, this color is set for both sides of facing model)#" , py::arg("thePart"), py::arg("theColor")
)
.def("SetOriginColor",
(void (AIS_Trihedron::*)( const Quantity_Color & ) ) static_cast<void (AIS_Trihedron::*)( const Quantity_Color & ) >(&AIS_Trihedron::SetOriginColor),
R"#(Sets color of origin. Standard_DEPRECATED("This method is deprecated - SetColor() should be called instead"))#" , py::arg("theColor")
)
.def("SetXAxisColor",
(void (AIS_Trihedron::*)( const Quantity_Color & ) ) static_cast<void (AIS_Trihedron::*)( const Quantity_Color & ) >(&AIS_Trihedron::SetXAxisColor),
R"#(Sets color of x-axis. Standard_DEPRECATED("This method is deprecated - SetColor() should be called instead"))#" , py::arg("theColor")
)
.def("SetYAxisColor",
(void (AIS_Trihedron::*)( const Quantity_Color & ) ) static_cast<void (AIS_Trihedron::*)( const Quantity_Color & ) >(&AIS_Trihedron::SetYAxisColor),
R"#(Sets color of y-axis. Standard_DEPRECATED("This method is deprecated - SetColor() should be called instead"))#" , py::arg("theColor")
)
.def("SetAxisColor",
(void (AIS_Trihedron::*)( const Quantity_Color & ) ) static_cast<void (AIS_Trihedron::*)( const Quantity_Color & ) >(&AIS_Trihedron::SetAxisColor),
R"#(Sets color of z-axis. Standard_DEPRECATED("This method is deprecated - SetColor() should be called instead"))#" , py::arg("theColor")
)
.def("ToDrawArrows",
(Standard_Boolean (AIS_Trihedron::*)() const) static_cast<Standard_Boolean (AIS_Trihedron::*)() const>(&AIS_Trihedron::ToDrawArrows),
R"#(Returns true if arrows are to be drawn)#"
)
.def("SetDrawArrows",
(void (AIS_Trihedron::*)( const Standard_Boolean ) ) static_cast<void (AIS_Trihedron::*)( const Standard_Boolean ) >(&AIS_Trihedron::SetDrawArrows),
R"#(Sets whether to draw the arrows in visualization)#" , py::arg("theToDraw")
)
.def("SelectionPriority",
(Standard_Integer (AIS_Trihedron::*)( Prs3d_DatumParts ) ) static_cast<Standard_Integer (AIS_Trihedron::*)( Prs3d_DatumParts ) >(&AIS_Trihedron::SelectionPriority),
R"#(Returns priority of selection for owner of the given type)#" , py::arg("thePart")
)
.def("SetSelectionPriority",
(void (AIS_Trihedron::*)( Prs3d_DatumParts , Standard_Integer ) ) static_cast<void (AIS_Trihedron::*)( Prs3d_DatumParts , Standard_Integer ) >(&AIS_Trihedron::SetSelectionPriority),
R"#(Sets priority of selection for owner of the given type)#" , py::arg("thePart"), py::arg("thePriority")
)
.def("Label",
(const TCollection_ExtendedString & (AIS_Trihedron::*)( Prs3d_DatumParts ) ) static_cast<const TCollection_ExtendedString & (AIS_Trihedron::*)( Prs3d_DatumParts ) >(&AIS_Trihedron::Label),
R"#(Returns text of axis. Parameter thePart should be XAxis, YAxis or ZAxis)#" , py::arg("thePart")
)
.def("SetLabel",
(void (AIS_Trihedron::*)( const Prs3d_DatumParts , const TCollection_ExtendedString & ) ) static_cast<void (AIS_Trihedron::*)( const Prs3d_DatumParts , const TCollection_ExtendedString & ) >(&AIS_Trihedron::SetLabel),
R"#(Sets text label for trihedron axis. Parameter thePart should be XAxis, YAxis or ZAxis)#" , py::arg("thePart"), py::arg("theName")
)
.def("SetColor",
(void (AIS_Trihedron::*)( const Quantity_Color & ) ) static_cast<void (AIS_Trihedron::*)( const Quantity_Color & ) >(&AIS_Trihedron::SetColor),
R"#(Sets the color theColor for this trihedron object, it changes color of axes.)#" , py::arg("theColor")
)
.def("AcceptDisplayMode",
(Standard_Boolean (AIS_Trihedron::*)( const Standard_Integer ) const) static_cast<Standard_Boolean (AIS_Trihedron::*)( const Standard_Integer ) const>(&AIS_Trihedron::AcceptDisplayMode),
R"#(Returns true if the display mode selected, aMode, is valid for trihedron datums.)#" , py::arg("theMode")
)
.def("Signature",
(Standard_Integer (AIS_Trihedron::*)() const) static_cast<Standard_Integer (AIS_Trihedron::*)() const>(&AIS_Trihedron::Signature),
R"#(Returns index 3, selection of the planes XOY, YOZ, XOZ.)#"
)
.def("Type",
(AIS_KindOfInteractive (AIS_Trihedron::*)() const) static_cast<AIS_KindOfInteractive (AIS_Trihedron::*)() const>(&AIS_Trihedron::Type),
R"#(Indicates that the type of Interactive Object is datum.)#"
)
.def("UnsetColor",
(void (AIS_Trihedron::*)() ) static_cast<void (AIS_Trihedron::*)() >(&AIS_Trihedron::UnsetColor),
R"#(Removes the settings for color.)#"
)
.def("ClearSelected",
(void (AIS_Trihedron::*)() ) static_cast<void (AIS_Trihedron::*)() >(&AIS_Trihedron::ClearSelected),
R"#(Method which clear all selected owners belonging to this selectable object ( for fast presentation draw ).)#"
)
.def("HilightSelected",
(void (AIS_Trihedron::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const NCollection_Sequence<opencascade::handle<SelectMgr_EntityOwner>> & ) ) static_cast<void (AIS_Trihedron::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const NCollection_Sequence<opencascade::handle<SelectMgr_EntityOwner>> & ) >(&AIS_Trihedron::HilightSelected),
R"#(Method which draws selected owners ( for fast presentation draw ).)#" , py::arg("thePM"), py::arg("theOwners")
)
.def("HilightOwnerWithColor",
(void (AIS_Trihedron::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const opencascade::handle<Prs3d_Drawer> & , const opencascade::handle<SelectMgr_EntityOwner> & ) ) static_cast<void (AIS_Trihedron::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const opencascade::handle<Prs3d_Drawer> & , const opencascade::handle<SelectMgr_EntityOwner> & ) >(&AIS_Trihedron::HilightOwnerWithColor),
R"#(Method which hilight an owner belonging to this selectable object ( for fast presentation draw ).)#" , py::arg("thePM"), py::arg("theStyle"), py::arg("theOwner")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_Trihedron::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_Trihedron::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> & (AIS_Trihedron::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_Trihedron::*)() const>(&AIS_Trihedron::DynamicType),
R"#(None)#"
)
.def("Component",
(const opencascade::handle<Geom_Axis2Placement> & (AIS_Trihedron::*)() const) static_cast<const opencascade::handle<Geom_Axis2Placement> & (AIS_Trihedron::*)() const>(&AIS_Trihedron::Component),
R"#(Returns the right-handed coordinate system set in SetComponent.)#"
)
;
// Class AIS_ViewCube from ./opencascade/AIS_ViewCube.hxx
klass = m.attr("AIS_ViewCube");
// nested enums
static_cast<py::class_<AIS_ViewCube ,opencascade::handle<AIS_ViewCube> , AIS_InteractiveObject >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("SetViewAnimation",
(void (AIS_ViewCube::*)( const opencascade::handle<AIS_AnimationCamera> & ) ) static_cast<void (AIS_ViewCube::*)( const opencascade::handle<AIS_AnimationCamera> & ) >(&AIS_ViewCube::SetViewAnimation),
R"#(Set view animation.)#" , py::arg("theAnimation")
)
.def("ToAutoStartAnimation",
(Standard_Boolean (AIS_ViewCube::*)() const) static_cast<Standard_Boolean (AIS_ViewCube::*)() const>(&AIS_ViewCube::ToAutoStartAnimation),
R"#(Return TRUE if automatic camera transformation on selection (highlighting) is enabled; TRUE by default.)#"
)
.def("SetAutoStartAnimation",
(void (AIS_ViewCube::*)( bool ) ) static_cast<void (AIS_ViewCube::*)( bool ) >(&AIS_ViewCube::SetAutoStartAnimation),
R"#(Enable/disable automatic camera transformation on selection (highlighting). The automatic logic can be disabled if application wants performing action manually basing on picking results (AIS_ViewCubeOwner).)#" , py::arg("theToEnable")
)
.def("IsFixedAnimationLoop",
(Standard_Boolean (AIS_ViewCube::*)() const) static_cast<Standard_Boolean (AIS_ViewCube::*)() const>(&AIS_ViewCube::IsFixedAnimationLoop),
R"#(Return TRUE if camera animation should be done in uninterruptible loop; TRUE by default.)#"
)
.def("SetFixedAnimationLoop",
(void (AIS_ViewCube::*)( bool ) ) static_cast<void (AIS_ViewCube::*)( bool ) >(&AIS_ViewCube::SetFixedAnimationLoop),
R"#(Set if camera animation should be done in uninterruptible loop.)#" , py::arg("theToEnable")
)
.def("ResetStyles",
(void (AIS_ViewCube::*)() ) static_cast<void (AIS_ViewCube::*)() >(&AIS_ViewCube::ResetStyles),
R"#(Reset all size and style parameters to default.)#"
)
.def("Size",
(Standard_Real (AIS_ViewCube::*)() const) static_cast<Standard_Real (AIS_ViewCube::*)() const>(&AIS_ViewCube::Size),
R"#(Returns size (width and height) of View cube sides; 100 by default.)#"
)
.def("SetSize",
(void (AIS_ViewCube::*)( Standard_Real , Standard_Boolean ) ) static_cast<void (AIS_ViewCube::*)( Standard_Real , Standard_Boolean ) >(&AIS_ViewCube::SetSize),
R"#(Sets size (width and height) of View cube sides.)#" , py::arg("theValue"), py::arg("theToAdaptAnother")=static_cast<Standard_Boolean>(true)
)
.def("BoxFacetExtension",
(Standard_Real (AIS_ViewCube::*)() const) static_cast<Standard_Real (AIS_ViewCube::*)() const>(&AIS_ViewCube::BoxFacetExtension),
R"#(Return box facet extension to edge/corner facet split; 10 by default.)#"
)
.def("SetBoxFacetExtension",
(void (AIS_ViewCube::*)( Standard_Real ) ) static_cast<void (AIS_ViewCube::*)( Standard_Real ) >(&AIS_ViewCube::SetBoxFacetExtension),
R"#(Set new value of box facet extension.)#" , py::arg("theValue")
)
.def("AxesPadding",
(Standard_Real (AIS_ViewCube::*)() const) static_cast<Standard_Real (AIS_ViewCube::*)() const>(&AIS_ViewCube::AxesPadding),
R"#(Return padding between axes and 3D part (box); 10 by default.)#"
)
.def("SetAxesPadding",
(void (AIS_ViewCube::*)( Standard_Real ) ) static_cast<void (AIS_ViewCube::*)( Standard_Real ) >(&AIS_ViewCube::SetAxesPadding),
R"#(Set new value of padding between axes and 3D part (box).)#" , py::arg("theValue")
)
.def("BoxEdgeGap",
(Standard_Real (AIS_ViewCube::*)() const) static_cast<Standard_Real (AIS_ViewCube::*)() const>(&AIS_ViewCube::BoxEdgeGap),
R"#(Return gap between box edges and box sides; 0 by default.)#"
)
.def("SetBoxEdgeGap",
(void (AIS_ViewCube::*)( Standard_Real ) ) static_cast<void (AIS_ViewCube::*)( Standard_Real ) >(&AIS_ViewCube::SetBoxEdgeGap),
R"#(Set new value of box edges gap.)#" , py::arg("theValue")
)
.def("BoxEdgeMinSize",
(Standard_Real (AIS_ViewCube::*)() const) static_cast<Standard_Real (AIS_ViewCube::*)() const>(&AIS_ViewCube::BoxEdgeMinSize),
R"#(Return minimal size of box edge; 2 by default.)#"
)
.def("SetBoxEdgeMinSize",
(void (AIS_ViewCube::*)( Standard_Real ) ) static_cast<void (AIS_ViewCube::*)( Standard_Real ) >(&AIS_ViewCube::SetBoxEdgeMinSize),
R"#(Set new value of box edge minimal size.)#" , py::arg("theValue")
)
.def("BoxCornerMinSize",
(Standard_Real (AIS_ViewCube::*)() const) static_cast<Standard_Real (AIS_ViewCube::*)() const>(&AIS_ViewCube::BoxCornerMinSize),
R"#(Return minimal size of box corner; 2 by default.)#"
)
.def("SetBoxCornerMinSize",
(void (AIS_ViewCube::*)( Standard_Real ) ) static_cast<void (AIS_ViewCube::*)( Standard_Real ) >(&AIS_ViewCube::SetBoxCornerMinSize),
R"#(Set new value of box corner minimal size.)#" , py::arg("theValue")
)
.def("RoundRadius",
(Standard_Real (AIS_ViewCube::*)() const) static_cast<Standard_Real (AIS_ViewCube::*)() const>(&AIS_ViewCube::RoundRadius),
R"#(Return relative radius of side corners (round rectangle); 0.0 by default. The value in within [0, 0.5] range meaning absolute radius = RoundRadius() / Size().)#"
)
.def("SetRoundRadius",
(void (AIS_ViewCube::*)( const Standard_Real ) ) static_cast<void (AIS_ViewCube::*)( const Standard_Real ) >(&AIS_ViewCube::SetRoundRadius),
R"#(Set relative radius of View Cube sides corners (round rectangle). The value should be within [0, 0.5] range.)#" , py::arg("theValue")
)
.def("AxesRadius",
(Standard_Real (AIS_ViewCube::*)() const) static_cast<Standard_Real (AIS_ViewCube::*)() const>(&AIS_ViewCube::AxesRadius),
R"#(Returns radius of axes of the trihedron; 1.0 by default.)#"
)
.def("SetAxesRadius",
(void (AIS_ViewCube::*)( const Standard_Real ) ) static_cast<void (AIS_ViewCube::*)( const Standard_Real ) >(&AIS_ViewCube::SetAxesRadius),
R"#(Sets radius of axes of the trihedron.)#" , py::arg("theRadius")
)
.def("AxesConeRadius",
(Standard_Real (AIS_ViewCube::*)() const) static_cast<Standard_Real (AIS_ViewCube::*)() const>(&AIS_ViewCube::AxesConeRadius),
R"#(Returns radius of cone of axes of the trihedron; 3.0 by default.)#"
)
.def("SetAxesConeRadius",
(void (AIS_ViewCube::*)( Standard_Real ) ) static_cast<void (AIS_ViewCube::*)( Standard_Real ) >(&AIS_ViewCube::SetAxesConeRadius),
R"#(Sets radius of cone of axes of the trihedron.)#" , py::arg("theRadius")
)
.def("AxesSphereRadius",
(Standard_Real (AIS_ViewCube::*)() const) static_cast<Standard_Real (AIS_ViewCube::*)() const>(&AIS_ViewCube::AxesSphereRadius),
R"#(Returns radius of sphere (central point) of the trihedron; 4.0 by default.)#"
)
.def("SetAxesSphereRadius",
(void (AIS_ViewCube::*)( Standard_Real ) ) static_cast<void (AIS_ViewCube::*)( Standard_Real ) >(&AIS_ViewCube::SetAxesSphereRadius),
R"#(Sets radius of sphere (central point) of the trihedron.)#" , py::arg("theRadius")
)
.def("ToDrawAxes",
(Standard_Boolean (AIS_ViewCube::*)() const) static_cast<Standard_Boolean (AIS_ViewCube::*)() const>(&AIS_ViewCube::ToDrawAxes),
R"#(Returns TRUE if trihedron is drawn; TRUE by default.)#"
)
.def("SetDrawAxes",
(void (AIS_ViewCube::*)( Standard_Boolean ) ) static_cast<void (AIS_ViewCube::*)( Standard_Boolean ) >(&AIS_ViewCube::SetDrawAxes),
R"#(Enable/disable drawing of trihedron.)#" , py::arg("theValue")
)
.def("ToDrawEdges",
(Standard_Boolean (AIS_ViewCube::*)() const) static_cast<Standard_Boolean (AIS_ViewCube::*)() const>(&AIS_ViewCube::ToDrawEdges),
R"#(Returns TRUE if edges of View Cube is drawn; TRUE by default.)#"
)
.def("SetDrawEdges",
(void (AIS_ViewCube::*)( Standard_Boolean ) ) static_cast<void (AIS_ViewCube::*)( Standard_Boolean ) >(&AIS_ViewCube::SetDrawEdges),
R"#(Enable/disable drawing of edges of View Cube.)#" , py::arg("theValue")
)
.def("ToDrawVertices",
(Standard_Boolean (AIS_ViewCube::*)() const) static_cast<Standard_Boolean (AIS_ViewCube::*)() const>(&AIS_ViewCube::ToDrawVertices),
R"#(Return TRUE if vertices (vertex) of View Cube is drawn; TRUE by default.)#"
)
.def("SetDrawVertices",
(void (AIS_ViewCube::*)( Standard_Boolean ) ) static_cast<void (AIS_ViewCube::*)( Standard_Boolean ) >(&AIS_ViewCube::SetDrawVertices),
R"#(Enable/disable drawing of vertices (corners) of View Cube.)#" , py::arg("theValue")
)
.def("IsYup",
(Standard_Boolean (AIS_ViewCube::*)() const) static_cast<Standard_Boolean (AIS_ViewCube::*)() const>(&AIS_ViewCube::IsYup),
R"#(Return TRUE if application expects Y-up viewer orientation instead of Z-up; FALSE by default.)#"
)
.def("SetYup",
(void (AIS_ViewCube::*)( Standard_Boolean , Standard_Boolean ) ) static_cast<void (AIS_ViewCube::*)( Standard_Boolean , Standard_Boolean ) >(&AIS_ViewCube::SetYup),
R"#(Set if application expects Y-up viewer orientation instead of Z-up.)#" , py::arg("theIsYup"), py::arg("theToUpdateLabels")=static_cast<Standard_Boolean>(Standard_True)
)
.def("SetBoxColor",
(void (AIS_ViewCube::*)( const Quantity_Color & ) ) static_cast<void (AIS_ViewCube::*)( const Quantity_Color & ) >(&AIS_ViewCube::SetBoxColor),
R"#(Set new value of front color for the 3D part of object.)#" , py::arg("theColor")
)
.def("BoxTransparency",
(Standard_Real (AIS_ViewCube::*)() const) static_cast<Standard_Real (AIS_ViewCube::*)() const>(&AIS_ViewCube::BoxTransparency),
R"#(Return transparency for 3D part of object.)#"
)
.def("SetBoxTransparency",
(void (AIS_ViewCube::*)( Standard_Real ) ) static_cast<void (AIS_ViewCube::*)( Standard_Real ) >(&AIS_ViewCube::SetBoxTransparency),
R"#(Set new value of transparency for 3D part of object.)#" , py::arg("theValue")
)
.def("SetInnerColor",
(void (AIS_ViewCube::*)( const Quantity_Color & ) ) static_cast<void (AIS_ViewCube::*)( const Quantity_Color & ) >(&AIS_ViewCube::SetInnerColor),
R"#(Set color of sides back material. Alias for:)#" , py::arg("theColor")
)
.def("BoxSideLabel",
(TCollection_AsciiString (AIS_ViewCube::*)( V3d_TypeOfOrientation ) const) static_cast<TCollection_AsciiString (AIS_ViewCube::*)( V3d_TypeOfOrientation ) const>(&AIS_ViewCube::BoxSideLabel),
R"#(Return box side label or empty string if undefined. Default labels: FRONT, BACK, LEFT, RIGHT, TOP, BOTTOM.)#" , py::arg("theSide")
)
.def("SetBoxSideLabel",
(void (AIS_ViewCube::*)( const V3d_TypeOfOrientation , const TCollection_AsciiString & ) ) static_cast<void (AIS_ViewCube::*)( const V3d_TypeOfOrientation , const TCollection_AsciiString & ) >(&AIS_ViewCube::SetBoxSideLabel),
R"#(Set box side label.)#" , py::arg("theSide"), py::arg("theLabel")
)
.def("SetTextColor",
(void (AIS_ViewCube::*)( const Quantity_Color & ) ) static_cast<void (AIS_ViewCube::*)( const Quantity_Color & ) >(&AIS_ViewCube::SetTextColor),
R"#(Set color of text labels on box sides. Alias for:)#" , py::arg("theColor")
)
.def("SetFont",
(void (AIS_ViewCube::*)( const TCollection_AsciiString & ) ) static_cast<void (AIS_ViewCube::*)( const TCollection_AsciiString & ) >(&AIS_ViewCube::SetFont),
R"#(Set font name that is used for displaying of sides and axes text. Alias for:)#" , py::arg("theFont")
)
.def("FontHeight",
(Standard_Real (AIS_ViewCube::*)() const) static_cast<Standard_Real (AIS_ViewCube::*)() const>(&AIS_ViewCube::FontHeight),
R"#(Return height of font)#"
)
.def("SetFontHeight",
(void (AIS_ViewCube::*)( Standard_Real ) ) static_cast<void (AIS_ViewCube::*)( Standard_Real ) >(&AIS_ViewCube::SetFontHeight),
R"#(Change font height. Alias for:)#" , py::arg("theValue")
)
.def("AxisLabel",
(TCollection_AsciiString (AIS_ViewCube::*)( Prs3d_DatumParts ) const) static_cast<TCollection_AsciiString (AIS_ViewCube::*)( Prs3d_DatumParts ) const>(&AIS_ViewCube::AxisLabel),
R"#(Return axes labels or empty string if undefined. Default labels: X, Y, Z.)#" , py::arg("theAxis")
)
.def("SetAxesLabels",
(void (AIS_ViewCube::*)( const TCollection_AsciiString & , const TCollection_AsciiString & , const TCollection_AsciiString & ) ) static_cast<void (AIS_ViewCube::*)( const TCollection_AsciiString & , const TCollection_AsciiString & , const TCollection_AsciiString & ) >(&AIS_ViewCube::SetAxesLabels),
R"#(Set axes labels.)#" , py::arg("theX"), py::arg("theY"), py::arg("theZ")
)
.def("SetColor",
(void (AIS_ViewCube::*)( const Quantity_Color & ) ) static_cast<void (AIS_ViewCube::*)( const Quantity_Color & ) >(&AIS_ViewCube::SetColor),
R"#(Set new value of color for the whole object.)#" , py::arg("theColor")
)
.def("UnsetColor",
(void (AIS_ViewCube::*)() ) static_cast<void (AIS_ViewCube::*)() >(&AIS_ViewCube::UnsetColor),
R"#(Reset color for the whole object.)#"
)
.def("SetTransparency",
(void (AIS_ViewCube::*)( const Standard_Real ) ) static_cast<void (AIS_ViewCube::*)( const Standard_Real ) >(&AIS_ViewCube::SetTransparency),
R"#(Set new value of transparency for the whole object.)#" , py::arg("theValue")
)
.def("UnsetTransparency",
(void (AIS_ViewCube::*)() ) static_cast<void (AIS_ViewCube::*)() >(&AIS_ViewCube::UnsetTransparency),
R"#(Reset transparency for the whole object.)#"
)
.def("SetMaterial",
(void (AIS_ViewCube::*)( const Graphic3d_MaterialAspect & ) ) static_cast<void (AIS_ViewCube::*)( const Graphic3d_MaterialAspect & ) >(&AIS_ViewCube::SetMaterial),
R"#(Sets the material for the interactive object.)#" , py::arg("theMat")
)
.def("UnsetMaterial",
(void (AIS_ViewCube::*)() ) static_cast<void (AIS_ViewCube::*)() >(&AIS_ViewCube::UnsetMaterial),
R"#(Sets the material for the interactive object.)#"
)
.def("Duration",
(Standard_Real (AIS_ViewCube::*)() const) static_cast<Standard_Real (AIS_ViewCube::*)() const>(&AIS_ViewCube::Duration),
R"#(Return duration of animation in seconds; 0.5 sec by default)#"
)
.def("SetDuration",
(void (AIS_ViewCube::*)( Standard_Real ) ) static_cast<void (AIS_ViewCube::*)( Standard_Real ) >(&AIS_ViewCube::SetDuration),
R"#(Set duration of animation.)#" , py::arg("theValue")
)
.def("ToResetCameraUp",
(Standard_Boolean (AIS_ViewCube::*)() const) static_cast<Standard_Boolean (AIS_ViewCube::*)() const>(&AIS_ViewCube::ToResetCameraUp),
R"#(Return TRUE if new camera Up direction should be always set to default value for a new camera Direction; FALSE by default. When this flag is FALSE, the new camera Up will be set as current Up orthogonalized to the new camera Direction, and will set to default Up on second click.)#"
)
.def("SetResetCamera",
(void (AIS_ViewCube::*)( Standard_Boolean ) ) static_cast<void (AIS_ViewCube::*)( Standard_Boolean ) >(&AIS_ViewCube::SetResetCamera),
R"#(Set if new camera Up direction should be always set to default value for a new camera Direction.)#" , py::arg("theToReset")
)
.def("ToFitSelected",
(Standard_Boolean (AIS_ViewCube::*)() const) static_cast<Standard_Boolean (AIS_ViewCube::*)() const>(&AIS_ViewCube::ToFitSelected),
R"#(Return TRUE if animation should fit selected objects and FALSE to fit entire scene; TRUE by default.)#"
)
.def("SetFitSelected",
(void (AIS_ViewCube::*)( Standard_Boolean ) ) static_cast<void (AIS_ViewCube::*)( Standard_Boolean ) >(&AIS_ViewCube::SetFitSelected),
R"#(Set if animation should fit selected objects or to fit entire scene.)#" , py::arg("theToFitSelected")
)
.def("HasAnimation",
(Standard_Boolean (AIS_ViewCube::*)() const) static_cast<Standard_Boolean (AIS_ViewCube::*)() const>(&AIS_ViewCube::HasAnimation),
R"#(Returns TRUE if View Cube has unfinished animation of view camera.)#"
)
.def("StartAnimation",
(void (AIS_ViewCube::*)( const opencascade::handle<AIS_ViewCubeOwner> & ) ) static_cast<void (AIS_ViewCube::*)( const opencascade::handle<AIS_ViewCubeOwner> & ) >(&AIS_ViewCube::StartAnimation),
R"#(Start camera transformation corresponding to the input detected owner.)#" , py::arg("theOwner")
)
.def("UpdateAnimation",
(Standard_Boolean (AIS_ViewCube::*)( const Standard_Boolean ) ) static_cast<Standard_Boolean (AIS_ViewCube::*)( const Standard_Boolean ) >(&AIS_ViewCube::UpdateAnimation),
R"#(Perform one step of current camera transformation. theToUpdate [in] enable/disable update of view.)#" , py::arg("theToUpdate")
)
.def("HandleClick",
(void (AIS_ViewCube::*)( const opencascade::handle<AIS_ViewCubeOwner> & ) ) static_cast<void (AIS_ViewCube::*)( const opencascade::handle<AIS_ViewCubeOwner> & ) >(&AIS_ViewCube::HandleClick),
R"#(Perform camera transformation corresponding to the input detected owner.)#" , py::arg("theOwner")
)
.def("AcceptDisplayMode",
(Standard_Boolean (AIS_ViewCube::*)( const Standard_Integer ) const) static_cast<Standard_Boolean (AIS_ViewCube::*)( const Standard_Integer ) const>(&AIS_ViewCube::AcceptDisplayMode),
R"#(Return TRUE for supported display mode.)#" , py::arg("theMode")
)
.def("GlobalSelOwner",
(opencascade::handle<SelectMgr_EntityOwner> (AIS_ViewCube::*)() const) static_cast<opencascade::handle<SelectMgr_EntityOwner> (AIS_ViewCube::*)() const>(&AIS_ViewCube::GlobalSelOwner),
R"#(Global selection has no meaning for this class.)#"
)
.def("Compute",
(void (AIS_ViewCube::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const opencascade::handle<Prs3d_Presentation> & , const Standard_Integer ) ) static_cast<void (AIS_ViewCube::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const opencascade::handle<Prs3d_Presentation> & , const Standard_Integer ) >(&AIS_ViewCube::Compute),
R"#(Compute 3D part of View Cube.)#" , py::arg("thePrsMgr"), py::arg("thePrs"), py::arg("theMode")=static_cast<const Standard_Integer>(0)
)
.def("ComputeSelection",
(void (AIS_ViewCube::*)( const opencascade::handle<SelectMgr_Selection> & , const Standard_Integer ) ) static_cast<void (AIS_ViewCube::*)( const opencascade::handle<SelectMgr_Selection> & , const Standard_Integer ) >(&AIS_ViewCube::ComputeSelection),
R"#(Redefine computing of sensitive entities for View Cube.)#" , py::arg("theSelection"), py::arg("theMode")
)
.def("IsAutoHilight",
(Standard_Boolean (AIS_ViewCube::*)() const) static_cast<Standard_Boolean (AIS_ViewCube::*)() const>(&AIS_ViewCube::IsAutoHilight),
R"#(Disables auto highlighting to use HilightSelected() and HilightOwnerWithColor() overridden methods.)#"
)
.def("ClearSelected",
(void (AIS_ViewCube::*)() ) static_cast<void (AIS_ViewCube::*)() >(&AIS_ViewCube::ClearSelected),
R"#(Method which clear all selected owners belonging to this selectable object.)#"
)
.def("HilightOwnerWithColor",
(void (AIS_ViewCube::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const opencascade::handle<Prs3d_Drawer> & , const opencascade::handle<SelectMgr_EntityOwner> & ) ) static_cast<void (AIS_ViewCube::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const opencascade::handle<Prs3d_Drawer> & , const opencascade::handle<SelectMgr_EntityOwner> & ) >(&AIS_ViewCube::HilightOwnerWithColor),
R"#(Method which highlights input owner belonging to this selectable object.)#" , py::arg("thePM"), py::arg("theStyle"), py::arg("theOwner")
)
.def("HilightSelected",
(void (AIS_ViewCube::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const NCollection_Sequence<opencascade::handle<SelectMgr_EntityOwner>> & ) ) static_cast<void (AIS_ViewCube::*)( const opencascade::handle<PrsMgr_PresentationManager> & , const NCollection_Sequence<opencascade::handle<SelectMgr_EntityOwner>> & ) >(&AIS_ViewCube::HilightSelected),
R"#(Method which draws selected owners.)#" , py::arg("thePM"), py::arg("theSeq")
)
.def("UnsetAttributes",
(void (AIS_ViewCube::*)() ) static_cast<void (AIS_ViewCube::*)() >(&AIS_ViewCube::UnsetAttributes),
R"#(Set default parameters for visual attributes)#"
)
.def("UnsetHilightAttributes",
(void (AIS_ViewCube::*)() ) static_cast<void (AIS_ViewCube::*)() >(&AIS_ViewCube::UnsetHilightAttributes),
R"#(Set default parameters for dynamic highlighting attributes, reset highlight attributes)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_ViewCube::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_ViewCube::get_type_descriptor),
R"#(None)#"
)
.def_static("IsBoxSide_s",
(bool (*)( V3d_TypeOfOrientation ) ) static_cast<bool (*)( V3d_TypeOfOrientation ) >(&AIS_ViewCube::IsBoxSide),
R"#(Return TRUE if specified orientation belongs to box side.)#" , py::arg("theOrient")
)
.def_static("IsBoxEdge_s",
(bool (*)( V3d_TypeOfOrientation ) ) static_cast<bool (*)( V3d_TypeOfOrientation ) >(&AIS_ViewCube::IsBoxEdge),
R"#(Return TRUE if specified orientation belongs to box edge.)#" , py::arg("theOrient")
)
.def_static("IsBoxCorner_s",
(bool (*)( V3d_TypeOfOrientation ) ) static_cast<bool (*)( V3d_TypeOfOrientation ) >(&AIS_ViewCube::IsBoxCorner),
R"#(Return TRUE if specified orientation belongs to box corner (vertex).)#" , py::arg("theOrient")
)
// 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> & (AIS_ViewCube::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_ViewCube::*)() const>(&AIS_ViewCube::DynamicType),
R"#(None)#"
)
.def("ViewAnimation",
(const opencascade::handle<AIS_AnimationCamera> & (AIS_ViewCube::*)() const) static_cast<const opencascade::handle<AIS_AnimationCamera> & (AIS_ViewCube::*)() const>(&AIS_ViewCube::ViewAnimation),
R"#(Return view animation.)#"
)
.def("BoxSideStyle",
(const opencascade::handle<Prs3d_ShadingAspect> & (AIS_ViewCube::*)() const) static_cast<const opencascade::handle<Prs3d_ShadingAspect> & (AIS_ViewCube::*)() const>(&AIS_ViewCube::BoxSideStyle),
R"#(Return shading style of box sides.)#"
)
.def("BoxEdgeStyle",
(const opencascade::handle<Prs3d_ShadingAspect> & (AIS_ViewCube::*)() const) static_cast<const opencascade::handle<Prs3d_ShadingAspect> & (AIS_ViewCube::*)() const>(&AIS_ViewCube::BoxEdgeStyle),
R"#(Return shading style of box edges.)#"
)
.def("BoxCornerStyle",
(const opencascade::handle<Prs3d_ShadingAspect> & (AIS_ViewCube::*)() const) static_cast<const opencascade::handle<Prs3d_ShadingAspect> & (AIS_ViewCube::*)() const>(&AIS_ViewCube::BoxCornerStyle),
R"#(Return shading style of box corners.)#"
)
.def("BoxColor",
(const Quantity_Color & (AIS_ViewCube::*)() const) static_cast<const Quantity_Color & (AIS_ViewCube::*)() const>(&AIS_ViewCube::BoxColor),
R"#(Return value of front color for the 3D part of object.)#"
)
.def("InnerColor",
(const Quantity_Color & (AIS_ViewCube::*)() const) static_cast<const Quantity_Color & (AIS_ViewCube::*)() const>(&AIS_ViewCube::InnerColor),
R"#(Return color of sides back material.)#"
)
.def("TextColor",
(const Quantity_Color & (AIS_ViewCube::*)() const) static_cast<const Quantity_Color & (AIS_ViewCube::*)() const>(&AIS_ViewCube::TextColor),
R"#(Return text color of labels of box sides; BLACK by default.)#"
)
.def("Font",
(const TCollection_AsciiString & (AIS_ViewCube::*)() const) static_cast<const TCollection_AsciiString & (AIS_ViewCube::*)() const>(&AIS_ViewCube::Font),
R"#(Return font name that is used for displaying of sides and axes text. Alias for:)#"
)
;
// Class AIS_XRTrackedDevice from ./opencascade/AIS_XRTrackedDevice.hxx
klass = m.attr("AIS_XRTrackedDevice");
// nested enums
static_cast<py::class_<AIS_XRTrackedDevice ,opencascade::handle<AIS_XRTrackedDevice> , AIS_InteractiveObject >>(klass)
// constructors
.def(py::init< const opencascade::handle<Graphic3d_ArrayOfTriangles> &,const opencascade::handle<Image_Texture> & >() , py::arg("theTris"), py::arg("theTexture") )
.def(py::init< >() )
// custom constructors
// methods
.def("Role",
(Aspect_XRTrackedDeviceRole (AIS_XRTrackedDevice::*)() const) static_cast<Aspect_XRTrackedDeviceRole (AIS_XRTrackedDevice::*)() const>(&AIS_XRTrackedDevice::Role),
R"#(Return device role.)#"
)
.def("SetRole",
(void (AIS_XRTrackedDevice::*)( Aspect_XRTrackedDeviceRole ) ) static_cast<void (AIS_XRTrackedDevice::*)( Aspect_XRTrackedDeviceRole ) >(&AIS_XRTrackedDevice::SetRole),
R"#(Set device role.)#" , py::arg("theRole")
)
.def("SetLaserColor",
(void (AIS_XRTrackedDevice::*)( const Quantity_Color & ) ) static_cast<void (AIS_XRTrackedDevice::*)( const Quantity_Color & ) >(&AIS_XRTrackedDevice::SetLaserColor),
R"#(Set laser color.)#" , py::arg("theColor")
)
.def("LaserLength",
(Standard_ShortReal (AIS_XRTrackedDevice::*)() const) static_cast<Standard_ShortReal (AIS_XRTrackedDevice::*)() const>(&AIS_XRTrackedDevice::LaserLength),
R"#(Return laser length.)#"
)
.def("SetLaserLength",
(void (AIS_XRTrackedDevice::*)( Standard_ShortReal ) ) static_cast<void (AIS_XRTrackedDevice::*)( Standard_ShortReal ) >(&AIS_XRTrackedDevice::SetLaserLength),
R"#(Set laser length.)#" , py::arg("theLength")
)
.def("UnitFactor",
(Standard_ShortReal (AIS_XRTrackedDevice::*)() const) static_cast<Standard_ShortReal (AIS_XRTrackedDevice::*)() const>(&AIS_XRTrackedDevice::UnitFactor),
R"#(Return unit scale factor.)#"
)
.def("SetUnitFactor",
(void (AIS_XRTrackedDevice::*)( Standard_ShortReal ) ) static_cast<void (AIS_XRTrackedDevice::*)( Standard_ShortReal ) >(&AIS_XRTrackedDevice::SetUnitFactor),
R"#(Set unit scale factor.)#" , py::arg("theFactor")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_XRTrackedDevice::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_XRTrackedDevice::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> & (AIS_XRTrackedDevice::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_XRTrackedDevice::*)() const>(&AIS_XRTrackedDevice::DynamicType),
R"#(None)#"
)
.def("LaserColor",
(const Quantity_Color & (AIS_XRTrackedDevice::*)() const) static_cast<const Quantity_Color & (AIS_XRTrackedDevice::*)() const>(&AIS_XRTrackedDevice::LaserColor),
R"#(Return laser color.)#"
)
;
// Class AIS_AnimationAxisRotation from ./opencascade/AIS_AnimationAxisRotation.hxx
klass = m.attr("AIS_AnimationAxisRotation");
// nested enums
static_cast<py::class_<AIS_AnimationAxisRotation ,opencascade::handle<AIS_AnimationAxisRotation> , AIS_BaseAnimationObject >>(klass)
// constructors
.def(py::init< const TCollection_AsciiString &,const opencascade::handle<AIS_InteractiveContext> &,const opencascade::handle<AIS_InteractiveObject> &,const gp_Ax1 &,const Standard_Real,const Standard_Real >() , py::arg("theAnimationName"), py::arg("theContext"), py::arg("theObject"), py::arg("theAxis"), py::arg("theAngleStart"), py::arg("theAngleEnd") )
// 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 * (*)() >(&AIS_AnimationAxisRotation::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_AnimationAxisRotation::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> & (AIS_AnimationAxisRotation::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_AnimationAxisRotation::*)() const>(&AIS_AnimationAxisRotation::DynamicType),
R"#(None)#"
)
;
// Class AIS_AnimationObject from ./opencascade/AIS_AnimationObject.hxx
klass = m.attr("AIS_AnimationObject");
// nested enums
static_cast<py::class_<AIS_AnimationObject ,opencascade::handle<AIS_AnimationObject> , AIS_BaseAnimationObject >>(klass)
// constructors
.def(py::init< const TCollection_AsciiString &,const opencascade::handle<AIS_InteractiveContext> &,const opencascade::handle<AIS_InteractiveObject> &,const gp_Trsf &,const gp_Trsf & >() , py::arg("theAnimationName"), py::arg("theContext"), py::arg("theObject"), py::arg("theTrsfStart"), py::arg("theTrsfEnd") )
// 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 * (*)() >(&AIS_AnimationObject::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_AnimationObject::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> & (AIS_AnimationObject::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_AnimationObject::*)() const>(&AIS_AnimationObject::DynamicType),
R"#(None)#"
)
;
// Class AIS_ColoredShape from ./opencascade/AIS_ColoredShape.hxx
klass = m.attr("AIS_ColoredShape");
// nested enums
static_cast<py::class_<AIS_ColoredShape ,opencascade::handle<AIS_ColoredShape> , AIS_Shape >>(klass)
// constructors
.def(py::init< const TopoDS_Shape & >() , py::arg("theShape") )
.def(py::init< const opencascade::handle<AIS_Shape> & >() , py::arg("theShape") )
// custom constructors
// methods
.def("CustomAspects",
(opencascade::handle<AIS_ColoredDrawer> (AIS_ColoredShape::*)( const TopoDS_Shape & ) ) static_cast<opencascade::handle<AIS_ColoredDrawer> (AIS_ColoredShape::*)( const TopoDS_Shape & ) >(&AIS_ColoredShape::CustomAspects),
R"#(Customize properties of specified sub-shape. The shape will be stored in the map but ignored, if it is not sub-shape of main Shape! This method can be used to mark sub-shapes with customizable properties.)#" , py::arg("theShape")
)
.def("ClearCustomAspects",
(void (AIS_ColoredShape::*)() ) static_cast<void (AIS_ColoredShape::*)() >(&AIS_ColoredShape::ClearCustomAspects),
R"#(Reset the map of custom sub-shape aspects.)#"
)
.def("UnsetCustomAspects",
(void (AIS_ColoredShape::*)( const TopoDS_Shape & , const Standard_Boolean ) ) static_cast<void (AIS_ColoredShape::*)( const TopoDS_Shape & , const Standard_Boolean ) >(&AIS_ColoredShape::UnsetCustomAspects),
R"#(Reset custom properties of specified sub-shape.)#" , py::arg("theShape"), py::arg("theToUnregister")=static_cast<const Standard_Boolean>(Standard_False)
)
.def("SetCustomColor",
(void (AIS_ColoredShape::*)( const TopoDS_Shape & , const Quantity_Color & ) ) static_cast<void (AIS_ColoredShape::*)( const TopoDS_Shape & , const Quantity_Color & ) >(&AIS_ColoredShape::SetCustomColor),
R"#(Customize color of specified sub-shape)#" , py::arg("theShape"), py::arg("theColor")
)
.def("SetCustomTransparency",
(void (AIS_ColoredShape::*)( const TopoDS_Shape & , Standard_Real ) ) static_cast<void (AIS_ColoredShape::*)( const TopoDS_Shape & , Standard_Real ) >(&AIS_ColoredShape::SetCustomTransparency),
R"#(Customize transparency of specified sub-shape)#" , py::arg("theShape"), py::arg("theTransparency")
)
.def("SetCustomWidth",
(void (AIS_ColoredShape::*)( const TopoDS_Shape & , const Standard_Real ) ) static_cast<void (AIS_ColoredShape::*)( const TopoDS_Shape & , const Standard_Real ) >(&AIS_ColoredShape::SetCustomWidth),
R"#(Customize line width of specified sub-shape)#" , py::arg("theShape"), py::arg("theLineWidth")
)
.def("SetColor",
(void (AIS_ColoredShape::*)( const Quantity_Color & ) ) static_cast<void (AIS_ColoredShape::*)( const Quantity_Color & ) >(&AIS_ColoredShape::SetColor),
R"#(Setup color of entire shape.)#" , py::arg("theColor")
)
.def("SetWidth",
(void (AIS_ColoredShape::*)( const Standard_Real ) ) static_cast<void (AIS_ColoredShape::*)( const Standard_Real ) >(&AIS_ColoredShape::SetWidth),
R"#(Setup line width of entire shape.)#" , py::arg("theLineWidth")
)
.def("SetTransparency",
(void (AIS_ColoredShape::*)( const Standard_Real ) ) static_cast<void (AIS_ColoredShape::*)( const Standard_Real ) >(&AIS_ColoredShape::SetTransparency),
R"#(Sets transparency value.)#" , py::arg("theValue")
)
.def("SetMaterial",
(void (AIS_ColoredShape::*)( const Graphic3d_MaterialAspect & ) ) static_cast<void (AIS_ColoredShape::*)( const Graphic3d_MaterialAspect & ) >(&AIS_ColoredShape::SetMaterial),
R"#(Sets the material aspect.)#" , py::arg("theAspect")
)
.def("UnsetTransparency",
(void (AIS_ColoredShape::*)() ) static_cast<void (AIS_ColoredShape::*)() >(&AIS_ColoredShape::UnsetTransparency),
R"#(Removes the setting for transparency in the reconstructed compound shape.)#"
)
.def("UnsetWidth",
(void (AIS_ColoredShape::*)() ) static_cast<void (AIS_ColoredShape::*)() >(&AIS_ColoredShape::UnsetWidth),
R"#(Setup line width of entire shape.)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_ColoredShape::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_ColoredShape::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("CustomAspectsMap",
(const AIS_DataMapOfShapeDrawer & (AIS_ColoredShape::*)() const) static_cast<const AIS_DataMapOfShapeDrawer & (AIS_ColoredShape::*)() const>(&AIS_ColoredShape::CustomAspectsMap),
R"#(Return the map of custom aspects.)#"
)
.def("ChangeCustomAspectsMap",
(AIS_DataMapOfShapeDrawer & (AIS_ColoredShape::*)() ) static_cast<AIS_DataMapOfShapeDrawer & (AIS_ColoredShape::*)() >(&AIS_ColoredShape::ChangeCustomAspectsMap),
R"#(Return the map of custom aspects.)#"
, py::return_value_policy::reference_internal
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (AIS_ColoredShape::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_ColoredShape::*)() const>(&AIS_ColoredShape::DynamicType),
R"#(None)#"
)
;
// Class AIS_TexturedShape from ./opencascade/AIS_TexturedShape.hxx
klass = m.attr("AIS_TexturedShape");
// nested enums
static_cast<py::class_<AIS_TexturedShape ,opencascade::handle<AIS_TexturedShape> , AIS_Shape >>(klass)
// constructors
.def(py::init< const TopoDS_Shape & >() , py::arg("theShape") )
// custom constructors
// methods
.def("SetTextureFileName",
(void (AIS_TexturedShape::*)( const TCollection_AsciiString & ) ) static_cast<void (AIS_TexturedShape::*)( const TCollection_AsciiString & ) >(&AIS_TexturedShape::SetTextureFileName),
R"#(Sets the texture source. <theTextureFileName> can specify path to texture image or one of the standard predefined textures. The accepted file types are those used in Image_AlienPixMap with extensions such as rgb, png, jpg and more. To specify the standard predefined texture, the <theTextureFileName> should contain integer - the Graphic3d_NameOfTexture2D enumeration index. Setting texture source using this method resets the source pixmap (if was set previously).)#" , py::arg("theTextureFileName")
)
.def("SetTexturePixMap",
(void (AIS_TexturedShape::*)( const opencascade::handle<Image_PixMap> & ) ) static_cast<void (AIS_TexturedShape::*)( const opencascade::handle<Image_PixMap> & ) >(&AIS_TexturedShape::SetTexturePixMap),
R"#(Sets the texture source. <theTexturePixMap> specifies image data. Please note that the data should be in Bottom-Up order, the flag of Image_PixMap::IsTopDown() will be ignored by graphic driver. Setting texture source using this method resets the source by filename (if was set previously).)#" , py::arg("theTexturePixMap")
)
.def("TextureMapState",
(Standard_Boolean (AIS_TexturedShape::*)() const) static_cast<Standard_Boolean (AIS_TexturedShape::*)() const>(&AIS_TexturedShape::TextureMapState),
R"#(Returns flag to control texture mapping (for presentation mode 3))#"
)
.def("SetTextureMapOn",
(void (AIS_TexturedShape::*)() ) static_cast<void (AIS_TexturedShape::*)() >(&AIS_TexturedShape::SetTextureMapOn),
R"#(Enables texture mapping)#"
)
.def("SetTextureMapOff",
(void (AIS_TexturedShape::*)() ) static_cast<void (AIS_TexturedShape::*)() >(&AIS_TexturedShape::SetTextureMapOff),
R"#(Disables texture mapping)#"
)
.def("TextureFile",
(Standard_CString (AIS_TexturedShape::*)() const) static_cast<Standard_CString (AIS_TexturedShape::*)() const>(&AIS_TexturedShape::TextureFile),
R"#(Returns path to the texture file)#"
)
.def("UpdateAttributes",
(void (AIS_TexturedShape::*)() ) static_cast<void (AIS_TexturedShape::*)() >(&AIS_TexturedShape::UpdateAttributes),
R"#(Use this method to display the textured shape without recomputing the whole presentation. Use this method when ONLY the texture content has been changed. If other parameters (ie: scale factors, texture origin, texture repeat...) have changed, the whole presentation has to be recomputed:)#"
)
.def("SetColor",
(void (AIS_TexturedShape::*)( const Quantity_Color & ) ) static_cast<void (AIS_TexturedShape::*)( const Quantity_Color & ) >(&AIS_TexturedShape::SetColor),
R"#(Sets the color.)#" , py::arg("theColor")
)
.def("UnsetColor",
(void (AIS_TexturedShape::*)() ) static_cast<void (AIS_TexturedShape::*)() >(&AIS_TexturedShape::UnsetColor),
R"#(Removes settings for the color.)#"
)
.def("SetMaterial",
(void (AIS_TexturedShape::*)( const Graphic3d_MaterialAspect & ) ) static_cast<void (AIS_TexturedShape::*)( const Graphic3d_MaterialAspect & ) >(&AIS_TexturedShape::SetMaterial),
R"#(Sets the material aspect.)#" , py::arg("theAspect")
)
.def("UnsetMaterial",
(void (AIS_TexturedShape::*)() ) static_cast<void (AIS_TexturedShape::*)() >(&AIS_TexturedShape::UnsetMaterial),
R"#(Removes settings for material aspect.)#"
)
.def("EnableTextureModulate",
(void (AIS_TexturedShape::*)() ) static_cast<void (AIS_TexturedShape::*)() >(&AIS_TexturedShape::EnableTextureModulate),
R"#(Enables texture modulation)#"
)
.def("DisableTextureModulate",
(void (AIS_TexturedShape::*)() ) static_cast<void (AIS_TexturedShape::*)() >(&AIS_TexturedShape::DisableTextureModulate),
R"#(Disables texture modulation)#"
)
.def("TextureRepeat",
(Standard_Boolean (AIS_TexturedShape::*)() const) static_cast<Standard_Boolean (AIS_TexturedShape::*)() const>(&AIS_TexturedShape::TextureRepeat),
R"#(Returns texture repeat flag)#"
)
.def("URepeat",
(Standard_Real (AIS_TexturedShape::*)() const) static_cast<Standard_Real (AIS_TexturedShape::*)() const>(&AIS_TexturedShape::URepeat),
R"#(Returns texture repeat U value)#"
)
.def("VRepeat",
(Standard_Real (AIS_TexturedShape::*)() const) static_cast<Standard_Real (AIS_TexturedShape::*)() const>(&AIS_TexturedShape::VRepeat),
R"#(Returns texture repeat V value)#"
)
.def("SetTextureRepeat",
(void (AIS_TexturedShape::*)( const Standard_Boolean , const Standard_Real , const Standard_Real ) ) static_cast<void (AIS_TexturedShape::*)( const Standard_Boolean , const Standard_Real , const Standard_Real ) >(&AIS_TexturedShape::SetTextureRepeat),
R"#(Sets the number of occurrences of the texture on each face. The texture itself is parameterized in (0,1) by (0,1). Each face of the shape to be textured is parameterized in UV space (Umin,Umax) by (Vmin,Vmax). If RepeatYN is set to false, texture coordinates are clamped in the range (0,1)x(0,1) of the face.)#" , py::arg("theToRepeat"), py::arg("theURepeat")=static_cast<const Standard_Real>(1.0), py::arg("theVRepeat")=static_cast<const Standard_Real>(1.0)
)
.def("TextureOrigin",
(Standard_Boolean (AIS_TexturedShape::*)() const) static_cast<Standard_Boolean (AIS_TexturedShape::*)() const>(&AIS_TexturedShape::TextureOrigin),
R"#(Returns true if texture UV origin has been modified)#"
)
.def("TextureUOrigin",
(Standard_Real (AIS_TexturedShape::*)() const) static_cast<Standard_Real (AIS_TexturedShape::*)() const>(&AIS_TexturedShape::TextureUOrigin),
R"#(Returns texture origin U position (0.0 by default))#"
)
.def("TextureVOrigin",
(Standard_Real (AIS_TexturedShape::*)() const) static_cast<Standard_Real (AIS_TexturedShape::*)() const>(&AIS_TexturedShape::TextureVOrigin),
R"#(Returns texture origin V position (0.0 by default))#"
)
.def("SetTextureOrigin",
(void (AIS_TexturedShape::*)( const Standard_Boolean , const Standard_Real , const Standard_Real ) ) static_cast<void (AIS_TexturedShape::*)( const Standard_Boolean , const Standard_Real , const Standard_Real ) >(&AIS_TexturedShape::SetTextureOrigin),
R"#(Use this method to change the origin of the texture. The texel (0,0) will be mapped to the surface (UOrigin,VOrigin))#" , py::arg("theToSetTextureOrigin"), py::arg("theUOrigin")=static_cast<const Standard_Real>(0.0), py::arg("theVOrigin")=static_cast<const Standard_Real>(0.0)
)
.def("TextureScale",
(Standard_Boolean (AIS_TexturedShape::*)() const) static_cast<Standard_Boolean (AIS_TexturedShape::*)() const>(&AIS_TexturedShape::TextureScale),
R"#(Returns true if scale factor should be applied to texture mapping)#"
)
.def("TextureScaleU",
(Standard_Real (AIS_TexturedShape::*)() const) static_cast<Standard_Real (AIS_TexturedShape::*)() const>(&AIS_TexturedShape::TextureScaleU),
R"#(Returns scale factor for U coordinate (1.0 by default))#"
)
.def("TextureScaleV",
(Standard_Real (AIS_TexturedShape::*)() const) static_cast<Standard_Real (AIS_TexturedShape::*)() const>(&AIS_TexturedShape::TextureScaleV),
R"#(Returns scale factor for V coordinate (1.0 by default))#"
)
.def("SetTextureScale",
(void (AIS_TexturedShape::*)( const Standard_Boolean , const Standard_Real , const Standard_Real ) ) static_cast<void (AIS_TexturedShape::*)( const Standard_Boolean , const Standard_Real , const Standard_Real ) >(&AIS_TexturedShape::SetTextureScale),
R"#(Use this method to scale the texture (percent of the face). You can specify a scale factor for both U and V. Example: if you set ScaleU and ScaleV to 0.5 and you enable texture repeat, the texture will appear twice on the face in each direction.)#" , py::arg("theToSetTextureScale"), py::arg("theScaleU")=static_cast<const Standard_Real>(1.0), py::arg("theScaleV")=static_cast<const Standard_Real>(1.0)
)
.def("ShowTriangles",
(Standard_Boolean (AIS_TexturedShape::*)() const) static_cast<Standard_Boolean (AIS_TexturedShape::*)() const>(&AIS_TexturedShape::ShowTriangles),
R"#(Returns true if displaying of triangles is requested)#"
)
.def("ShowTriangles",
(void (AIS_TexturedShape::*)( const Standard_Boolean ) ) static_cast<void (AIS_TexturedShape::*)( const Standard_Boolean ) >(&AIS_TexturedShape::ShowTriangles),
R"#(Use this method to show the triangulation of the shape (for debugging etc.).)#" , py::arg("theToShowTriangles")
)
.def("TextureModulate",
(Standard_Boolean (AIS_TexturedShape::*)() const) static_cast<Standard_Boolean (AIS_TexturedShape::*)() const>(&AIS_TexturedShape::TextureModulate),
R"#(Returns true if texture color modulation is turned on)#"
)
.def("AcceptDisplayMode",
(Standard_Boolean (AIS_TexturedShape::*)( const Standard_Integer ) const) static_cast<Standard_Boolean (AIS_TexturedShape::*)( const Standard_Integer ) const>(&AIS_TexturedShape::AcceptDisplayMode),
R"#(Return true if specified display mode is supported (extends AIS_Shape with Display Mode 3).)#" , py::arg("theMode")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&AIS_TexturedShape::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&AIS_TexturedShape::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("TexturePixMap",
(const opencascade::handle<Image_PixMap> & (AIS_TexturedShape::*)() const) static_cast<const opencascade::handle<Image_PixMap> & (AIS_TexturedShape::*)() const>(&AIS_TexturedShape::TexturePixMap),
R"#(Returns the source pixmap for texture map)#"
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (AIS_TexturedShape::*)() const) static_cast<const opencascade::handle<Standard_Type> & (AIS_TexturedShape::*)() const>(&AIS_TexturedShape::DynamicType),
R"#(None)#"
)
;
// functions
// ./opencascade/AIS.hxx
// ./opencascade/AIS_AngleDimension.hxx
// ./opencascade/AIS_Animation.hxx
// ./opencascade/AIS_AnimationAxisRotation.hxx
// ./opencascade/AIS_AnimationCamera.hxx
// ./opencascade/AIS_AnimationObject.hxx
// ./opencascade/AIS_AnimationTimer.hxx
// ./opencascade/AIS_AttributeFilter.hxx
// ./opencascade/AIS_Axis.hxx
// ./opencascade/AIS_BadEdgeFilter.hxx
// ./opencascade/AIS_BaseAnimationObject.hxx
// ./opencascade/AIS_C0RegularityFilter.hxx
// ./opencascade/AIS_CameraFrustum.hxx
// ./opencascade/AIS_Chamf2dDimension.hxx
// ./opencascade/AIS_Chamf3dDimension.hxx
// ./opencascade/AIS_Circle.hxx
// ./opencascade/AIS_ColorScale.hxx
// ./opencascade/AIS_ColoredDrawer.hxx
// ./opencascade/AIS_ColoredShape.hxx
// ./opencascade/AIS_ConcentricRelation.hxx
// ./opencascade/AIS_ConnectedInteractive.hxx
// ./opencascade/AIS_DataMapIteratorOfDataMapOfIOStatus.hxx
// ./opencascade/AIS_DataMapOfIOStatus.hxx
// ./opencascade/AIS_DataMapOfShapeDrawer.hxx
// ./opencascade/AIS_DiameterDimension.hxx
// ./opencascade/AIS_Dimension.hxx
// ./opencascade/AIS_DimensionOwner.hxx
// ./opencascade/AIS_DisplayMode.hxx
// ./opencascade/AIS_DisplayStatus.hxx
// ./opencascade/AIS_DragAction.hxx
// ./opencascade/AIS_EllipseRadiusDimension.hxx
// ./opencascade/AIS_EqualDistanceRelation.hxx
// ./opencascade/AIS_EqualRadiusRelation.hxx
// ./opencascade/AIS_ExclusionFilter.hxx
// ./opencascade/AIS_FixRelation.hxx
// ./opencascade/AIS_GlobalStatus.hxx
// ./opencascade/AIS_GraphicTool.hxx
// ./opencascade/AIS_IdenticRelation.hxx
// ./opencascade/AIS_InteractiveContext.hxx
// ./opencascade/AIS_InteractiveObject.hxx
// ./opencascade/AIS_KindOfInteractive.hxx
// ./opencascade/AIS_LengthDimension.hxx
// ./opencascade/AIS_LightSource.hxx
// ./opencascade/AIS_Line.hxx
// ./opencascade/AIS_ListIteratorOfListOfInteractive.hxx
// ./opencascade/AIS_ListOfInteractive.hxx
// ./opencascade/AIS_Manipulator.hxx
// ./opencascade/AIS_ManipulatorMode.hxx
// ./opencascade/AIS_ManipulatorOwner.hxx
// ./opencascade/AIS_MaxRadiusDimension.hxx
// ./opencascade/AIS_MediaPlayer.hxx
// ./opencascade/AIS_MidPointRelation.hxx
// ./opencascade/AIS_MinRadiusDimension.hxx
// ./opencascade/AIS_MouseGesture.hxx
// ./opencascade/AIS_MultipleConnectedInteractive.hxx
// ./opencascade/AIS_NArray1OfEntityOwner.hxx
// ./opencascade/AIS_NListOfEntityOwner.hxx
// ./opencascade/AIS_NavigationMode.hxx
// ./opencascade/AIS_OffsetDimension.hxx
// ./opencascade/AIS_ParallelRelation.hxx
// ./opencascade/AIS_PerpendicularRelation.hxx
// ./opencascade/AIS_Plane.hxx
// ./opencascade/AIS_PlaneTrihedron.hxx
// ./opencascade/AIS_Point.hxx
// ./opencascade/AIS_PointCloud.hxx
// ./opencascade/AIS_RadiusDimension.hxx
// ./opencascade/AIS_Relation.hxx
// ./opencascade/AIS_RotationMode.hxx
// ./opencascade/AIS_RubberBand.hxx
// ./opencascade/AIS_SelectStatus.hxx
// ./opencascade/AIS_Selection.hxx
// ./opencascade/AIS_SelectionModesConcurrency.hxx
// ./opencascade/AIS_SelectionScheme.hxx
// ./opencascade/AIS_Shape.hxx
// ./opencascade/AIS_SignatureFilter.hxx
// ./opencascade/AIS_StatusOfDetection.hxx
// ./opencascade/AIS_StatusOfPick.hxx
// ./opencascade/AIS_SymmetricRelation.hxx
// ./opencascade/AIS_TangentRelation.hxx
// ./opencascade/AIS_TextLabel.hxx
// ./opencascade/AIS_TexturedShape.hxx
// ./opencascade/AIS_Triangulation.hxx
// ./opencascade/AIS_Trihedron.hxx
// ./opencascade/AIS_TrihedronOwner.hxx
// ./opencascade/AIS_TrihedronSelectionMode.hxx
// ./opencascade/AIS_TypeFilter.hxx
// ./opencascade/AIS_TypeOfAttribute.hxx
// ./opencascade/AIS_TypeOfAxis.hxx
// ./opencascade/AIS_TypeOfIso.hxx
// ./opencascade/AIS_TypeOfPlane.hxx
// ./opencascade/AIS_ViewController.hxx
// ./opencascade/AIS_ViewCube.hxx
// ./opencascade/AIS_ViewInputBuffer.hxx
// ./opencascade/AIS_WalkDelta.hxx
// ./opencascade/AIS_XRTrackedDevice.hxx
// Additional functions
// operators
// register typdefs
register_template_NCollection_List<opencascade::handle<AIS_InteractiveObject>>(m,"AIS_ListOfInteractive");
register_template_NCollection_DataMap<unsigned int, AIS_MouseGesture>(m,"AIS_MouseGestureMap");
register_template_NCollection_DataMap<unsigned int, AIS_SelectionScheme>(m,"AIS_MouseSelectionSchemeMap");
register_template_NCollection_Array1<opencascade::handle<SelectMgr_EntityOwner>>(m,"AIS_NArray1OfEntityOwner");
register_template_NCollection_List<opencascade::handle<SelectMgr_EntityOwner>>(m,"AIS_NListOfEntityOwner");
// exceptions
// user-defined post-inclusion per module in the body
};
// user-defined post-inclusion per module
// user-defined post
|