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
|
// std lib related includes
#include <tuple>
// pybind 11 related includes
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
namespace py = pybind11;
// Standard Handle
#include <Standard_Handle.hxx>
// includes to resolve forward declarations
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Aspect_DisplayConnection.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 <Aspect_ScrollDelta.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Graphic3d_ArrayOfTriangles.hxx>
#include <Image_Texture.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
// module includes
#include <Aspect_AspectFillAreaDefinitionError.hxx>
#include <Aspect_AspectLineDefinitionError.hxx>
#include <Aspect_AspectMarkerDefinitionError.hxx>
#include <Aspect_Background.hxx>
#include <Aspect_CircularGrid.hxx>
#include <Aspect_ColorSpace.hxx>
#include <Aspect_Display.hxx>
#include <Aspect_DisplayConnection.hxx>
#include <Aspect_DisplayConnectionDefinitionError.hxx>
#include <Aspect_Drawable.hxx>
#include <Aspect_Eye.hxx>
#include <Aspect_FBConfig.hxx>
#include <Aspect_FillMethod.hxx>
#include <Aspect_FrustumLRBT.hxx>
#include <Aspect_GenId.hxx>
#include <Aspect_GradientBackground.hxx>
#include <Aspect_GradientFillMethod.hxx>
#include <Aspect_GraphicDeviceDefinitionError.hxx>
#include <Aspect_GraphicsLibrary.hxx>
#include <Aspect_Grid.hxx>
#include <Aspect_GridDrawMode.hxx>
#include <Aspect_GridType.hxx>
#include <Aspect_Handle.hxx>
#include <Aspect_HatchStyle.hxx>
#include <Aspect_IdentDefinitionError.hxx>
#include <Aspect_InteriorStyle.hxx>
#include <Aspect_NeutralWindow.hxx>
#include <Aspect_OpenVRSession.hxx>
#include <Aspect_PolygonOffsetMode.hxx>
#include <Aspect_RectangularGrid.hxx>
#include <Aspect_RenderingContext.hxx>
#include <Aspect_ScrollDelta.hxx>
#include <Aspect_SequenceOfColor.hxx>
#include <Aspect_SkydomeBackground.hxx>
#include <Aspect_Touch.hxx>
#include <Aspect_TouchMap.hxx>
#include <Aspect_TrackedDevicePose.hxx>
#include <Aspect_TypeOfColorScaleData.hxx>
#include <Aspect_TypeOfColorScaleOrientation.hxx>
#include <Aspect_TypeOfColorScalePosition.hxx>
#include <Aspect_TypeOfDeflection.hxx>
#include <Aspect_TypeOfDisplayText.hxx>
#include <Aspect_TypeOfFacingModel.hxx>
#include <Aspect_TypeOfHighlightMethod.hxx>
#include <Aspect_TypeOfLine.hxx>
#include <Aspect_TypeOfMarker.hxx>
#include <Aspect_TypeOfResize.hxx>
#include <Aspect_TypeOfStyleText.hxx>
#include <Aspect_TypeOfTriedronPosition.hxx>
#include <Aspect_Units.hxx>
#include <Aspect_VKey.hxx>
#include <Aspect_VKeyFlags.hxx>
#include <Aspect_WidthOfLine.hxx>
#include <Aspect_Window.hxx>
#include <Aspect_WindowDefinitionError.hxx>
#include <Aspect_WindowError.hxx>
#include <Aspect_WindowInputListener.hxx>
#include <Aspect_XAtom.hxx>
#include <Aspect_XRAction.hxx>
#include <Aspect_XRActionSet.hxx>
#include <Aspect_XRActionType.hxx>
#include <Aspect_XRAnalogActionData.hxx>
#include <Aspect_XRDigitalActionData.hxx>
#include <Aspect_XRGenericAction.hxx>
#include <Aspect_XRHapticActionData.hxx>
#include <Aspect_XRPoseActionData.hxx>
#include <Aspect_XRSession.hxx>
#include <Aspect_XRTrackedDeviceRole.hxx>
// template related includes
// ./opencascade/Aspect_SequenceOfColor.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Aspect_TouchMap.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Aspect_TrackedDevicePose.hxx
#include "NCollection_tmpl.hxx"
// user-defined pre
#include "OCP_specific.inc"
// user-defined inclusion per module
struct __GLXFBConfigRec {};
struct Aspect_XVisualInfo {};
#include <WNT_HIDSpaceMouse.hxx>
// Module definiiton
void register_Aspect(py::module &main_module) {
py::module m = static_cast<py::module>(main_module.attr("Aspect"));
py::object klass;
//Python trampoline classes
class Py_Aspect_Grid : public Aspect_Grid{
public:
using Aspect_Grid::Aspect_Grid;
// public pure virtual
void Display() override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_Grid,Display,) };
void Erase() const override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_Grid,Erase,) };
Standard_Boolean IsDisplayed() const override { using return_type = Standard_Boolean;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_Grid,IsDisplayed,) };
void Init() override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_Grid,Init,) };
void Compute( const Standard_Real X, const Standard_Real Y,Standard_Real & gridX,Standard_Real & gridY) const override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_Grid,Compute,X,Y,gridX,gridY) };
// protected pure virtual
void UpdateDisplay() override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_Grid,UpdateDisplay,) };
// private pure virtual
};
class Py_Aspect_Window : public Aspect_Window{
public:
using Aspect_Window::Aspect_Window;
// public pure virtual
Standard_Boolean IsMapped() const override { using return_type = Standard_Boolean;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_Window,IsMapped,) };
void Map() const override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_Window,Map,) };
void Unmap() const override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_Window,Unmap,) };
Aspect_TypeOfResize DoResize() override { using return_type = Aspect_TypeOfResize;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_Window,DoResize,) };
Standard_Boolean DoMapping() const override { using return_type = Standard_Boolean;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_Window,DoMapping,) };
Standard_Real Ratio() const override { using return_type = Standard_Real;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_Window,Ratio,) };
Aspect_Drawable NativeHandle() const override { using return_type = Aspect_Drawable;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_Window,NativeHandle,) };
Aspect_Drawable NativeParentHandle() const override { using return_type = Aspect_Drawable;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_Window,NativeParentHandle,) };
void Position(Standard_Integer & X1,Standard_Integer & Y1,Standard_Integer & X2,Standard_Integer & Y2) const override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_Window,Position,X1,Y1,X2,Y2) };
void Size(Standard_Integer & Width,Standard_Integer & Height) const override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_Window,Size,Width,Height) };
// protected pure virtual
// private pure virtual
};
class Py_Aspect_WindowInputListener : public Aspect_WindowInputListener{
public:
using Aspect_WindowInputListener::Aspect_WindowInputListener;
// public pure virtual
void ProcessExpose() override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_WindowInputListener,ProcessExpose,) };
void ProcessConfigure(bool theIsResized) override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_WindowInputListener,ProcessConfigure,theIsResized) };
void ProcessInput() override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_WindowInputListener,ProcessInput,) };
void ProcessFocus(bool theIsActivated) override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_WindowInputListener,ProcessFocus,theIsActivated) };
void ProcessClose() override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_WindowInputListener,ProcessClose,) };
void KeyDown(Aspect_VKey theKey,double theTime,double thePressure) override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_WindowInputListener,KeyDown,theKey,theTime,thePressure) };
void KeyUp(Aspect_VKey theKey,double theTime) override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_WindowInputListener,KeyUp,theKey,theTime) };
void KeyFromAxis(Aspect_VKey theNegative,Aspect_VKey thePositive,double theTime,double thePressure) override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_WindowInputListener,KeyFromAxis,theNegative,thePositive,theTime,thePressure) };
bool UpdateMouseScroll( const Aspect_ScrollDelta & theDelta) override { using return_type = bool;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_WindowInputListener,UpdateMouseScroll,theDelta) };
bool UpdateMouseButtons( const Graphic3d_Vec2i & thePoint,Aspect_VKeyMouse theButtons,Aspect_VKeyFlags theModifiers,bool theIsEmulated) override { using return_type = bool;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_WindowInputListener,UpdateMouseButtons,thePoint,theButtons,theModifiers,theIsEmulated) };
bool UpdateMousePosition( const Graphic3d_Vec2i & thePoint,Aspect_VKeyMouse theButtons,Aspect_VKeyFlags theModifiers,bool theIsEmulated) override { using return_type = bool;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_WindowInputListener,UpdateMousePosition,thePoint,theButtons,theModifiers,theIsEmulated) };
bool Update3dMouse( const WNT_HIDSpaceMouse & theEvent) override { using return_type = bool;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_WindowInputListener,Update3dMouse,theEvent) };
// protected pure virtual
// private pure virtual
};
class Py_Aspect_XRSession : public Aspect_XRSession{
public:
using Aspect_XRSession::Aspect_XRSession;
// public pure virtual
bool IsOpen() const override { using return_type = bool;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_XRSession,IsOpen,) };
bool Open() override { using return_type = bool;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_XRSession,Open,) };
void Close() override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_XRSession,Close,) };
bool WaitPoses() override { using return_type = bool;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_XRSession,WaitPoses,) };
NCollection_Vec2<int> RecommendedViewport() const override { using return_type = NCollection_Vec2<int>;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_XRSession,RecommendedViewport,) };
NCollection_Mat4<double> EyeToHeadTransform(Aspect_Eye theEye) const override { using return_type = NCollection_Mat4<double>;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_XRSession,EyeToHeadTransform,theEye) };
NCollection_Mat4<double> ProjectionMatrix(Aspect_Eye theEye,double theZNear,double theZFar) const override { using return_type = NCollection_Mat4<double>;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_XRSession,ProjectionMatrix,theEye,theZNear,theZFar) };
bool HasProjectionFrustums() const override { using return_type = bool;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_XRSession,HasProjectionFrustums,) };
void ProcessEvents() override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_XRSession,ProcessEvents,) };
bool SubmitEye(void * theTexture,Aspect_GraphicsLibrary theGraphicsLib,Aspect_ColorSpace theColorSpace,Aspect_Eye theEye) override { using return_type = bool;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_XRSession,SubmitEye,theTexture,theGraphicsLib,theColorSpace,theEye) };
Standard_Integer NamedTrackedDevice(Aspect_XRTrackedDeviceRole theDevice) const override { using return_type = Standard_Integer;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_XRSession,NamedTrackedDevice,theDevice) };
Aspect_XRDigitalActionData GetDigitalActionData( const handle<Aspect_XRAction> & theAction) const override { using return_type = Aspect_XRDigitalActionData;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_XRSession,GetDigitalActionData,theAction) };
Aspect_XRAnalogActionData GetAnalogActionData( const handle<Aspect_XRAction> & theAction) const override { using return_type = Aspect_XRAnalogActionData;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_XRSession,GetAnalogActionData,theAction) };
Aspect_XRPoseActionData GetPoseActionDataForNextFrame( const handle<Aspect_XRAction> & theAction) const override { using return_type = Aspect_XRPoseActionData;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_XRSession,GetPoseActionDataForNextFrame,theAction) };
TCollection_AsciiString GetString(Aspect_XRSession::InfoString theInfo) const override { using return_type = TCollection_AsciiString;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_XRSession,GetString,theInfo) };
// protected pure virtual
handle<Graphic3d_ArrayOfTriangles> loadRenderModel(Standard_Integer theDevice,Standard_Boolean theToApplyUnitFactor,handle<Image_Texture> & theTexture) override { using return_type = handle<Graphic3d_ArrayOfTriangles>;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_XRSession,loadRenderModel,theDevice,theToApplyUnitFactor,theTexture) };
void triggerHapticVibrationAction( const handle<Aspect_XRAction> & theAction, const Aspect_XRHapticActionData & theParams) override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_XRSession,triggerHapticVibrationAction,theAction,theParams) };
// private pure virtual
};
class Py_Aspect_CircularGrid : public Aspect_CircularGrid{
public:
using Aspect_CircularGrid::Aspect_CircularGrid;
// public pure virtual
void Display() override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_Grid,Display,) };
void Erase() const override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_Grid,Erase,) };
Standard_Boolean IsDisplayed() const override { using return_type = Standard_Boolean;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_Grid,IsDisplayed,) };
// protected pure virtual
void UpdateDisplay() override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_Grid,UpdateDisplay,) };
// private pure virtual
};
class Py_Aspect_RectangularGrid : public Aspect_RectangularGrid{
public:
using Aspect_RectangularGrid::Aspect_RectangularGrid;
// public pure virtual
void Display() override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_Grid,Display,) };
void Erase() const override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_Grid,Erase,) };
Standard_Boolean IsDisplayed() const override { using return_type = Standard_Boolean;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_Grid,IsDisplayed,) };
// protected pure virtual
void UpdateDisplay() override { using return_type = void;
PYBIND11_OVERLOAD_PURE(return_type,Aspect_Grid,UpdateDisplay,) };
// private pure virtual
};
// classes
// Class Aspect_Background from ./opencascade/Aspect_Background.hxx
klass = m.attr("Aspect_Background");
// nested enums
static_cast<py::class_<Aspect_Background , shared_ptr<Aspect_Background> >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Quantity_Color & >() , py::arg("AColor") )
// custom constructors
// methods
.def("SetColor",
(void (Aspect_Background::*)( const Quantity_Color & ) ) static_cast<void (Aspect_Background::*)( const Quantity_Color & ) >(&Aspect_Background::SetColor),
R"#(Modifies the colour of the window background <me>.)#" , py::arg("AColor")
)
.def("Color",
(Quantity_Color (Aspect_Background::*)() const) static_cast<Quantity_Color (Aspect_Background::*)() const>(&Aspect_Background::Color),
R"#(Returns the colour of the window background <me>.)#"
)
.def("DumpJson",
(void (Aspect_Background::*)( Standard_OStream & , Standard_Integer ) const) static_cast<void (Aspect_Background::*)( Standard_OStream & , Standard_Integer ) const>(&Aspect_Background::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class Aspect_DisplayConnection from ./opencascade/Aspect_DisplayConnection.hxx
klass = m.attr("Aspect_DisplayConnection");
// nested enums
static_cast<py::class_<Aspect_DisplayConnection ,opencascade::handle<Aspect_DisplayConnection> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const TCollection_AsciiString & >() , py::arg("theDisplayName") )
// custom constructors
// methods
.def("IsOwnDisplay",
(Standard_Boolean (Aspect_DisplayConnection::*)() const) static_cast<Standard_Boolean (Aspect_DisplayConnection::*)() const>(&Aspect_DisplayConnection::IsOwnDisplay),
R"#(Returns TRUE if X Display has been allocated by this class)#"
)
.def("GetAtom",
(uint64_t (Aspect_DisplayConnection::*)( const Aspect_XAtom ) const) static_cast<uint64_t (Aspect_DisplayConnection::*)( const Aspect_XAtom ) const>(&Aspect_DisplayConnection::GetAtom),
R"#(Returns identifier(atom) for custom named property associated with windows that use current connection to X server.)#" , py::arg("theAtom")
)
.def("GetDefaultVisualInfo",
(Aspect_XVisualInfo * (Aspect_DisplayConnection::*)() const) static_cast<Aspect_XVisualInfo * (Aspect_DisplayConnection::*)() const>(&Aspect_DisplayConnection::GetDefaultVisualInfo),
R"#(Return default window visual or NULL when undefined.)#"
)
.def("GetDefaultFBConfig",
(Aspect_FBConfig (Aspect_DisplayConnection::*)() const) static_cast<Aspect_FBConfig (Aspect_DisplayConnection::*)() const>(&Aspect_DisplayConnection::GetDefaultFBConfig),
R"#(Returns native Window FB config (GLXFBConfig on Xlib))#"
)
.def("SetDefaultVisualInfo",
(void (Aspect_DisplayConnection::*)( Aspect_XVisualInfo * , Aspect_FBConfig ) ) static_cast<void (Aspect_DisplayConnection::*)( Aspect_XVisualInfo * , Aspect_FBConfig ) >(&Aspect_DisplayConnection::SetDefaultVisualInfo),
R"#(Set default window visual; the visual will be deallocated using XFree().)#" , py::arg("theVisual"), py::arg("theFBConfig")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
( const char * (*)() ) static_cast< const char * (*)() >(&Aspect_DisplayConnection::get_type_name),
R"#()#"
)
.def_static("get_type_descriptor_s",
( const handle<Standard_Type> & (*)() ) static_cast< const handle<Standard_Type> & (*)() >(&Aspect_DisplayConnection::get_type_descriptor),
R"#()#"
)
// 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 handle<Standard_Type> & (Aspect_DisplayConnection::*)() const) static_cast< const handle<Standard_Type> & (Aspect_DisplayConnection::*)() const>(&Aspect_DisplayConnection::DynamicType),
R"#()#"
)
;
// Class Aspect_GenId from ./opencascade/Aspect_GenId.hxx
klass = m.attr("Aspect_GenId");
// nested enums
static_cast<py::class_<Aspect_GenId , shared_ptr<Aspect_GenId> >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Standard_Integer, const Standard_Integer >() , py::arg("theLow"), py::arg("theUpper") )
// custom constructors
// methods
.def("Free",
(void (Aspect_GenId::*)() ) static_cast<void (Aspect_GenId::*)() >(&Aspect_GenId::Free),
R"#(Free all identifiers - make the whole range available again.)#"
)
.def("Free",
(void (Aspect_GenId::*)( const Standard_Integer ) ) static_cast<void (Aspect_GenId::*)( const Standard_Integer ) >(&Aspect_GenId::Free),
R"#(Free specified identifier. Warning - method has no protection against double-freeing!)#" , py::arg("theId")
)
.def("HasFree",
(Standard_Boolean (Aspect_GenId::*)() const) static_cast<Standard_Boolean (Aspect_GenId::*)() const>(&Aspect_GenId::HasFree),
R"#(Returns true if there are available identifiers in range.)#"
)
.def("Available",
(Standard_Integer (Aspect_GenId::*)() const) static_cast<Standard_Integer (Aspect_GenId::*)() const>(&Aspect_GenId::Available),
R"#(Returns the number of available identifiers.)#"
)
.def("Lower",
(Standard_Integer (Aspect_GenId::*)() const) static_cast<Standard_Integer (Aspect_GenId::*)() const>(&Aspect_GenId::Lower),
R"#(Returns the lower identifier in range.)#"
)
.def("Next",
(Standard_Integer (Aspect_GenId::*)() ) static_cast<Standard_Integer (Aspect_GenId::*)() >(&Aspect_GenId::Next),
R"#(Returns the next available identifier. Warning: Raises IdentDefinitionError if all identifiers are busy.)#"
)
.def("Next",
(Standard_Boolean (Aspect_GenId::*)( Standard_Integer & ) ) static_cast<Standard_Boolean (Aspect_GenId::*)( Standard_Integer & ) >(&Aspect_GenId::Next),
R"#(Generates the next available identifier.)#" , py::arg("theId")
)
.def("Upper",
(Standard_Integer (Aspect_GenId::*)() const) static_cast<Standard_Integer (Aspect_GenId::*)() const>(&Aspect_GenId::Upper),
R"#(Returns the upper identifier in range.)#"
)
.def("DumpJson",
(void (Aspect_GenId::*)( Standard_OStream & , Standard_Integer ) const) static_cast<void (Aspect_GenId::*)( Standard_OStream & , Standard_Integer ) const>(&Aspect_GenId::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class Aspect_Grid from ./opencascade/Aspect_Grid.hxx
klass = m.attr("Aspect_Grid");
// nested enums
static_cast<py::class_<Aspect_Grid ,opencascade::handle<Aspect_Grid> ,Py_Aspect_Grid , Standard_Transient >>(klass)
// constructors
// custom constructors
// methods
.def("SetXOrigin",
(void (Aspect_Grid::*)( const Standard_Real ) ) static_cast<void (Aspect_Grid::*)( const Standard_Real ) >(&Aspect_Grid::SetXOrigin),
R"#(defines the x Origin of the grid.)#" , py::arg("anOrigin")
)
.def("SetYOrigin",
(void (Aspect_Grid::*)( const Standard_Real ) ) static_cast<void (Aspect_Grid::*)( const Standard_Real ) >(&Aspect_Grid::SetYOrigin),
R"#(defines the y Origin of the grid.)#" , py::arg("anOrigin")
)
.def("SetRotationAngle",
(void (Aspect_Grid::*)( const Standard_Real ) ) static_cast<void (Aspect_Grid::*)( const Standard_Real ) >(&Aspect_Grid::SetRotationAngle),
R"#(defines the orientation of the grid.)#" , py::arg("anAngle")
)
.def("Rotate",
(void (Aspect_Grid::*)( const Standard_Real ) ) static_cast<void (Aspect_Grid::*)( const Standard_Real ) >(&Aspect_Grid::Rotate),
R"#(Rotate the grid from a relative angle.)#" , py::arg("anAngle")
)
.def("Translate",
(void (Aspect_Grid::*)( const Standard_Real , const Standard_Real ) ) static_cast<void (Aspect_Grid::*)( const Standard_Real , const Standard_Real ) >(&Aspect_Grid::Translate),
R"#(Translate the grid from a relative distance.)#" , py::arg("aDx"), py::arg("aDy")
)
.def("SetColors",
(void (Aspect_Grid::*)( const Quantity_Color & , const Quantity_Color & ) ) static_cast<void (Aspect_Grid::*)( const Quantity_Color & , const Quantity_Color & ) >(&Aspect_Grid::SetColors),
R"#(Change the colors of the grid)#" , py::arg("aColor"), py::arg("aTenthColor")
)
.def("Activate",
(void (Aspect_Grid::*)() ) static_cast<void (Aspect_Grid::*)() >(&Aspect_Grid::Activate),
R"#(activates the grid. The Hit method will return gridx and gridx computed according to the steps of the grid.)#"
)
.def("Deactivate",
(void (Aspect_Grid::*)() ) static_cast<void (Aspect_Grid::*)() >(&Aspect_Grid::Deactivate),
R"#(deactivates the grid. The hit method will return gridx and gridx as the enter value X & Y.)#"
)
.def("XOrigin",
(Standard_Real (Aspect_Grid::*)() const) static_cast<Standard_Real (Aspect_Grid::*)() const>(&Aspect_Grid::XOrigin),
R"#(returns the x Origin of the grid.)#"
)
.def("YOrigin",
(Standard_Real (Aspect_Grid::*)() const) static_cast<Standard_Real (Aspect_Grid::*)() const>(&Aspect_Grid::YOrigin),
R"#(returns the x Origin of the grid.)#"
)
.def("RotationAngle",
(Standard_Real (Aspect_Grid::*)() const) static_cast<Standard_Real (Aspect_Grid::*)() const>(&Aspect_Grid::RotationAngle),
R"#(returns the x Angle of the grid.)#"
)
.def("IsActive",
(Standard_Boolean (Aspect_Grid::*)() const) static_cast<Standard_Boolean (Aspect_Grid::*)() const>(&Aspect_Grid::IsActive),
R"#(Returns TRUE when the grid is active.)#"
)
.def("Colors",
(void (Aspect_Grid::*)( Quantity_Color & , Quantity_Color & ) const) static_cast<void (Aspect_Grid::*)( Quantity_Color & , Quantity_Color & ) const>(&Aspect_Grid::Colors),
R"#(Returns the colors of the grid.)#" , py::arg("aColor"), py::arg("aTenthColor")
)
.def("SetDrawMode",
(void (Aspect_Grid::*)( const Aspect_GridDrawMode ) ) static_cast<void (Aspect_Grid::*)( const Aspect_GridDrawMode ) >(&Aspect_Grid::SetDrawMode),
R"#(Change the grid aspect.)#" , py::arg("aDrawMode")
)
.def("DrawMode",
(Aspect_GridDrawMode (Aspect_Grid::*)() const) static_cast<Aspect_GridDrawMode (Aspect_Grid::*)() const>(&Aspect_Grid::DrawMode),
R"#(Returns the grid aspect.)#"
)
.def("Display",
(void (Aspect_Grid::*)() ) static_cast<void (Aspect_Grid::*)() >(&Aspect_Grid::Display),
R"#(Display the grid at screen.)#"
)
.def("Erase",
(void (Aspect_Grid::*)() const) static_cast<void (Aspect_Grid::*)() const>(&Aspect_Grid::Erase),
R"#(Erase the grid from screen.)#"
)
.def("IsDisplayed",
(Standard_Boolean (Aspect_Grid::*)() const) static_cast<Standard_Boolean (Aspect_Grid::*)() const>(&Aspect_Grid::IsDisplayed),
R"#(Returns TRUE when the grid is displayed at screen.)#"
)
.def("Init",
(void (Aspect_Grid::*)() ) static_cast<void (Aspect_Grid::*)() >(&Aspect_Grid::Init),
R"#()#"
)
.def("DumpJson",
(void (Aspect_Grid::*)( Standard_OStream & , Standard_Integer ) const) static_cast<void (Aspect_Grid::*)( Standard_OStream & , Standard_Integer ) const>(&Aspect_Grid::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("Hit",
[]( Aspect_Grid &self , const Standard_Real X, const Standard_Real Y ){
Standard_Real gridX;
Standard_Real gridY;
self.Hit(X,Y,gridX,gridY);
return std::make_tuple(gridX,gridY); },
R"#(returns the point of the grid the closest to the point X,Y if the grid is active. If the grid is not active returns X,Y.)#" , py::arg("X"), py::arg("Y")
)
.def("Compute",
[]( Aspect_Grid &self , const Standard_Real X, const Standard_Real Y ){
Standard_Real gridX;
Standard_Real gridY;
self.Compute(X,Y,gridX,gridY);
return std::make_tuple(gridX,gridY); },
R"#(returns the point of the grid the closest to the point X,Y)#" , py::arg("X"), py::arg("Y")
)
// static methods
.def_static("get_type_name_s",
( const char * (*)() ) static_cast< const char * (*)() >(&Aspect_Grid::get_type_name),
R"#()#"
)
.def_static("get_type_descriptor_s",
( const handle<Standard_Type> & (*)() ) static_cast< const handle<Standard_Type> & (*)() >(&Aspect_Grid::get_type_descriptor),
R"#()#"
)
// 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 handle<Standard_Type> & (Aspect_Grid::*)() const) static_cast< const handle<Standard_Type> & (Aspect_Grid::*)() const>(&Aspect_Grid::DynamicType),
R"#()#"
)
;
// Class Aspect_ScrollDelta from ./opencascade/Aspect_ScrollDelta.hxx
klass = m.attr("Aspect_ScrollDelta");
// nested enums
static_cast<py::class_<Aspect_ScrollDelta , shared_ptr<Aspect_ScrollDelta> >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const NCollection_Vec2<int> &,Standard_Real,Aspect_VKeyFlags >() , py::arg("thePnt"), py::arg("theValue"), py::arg("theFlags")=static_cast<Aspect_VKeyFlags>(Aspect_VKeyFlags_NONE) )
.def(py::init< Standard_Real,Aspect_VKeyFlags >() , py::arg("theValue"), py::arg("theFlags")=static_cast<Aspect_VKeyFlags>(Aspect_VKeyFlags_NONE) )
// custom constructors
// methods
.def("HasPoint",
(bool (Aspect_ScrollDelta::*)() const) static_cast<bool (Aspect_ScrollDelta::*)() const>(&Aspect_ScrollDelta::HasPoint),
R"#(Return true if action has point defined.)#"
)
.def("ResetPoint",
(void (Aspect_ScrollDelta::*)() ) static_cast<void (Aspect_ScrollDelta::*)() >(&Aspect_ScrollDelta::ResetPoint),
R"#(Reset at point.)#"
)
// 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("Delta", &Aspect_ScrollDelta::Delta)
.def_readwrite("Flags", &Aspect_ScrollDelta::Flags)
// methods returning by ref wrapped as properties
;
// Class Aspect_SkydomeBackground from ./opencascade/Aspect_SkydomeBackground.hxx
klass = m.attr("Aspect_SkydomeBackground");
// nested enums
static_cast<py::class_<Aspect_SkydomeBackground , shared_ptr<Aspect_SkydomeBackground> >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const gp_Dir &,Standard_ShortReal,Standard_ShortReal,Standard_ShortReal,Standard_Integer >() , py::arg("theSunDirection"), py::arg("theCloudiness"), py::arg("theTime"), py::arg("theFogginess"), py::arg("theSize") )
// custom constructors
// methods
.def("Cloudiness",
(Standard_ShortReal (Aspect_SkydomeBackground::*)() const) static_cast<Standard_ShortReal (Aspect_SkydomeBackground::*)() const>(&Aspect_SkydomeBackground::Cloudiness),
R"#(Get cloud intensity. By default this value is 0.2 0.0 means no clouds at all and 1.0 - high clody.)#"
)
.def("TimeParameter",
(Standard_ShortReal (Aspect_SkydomeBackground::*)() const) static_cast<Standard_ShortReal (Aspect_SkydomeBackground::*)() const>(&Aspect_SkydomeBackground::TimeParameter),
R"#(Get time of cloud simulation. By default this value is 0.0 This value might be tweaked to slightly change appearance of clouds.)#"
)
.def("Fogginess",
(Standard_ShortReal (Aspect_SkydomeBackground::*)() const) static_cast<Standard_ShortReal (Aspect_SkydomeBackground::*)() const>(&Aspect_SkydomeBackground::Fogginess),
R"#(Get fog intensity. By default this value is 0.0 0.0 means no fog and 1.0 - high fogginess)#"
)
.def("Size",
(Standard_Integer (Aspect_SkydomeBackground::*)() const) static_cast<Standard_Integer (Aspect_SkydomeBackground::*)() const>(&Aspect_SkydomeBackground::Size),
R"#(Get size of cubemap. By default this value is 512)#"
)
.def("SetSunDirection",
(void (Aspect_SkydomeBackground::*)( const gp_Dir & ) ) static_cast<void (Aspect_SkydomeBackground::*)( const gp_Dir & ) >(&Aspect_SkydomeBackground::SetSunDirection),
R"#(Set sun direction. By default this value is (0, 1, 0) Sun direction with negative Y component represents moon with (-X, -Y, -Z) direction.)#" , py::arg("theSunDirection")
)
.def("SetCloudiness",
(void (Aspect_SkydomeBackground::*)( Standard_ShortReal ) ) static_cast<void (Aspect_SkydomeBackground::*)( Standard_ShortReal ) >(&Aspect_SkydomeBackground::SetCloudiness),
R"#(Set cloud intensity. By default this value is 0.2 0.0 means no clouds at all and 1.0 - high clody.)#" , py::arg("theCloudiness")
)
.def("SetTimeParameter",
(void (Aspect_SkydomeBackground::*)( Standard_ShortReal ) ) static_cast<void (Aspect_SkydomeBackground::*)( Standard_ShortReal ) >(&Aspect_SkydomeBackground::SetTimeParameter),
R"#(Set time of cloud simulation. By default this value is 0.0 This value might be tweaked to slightly change appearance of clouds.)#" , py::arg("theTime")
)
.def("SetFogginess",
(void (Aspect_SkydomeBackground::*)( Standard_ShortReal ) ) static_cast<void (Aspect_SkydomeBackground::*)( Standard_ShortReal ) >(&Aspect_SkydomeBackground::SetFogginess),
R"#(Set fog intensity. By default this value is 0.0 0.0 means no fog and 1.0 - high fogginess)#" , py::arg("theFogginess")
)
.def("SetSize",
(void (Aspect_SkydomeBackground::*)( Standard_Integer ) ) static_cast<void (Aspect_SkydomeBackground::*)( Standard_Integer ) >(&Aspect_SkydomeBackground::SetSize),
R"#(Set size of cubemap. By default this value is 512)#" , py::arg("theSize")
)
.def("DumpJson",
(void (Aspect_SkydomeBackground::*)( Standard_OStream & , Standard_Integer ) const) static_cast<void (Aspect_SkydomeBackground::*)( Standard_OStream & , Standard_Integer ) const>(&Aspect_SkydomeBackground::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("SunDirection",
( const gp_Dir & (Aspect_SkydomeBackground::*)() const) static_cast< const gp_Dir & (Aspect_SkydomeBackground::*)() const>(&Aspect_SkydomeBackground::SunDirection),
R"#(Get sun direction. By default this value is (0, 1, 0) Sun direction with negative Y component represents moon with (-X, -Y, -Z) direction.)#"
)
;
// Class Aspect_Touch from ./opencascade/Aspect_Touch.hxx
klass = m.attr("Aspect_Touch");
// nested enums
static_cast<py::class_<Aspect_Touch , shared_ptr<Aspect_Touch> >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const NCollection_Vec2<Standard_Real> &,Standard_Boolean >() , py::arg("thePnt"), py::arg("theIsPreciseDevice") )
.def(py::init< Standard_Real,Standard_Real,Standard_Boolean >() , py::arg("theX"), py::arg("theY"), py::arg("theIsPreciseDevice") )
// custom constructors
// methods
.def("Delta",
(NCollection_Vec2<Standard_Real> (Aspect_Touch::*)() const) static_cast<NCollection_Vec2<Standard_Real> (Aspect_Touch::*)() const>(&Aspect_Touch::Delta),
R"#(Return values delta.)#"
)
// 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("IsPreciseDevice", &Aspect_Touch::IsPreciseDevice)
// methods returning by ref wrapped as properties
;
// Class Aspect_TrackedDevicePose from ./opencascade/Aspect_TrackedDevicePose.hxx
klass = m.attr("Aspect_TrackedDevicePose");
// nested enums
static_cast<py::class_<Aspect_TrackedDevicePose , shared_ptr<Aspect_TrackedDevicePose> >>(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("Orientation", &Aspect_TrackedDevicePose::Orientation)
.def_readwrite("Velocity", &Aspect_TrackedDevicePose::Velocity)
.def_readwrite("AngularVelocity", &Aspect_TrackedDevicePose::AngularVelocity)
// methods returning by ref wrapped as properties
;
// Class Aspect_Window from ./opencascade/Aspect_Window.hxx
klass = m.attr("Aspect_Window");
// nested enums
static_cast<py::class_<Aspect_Window ,opencascade::handle<Aspect_Window> ,Py_Aspect_Window , Standard_Transient >>(klass)
// constructors
// custom constructors
// methods
.def("IsVirtual",
(Standard_Boolean (Aspect_Window::*)() const) static_cast<Standard_Boolean (Aspect_Window::*)() const>(&Aspect_Window::IsVirtual),
R"#(Returns True if the window <me> is virtual)#"
)
.def("SetVirtual",
(void (Aspect_Window::*)( const Standard_Boolean ) ) static_cast<void (Aspect_Window::*)( const Standard_Boolean ) >(&Aspect_Window::SetVirtual),
R"#(Setup the virtual state)#" , py::arg("theVirtual")
)
.def("TopLeft",
(Graphic3d_Vec2i (Aspect_Window::*)() const) static_cast<Graphic3d_Vec2i (Aspect_Window::*)() const>(&Aspect_Window::TopLeft),
R"#(Returns window top-left corner.)#"
)
.def("Dimensions",
(Graphic3d_Vec2i (Aspect_Window::*)() const) static_cast<Graphic3d_Vec2i (Aspect_Window::*)() const>(&Aspect_Window::Dimensions),
R"#(Returns window dimensions.)#"
)
.def("Background",
(Aspect_Background (Aspect_Window::*)() const) static_cast<Aspect_Background (Aspect_Window::*)() const>(&Aspect_Window::Background),
R"#(Returns the window background.)#"
)
.def("BackgroundFillMethod",
(Aspect_FillMethod (Aspect_Window::*)() const) static_cast<Aspect_FillMethod (Aspect_Window::*)() const>(&Aspect_Window::BackgroundFillMethod),
R"#(Returns the current image background fill mode.)#"
)
.def("GradientBackground",
(Aspect_GradientBackground (Aspect_Window::*)() const) static_cast<Aspect_GradientBackground (Aspect_Window::*)() const>(&Aspect_Window::GradientBackground),
R"#(Returns the window gradient background.)#"
)
.def("SetBackground",
(void (Aspect_Window::*)( const Aspect_Background & ) ) static_cast<void (Aspect_Window::*)( const Aspect_Background & ) >(&Aspect_Window::SetBackground),
R"#(Modifies the window background.)#" , py::arg("theBack")
)
.def("SetBackground",
(void (Aspect_Window::*)( const Quantity_Color & ) ) static_cast<void (Aspect_Window::*)( const Quantity_Color & ) >(&Aspect_Window::SetBackground),
R"#(Modifies the window background.)#" , py::arg("theColor")
)
.def("SetBackground",
(void (Aspect_Window::*)( const Aspect_GradientBackground & ) ) static_cast<void (Aspect_Window::*)( const Aspect_GradientBackground & ) >(&Aspect_Window::SetBackground),
R"#(Modifies the window gradient background.)#" , py::arg("theBackground")
)
.def("SetBackground",
(void (Aspect_Window::*)( const Quantity_Color & , const Quantity_Color & , const Aspect_GradientFillMethod ) ) static_cast<void (Aspect_Window::*)( const Quantity_Color & , const Quantity_Color & , const Aspect_GradientFillMethod ) >(&Aspect_Window::SetBackground),
R"#(Modifies the window gradient background.)#" , py::arg("theFirstColor"), py::arg("theSecondColor"), py::arg("theFillMethod")
)
.def("IsMapped",
(Standard_Boolean (Aspect_Window::*)() const) static_cast<Standard_Boolean (Aspect_Window::*)() const>(&Aspect_Window::IsMapped),
R"#(Returns True if the window <me> is opened and False if the window is closed.)#"
)
.def("Map",
(void (Aspect_Window::*)() const) static_cast<void (Aspect_Window::*)() const>(&Aspect_Window::Map),
R"#(Opens the window <me>.)#"
)
.def("Unmap",
(void (Aspect_Window::*)() const) static_cast<void (Aspect_Window::*)() const>(&Aspect_Window::Unmap),
R"#(Closes the window <me>.)#"
)
.def("DoResize",
(Aspect_TypeOfResize (Aspect_Window::*)() ) static_cast<Aspect_TypeOfResize (Aspect_Window::*)() >(&Aspect_Window::DoResize),
R"#(Apply the resizing to the window <me>.)#"
)
.def("DoMapping",
(Standard_Boolean (Aspect_Window::*)() const) static_cast<Standard_Boolean (Aspect_Window::*)() const>(&Aspect_Window::DoMapping),
R"#(Apply the mapping change to the window <me>. and returns TRUE if the window is mapped at screen.)#"
)
.def("Ratio",
(Standard_Real (Aspect_Window::*)() const) static_cast<Standard_Real (Aspect_Window::*)() const>(&Aspect_Window::Ratio),
R"#(Returns The Window RATIO equal to the physical WIDTH/HEIGHT dimensions)#"
)
.def("NativeHandle",
(Aspect_Drawable (Aspect_Window::*)() const) static_cast<Aspect_Drawable (Aspect_Window::*)() const>(&Aspect_Window::NativeHandle),
R"#(Returns native Window handle (HWND on Windows, Window with Xlib, and so on))#"
)
.def("NativeParentHandle",
(Aspect_Drawable (Aspect_Window::*)() const) static_cast<Aspect_Drawable (Aspect_Window::*)() const>(&Aspect_Window::NativeParentHandle),
R"#(Returns parent of native Window handle (HWND on Windows, Window with Xlib, and so on))#"
)
.def("SetTitle",
(void (Aspect_Window::*)( const TCollection_AsciiString & ) ) static_cast<void (Aspect_Window::*)( const TCollection_AsciiString & ) >(&Aspect_Window::SetTitle),
R"#(Sets window title.)#" , py::arg("theTitle")
)
.def("InvalidateContent",
(void (Aspect_Window::*)( const handle<Aspect_DisplayConnection> & ) ) static_cast<void (Aspect_Window::*)( const handle<Aspect_DisplayConnection> & ) >(&Aspect_Window::InvalidateContent),
R"#(Invalidate entire window content.)#" , py::arg("theDisp")
)
.def("DevicePixelRatio",
(Standard_Real (Aspect_Window::*)() const) static_cast<Standard_Real (Aspect_Window::*)() const>(&Aspect_Window::DevicePixelRatio),
R"#(Return device pixel ratio (logical to backing store scale factor).)#"
)
.def("ConvertPointToBacking",
(Graphic3d_Vec2d (Aspect_Window::*)( const Graphic3d_Vec2d & ) const) static_cast<Graphic3d_Vec2d (Aspect_Window::*)( const Graphic3d_Vec2d & ) const>(&Aspect_Window::ConvertPointToBacking),
R"#(Convert point from logical units into backing store units.)#" , py::arg("thePnt")
)
.def("ConvertPointFromBacking",
(Graphic3d_Vec2d (Aspect_Window::*)( const Graphic3d_Vec2d & ) const) static_cast<Graphic3d_Vec2d (Aspect_Window::*)( const Graphic3d_Vec2d & ) const>(&Aspect_Window::ConvertPointFromBacking),
R"#(Convert point from backing store units to logical units.)#" , py::arg("thePnt")
)
.def("DumpJson",
(void (Aspect_Window::*)( Standard_OStream & , Standard_Integer ) const) static_cast<void (Aspect_Window::*)( Standard_OStream & , Standard_Integer ) const>(&Aspect_Window::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
.def("Position",
[]( Aspect_Window &self ){
Standard_Integer X1;
Standard_Integer Y1;
Standard_Integer X2;
Standard_Integer Y2;
self.Position(X1,Y1,X2,Y2);
return std::make_tuple(X1,Y1,X2,Y2); },
R"#(Returns The Window POSITION in PIXEL)#"
)
.def("Size",
[]( Aspect_Window &self ){
Standard_Integer Width;
Standard_Integer Height;
self.Size(Width,Height);
return std::make_tuple(Width,Height); },
R"#(Returns The Window SIZE in PIXEL)#"
)
// static methods
.def_static("get_type_name_s",
( const char * (*)() ) static_cast< const char * (*)() >(&Aspect_Window::get_type_name),
R"#()#"
)
.def_static("get_type_descriptor_s",
( const handle<Standard_Type> & (*)() ) static_cast< const handle<Standard_Type> & (*)() >(&Aspect_Window::get_type_descriptor),
R"#()#"
)
// 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 handle<Standard_Type> & (Aspect_Window::*)() const) static_cast< const handle<Standard_Type> & (Aspect_Window::*)() const>(&Aspect_Window::DynamicType),
R"#()#"
)
.def("DisplayConnection",
( const handle<Aspect_DisplayConnection> & (Aspect_Window::*)() const) static_cast< const handle<Aspect_DisplayConnection> & (Aspect_Window::*)() const>(&Aspect_Window::DisplayConnection),
R"#(Returns connection to Display or NULL.)#"
)
;
// Class Aspect_WindowInputListener from ./opencascade/Aspect_WindowInputListener.hxx
klass = m.attr("Aspect_WindowInputListener");
// nested enums
static_cast<py::class_<Aspect_WindowInputListener , shared_ptr<Aspect_WindowInputListener> ,Py_Aspect_WindowInputListener >>(klass)
// constructors
// custom constructors
// methods
.def("EventTime",
(double (Aspect_WindowInputListener::*)() const) static_cast<double (Aspect_WindowInputListener::*)() const>(&Aspect_WindowInputListener::EventTime),
R"#(Return event time (e.g. current time).)#"
)
.def("ProcessExpose",
(void (Aspect_WindowInputListener::*)() ) static_cast<void (Aspect_WindowInputListener::*)() >(&Aspect_WindowInputListener::ProcessExpose),
R"#(Handle expose event (window content has been invalidation and should be redrawn).)#"
)
.def("ProcessConfigure",
(void (Aspect_WindowInputListener::*)( bool ) ) static_cast<void (Aspect_WindowInputListener::*)( bool ) >(&Aspect_WindowInputListener::ProcessConfigure),
R"#(Handle window resize event.)#" , py::arg("theIsResized")
)
.def("ProcessInput",
(void (Aspect_WindowInputListener::*)() ) static_cast<void (Aspect_WindowInputListener::*)() >(&Aspect_WindowInputListener::ProcessInput),
R"#(Handle window input event immediately (flush input buffer or ignore).)#"
)
.def("ProcessFocus",
(void (Aspect_WindowInputListener::*)( bool ) ) static_cast<void (Aspect_WindowInputListener::*)( bool ) >(&Aspect_WindowInputListener::ProcessFocus),
R"#(Handle focus event.)#" , py::arg("theIsActivated")
)
.def("ProcessClose",
(void (Aspect_WindowInputListener::*)() ) static_cast<void (Aspect_WindowInputListener::*)() >(&Aspect_WindowInputListener::ProcessClose),
R"#(Handle window close event.)#"
)
.def("KeyDown",
(void (Aspect_WindowInputListener::*)( Aspect_VKey , double , double ) ) static_cast<void (Aspect_WindowInputListener::*)( Aspect_VKey , double , double ) >(&Aspect_WindowInputListener::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 (Aspect_WindowInputListener::*)( Aspect_VKey , double ) ) static_cast<void (Aspect_WindowInputListener::*)( Aspect_VKey , double ) >(&Aspect_WindowInputListener::KeyUp),
R"#(Release key. Default implementation updates internal cache.)#" , py::arg("theKey"), py::arg("theTime")
)
.def("KeyFromAxis",
(void (Aspect_WindowInputListener::*)( Aspect_VKey , Aspect_VKey , double , double ) ) static_cast<void (Aspect_WindowInputListener::*)( Aspect_VKey , Aspect_VKey , double , double ) >(&Aspect_WindowInputListener::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("UpdateMouseScroll",
(bool (Aspect_WindowInputListener::*)( const Aspect_ScrollDelta & ) ) static_cast<bool (Aspect_WindowInputListener::*)( const Aspect_ScrollDelta & ) >(&Aspect_WindowInputListener::UpdateMouseScroll),
R"#(Update mouse scroll event. This method is expected to be called from UI thread.)#" , py::arg("theDelta")
)
.def("UpdateMouseButtons",
(bool (Aspect_WindowInputListener::*)( const Graphic3d_Vec2i & , Aspect_VKeyMouse , Aspect_VKeyFlags , bool ) ) static_cast<bool (Aspect_WindowInputListener::*)( const Graphic3d_Vec2i & , Aspect_VKeyMouse , Aspect_VKeyFlags , bool ) >(&Aspect_WindowInputListener::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 (Aspect_WindowInputListener::*)( const Graphic3d_Vec2i & , Aspect_VKeyMouse , Aspect_VKeyFlags , bool ) ) static_cast<bool (Aspect_WindowInputListener::*)( const Graphic3d_Vec2i & , Aspect_VKeyMouse , Aspect_VKeyFlags , bool ) >(&Aspect_WindowInputListener::UpdateMousePosition),
R"#(Handle mouse cursor movement event. This method is expected to be called from UI thread. Default implementation does nothing.)#" , py::arg("thePoint"), py::arg("theButtons"), py::arg("theModifiers"), py::arg("theIsEmulated")
)
.def("PressMouseButton",
(bool (Aspect_WindowInputListener::*)( const Graphic3d_Vec2i & , Aspect_VKeyMouse , Aspect_VKeyFlags , bool ) ) static_cast<bool (Aspect_WindowInputListener::*)( const Graphic3d_Vec2i & , Aspect_VKeyMouse , Aspect_VKeyFlags , bool ) >(&Aspect_WindowInputListener::PressMouseButton),
R"#(Handle mouse button press event. This method is expected to be called from UI thread. Default implementation redirects to UpdateMousePosition().)#" , py::arg("thePoint"), py::arg("theButton"), py::arg("theModifiers"), py::arg("theIsEmulated")
)
.def("ReleaseMouseButton",
(bool (Aspect_WindowInputListener::*)( const Graphic3d_Vec2i & , Aspect_VKeyMouse , Aspect_VKeyFlags , bool ) ) static_cast<bool (Aspect_WindowInputListener::*)( const Graphic3d_Vec2i & , Aspect_VKeyMouse , Aspect_VKeyFlags , bool ) >(&Aspect_WindowInputListener::ReleaseMouseButton),
R"#(Handle mouse button release event. This method is expected to be called from UI thread. Default implementation redirects to UpdateMousePosition().)#" , py::arg("thePoint"), py::arg("theButton"), py::arg("theModifiers"), py::arg("theIsEmulated")
)
.def("PressedMouseButtons",
(Aspect_VKeyMouse (Aspect_WindowInputListener::*)() const) static_cast<Aspect_VKeyMouse (Aspect_WindowInputListener::*)() const>(&Aspect_WindowInputListener::PressedMouseButtons),
R"#(Return currently pressed mouse buttons.)#"
)
.def("LastMouseFlags",
(Aspect_VKeyFlags (Aspect_WindowInputListener::*)() const) static_cast<Aspect_VKeyFlags (Aspect_WindowInputListener::*)() const>(&Aspect_WindowInputListener::LastMouseFlags),
R"#(Return active key modifiers passed with last mouse event.)#"
)
.def("HasTouchPoints",
(bool (Aspect_WindowInputListener::*)() const) static_cast<bool (Aspect_WindowInputListener::*)() const>(&Aspect_WindowInputListener::HasTouchPoints),
R"#(Return TRUE if touches map is not empty.)#"
)
.def("AddTouchPoint",
(void (Aspect_WindowInputListener::*)( Standard_Size , const Graphic3d_Vec2d & , Standard_Boolean ) ) static_cast<void (Aspect_WindowInputListener::*)( Standard_Size , const Graphic3d_Vec2d & , Standard_Boolean ) >(&Aspect_WindowInputListener::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 (Aspect_WindowInputListener::*)( Standard_Size , Standard_Boolean ) ) static_cast<bool (Aspect_WindowInputListener::*)( Standard_Size , Standard_Boolean ) >(&Aspect_WindowInputListener::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 (Aspect_WindowInputListener::*)( Standard_Size , const Graphic3d_Vec2d & ) ) static_cast<void (Aspect_WindowInputListener::*)( Standard_Size , const Graphic3d_Vec2d & ) >(&Aspect_WindowInputListener::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("Get3dMouseTranslationScale",
(float (Aspect_WindowInputListener::*)() const) static_cast<float (Aspect_WindowInputListener::*)() const>(&Aspect_WindowInputListener::Get3dMouseTranslationScale),
R"#(Return acceleration ratio for translation event; 2.0 by default.)#"
)
.def("Set3dMouseTranslationScale",
(void (Aspect_WindowInputListener::*)( float ) ) static_cast<void (Aspect_WindowInputListener::*)( float ) >(&Aspect_WindowInputListener::Set3dMouseTranslationScale),
R"#(Set acceleration ratio for translation event.)#" , py::arg("theScale")
)
.def("Get3dMouseRotationScale",
(float (Aspect_WindowInputListener::*)() const) static_cast<float (Aspect_WindowInputListener::*)() const>(&Aspect_WindowInputListener::Get3dMouseRotationScale),
R"#(Return acceleration ratio for rotation event; 4.0 by default.)#"
)
.def("Set3dMouseRotationScale",
(void (Aspect_WindowInputListener::*)( float ) ) static_cast<void (Aspect_WindowInputListener::*)( float ) >(&Aspect_WindowInputListener::Set3dMouseRotationScale),
R"#(Set acceleration ratio for rotation event.)#" , py::arg("theScale")
)
.def("To3dMousePreciseInput",
(bool (Aspect_WindowInputListener::*)() const) static_cast<bool (Aspect_WindowInputListener::*)() const>(&Aspect_WindowInputListener::To3dMousePreciseInput),
R"#(Return quadric acceleration flag; TRUE by default.)#"
)
.def("Set3dMousePreciseInput",
(void (Aspect_WindowInputListener::*)( bool ) ) static_cast<void (Aspect_WindowInputListener::*)( bool ) >(&Aspect_WindowInputListener::Set3dMousePreciseInput),
R"#(Set quadric acceleration flag.)#" , py::arg("theIsQuadric")
)
.def("Update3dMouse",
(bool (Aspect_WindowInputListener::*)( const WNT_HIDSpaceMouse & ) ) static_cast<bool (Aspect_WindowInputListener::*)( const WNT_HIDSpaceMouse & ) >(&Aspect_WindowInputListener::Update3dMouse),
R"#(Process 3d mouse input event (redirects to translation, rotation and keys).)#" , py::arg("theEvent")
)
.def("update3dMouseTranslation",
(bool (Aspect_WindowInputListener::*)( const WNT_HIDSpaceMouse & ) ) static_cast<bool (Aspect_WindowInputListener::*)( const WNT_HIDSpaceMouse & ) >(&Aspect_WindowInputListener::update3dMouseTranslation),
R"#(Process 3d mouse input translation event.)#" , py::arg("theEvent")
)
.def("update3dMouseRotation",
(bool (Aspect_WindowInputListener::*)( const WNT_HIDSpaceMouse & ) ) static_cast<bool (Aspect_WindowInputListener::*)( const WNT_HIDSpaceMouse & ) >(&Aspect_WindowInputListener::update3dMouseRotation),
R"#(Process 3d mouse input rotation event.)#" , py::arg("theEvent")
)
.def("update3dMouseKeys",
(bool (Aspect_WindowInputListener::*)( const WNT_HIDSpaceMouse & ) ) static_cast<bool (Aspect_WindowInputListener::*)( const WNT_HIDSpaceMouse & ) >(&Aspect_WindowInputListener::update3dMouseKeys),
R"#(Process 3d mouse input keys event.)#" , py::arg("theEvent")
)
// 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("Keys",
( const Aspect_VKeySet & (Aspect_WindowInputListener::*)() const) static_cast< const Aspect_VKeySet & (Aspect_WindowInputListener::*)() const>(&Aspect_WindowInputListener::Keys),
R"#(Return keyboard state.)#"
)
.def("ChangeKeys",
(Aspect_VKeySet & (Aspect_WindowInputListener::*)() ) static_cast<Aspect_VKeySet & (Aspect_WindowInputListener::*)() >(&Aspect_WindowInputListener::ChangeKeys),
R"#(Return keyboard state.)#"
, py::return_value_policy::reference_internal
)
.def("LastMousePosition",
( const Graphic3d_Vec2i & (Aspect_WindowInputListener::*)() const) static_cast< const Graphic3d_Vec2i & (Aspect_WindowInputListener::*)() const>(&Aspect_WindowInputListener::LastMousePosition),
R"#(Return last mouse position.)#"
)
.def("TouchPoints",
( const Aspect_TouchMap & (Aspect_WindowInputListener::*)() const) static_cast< const Aspect_TouchMap & (Aspect_WindowInputListener::*)() const>(&Aspect_WindowInputListener::TouchPoints),
R"#(Return map of active touches.)#"
)
.def("Get3dMouseIsNoRotate",
( const NCollection_Vec3<bool> & (Aspect_WindowInputListener::*)() const) static_cast< const NCollection_Vec3<bool> & (Aspect_WindowInputListener::*)() const>(&Aspect_WindowInputListener::Get3dMouseIsNoRotate),
R"#(Return 3d mouse rotation axes (tilt/roll/spin) ignore flag; (FALSE, FALSE, FALSE) by default.)#"
)
.def("Change3dMouseIsNoRotate",
(NCollection_Vec3<bool> & (Aspect_WindowInputListener::*)() ) static_cast<NCollection_Vec3<bool> & (Aspect_WindowInputListener::*)() >(&Aspect_WindowInputListener::Change3dMouseIsNoRotate),
R"#(Return 3d mouse rotation axes (tilt/roll/spin) ignore flag; (FALSE, FALSE, FALSE) by default.)#"
, py::return_value_policy::reference_internal
)
.def("Get3dMouseToReverse",
( const NCollection_Vec3<bool> & (Aspect_WindowInputListener::*)() const) static_cast< const NCollection_Vec3<bool> & (Aspect_WindowInputListener::*)() const>(&Aspect_WindowInputListener::Get3dMouseToReverse),
R"#(Return 3d mouse rotation axes (tilt/roll/spin) reverse flag; (TRUE, FALSE, FALSE) by default.)#"
)
.def("Change3dMouseToReverse",
(NCollection_Vec3<bool> & (Aspect_WindowInputListener::*)() ) static_cast<NCollection_Vec3<bool> & (Aspect_WindowInputListener::*)() >(&Aspect_WindowInputListener::Change3dMouseToReverse),
R"#(Return 3d mouse rotation axes (tilt/roll/spin) reverse flag; (TRUE, FALSE, FALSE) by default.)#"
, py::return_value_policy::reference_internal
)
;
// Class Aspect_XRAction from ./opencascade/Aspect_XRAction.hxx
klass = m.attr("Aspect_XRAction");
// nested enums
static_cast<py::class_<Aspect_XRAction ,opencascade::handle<Aspect_XRAction> , Standard_Transient >>(klass)
// constructors
.def(py::init< const TCollection_AsciiString &, const Aspect_XRActionType >() , py::arg("theId"), py::arg("theType") )
// custom constructors
// methods
.def("Type",
(Aspect_XRActionType (Aspect_XRAction::*)() const) static_cast<Aspect_XRActionType (Aspect_XRAction::*)() const>(&Aspect_XRAction::Type),
R"#(Return action type.)#"
)
.def("IsValid",
(bool (Aspect_XRAction::*)() const) static_cast<bool (Aspect_XRAction::*)() const>(&Aspect_XRAction::IsValid),
R"#(Return TRUE if action is defined.)#"
)
.def("RawHandle",
(uint64_t (Aspect_XRAction::*)() const) static_cast<uint64_t (Aspect_XRAction::*)() const>(&Aspect_XRAction::RawHandle),
R"#(Return action handle.)#"
)
.def("SetRawHandle",
(void (Aspect_XRAction::*)( uint64_t ) ) static_cast<void (Aspect_XRAction::*)( uint64_t ) >(&Aspect_XRAction::SetRawHandle),
R"#(Set action handle.)#" , py::arg("theHande")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
( const char * (*)() ) static_cast< const char * (*)() >(&Aspect_XRAction::get_type_name),
R"#()#"
)
.def_static("get_type_descriptor_s",
( const handle<Standard_Type> & (*)() ) static_cast< const handle<Standard_Type> & (*)() >(&Aspect_XRAction::get_type_descriptor),
R"#()#"
)
// 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 handle<Standard_Type> & (Aspect_XRAction::*)() const) static_cast< const handle<Standard_Type> & (Aspect_XRAction::*)() const>(&Aspect_XRAction::DynamicType),
R"#()#"
)
.def("Id",
( const TCollection_AsciiString & (Aspect_XRAction::*)() const) static_cast< const TCollection_AsciiString & (Aspect_XRAction::*)() const>(&Aspect_XRAction::Id),
R"#(Return action id.)#"
)
;
// Class Aspect_XRActionSet from ./opencascade/Aspect_XRActionSet.hxx
klass = m.attr("Aspect_XRActionSet");
// nested enums
static_cast<py::class_<Aspect_XRActionSet ,opencascade::handle<Aspect_XRActionSet> , Standard_Transient >>(klass)
// constructors
.def(py::init< const TCollection_AsciiString & >() , py::arg("theId") )
// custom constructors
// methods
.def("RawHandle",
(uint64_t (Aspect_XRActionSet::*)() const) static_cast<uint64_t (Aspect_XRActionSet::*)() const>(&Aspect_XRActionSet::RawHandle),
R"#(Return action handle.)#"
)
.def("SetRawHandle",
(void (Aspect_XRActionSet::*)( uint64_t ) ) static_cast<void (Aspect_XRActionSet::*)( uint64_t ) >(&Aspect_XRActionSet::SetRawHandle),
R"#(Set action handle.)#" , py::arg("theHande")
)
.def("AddAction",
(void (Aspect_XRActionSet::*)( const handle<Aspect_XRAction> & ) ) static_cast<void (Aspect_XRActionSet::*)( const handle<Aspect_XRAction> & ) >(&Aspect_XRActionSet::AddAction),
R"#(Add action.)#" , py::arg("theAction")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
( const char * (*)() ) static_cast< const char * (*)() >(&Aspect_XRActionSet::get_type_name),
R"#()#"
)
.def_static("get_type_descriptor_s",
( const handle<Standard_Type> & (*)() ) static_cast< const handle<Standard_Type> & (*)() >(&Aspect_XRActionSet::get_type_descriptor),
R"#()#"
)
// 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 handle<Standard_Type> & (Aspect_XRActionSet::*)() const) static_cast< const handle<Standard_Type> & (Aspect_XRActionSet::*)() const>(&Aspect_XRActionSet::DynamicType),
R"#()#"
)
.def("Id",
( const TCollection_AsciiString & (Aspect_XRActionSet::*)() const) static_cast< const TCollection_AsciiString & (Aspect_XRActionSet::*)() const>(&Aspect_XRActionSet::Id),
R"#(Return action id.)#"
)
.def("Actions",
( const Aspect_XRActionMap & (Aspect_XRActionSet::*)() const) static_cast< const Aspect_XRActionMap & (Aspect_XRActionSet::*)() const>(&Aspect_XRActionSet::Actions),
R"#(Return map of actions.)#"
)
;
// Class Aspect_XRAnalogActionData from ./opencascade/Aspect_XRAnalogActionData.hxx
klass = m.attr("Aspect_XRAnalogActionData");
// nested enums
static_cast<py::class_<Aspect_XRAnalogActionData , shared_ptr<Aspect_XRAnalogActionData> >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("IsChanged",
(bool (Aspect_XRAnalogActionData::*)() ) static_cast<bool (Aspect_XRAnalogActionData::*)() >(&Aspect_XRAnalogActionData::IsChanged),
R"#(Return TRUE if delta is non-zero.)#"
)
// 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 Aspect_XRDigitalActionData from ./opencascade/Aspect_XRDigitalActionData.hxx
klass = m.attr("Aspect_XRDigitalActionData");
// nested enums
static_cast<py::class_<Aspect_XRDigitalActionData , shared_ptr<Aspect_XRDigitalActionData> >>(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
// methods returning by ref wrapped as properties
;
// Class Aspect_XRHapticActionData from ./opencascade/Aspect_XRHapticActionData.hxx
klass = m.attr("Aspect_XRHapticActionData");
// nested enums
static_cast<py::class_<Aspect_XRHapticActionData , shared_ptr<Aspect_XRHapticActionData> >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("IsValid",
(bool (Aspect_XRHapticActionData::*)() const) static_cast<bool (Aspect_XRHapticActionData::*)() const>(&Aspect_XRHapticActionData::IsValid),
R"#(Return TRUE if data is not 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
// methods returning by ref wrapped as properties
;
// Class Aspect_XRPoseActionData from ./opencascade/Aspect_XRPoseActionData.hxx
klass = m.attr("Aspect_XRPoseActionData");
// nested enums
static_cast<py::class_<Aspect_XRPoseActionData , shared_ptr<Aspect_XRPoseActionData> >>(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("Pose", &Aspect_XRPoseActionData::Pose)
// methods returning by ref wrapped as properties
;
// Class Aspect_XRSession from ./opencascade/Aspect_XRSession.hxx
klass = m.attr("Aspect_XRSession");
// nested enums
py::enum_<Aspect_XRSession::TrackingUniverseOrigin>(klass, "TrackingUniverseOrigin_e", R"#(Identifies which style of tracking origin the application wants to use for the poses it is requesting.)#")
.value("TrackingUniverseOrigin_Seated", Aspect_XRSession::TrackingUniverseOrigin::TrackingUniverseOrigin_Seated)
.value("TrackingUniverseOrigin_Standing", Aspect_XRSession::TrackingUniverseOrigin::TrackingUniverseOrigin_Standing).export_values();
py::enum_<Aspect_XRSession::InfoString>(klass, "InfoString_e", R"#(Info string enumeration.)#")
.value("InfoString_Vendor", Aspect_XRSession::InfoString::InfoString_Vendor)
.value("InfoString_Device", Aspect_XRSession::InfoString::InfoString_Device)
.value("InfoString_Tracker", Aspect_XRSession::InfoString::InfoString_Tracker)
.value("InfoString_SerialNumber", Aspect_XRSession::InfoString::InfoString_SerialNumber).export_values();
static_cast<py::class_<Aspect_XRSession ,opencascade::handle<Aspect_XRSession> ,Py_Aspect_XRSession , Standard_Transient >>(klass)
// constructors
// custom constructors
// methods
.def("IsOpen",
(bool (Aspect_XRSession::*)() const) static_cast<bool (Aspect_XRSession::*)() const>(&Aspect_XRSession::IsOpen),
R"#(Return TRUE if session is opened.)#"
)
.def("Open",
(bool (Aspect_XRSession::*)() ) static_cast<bool (Aspect_XRSession::*)() >(&Aspect_XRSession::Open),
R"#(Initialize session.)#"
)
.def("Close",
(void (Aspect_XRSession::*)() ) static_cast<void (Aspect_XRSession::*)() >(&Aspect_XRSession::Close),
R"#(Release session.)#"
)
.def("WaitPoses",
(bool (Aspect_XRSession::*)() ) static_cast<bool (Aspect_XRSession::*)() >(&Aspect_XRSession::WaitPoses),
R"#(Fetch actual poses of tracked devices.)#"
)
.def("RecommendedViewport",
(NCollection_Vec2<int> (Aspect_XRSession::*)() const) static_cast<NCollection_Vec2<int> (Aspect_XRSession::*)() const>(&Aspect_XRSession::RecommendedViewport),
R"#(Return recommended viewport Width x Height for rendering into VR.)#"
)
.def("EyeToHeadTransform",
(NCollection_Mat4<double> (Aspect_XRSession::*)( Aspect_Eye ) const) static_cast<NCollection_Mat4<double> (Aspect_XRSession::*)( Aspect_Eye ) const>(&Aspect_XRSession::EyeToHeadTransform),
R"#(Return transformation from eye to head.)#" , py::arg("theEye")
)
.def("HeadToEyeTransform",
(NCollection_Mat4<double> (Aspect_XRSession::*)( Aspect_Eye ) const) static_cast<NCollection_Mat4<double> (Aspect_XRSession::*)( Aspect_Eye ) const>(&Aspect_XRSession::HeadToEyeTransform),
R"#(Return transformation from head to eye.)#" , py::arg("theEye")
)
.def("ProjectionMatrix",
(NCollection_Mat4<double> (Aspect_XRSession::*)( Aspect_Eye , double , double ) const) static_cast<NCollection_Mat4<double> (Aspect_XRSession::*)( Aspect_Eye , double , double ) const>(&Aspect_XRSession::ProjectionMatrix),
R"#(Return projection matrix.)#" , py::arg("theEye"), py::arg("theZNear"), py::arg("theZFar")
)
.def("HasProjectionFrustums",
(bool (Aspect_XRSession::*)() const) static_cast<bool (Aspect_XRSession::*)() const>(&Aspect_XRSession::HasProjectionFrustums),
R"#(Return FALSE if projection frustums are unsupported and general 4x4 projection matrix should be fetched instead)#"
)
.def("ProcessEvents",
(void (Aspect_XRSession::*)() ) static_cast<void (Aspect_XRSession::*)() >(&Aspect_XRSession::ProcessEvents),
R"#(Receive XR events.)#"
)
.def("SubmitEye",
(bool (Aspect_XRSession::*)( void * , Aspect_GraphicsLibrary , Aspect_ColorSpace , Aspect_Eye ) ) static_cast<bool (Aspect_XRSession::*)( void * , Aspect_GraphicsLibrary , Aspect_ColorSpace , Aspect_Eye ) >(&Aspect_XRSession::SubmitEye),
R"#(Submit texture eye to XR Composer.)#" , py::arg("theTexture"), py::arg("theGraphicsLib"), py::arg("theColorSpace"), py::arg("theEye")
)
.def("UnitFactor",
(Standard_Real (Aspect_XRSession::*)() const) static_cast<Standard_Real (Aspect_XRSession::*)() const>(&Aspect_XRSession::UnitFactor),
R"#(Return unit scale factor defined as scale factor for m (meters); 1.0 by default.)#"
)
.def("SetUnitFactor",
(void (Aspect_XRSession::*)( Standard_Real ) ) static_cast<void (Aspect_XRSession::*)( Standard_Real ) >(&Aspect_XRSession::SetUnitFactor),
R"#(Set unit scale factor.)#" , py::arg("theFactor")
)
.def("Aspect",
(Standard_Real (Aspect_XRSession::*)() const) static_cast<Standard_Real (Aspect_XRSession::*)() const>(&Aspect_XRSession::Aspect),
R"#(Return aspect ratio.)#"
)
.def("FieldOfView",
(Standard_Real (Aspect_XRSession::*)() const) static_cast<Standard_Real (Aspect_XRSession::*)() const>(&Aspect_XRSession::FieldOfView),
R"#(Return field of view.)#"
)
.def("IOD",
(Standard_Real (Aspect_XRSession::*)() const) static_cast<Standard_Real (Aspect_XRSession::*)() const>(&Aspect_XRSession::IOD),
R"#(Return Intra-ocular Distance (IOD); also known as Interpupillary Distance (IPD). Defined in meters by default ()#"
)
.def("DisplayFrequency",
(Standard_ShortReal (Aspect_XRSession::*)() const) static_cast<Standard_ShortReal (Aspect_XRSession::*)() const>(&Aspect_XRSession::DisplayFrequency),
R"#(Return display frequency or 0 if unknown.)#"
)
.def("ProjectionFrustum",
( const Aspect_FrustumLRBT<double> & (Aspect_XRSession::*)( Aspect_Eye ) const) static_cast< const Aspect_FrustumLRBT<double> & (Aspect_XRSession::*)( Aspect_Eye ) const>(&Aspect_XRSession::ProjectionFrustum),
R"#(Return projection frustum.)#" , py::arg("theEye")
)
.def("LeftHandPose",
(gp_Trsf (Aspect_XRSession::*)() const) static_cast<gp_Trsf (Aspect_XRSession::*)() const>(&Aspect_XRSession::LeftHandPose),
R"#(Return left hand orientation.)#"
)
.def("RightHandPose",
(gp_Trsf (Aspect_XRSession::*)() const) static_cast<gp_Trsf (Aspect_XRSession::*)() const>(&Aspect_XRSession::RightHandPose),
R"#(Return right hand orientation.)#"
)
.def("HasTrackedPose",
(bool (Aspect_XRSession::*)( Standard_Integer ) const) static_cast<bool (Aspect_XRSession::*)( Standard_Integer ) const>(&Aspect_XRSession::HasTrackedPose),
R"#(Return TRUE if device orientation is defined.)#" , py::arg("theDevice")
)
.def("NamedTrackedDevice",
(Standard_Integer (Aspect_XRSession::*)( Aspect_XRTrackedDeviceRole ) const) static_cast<Standard_Integer (Aspect_XRSession::*)( Aspect_XRTrackedDeviceRole ) const>(&Aspect_XRSession::NamedTrackedDevice),
R"#(Return index of tracked device of known role, or -1 if undefined.)#" , py::arg("theDevice")
)
.def("LoadRenderModel",
(handle<Graphic3d_ArrayOfTriangles> (Aspect_XRSession::*)( Standard_Integer , handle<Image_Texture> & ) ) static_cast<handle<Graphic3d_ArrayOfTriangles> (Aspect_XRSession::*)( Standard_Integer , handle<Image_Texture> & ) >(&Aspect_XRSession::LoadRenderModel),
R"#(Load model for displaying device.)#" , py::arg("theDevice"), py::arg("theTexture")
)
.def("LoadRenderModel",
(handle<Graphic3d_ArrayOfTriangles> (Aspect_XRSession::*)( Standard_Integer , Standard_Boolean , handle<Image_Texture> & ) ) static_cast<handle<Graphic3d_ArrayOfTriangles> (Aspect_XRSession::*)( Standard_Integer , Standard_Boolean , handle<Image_Texture> & ) >(&Aspect_XRSession::LoadRenderModel),
R"#(Load model for displaying device.)#" , py::arg("theDevice"), py::arg("theToApplyUnitFactor"), py::arg("theTexture")
)
.def("GetDigitalActionData",
(Aspect_XRDigitalActionData (Aspect_XRSession::*)( const handle<Aspect_XRAction> & ) const) static_cast<Aspect_XRDigitalActionData (Aspect_XRSession::*)( const handle<Aspect_XRAction> & ) const>(&Aspect_XRSession::GetDigitalActionData),
R"#(Fetch data for digital input action (like button).)#" , py::arg("theAction")
)
.def("GetAnalogActionData",
(Aspect_XRAnalogActionData (Aspect_XRSession::*)( const handle<Aspect_XRAction> & ) const) static_cast<Aspect_XRAnalogActionData (Aspect_XRSession::*)( const handle<Aspect_XRAction> & ) const>(&Aspect_XRSession::GetAnalogActionData),
R"#(Fetch data for digital input action (like axis).)#" , py::arg("theAction")
)
.def("GetPoseActionDataForNextFrame",
(Aspect_XRPoseActionData (Aspect_XRSession::*)( const handle<Aspect_XRAction> & ) const) static_cast<Aspect_XRPoseActionData (Aspect_XRSession::*)( const handle<Aspect_XRAction> & ) const>(&Aspect_XRSession::GetPoseActionDataForNextFrame),
R"#(Fetch data for pose input action (like fingertip position). The returned values will match the values returned by the last call to WaitPoses().)#" , py::arg("theAction")
)
.def("TriggerHapticVibrationAction",
(void (Aspect_XRSession::*)( const handle<Aspect_XRAction> & , const Aspect_XRHapticActionData & ) ) static_cast<void (Aspect_XRSession::*)( const handle<Aspect_XRAction> & , const Aspect_XRHapticActionData & ) >(&Aspect_XRSession::TriggerHapticVibrationAction),
R"#(Trigger vibration.)#" , py::arg("theAction"), py::arg("theParams")
)
.def("AbortHapticVibrationAction",
(void (Aspect_XRSession::*)( const handle<Aspect_XRAction> & ) ) static_cast<void (Aspect_XRSession::*)( const handle<Aspect_XRAction> & ) >(&Aspect_XRSession::AbortHapticVibrationAction),
R"#(Abort vibration.)#" , py::arg("theAction")
)
.def("TrackingOrigin",
(Aspect_XRSession::TrackingUniverseOrigin (Aspect_XRSession::*)() const) static_cast<Aspect_XRSession::TrackingUniverseOrigin (Aspect_XRSession::*)() const>(&Aspect_XRSession::TrackingOrigin),
R"#(Return tracking origin.)#"
)
.def("SetTrackingOrigin",
(void (Aspect_XRSession::*)( Aspect_XRSession::TrackingUniverseOrigin ) ) static_cast<void (Aspect_XRSession::*)( Aspect_XRSession::TrackingUniverseOrigin ) >(&Aspect_XRSession::SetTrackingOrigin),
R"#(Set tracking origin.)#" , py::arg("theOrigin")
)
.def("GenericAction",
( const handle<Aspect_XRAction> & (Aspect_XRSession::*)( Aspect_XRTrackedDeviceRole , Aspect_XRGenericAction ) const) static_cast< const handle<Aspect_XRAction> & (Aspect_XRSession::*)( Aspect_XRTrackedDeviceRole , Aspect_XRGenericAction ) const>(&Aspect_XRSession::GenericAction),
R"#(Return generic action for specific hand or NULL if undefined.)#" , py::arg("theDevice"), py::arg("theAction")
)
.def("GetString",
(TCollection_AsciiString (Aspect_XRSession::*)( Aspect_XRSession::InfoString ) const) static_cast<TCollection_AsciiString (Aspect_XRSession::*)( Aspect_XRSession::InfoString ) const>(&Aspect_XRSession::GetString),
R"#(Query information.)#" , py::arg("theInfo")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
( const char * (*)() ) static_cast< const char * (*)() >(&Aspect_XRSession::get_type_name),
R"#()#"
)
.def_static("get_type_descriptor_s",
( const handle<Standard_Type> & (*)() ) static_cast< const handle<Standard_Type> & (*)() >(&Aspect_XRSession::get_type_descriptor),
R"#()#"
)
// 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 handle<Standard_Type> & (Aspect_XRSession::*)() const) static_cast< const handle<Standard_Type> & (Aspect_XRSession::*)() const>(&Aspect_XRSession::DynamicType),
R"#()#"
)
.def("HeadPose",
( const gp_Trsf & (Aspect_XRSession::*)() const) static_cast< const gp_Trsf & (Aspect_XRSession::*)() const>(&Aspect_XRSession::HeadPose),
R"#(Return head orientation in right-handed system: +y is up +x is to the right -z is forward Distance unit is meters by default ()#"
)
.def("TrackedPoses",
( const Aspect_TrackedDevicePoseArray & (Aspect_XRSession::*)() const) static_cast< const Aspect_TrackedDevicePoseArray & (Aspect_XRSession::*)() const>(&Aspect_XRSession::TrackedPoses),
R"#(Return number of tracked poses array.)#"
)
;
// Class Aspect_CircularGrid from ./opencascade/Aspect_CircularGrid.hxx
klass = m.attr("Aspect_CircularGrid");
// nested enums
static_cast<py::class_<Aspect_CircularGrid ,opencascade::handle<Aspect_CircularGrid> ,Py_Aspect_CircularGrid , Aspect_Grid >>(klass)
// constructors
.def(py::init< const Standard_Real, const Standard_Integer, const Standard_Real, const Standard_Real, const Standard_Real >() , py::arg("aRadiusStep"), py::arg("aDivisionNumber"), py::arg("XOrigin")=static_cast< const Standard_Real>(0), py::arg("anYOrigin")=static_cast< const Standard_Real>(0), py::arg("aRotationAngle")=static_cast< const Standard_Real>(0) )
// custom constructors
// methods
.def("SetRadiusStep",
(void (Aspect_CircularGrid::*)( const Standard_Real ) ) static_cast<void (Aspect_CircularGrid::*)( const Standard_Real ) >(&Aspect_CircularGrid::SetRadiusStep),
R"#(defines the x step of the grid.)#" , py::arg("aStep")
)
.def("SetDivisionNumber",
(void (Aspect_CircularGrid::*)( const Standard_Integer ) ) static_cast<void (Aspect_CircularGrid::*)( const Standard_Integer ) >(&Aspect_CircularGrid::SetDivisionNumber),
R"#(defines the step of the grid.)#" , py::arg("aNumber")
)
.def("SetGridValues",
(void (Aspect_CircularGrid::*)( const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Integer , const Standard_Real ) ) static_cast<void (Aspect_CircularGrid::*)( const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Integer , const Standard_Real ) >(&Aspect_CircularGrid::SetGridValues),
R"#()#" , py::arg("XOrigin"), py::arg("YOrigin"), py::arg("RadiusStep"), py::arg("DivisionNumber"), py::arg("RotationAngle")
)
.def("RadiusStep",
(Standard_Real (Aspect_CircularGrid::*)() const) static_cast<Standard_Real (Aspect_CircularGrid::*)() const>(&Aspect_CircularGrid::RadiusStep),
R"#(returns the x step of the grid.)#"
)
.def("DivisionNumber",
(Standard_Integer (Aspect_CircularGrid::*)() const) static_cast<Standard_Integer (Aspect_CircularGrid::*)() const>(&Aspect_CircularGrid::DivisionNumber),
R"#(returns the x step of the grid.)#"
)
.def("Init",
(void (Aspect_CircularGrid::*)() ) static_cast<void (Aspect_CircularGrid::*)() >(&Aspect_CircularGrid::Init),
R"#()#"
)
.def("DumpJson",
(void (Aspect_CircularGrid::*)( Standard_OStream & , Standard_Integer ) const) static_cast<void (Aspect_CircularGrid::*)( Standard_OStream & , Standard_Integer ) const>(&Aspect_CircularGrid::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("Compute",
[]( Aspect_CircularGrid &self , const Standard_Real X, const Standard_Real Y ){
Standard_Real gridX;
Standard_Real gridY;
self.Compute(X,Y,gridX,gridY);
return std::make_tuple(gridX,gridY); },
R"#(returns the point of the grid the closest to the point X,Y)#" , py::arg("X"), py::arg("Y")
)
// static methods
.def_static("get_type_name_s",
( const char * (*)() ) static_cast< const char * (*)() >(&Aspect_CircularGrid::get_type_name),
R"#()#"
)
.def_static("get_type_descriptor_s",
( const handle<Standard_Type> & (*)() ) static_cast< const handle<Standard_Type> & (*)() >(&Aspect_CircularGrid::get_type_descriptor),
R"#()#"
)
// 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 handle<Standard_Type> & (Aspect_CircularGrid::*)() const) static_cast< const handle<Standard_Type> & (Aspect_CircularGrid::*)() const>(&Aspect_CircularGrid::DynamicType),
R"#()#"
)
;
// Class Aspect_GradientBackground from ./opencascade/Aspect_GradientBackground.hxx
klass = m.attr("Aspect_GradientBackground");
// nested enums
static_cast<py::class_<Aspect_GradientBackground , shared_ptr<Aspect_GradientBackground> , Aspect_Background >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Quantity_Color &, const Quantity_Color &, const Aspect_GradientFillMethod >() , py::arg("theColor1"), py::arg("theColor2"), py::arg("theMethod")=static_cast< const Aspect_GradientFillMethod>(Aspect_GradientFillMethod_Horizontal) )
// custom constructors
// methods
.def("SetColors",
(void (Aspect_GradientBackground::*)( const Quantity_Color & , const Quantity_Color & , const Aspect_GradientFillMethod ) ) static_cast<void (Aspect_GradientBackground::*)( const Quantity_Color & , const Quantity_Color & , const Aspect_GradientFillMethod ) >(&Aspect_GradientBackground::SetColors),
R"#(Modifies the colours of the window gradient background.)#" , py::arg("theColor1"), py::arg("theColor2"), py::arg("theMethod")=static_cast< const Aspect_GradientFillMethod>(Aspect_GradientFillMethod_Horizontal)
)
.def("Colors",
(void (Aspect_GradientBackground::*)( Quantity_Color & , Quantity_Color & ) const) static_cast<void (Aspect_GradientBackground::*)( Quantity_Color & , Quantity_Color & ) const>(&Aspect_GradientBackground::Colors),
R"#(Returns colours of the window gradient background.)#" , py::arg("theColor1"), py::arg("theColor2")
)
.def("BgGradientFillMethod",
(Aspect_GradientFillMethod (Aspect_GradientBackground::*)() const) static_cast<Aspect_GradientFillMethod (Aspect_GradientBackground::*)() const>(&Aspect_GradientBackground::BgGradientFillMethod),
R"#(Returns the current gradient background fill mode.)#"
)
.def("DumpJson",
(void (Aspect_GradientBackground::*)( Standard_OStream & , Standard_Integer ) const) static_cast<void (Aspect_GradientBackground::*)( Standard_OStream & , Standard_Integer ) const>(&Aspect_GradientBackground::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class Aspect_NeutralWindow from ./opencascade/Aspect_NeutralWindow.hxx
klass = m.attr("Aspect_NeutralWindow");
// nested enums
static_cast<py::class_<Aspect_NeutralWindow ,opencascade::handle<Aspect_NeutralWindow> , Aspect_Window >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("NativeHandle",
(Aspect_Drawable (Aspect_NeutralWindow::*)() const) static_cast<Aspect_Drawable (Aspect_NeutralWindow::*)() const>(&Aspect_NeutralWindow::NativeHandle),
R"#(Return native handle of this drawable.)#"
)
.def("NativeParentHandle",
(Aspect_Drawable (Aspect_NeutralWindow::*)() const) static_cast<Aspect_Drawable (Aspect_NeutralWindow::*)() const>(&Aspect_NeutralWindow::NativeParentHandle),
R"#(Return native handle of the parent drawable.)#"
)
.def("SetNativeHandle",
(Standard_Boolean (Aspect_NeutralWindow::*)( Aspect_Drawable ) ) static_cast<Standard_Boolean (Aspect_NeutralWindow::*)( Aspect_Drawable ) >(&Aspect_NeutralWindow::SetNativeHandle),
R"#(Set native handle.)#" , py::arg("theWindow")
)
.def("IsMapped",
(Standard_Boolean (Aspect_NeutralWindow::*)() const) static_cast<Standard_Boolean (Aspect_NeutralWindow::*)() const>(&Aspect_NeutralWindow::IsMapped),
R"#(Return true if window is not hidden.)#"
)
.def("Map",
(void (Aspect_NeutralWindow::*)() const) static_cast<void (Aspect_NeutralWindow::*)() const>(&Aspect_NeutralWindow::Map),
R"#(Change window mapped flag to TRUE.)#"
)
.def("Unmap",
(void (Aspect_NeutralWindow::*)() const) static_cast<void (Aspect_NeutralWindow::*)() const>(&Aspect_NeutralWindow::Unmap),
R"#(Change window mapped flag to FALSE.)#"
)
.def("DoResize",
(Aspect_TypeOfResize (Aspect_NeutralWindow::*)() ) static_cast<Aspect_TypeOfResize (Aspect_NeutralWindow::*)() >(&Aspect_NeutralWindow::DoResize),
R"#(Resize window - do nothing.)#"
)
.def("DoMapping",
(Standard_Boolean (Aspect_NeutralWindow::*)() const) static_cast<Standard_Boolean (Aspect_NeutralWindow::*)() const>(&Aspect_NeutralWindow::DoMapping),
R"#(Map window - do nothing.)#"
)
.def("Ratio",
(Standard_Real (Aspect_NeutralWindow::*)() const) static_cast<Standard_Real (Aspect_NeutralWindow::*)() const>(&Aspect_NeutralWindow::Ratio),
R"#(Returns window ratio equal to the physical width/height dimensions.)#"
)
.def("SetPosition",
(Standard_Boolean (Aspect_NeutralWindow::*)( Standard_Integer , Standard_Integer ) ) static_cast<Standard_Boolean (Aspect_NeutralWindow::*)( Standard_Integer , Standard_Integer ) >(&Aspect_NeutralWindow::SetPosition),
R"#(Set the window position.)#" , py::arg("theX1"), py::arg("theY1")
)
.def("SetPosition",
(Standard_Boolean (Aspect_NeutralWindow::*)( Standard_Integer , Standard_Integer , Standard_Integer , Standard_Integer ) ) static_cast<Standard_Boolean (Aspect_NeutralWindow::*)( Standard_Integer , Standard_Integer , Standard_Integer , Standard_Integer ) >(&Aspect_NeutralWindow::SetPosition),
R"#(Set the window position.)#" , py::arg("theX1"), py::arg("theY1"), py::arg("theX2"), py::arg("theY2")
)
.def("SetSize",
(Standard_Boolean (Aspect_NeutralWindow::*)( const Standard_Integer , const Standard_Integer ) ) static_cast<Standard_Boolean (Aspect_NeutralWindow::*)( const Standard_Integer , const Standard_Integer ) >(&Aspect_NeutralWindow::SetSize),
R"#(Set the window size.)#" , py::arg("theWidth"), py::arg("theHeight")
)
// methods using call by reference i.s.o. return
.def("Position",
[]( Aspect_NeutralWindow &self ){
Standard_Integer theX1;
Standard_Integer theY1;
Standard_Integer theX2;
Standard_Integer theY2;
self.Position(theX1,theY1,theX2,theY2);
return std::make_tuple(theX1,theY1,theX2,theY2); },
R"#(Return the window position.)#"
)
.def("Size",
[]( Aspect_NeutralWindow &self ){
Standard_Integer theWidth;
Standard_Integer theHeight;
self.Size(theWidth,theHeight);
return std::make_tuple(theWidth,theHeight); },
R"#(Return the window size.)#"
)
// static methods
.def_static("get_type_name_s",
( const char * (*)() ) static_cast< const char * (*)() >(&Aspect_NeutralWindow::get_type_name),
R"#()#"
)
.def_static("get_type_descriptor_s",
( const handle<Standard_Type> & (*)() ) static_cast< const handle<Standard_Type> & (*)() >(&Aspect_NeutralWindow::get_type_descriptor),
R"#()#"
)
// 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 handle<Standard_Type> & (Aspect_NeutralWindow::*)() const) static_cast< const handle<Standard_Type> & (Aspect_NeutralWindow::*)() const>(&Aspect_NeutralWindow::DynamicType),
R"#()#"
)
;
// Class Aspect_OpenVRSession from ./opencascade/Aspect_OpenVRSession.hxx
klass = m.attr("Aspect_OpenVRSession");
// nested enums
static_cast<py::class_<Aspect_OpenVRSession ,opencascade::handle<Aspect_OpenVRSession> , Aspect_XRSession >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("IsOpen",
(bool (Aspect_OpenVRSession::*)() const) static_cast<bool (Aspect_OpenVRSession::*)() const>(&Aspect_OpenVRSession::IsOpen),
R"#(Return TRUE if session is opened.)#"
)
.def("Open",
(bool (Aspect_OpenVRSession::*)() ) static_cast<bool (Aspect_OpenVRSession::*)() >(&Aspect_OpenVRSession::Open),
R"#(Initialize session.)#"
)
.def("Close",
(void (Aspect_OpenVRSession::*)() ) static_cast<void (Aspect_OpenVRSession::*)() >(&Aspect_OpenVRSession::Close),
R"#(Release session.)#"
)
.def("WaitPoses",
(bool (Aspect_OpenVRSession::*)() ) static_cast<bool (Aspect_OpenVRSession::*)() >(&Aspect_OpenVRSession::WaitPoses),
R"#(Fetch actual poses of tracked devices.)#"
)
.def("RecommendedViewport",
(NCollection_Vec2<int> (Aspect_OpenVRSession::*)() const) static_cast<NCollection_Vec2<int> (Aspect_OpenVRSession::*)() const>(&Aspect_OpenVRSession::RecommendedViewport),
R"#(Return recommended viewport Width x Height for rendering into VR.)#"
)
.def("EyeToHeadTransform",
(NCollection_Mat4<double> (Aspect_OpenVRSession::*)( Aspect_Eye ) const) static_cast<NCollection_Mat4<double> (Aspect_OpenVRSession::*)( Aspect_Eye ) const>(&Aspect_OpenVRSession::EyeToHeadTransform),
R"#(Return transformation from eye to head. vr::GetEyeToHeadTransform() wrapper.)#" , py::arg("theEye")
)
.def("ProjectionMatrix",
(NCollection_Mat4<double> (Aspect_OpenVRSession::*)( Aspect_Eye , double , double ) const) static_cast<NCollection_Mat4<double> (Aspect_OpenVRSession::*)( Aspect_Eye , double , double ) const>(&Aspect_OpenVRSession::ProjectionMatrix),
R"#(Return projection matrix.)#" , py::arg("theEye"), py::arg("theZNear"), py::arg("theZFar")
)
.def("HasProjectionFrustums",
(bool (Aspect_OpenVRSession::*)() const) static_cast<bool (Aspect_OpenVRSession::*)() const>(&Aspect_OpenVRSession::HasProjectionFrustums),
R"#(Return TRUE.)#"
)
.def("ProcessEvents",
(void (Aspect_OpenVRSession::*)() ) static_cast<void (Aspect_OpenVRSession::*)() >(&Aspect_OpenVRSession::ProcessEvents),
R"#(Receive XR events.)#"
)
.def("SubmitEye",
(bool (Aspect_OpenVRSession::*)( void * , Aspect_GraphicsLibrary , Aspect_ColorSpace , Aspect_Eye ) ) static_cast<bool (Aspect_OpenVRSession::*)( void * , Aspect_GraphicsLibrary , Aspect_ColorSpace , Aspect_Eye ) >(&Aspect_OpenVRSession::SubmitEye),
R"#(Submit texture eye to XR Composer.)#" , py::arg("theTexture"), py::arg("theGraphicsLib"), py::arg("theColorSpace"), py::arg("theEye")
)
.def("GetString",
(TCollection_AsciiString (Aspect_OpenVRSession::*)( Aspect_XRSession::InfoString ) const) static_cast<TCollection_AsciiString (Aspect_OpenVRSession::*)( Aspect_XRSession::InfoString ) const>(&Aspect_OpenVRSession::GetString),
R"#(Query information.)#" , py::arg("theInfo")
)
.def("NamedTrackedDevice",
(Standard_Integer (Aspect_OpenVRSession::*)( Aspect_XRTrackedDeviceRole ) const) static_cast<Standard_Integer (Aspect_OpenVRSession::*)( Aspect_XRTrackedDeviceRole ) const>(&Aspect_OpenVRSession::NamedTrackedDevice),
R"#(Return index of tracked device of known role.)#" , py::arg("theDevice")
)
.def("GetDigitalActionData",
(Aspect_XRDigitalActionData (Aspect_OpenVRSession::*)( const handle<Aspect_XRAction> & ) const) static_cast<Aspect_XRDigitalActionData (Aspect_OpenVRSession::*)( const handle<Aspect_XRAction> & ) const>(&Aspect_OpenVRSession::GetDigitalActionData),
R"#(Fetch data for digital input action (like button).)#" , py::arg("theAction")
)
.def("GetAnalogActionData",
(Aspect_XRAnalogActionData (Aspect_OpenVRSession::*)( const handle<Aspect_XRAction> & ) const) static_cast<Aspect_XRAnalogActionData (Aspect_OpenVRSession::*)( const handle<Aspect_XRAction> & ) const>(&Aspect_OpenVRSession::GetAnalogActionData),
R"#(Fetch data for analog input action (like axis).)#" , py::arg("theAction")
)
.def("GetPoseActionDataForNextFrame",
(Aspect_XRPoseActionData (Aspect_OpenVRSession::*)( const handle<Aspect_XRAction> & ) const) static_cast<Aspect_XRPoseActionData (Aspect_OpenVRSession::*)( const handle<Aspect_XRAction> & ) const>(&Aspect_OpenVRSession::GetPoseActionDataForNextFrame),
R"#(Fetch data for pose input action (like fingertip position).)#" , py::arg("theAction")
)
.def("SetTrackingOrigin",
(void (Aspect_OpenVRSession::*)( Aspect_XRSession::TrackingUniverseOrigin ) ) static_cast<void (Aspect_OpenVRSession::*)( Aspect_XRSession::TrackingUniverseOrigin ) >(&Aspect_OpenVRSession::SetTrackingOrigin),
R"#(Set tracking origin.)#" , py::arg("theOrigin")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
( const char * (*)() ) static_cast< const char * (*)() >(&Aspect_OpenVRSession::get_type_name),
R"#()#"
)
.def_static("get_type_descriptor_s",
( const handle<Standard_Type> & (*)() ) static_cast< const handle<Standard_Type> & (*)() >(&Aspect_OpenVRSession::get_type_descriptor),
R"#()#"
)
.def_static("IsHmdPresent_s",
(bool (*)() ) static_cast<bool (*)() >(&Aspect_OpenVRSession::IsHmdPresent),
R"#(Return TRUE if an HMD may be presented on the system (e.g. to show VR checkbox in application GUI). This is fast check, and even if it returns TRUE, opening session may fail.)#"
)
// 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 handle<Standard_Type> & (Aspect_OpenVRSession::*)() const) static_cast< const handle<Standard_Type> & (Aspect_OpenVRSession::*)() const>(&Aspect_OpenVRSession::DynamicType),
R"#()#"
)
;
// Class Aspect_RectangularGrid from ./opencascade/Aspect_RectangularGrid.hxx
klass = m.attr("Aspect_RectangularGrid");
// nested enums
static_cast<py::class_<Aspect_RectangularGrid ,opencascade::handle<Aspect_RectangularGrid> ,Py_Aspect_RectangularGrid , Aspect_Grid >>(klass)
// constructors
.def(py::init< const Standard_Real, const Standard_Real, const Standard_Real, const Standard_Real, const Standard_Real, const Standard_Real, const Standard_Real >() , py::arg("aXStep"), py::arg("aYStep"), py::arg("anXOrigin")=static_cast< const Standard_Real>(0), py::arg("anYOrigin")=static_cast< const Standard_Real>(0), py::arg("aFirstAngle")=static_cast< const Standard_Real>(0), py::arg("aSecondAngle")=static_cast< const Standard_Real>(0), py::arg("aRotationAngle")=static_cast< const Standard_Real>(0) )
// custom constructors
// methods
.def("SetXStep",
(void (Aspect_RectangularGrid::*)( const Standard_Real ) ) static_cast<void (Aspect_RectangularGrid::*)( const Standard_Real ) >(&Aspect_RectangularGrid::SetXStep),
R"#(defines the x step of the grid.)#" , py::arg("aStep")
)
.def("SetYStep",
(void (Aspect_RectangularGrid::*)( const Standard_Real ) ) static_cast<void (Aspect_RectangularGrid::*)( const Standard_Real ) >(&Aspect_RectangularGrid::SetYStep),
R"#(defines the y step of the grid.)#" , py::arg("aStep")
)
.def("SetAngle",
(void (Aspect_RectangularGrid::*)( const Standard_Real , const Standard_Real ) ) static_cast<void (Aspect_RectangularGrid::*)( const Standard_Real , const Standard_Real ) >(&Aspect_RectangularGrid::SetAngle),
R"#(defines the angle of the second network the fist angle is given relatively to the horizontal. the second angle is given relatively to the vertical.)#" , py::arg("anAngle1"), py::arg("anAngle2")
)
.def("SetGridValues",
(void (Aspect_RectangularGrid::*)( const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real ) ) static_cast<void (Aspect_RectangularGrid::*)( const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real ) >(&Aspect_RectangularGrid::SetGridValues),
R"#()#" , py::arg("XOrigin"), py::arg("YOrigin"), py::arg("XStep"), py::arg("YStep"), py::arg("RotationAngle")
)
.def("XStep",
(Standard_Real (Aspect_RectangularGrid::*)() const) static_cast<Standard_Real (Aspect_RectangularGrid::*)() const>(&Aspect_RectangularGrid::XStep),
R"#(returns the x step of the grid.)#"
)
.def("YStep",
(Standard_Real (Aspect_RectangularGrid::*)() const) static_cast<Standard_Real (Aspect_RectangularGrid::*)() const>(&Aspect_RectangularGrid::YStep),
R"#(returns the x step of the grid.)#"
)
.def("FirstAngle",
(Standard_Real (Aspect_RectangularGrid::*)() const) static_cast<Standard_Real (Aspect_RectangularGrid::*)() const>(&Aspect_RectangularGrid::FirstAngle),
R"#(returns the x Angle of the grid, relatively to the horizontal.)#"
)
.def("SecondAngle",
(Standard_Real (Aspect_RectangularGrid::*)() const) static_cast<Standard_Real (Aspect_RectangularGrid::*)() const>(&Aspect_RectangularGrid::SecondAngle),
R"#(returns the y Angle of the grid, relatively to the vertical.)#"
)
.def("Init",
(void (Aspect_RectangularGrid::*)() ) static_cast<void (Aspect_RectangularGrid::*)() >(&Aspect_RectangularGrid::Init),
R"#()#"
)
.def("DumpJson",
(void (Aspect_RectangularGrid::*)( Standard_OStream & , Standard_Integer ) const) static_cast<void (Aspect_RectangularGrid::*)( Standard_OStream & , Standard_Integer ) const>(&Aspect_RectangularGrid::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("Compute",
[]( Aspect_RectangularGrid &self , const Standard_Real X, const Standard_Real Y ){
Standard_Real gridX;
Standard_Real gridY;
self.Compute(X,Y,gridX,gridY);
return std::make_tuple(gridX,gridY); },
R"#(returns the point of the grid the closest to the point X,Y)#" , py::arg("X"), py::arg("Y")
)
// static methods
.def_static("get_type_name_s",
( const char * (*)() ) static_cast< const char * (*)() >(&Aspect_RectangularGrid::get_type_name),
R"#()#"
)
.def_static("get_type_descriptor_s",
( const handle<Standard_Type> & (*)() ) static_cast< const handle<Standard_Type> & (*)() >(&Aspect_RectangularGrid::get_type_descriptor),
R"#()#"
)
// 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 handle<Standard_Type> & (Aspect_RectangularGrid::*)() const) static_cast< const handle<Standard_Type> & (Aspect_RectangularGrid::*)() const>(&Aspect_RectangularGrid::DynamicType),
R"#()#"
)
;
// functions
// ./opencascade/Aspect_AspectFillAreaDefinitionError.hxx
// ./opencascade/Aspect_AspectLineDefinitionError.hxx
// ./opencascade/Aspect_AspectMarkerDefinitionError.hxx
// ./opencascade/Aspect_Background.hxx
// ./opencascade/Aspect_CircularGrid.hxx
// ./opencascade/Aspect_ColorSpace.hxx
// ./opencascade/Aspect_Display.hxx
// ./opencascade/Aspect_DisplayConnection.hxx
// ./opencascade/Aspect_DisplayConnectionDefinitionError.hxx
// ./opencascade/Aspect_Drawable.hxx
// ./opencascade/Aspect_Eye.hxx
// ./opencascade/Aspect_FBConfig.hxx
// ./opencascade/Aspect_FillMethod.hxx
// ./opencascade/Aspect_FrustumLRBT.hxx
// ./opencascade/Aspect_GenId.hxx
// ./opencascade/Aspect_GradientBackground.hxx
// ./opencascade/Aspect_GradientFillMethod.hxx
// ./opencascade/Aspect_GraphicDeviceDefinitionError.hxx
// ./opencascade/Aspect_GraphicsLibrary.hxx
// ./opencascade/Aspect_Grid.hxx
// ./opencascade/Aspect_GridDrawMode.hxx
// ./opencascade/Aspect_GridType.hxx
// ./opencascade/Aspect_Handle.hxx
// ./opencascade/Aspect_HatchStyle.hxx
// ./opencascade/Aspect_IdentDefinitionError.hxx
// ./opencascade/Aspect_InteriorStyle.hxx
// ./opencascade/Aspect_NeutralWindow.hxx
// ./opencascade/Aspect_OpenVRSession.hxx
// ./opencascade/Aspect_PolygonOffsetMode.hxx
// ./opencascade/Aspect_RectangularGrid.hxx
// ./opencascade/Aspect_RenderingContext.hxx
// ./opencascade/Aspect_ScrollDelta.hxx
// ./opencascade/Aspect_SequenceOfColor.hxx
// ./opencascade/Aspect_SkydomeBackground.hxx
// ./opencascade/Aspect_Touch.hxx
// ./opencascade/Aspect_TouchMap.hxx
// ./opencascade/Aspect_TrackedDevicePose.hxx
// ./opencascade/Aspect_TypeOfColorScaleData.hxx
// ./opencascade/Aspect_TypeOfColorScaleOrientation.hxx
// ./opencascade/Aspect_TypeOfColorScalePosition.hxx
// ./opencascade/Aspect_TypeOfDeflection.hxx
// ./opencascade/Aspect_TypeOfDisplayText.hxx
// ./opencascade/Aspect_TypeOfFacingModel.hxx
// ./opencascade/Aspect_TypeOfHighlightMethod.hxx
// ./opencascade/Aspect_TypeOfLine.hxx
// ./opencascade/Aspect_TypeOfMarker.hxx
// ./opencascade/Aspect_TypeOfResize.hxx
// ./opencascade/Aspect_TypeOfStyleText.hxx
// ./opencascade/Aspect_TypeOfTriedronPosition.hxx
// ./opencascade/Aspect_Units.hxx
// ./opencascade/Aspect_VKey.hxx
m.def("Aspect_VKey2Modifier",
(Aspect_VKeyFlags (*)( Aspect_VKey )) static_cast<Aspect_VKeyFlags (*)( Aspect_VKey )>(&Aspect_VKey2Modifier),
R"#(Return modifier flags for specified modifier key.)#" , py::arg("theKey")
);
// ./opencascade/Aspect_VKeyFlags.hxx
// ./opencascade/Aspect_WidthOfLine.hxx
// ./opencascade/Aspect_Window.hxx
// ./opencascade/Aspect_WindowDefinitionError.hxx
// ./opencascade/Aspect_WindowError.hxx
// ./opencascade/Aspect_WindowInputListener.hxx
// ./opencascade/Aspect_XAtom.hxx
// ./opencascade/Aspect_XRAction.hxx
// ./opencascade/Aspect_XRActionSet.hxx
// ./opencascade/Aspect_XRActionType.hxx
// ./opencascade/Aspect_XRAnalogActionData.hxx
// ./opencascade/Aspect_XRDigitalActionData.hxx
// ./opencascade/Aspect_XRGenericAction.hxx
// ./opencascade/Aspect_XRHapticActionData.hxx
// ./opencascade/Aspect_XRPoseActionData.hxx
// ./opencascade/Aspect_XRSession.hxx
// ./opencascade/Aspect_XRTrackedDeviceRole.hxx
// Additional functions
// operators
// register typdefs
register_template_NCollection_Sequence<Quantity_Color>(m,"Aspect_SequenceOfColor");
register_template_NCollection_IndexedDataMap<Standard_Size, Aspect_Touch>(m,"Aspect_TouchMap");
register_template_NCollection_Array1<Aspect_TrackedDevicePose>(m,"Aspect_TrackedDevicePoseArray");
// exceptions
register_occ_exception<Aspect_AspectFillAreaDefinitionError>(m, "Aspect_AspectFillAreaDefinitionError");
register_occ_exception<Aspect_AspectLineDefinitionError>(m, "Aspect_AspectLineDefinitionError");
register_occ_exception<Aspect_AspectMarkerDefinitionError>(m, "Aspect_AspectMarkerDefinitionError");
register_occ_exception<Aspect_DisplayConnectionDefinitionError>(m, "Aspect_DisplayConnectionDefinitionError");
register_occ_exception<Aspect_GraphicDeviceDefinitionError>(m, "Aspect_GraphicDeviceDefinitionError");
register_occ_exception<Aspect_IdentDefinitionError>(m, "Aspect_IdentDefinitionError");
register_occ_exception<Aspect_WindowDefinitionError>(m, "Aspect_WindowDefinitionError");
register_occ_exception<Aspect_WindowError>(m, "Aspect_WindowError");
// user-defined post-inclusion per module in the body
};
// user-defined post-inclusion per module
// user-defined post
|