/usr/share/pyshared/pivy/gui/soqt.py is in python-pivy 0.5.0~v609hg-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.9
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
"""
The soqt module is a wrapper for the SoQt library. The module will try
to import the sip module which is used for PyQt. If found the involved
wrapped Qt structures are converted to ones suitable for PyQt,
otherwise it will fall back to regular SWIG structures.
"""
from sys import version_info
if version_info >= (2,6,0):
def swig_import_helper():
from os.path import dirname
import imp
fp = None
try:
fp, pathname, description = imp.find_module('_soqt', [dirname(__file__)])
except ImportError:
import _soqt
return _soqt
if fp is not None:
try:
_mod = imp.load_module('_soqt', fp, pathname, description)
finally:
fp.close()
return _mod
_soqt = swig_import_helper()
del swig_import_helper
else:
import _soqt
del version_info
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "thisown"): return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
if (name == "thisown"): return self.this.own()
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError(name)
def _swig_repr(self):
try: strthis = "proxy of " + self.this.__repr__()
except: strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
try:
_object = object
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if (name == "thisown"): return self.this.own(value)
if hasattr(self,name) or (name == "this"):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
class charp(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self):
this = _soqt.new_charp()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _soqt.delete_charp
__del__ = lambda self : None;
def assign(self, *args): return _soqt.charp_assign(self, *args)
def value(self): return _soqt.charp_value(self)
def cast(self): return _soqt.charp_cast(self)
frompointer = staticmethod(_soqt.charp_frompointer)
charp_swigregister = _soqt.charp_swigregister
charp_swigregister(charp)
cast = _soqt.cast
def charp_frompointer(*args):
return _soqt.charp_frompointer(*args)
charp_frompointer = _soqt.charp_frompointer
class intp(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self):
this = _soqt.new_intp()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _soqt.delete_intp
__del__ = lambda self : None;
def assign(self, *args): return _soqt.intp_assign(self, *args)
def value(self): return _soqt.intp_value(self)
def cast(self): return _soqt.intp_cast(self)
frompointer = staticmethod(_soqt.intp_frompointer)
intp_swigregister = _soqt.intp_swigregister
intp_swigregister(intp)
def intp_frompointer(*args):
return _soqt.intp_frompointer(*args)
intp_frompointer = _soqt.intp_frompointer
class longp(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self):
this = _soqt.new_longp()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _soqt.delete_longp
__del__ = lambda self : None;
def assign(self, *args): return _soqt.longp_assign(self, *args)
def value(self): return _soqt.longp_value(self)
def cast(self): return _soqt.longp_cast(self)
frompointer = staticmethod(_soqt.longp_frompointer)
longp_swigregister = _soqt.longp_swigregister
longp_swigregister(longp)
def longp_frompointer(*args):
return _soqt.longp_frompointer(*args)
longp_frompointer = _soqt.longp_frompointer
class floatp(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self):
this = _soqt.new_floatp()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _soqt.delete_floatp
__del__ = lambda self : None;
def assign(self, *args): return _soqt.floatp_assign(self, *args)
def value(self): return _soqt.floatp_value(self)
def cast(self): return _soqt.floatp_cast(self)
frompointer = staticmethod(_soqt.floatp_frompointer)
floatp_swigregister = _soqt.floatp_swigregister
floatp_swigregister(floatp)
def floatp_frompointer(*args):
return _soqt.floatp_frompointer(*args)
floatp_frompointer = _soqt.floatp_frompointer
class doublep(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self):
this = _soqt.new_doublep()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _soqt.delete_doublep
__del__ = lambda self : None;
def assign(self, *args): return _soqt.doublep_assign(self, *args)
def value(self): return _soqt.doublep_value(self)
def cast(self): return _soqt.doublep_cast(self)
frompointer = staticmethod(_soqt.doublep_frompointer)
doublep_swigregister = _soqt.doublep_swigregister
doublep_swigregister(doublep)
def doublep_frompointer(*args):
return _soqt.doublep_frompointer(*args)
doublep_frompointer = _soqt.doublep_frompointer
FALSE = _soqt.FALSE
TRUE = _soqt.TRUE
HAVE_INTTYPES_H = _soqt.HAVE_INTTYPES_H
HAVE_STDINT_H = _soqt.HAVE_STDINT_H
HAVE_SYS_TYPES_H = _soqt.HAVE_SYS_TYPES_H
HAVE_STDDEF_H = _soqt.HAVE_STDDEF_H
HAVE_INT8_T = _soqt.HAVE_INT8_T
HAVE_UINT8_T = _soqt.HAVE_UINT8_T
HAVE_INT16_T = _soqt.HAVE_INT16_T
HAVE_UINT16_T = _soqt.HAVE_UINT16_T
HAVE_INT32_T = _soqt.HAVE_INT32_T
HAVE_UINT32_T = _soqt.HAVE_UINT32_T
HAVE_INT64_T = _soqt.HAVE_INT64_T
HAVE_UINT64_T = _soqt.HAVE_UINT64_T
HAVE_INTPTR_T = _soqt.HAVE_INTPTR_T
HAVE_UINTPTR_T = _soqt.HAVE_UINTPTR_T
M_E = _soqt.M_E
M_LOG2E = _soqt.M_LOG2E
M_LOG10E = _soqt.M_LOG10E
M_LN2 = _soqt.M_LN2
M_LN10 = _soqt.M_LN10
M_PI = _soqt.M_PI
M_TWOPI = _soqt.M_TWOPI
M_PI_2 = _soqt.M_PI_2
M_PI_4 = _soqt.M_PI_4
M_3PI_4 = _soqt.M_3PI_4
M_SQRTPI = _soqt.M_SQRTPI
M_1_PI = _soqt.M_1_PI
M_2_PI = _soqt.M_2_PI
M_2_SQRTPI = _soqt.M_2_SQRTPI
M_SQRT2 = _soqt.M_SQRT2
M_SQRT1_2 = _soqt.M_SQRT1_2
M_LN2LO = _soqt.M_LN2LO
M_LN2HI = _soqt.M_LN2HI
M_SQRT3 = _soqt.M_SQRT3
M_IVLN10 = _soqt.M_IVLN10
M_LOG2_E = _soqt.M_LOG2_E
M_INVLN2 = _soqt.M_INVLN2
COIN_MAJOR_VERSION = _soqt.COIN_MAJOR_VERSION
COIN_MINOR_VERSION = _soqt.COIN_MINOR_VERSION
COIN_MICRO_VERSION = _soqt.COIN_MICRO_VERSION
COIN_VERSION = _soqt.COIN_VERSION
HAVE_HASH_QUOTING = _soqt.HAVE_HASH_QUOTING
SUN_CC_4_0_SOTYPE_INIT_BUG = _soqt.SUN_CC_4_0_SOTYPE_INIT_BUG
class SbDict(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args):
this = _soqt.new_SbDict(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _soqt.delete_SbDict
__del__ = lambda self : None;
def applyToAll(self, *args): return _soqt.SbDict_applyToAll(self, *args)
def clear(self): return _soqt.SbDict_clear(self)
def enter(self, *args): return _soqt.SbDict_enter(self, *args)
def find(self, *args): return _soqt.SbDict_find(self, *args)
def makePList(self, *args): return _soqt.SbDict_makePList(self, *args)
def remove(self, *args): return _soqt.SbDict_remove(self, *args)
def setHashingFunction(self, *args): return _soqt.SbDict_setHashingFunction(self, *args)
SbDict_swigregister = _soqt.SbDict_swigregister
SbDict_swigregister(SbDict)
class SoType(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
fromName = staticmethod(_soqt.SoType_fromName)
def getName(self): return _soqt.SoType_getName(self)
def getParent(self): return _soqt.SoType_getParent(self)
def isDerivedFrom(self, *args): return _soqt.SoType_isDerivedFrom(self, *args)
getAllDerivedFrom = staticmethod(_soqt.SoType_getAllDerivedFrom)
def canCreateInstance(self): return _soqt.SoType_canCreateInstance(self)
def getData(self): return _soqt.SoType_getData(self)
def getKey(self): return _soqt.SoType_getKey(self)
def __eq__(self, *args): return _soqt.SoType___eq__(self, *args)
def __ne__(self, *args): return _soqt.SoType___ne__(self, *args)
def __lt__(self, *args): return _soqt.SoType___lt__(self, *args)
def __le__(self, *args): return _soqt.SoType___le__(self, *args)
def __ge__(self, *args): return _soqt.SoType___ge__(self, *args)
def __gt__(self, *args): return _soqt.SoType___gt__(self, *args)
removeType = staticmethod(_soqt.SoType_removeType)
init = staticmethod(_soqt.SoType_init)
fromKey = staticmethod(_soqt.SoType_fromKey)
badType = staticmethod(_soqt.SoType_badType)
def isBad(self): return _soqt.SoType_isBad(self)
def makeInternal(self): return _soqt.SoType_makeInternal(self)
def isInternal(self): return _soqt.SoType_isInternal(self)
getNumTypes = staticmethod(_soqt.SoType_getNumTypes)
def getInstantiationMethod(self): return _soqt.SoType_getInstantiationMethod(self)
def createInstance(self): return _soqt.SoType_createInstance(self)
def __init__(self):
"""__init__(SoType self) -> SoType"""
this = _soqt.new_SoType()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _soqt.delete_SoType
__del__ = lambda self : None;
SoType_swigregister = _soqt.SoType_swigregister
SoType_swigregister(SoType)
def SoType_fromName(*args):
return _soqt.SoType_fromName(*args)
SoType_fromName = _soqt.SoType_fromName
def SoType_getAllDerivedFrom(*args):
return _soqt.SoType_getAllDerivedFrom(*args)
SoType_getAllDerivedFrom = _soqt.SoType_getAllDerivedFrom
def SoType_removeType(*args):
return _soqt.SoType_removeType(*args)
SoType_removeType = _soqt.SoType_removeType
def SoType_init():
return _soqt.SoType_init()
SoType_init = _soqt.SoType_init
def SoType_fromKey(*args):
return _soqt.SoType_fromKey(*args)
SoType_fromKey = _soqt.SoType_fromKey
def SoType_badType():
return _soqt.SoType_badType()
SoType_badType = _soqt.SoType_badType
def SoType_getNumTypes():
return _soqt.SoType_getNumTypes()
SoType_getNumTypes = _soqt.SoType_getNumTypes
class SbPList(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args):
this = _soqt.new_SbPList(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _soqt.delete_SbPList
__del__ = lambda self : None;
def copy(self, *args): return _soqt.SbPList_copy(self, *args)
def fit(self): return _soqt.SbPList_fit(self)
def append(self, *args): return _soqt.SbPList_append(self, *args)
def find(self, *args): return _soqt.SbPList_find(self, *args)
def insert(self, *args): return _soqt.SbPList_insert(self, *args)
def removeItem(self, *args): return _soqt.SbPList_removeItem(self, *args)
def remove(self, *args): return _soqt.SbPList_remove(self, *args)
def removeFast(self, *args): return _soqt.SbPList_removeFast(self, *args)
def getLength(self): return _soqt.SbPList_getLength(self)
def truncate(self, *args): return _soqt.SbPList_truncate(self, *args)
def getArrayPtr(self, start=0): return _soqt.SbPList_getArrayPtr(self, start)
def __eq__(self, *args): return _soqt.SbPList___eq__(self, *args)
def __ne__(self, *args): return _soqt.SbPList___ne__(self, *args)
def get(self, *args): return _soqt.SbPList_get(self, *args)
def set(self, *args): return _soqt.SbPList_set(self, *args)
def __getitem__(self, *args): return _soqt.SbPList___getitem__(self, *args)
def __setitem__(self, *args): return _soqt.SbPList___setitem__(self, *args)
def __iter__(self):
for i in range(self.getLength()):
yield self[i]
SbPList_swigregister = _soqt.SbPList_swigregister
SbPList_swigregister(SbPList)
class SbIntList(SbPList):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args):
this = _soqt.new_SbIntList(*args)
try: self.this.append(this)
except: self.this = this
def append(self, *args): return _soqt.SbIntList_append(self, *args)
def find(self, *args): return _soqt.SbIntList_find(self, *args)
def insert(self, *args): return _soqt.SbIntList_insert(self, *args)
def __setitem__(self, *args): return _soqt.SbIntList___setitem__(self, *args)
def __getitem__(self, *args): return _soqt.SbIntList___getitem__(self, *args)
def get(self, *args): return _soqt.SbIntList_get(self, *args)
__swig_destroy__ = _soqt.delete_SbIntList
__del__ = lambda self : None;
SbIntList_swigregister = _soqt.SbIntList_swigregister
SbIntList_swigregister(SbIntList)
class SbString(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args):
this = _soqt.new_SbString(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _soqt.delete_SbString
__del__ = lambda self : None;
hash = staticmethod(_soqt.SbString_hash)
def getLength(self): return _soqt.SbString_getLength(self)
def makeEmpty(self, freeold=1): return _soqt.SbString_makeEmpty(self, freeold)
def getString(self): return _soqt.SbString_getString(self)
def getSubString(self, *args): return _soqt.SbString_getSubString(self, *args)
def deleteSubString(self, *args): return _soqt.SbString_deleteSubString(self, *args)
def addIntString(self, *args): return _soqt.SbString_addIntString(self, *args)
def __iadd__(self, *args): return _soqt.SbString___iadd__(self, *args)
def compareSubString(self, *args): return _soqt.SbString_compareSubString(self, *args)
def sprintf(self, *args): return _soqt.SbString_sprintf(self, *args)
def apply(self, *args): return _soqt.SbString_apply(self, *args)
def find(self, *args): return _soqt.SbString_find(self, *args)
def findAll(self, *args): return _soqt.SbString_findAll(self, *args)
def lower(self): return _soqt.SbString_lower(self)
def upper(self): return _soqt.SbString_upper(self)
def _print(self, *args): return _soqt.SbString__print(self, *args)
def __eq__(self, *args): return _soqt.SbString___eq__(self, *args)
def __nq__(self, *args): return _soqt.SbString___nq__(self, *args)
def __getitem__(self, *args): return _soqt.SbString___getitem__(self, *args)
def __iter__(self):
return getString().__iter__()
def __repr__(self, *args): return _soqt.SbString___repr__(self, *args)
SbString_swigregister = _soqt.SbString_swigregister
SbString_swigregister(SbString)
def SbString_hash(*args):
return _soqt.SbString_hash(*args)
SbString_hash = _soqt.SbString_hash
class SbName(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args):
this = _soqt.new_SbName(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _soqt.delete_SbName
__del__ = lambda self : None;
def getString(self): return _soqt.SbName_getString(self)
def getLength(self): return _soqt.SbName_getLength(self)
isIdentStartChar = staticmethod(_soqt.SbName_isIdentStartChar)
isIdentChar = staticmethod(_soqt.SbName_isIdentChar)
isBaseNameStartChar = staticmethod(_soqt.SbName_isBaseNameStartChar)
isBaseNameChar = staticmethod(_soqt.SbName_isBaseNameChar)
empty = staticmethod(_soqt.SbName_empty)
def __eq__(self, *args): return _soqt.SbName___eq__(self, *args)
def __nq__(self, *args): return _soqt.SbName___nq__(self, *args)
def __getitem__(self, *args): return _soqt.SbName___getitem__(self, *args)
def __iter__(self):
return getString().__iter__()
def __repr__(self, *args): return _soqt.SbName___repr__(self, *args)
SbName_swigregister = _soqt.SbName_swigregister
SbName_swigregister(SbName)
def SbName_isIdentStartChar(*args):
return _soqt.SbName_isIdentStartChar(*args)
SbName_isIdentStartChar = _soqt.SbName_isIdentStartChar
def SbName_isIdentChar(*args):
return _soqt.SbName_isIdentChar(*args)
SbName_isIdentChar = _soqt.SbName_isIdentChar
def SbName_isBaseNameStartChar(*args):
return _soqt.SbName_isBaseNameStartChar(*args)
SbName_isBaseNameStartChar = _soqt.SbName_isBaseNameStartChar
def SbName_isBaseNameChar(*args):
return _soqt.SbName_isBaseNameChar(*args)
SbName_isBaseNameChar = _soqt.SbName_isBaseNameChar
def SbName_empty():
return _soqt.SbName_empty()
SbName_empty = _soqt.SbName_empty
class SoError(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self):
this = _soqt.new_SoError()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _soqt.delete_SoError
__del__ = lambda self : None;
setHandlerCallback = staticmethod(_soqt.SoError_setHandlerCallback)
getHandlerCallback = staticmethod(_soqt.SoError_getHandlerCallback)
getHandlerData = staticmethod(_soqt.SoError_getHandlerData)
def getDebugString(self): return _soqt.SoError_getDebugString(self)
getClassTypeId = staticmethod(_soqt.SoError_getClassTypeId)
def getTypeId(self): return _soqt.SoError_getTypeId(self)
def isOfType(self, *args): return _soqt.SoError_isOfType(self, *args)
post = staticmethod(_soqt.SoError_post)
getString = staticmethod(_soqt.SoError_getString)
initClass = staticmethod(_soqt.SoError_initClass)
initClasses = staticmethod(_soqt.SoError_initClasses)
SoError_swigregister = _soqt.SoError_swigregister
SoError_swigregister(SoError)
def SoError_setHandlerCallback(*args):
return _soqt.SoError_setHandlerCallback(*args)
SoError_setHandlerCallback = _soqt.SoError_setHandlerCallback
def SoError_getHandlerCallback():
return _soqt.SoError_getHandlerCallback()
SoError_getHandlerCallback = _soqt.SoError_getHandlerCallback
def SoError_getHandlerData():
return _soqt.SoError_getHandlerData()
SoError_getHandlerData = _soqt.SoError_getHandlerData
def SoError_getClassTypeId():
return _soqt.SoError_getClassTypeId()
SoError_getClassTypeId = _soqt.SoError_getClassTypeId
def SoError_post(*args):
return _soqt.SoError_post(*args)
SoError_post = _soqt.SoError_post
def SoError_getString(*args):
return _soqt.SoError_getString(*args)
SoError_getString = _soqt.SoError_getString
def SoError_initClass():
return _soqt.SoError_initClass()
SoError_initClass = _soqt.SoError_initClass
def SoError_initClasses():
return _soqt.SoError_initClasses()
SoError_initClasses = _soqt.SoError_initClasses
class SoDebugError(SoError):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
ERROR = _soqt.SoDebugError_ERROR
WARNING = _soqt.SoDebugError_WARNING
INFO = _soqt.SoDebugError_INFO
setHandlerCallback = staticmethod(_soqt.SoDebugError_setHandlerCallback)
getHandlerCallback = staticmethod(_soqt.SoDebugError_getHandlerCallback)
getHandlerData = staticmethod(_soqt.SoDebugError_getHandlerData)
getClassTypeId = staticmethod(_soqt.SoDebugError_getClassTypeId)
def getTypeId(self): return _soqt.SoDebugError_getTypeId(self)
def getSeverity(self): return _soqt.SoDebugError_getSeverity(self)
post = staticmethod(_soqt.SoDebugError_post)
postWarning = staticmethod(_soqt.SoDebugError_postWarning)
postInfo = staticmethod(_soqt.SoDebugError_postInfo)
initClass = staticmethod(_soqt.SoDebugError_initClass)
def __init__(self):
"""__init__(SoDebugError self) -> SoDebugError"""
this = _soqt.new_SoDebugError()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _soqt.delete_SoDebugError
__del__ = lambda self : None;
SoDebugError_swigregister = _soqt.SoDebugError_swigregister
SoDebugError_swigregister(SoDebugError)
def SoDebugError_setHandlerCallback(*args):
return _soqt.SoDebugError_setHandlerCallback(*args)
SoDebugError_setHandlerCallback = _soqt.SoDebugError_setHandlerCallback
def SoDebugError_getHandlerCallback():
return _soqt.SoDebugError_getHandlerCallback()
SoDebugError_getHandlerCallback = _soqt.SoDebugError_getHandlerCallback
def SoDebugError_getHandlerData():
return _soqt.SoDebugError_getHandlerData()
SoDebugError_getHandlerData = _soqt.SoDebugError_getHandlerData
def SoDebugError_getClassTypeId():
return _soqt.SoDebugError_getClassTypeId()
SoDebugError_getClassTypeId = _soqt.SoDebugError_getClassTypeId
def SoDebugError_post(*args):
return _soqt.SoDebugError_post(*args)
SoDebugError_post = _soqt.SoDebugError_post
def SoDebugError_postWarning(*args):
return _soqt.SoDebugError_postWarning(*args)
SoDebugError_postWarning = _soqt.SoDebugError_postWarning
def SoDebugError_postInfo(*args):
return _soqt.SoDebugError_postInfo(*args)
SoDebugError_postInfo = _soqt.SoDebugError_postInfo
def SoDebugError_initClass():
return _soqt.SoDebugError_initClass()
SoDebugError_initClass = _soqt.SoDebugError_initClass
class SbVec2s(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args):
this = _soqt.new_SbVec2s(*args)
try: self.this.append(this)
except: self.this = this
def setValue(self, *args): return _soqt.SbVec2s_setValue(self, *args)
def getValue(self): return _soqt.SbVec2s_getValue(self)
def dot(self, *args): return _soqt.SbVec2s_dot(self, *args)
def negate(self): return _soqt.SbVec2s_negate(self)
def __imul__(self, *args): return _soqt.SbVec2s___imul__(self, *args)
def __idiv__(self, *args): return _soqt.SbVec2s___idiv__(self, *args)
def __iadd__(self, *args): return _soqt.SbVec2s___iadd__(self, *args)
def __isub__(self, *args): return _soqt.SbVec2s___isub__(self, *args)
def __neg__(self): return _soqt.SbVec2s___neg__(self)
def toString(self): return _soqt.SbVec2s_toString(self)
def fromString(self, *args): return _soqt.SbVec2s_fromString(self, *args)
def output(self, *args): return _soqt.SbVec2s_output(self, *args)
def __add__(self, *args): return _soqt.SbVec2s___add__(self, *args)
def __sub__(self, *args): return _soqt.SbVec2s___sub__(self, *args)
def __mul__(self, *args): return _soqt.SbVec2s___mul__(self, *args)
def __rmul__(self, *args): return _soqt.SbVec2s___rmul__(self, *args)
def __div__(self, *args): return _soqt.SbVec2s___div__(self, *args)
def __eq__(self, *args): return _soqt.SbVec2s___eq__(self, *args)
def __nq__(self, *args): return _soqt.SbVec2s___nq__(self, *args)
def __getitem__(self, *args): return _soqt.SbVec2s___getitem__(self, *args)
def __setitem__(self, *args): return _soqt.SbVec2s___setitem__(self, *args)
def __iter__(self):
for i in range(2):
yield self[i]
def __len__(self):
return 2
__swig_destroy__ = _soqt.delete_SbVec2s
__del__ = lambda self : None;
SbVec2s_swigregister = _soqt.SbVec2s_swigregister
SbVec2s_swigregister(SbVec2s)
class SbTime(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args):
this = _soqt.new_SbTime(*args)
try: self.this.append(this)
except: self.this = this
getTimeOfDay = staticmethod(_soqt.SbTime_getTimeOfDay)
def setToTimeOfDay(self): return _soqt.SbTime_setToTimeOfDay(self)
zero = staticmethod(_soqt.SbTime_zero)
max = staticmethod(_soqt.SbTime_max)
maxTime = staticmethod(_soqt.SbTime_maxTime)
sleep = staticmethod(_soqt.SbTime_sleep)
def setValue(self, *args): return _soqt.SbTime_setValue(self, *args)
def setMsecValue(self, *args): return _soqt.SbTime_setMsecValue(self, *args)
def getValue(self, *args): return _soqt.SbTime_getValue(self, *args)
def getMsecValue(self): return _soqt.SbTime_getMsecValue(self)
def format(self, fmt="%S.%i"): return _soqt.SbTime_format(self, fmt)
def formatDate(self, fmt=None): return _soqt.SbTime_formatDate(self, fmt)
def parsedate(self, *args): return _soqt.SbTime_parsedate(self, *args)
def __iadd__(self, *args): return _soqt.SbTime___iadd__(self, *args)
def __isub__(self, *args): return _soqt.SbTime___isub__(self, *args)
def __neg__(self): return _soqt.SbTime___neg__(self)
def __imul__(self, *args): return _soqt.SbTime___imul__(self, *args)
def __idiv__(self, *args): return _soqt.SbTime___idiv__(self, *args)
def __mod__(self, *args): return _soqt.SbTime___mod__(self, *args)
def __eq__(self, *args): return _soqt.SbTime___eq__(self, *args)
def __ne__(self, *args): return _soqt.SbTime___ne__(self, *args)
def __lt__(self, *args): return _soqt.SbTime___lt__(self, *args)
def __gt__(self, *args): return _soqt.SbTime___gt__(self, *args)
def __le__(self, *args): return _soqt.SbTime___le__(self, *args)
def __ge__(self, *args): return _soqt.SbTime___ge__(self, *args)
def output(self, *args): return _soqt.SbTime_output(self, *args)
def __add__(self, *args): return _soqt.SbTime___add__(self, *args)
def __sub__(self, *args): return _soqt.SbTime___sub__(self, *args)
def __mul__(self, *args): return _soqt.SbTime___mul__(self, *args)
def __rmul__(self, *args): return _soqt.SbTime___rmul__(self, *args)
def __div__(self, *args): return _soqt.SbTime___div__(self, *args)
__swig_destroy__ = _soqt.delete_SbTime
__del__ = lambda self : None;
SbTime_swigregister = _soqt.SbTime_swigregister
SbTime_swigregister(SbTime)
def SbTime_getTimeOfDay():
return _soqt.SbTime_getTimeOfDay()
SbTime_getTimeOfDay = _soqt.SbTime_getTimeOfDay
def SbTime_zero():
return _soqt.SbTime_zero()
SbTime_zero = _soqt.SbTime_zero
def SbTime_max():
return _soqt.SbTime_max()
SbTime_max = _soqt.SbTime_max
def SbTime_maxTime():
return _soqt.SbTime_maxTime()
SbTime_maxTime = _soqt.SbTime_maxTime
def SbTime_sleep(*args):
return _soqt.SbTime_sleep(*args)
SbTime_sleep = _soqt.SbTime_sleep
class SoEvent(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
getClassTypeId = staticmethod(_soqt.SoEvent_getClassTypeId)
def getTypeId(self): return _soqt.SoEvent_getTypeId(self)
initClass = staticmethod(_soqt.SoEvent_initClass)
def __init__(self):
this = _soqt.new_SoEvent()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _soqt.delete_SoEvent
__del__ = lambda self : None;
def isOfType(self, *args): return _soqt.SoEvent_isOfType(self, *args)
def setTime(self, *args): return _soqt.SoEvent_setTime(self, *args)
def getTime(self): return _soqt.SoEvent_getTime(self)
def setPosition(self, *args): return _soqt.SoEvent_setPosition(self, *args)
def getPosition(self, *args): return _soqt.SoEvent_getPosition(self, *args)
def getNormalizedPosition(self, *args): return _soqt.SoEvent_getNormalizedPosition(self, *args)
def setShiftDown(self, *args): return _soqt.SoEvent_setShiftDown(self, *args)
def wasShiftDown(self): return _soqt.SoEvent_wasShiftDown(self)
def setCtrlDown(self, *args): return _soqt.SoEvent_setCtrlDown(self, *args)
def wasCtrlDown(self): return _soqt.SoEvent_wasCtrlDown(self)
def setAltDown(self, *args): return _soqt.SoEvent_setAltDown(self, *args)
def wasAltDown(self): return _soqt.SoEvent_wasAltDown(self)
SoEvent_swigregister = _soqt.SoEvent_swigregister
SoEvent_swigregister(SoEvent)
def SoEvent_getClassTypeId():
return _soqt.SoEvent_getClassTypeId()
SoEvent_getClassTypeId = _soqt.SoEvent_getClassTypeId
def SoEvent_initClass():
return _soqt.SoEvent_initClass()
SoEvent_initClass = _soqt.SoEvent_initClass
class SoNotRec(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
CONTAINER = _soqt.SoNotRec_CONTAINER
PARENT = _soqt.SoNotRec_PARENT
SENSOR = _soqt.SoNotRec_SENSOR
FIELD = _soqt.SoNotRec_FIELD
ENGINE = _soqt.SoNotRec_ENGINE
UNSPECIFIED = _soqt.SoNotRec_UNSPECIFIED
FIELD_UPDATE = _soqt.SoNotRec_FIELD_UPDATE
GROUP_ADDCHILD = _soqt.SoNotRec_GROUP_ADDCHILD
GROUP_INSERTCHILD = _soqt.SoNotRec_GROUP_INSERTCHILD
GROUP_REPLACECHILD = _soqt.SoNotRec_GROUP_REPLACECHILD
GROUP_REMOVECHILD = _soqt.SoNotRec_GROUP_REMOVECHILD
GROUP_REMOVEALLCHILDREN = _soqt.SoNotRec_GROUP_REMOVEALLCHILDREN
def __init__(self, *args):
this = _soqt.new_SoNotRec(*args)
try: self.this.append(this)
except: self.this = this
def setType(self, *args): return _soqt.SoNotRec_setType(self, *args)
def getBase(self): return _soqt.SoNotRec_getBase(self)
def getType(self): return _soqt.SoNotRec_getType(self)
def getPrevious(self): return _soqt.SoNotRec_getPrevious(self)
def setPrevious(self, *args): return _soqt.SoNotRec_setPrevious(self, *args)
def output(self, *args): return _soqt.SoNotRec_output(self, *args)
def getOperationType(self): return _soqt.SoNotRec_getOperationType(self)
def getIndex(self): return _soqt.SoNotRec_getIndex(self)
def getFieldNumIndices(self): return _soqt.SoNotRec_getFieldNumIndices(self)
def getGroupChild(self): return _soqt.SoNotRec_getGroupChild(self)
def getGroupPrevChild(self): return _soqt.SoNotRec_getGroupPrevChild(self)
def setOperationType(self, *args): return _soqt.SoNotRec_setOperationType(self, *args)
def setIndex(self, *args): return _soqt.SoNotRec_setIndex(self, *args)
def setFieldNumIndices(self, *args): return _soqt.SoNotRec_setFieldNumIndices(self, *args)
def setGroupChild(self, *args): return _soqt.SoNotRec_setGroupChild(self, *args)
def setGroupPrevChild(self, *args): return _soqt.SoNotRec_setGroupPrevChild(self, *args)
__swig_destroy__ = _soqt.delete_SoNotRec
__del__ = lambda self : None;
SoNotRec_swigregister = _soqt.SoNotRec_swigregister
SoNotRec_swigregister(SoNotRec)
class SoNotList(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args):
this = _soqt.new_SoNotList(*args)
try: self.this.append(this)
except: self.this = this
def append(self, *args): return _soqt.SoNotList_append(self, *args)
def setLastType(self, *args): return _soqt.SoNotList_setLastType(self, *args)
def getFirstRec(self): return _soqt.SoNotList_getFirstRec(self)
def getLastRec(self): return _soqt.SoNotList_getLastRec(self)
def getFirstRecAtNode(self): return _soqt.SoNotList_getFirstRecAtNode(self)
def getLastField(self): return _soqt.SoNotList_getLastField(self)
def getLastEngineOutput(self): return _soqt.SoNotList_getLastEngineOutput(self)
def getTimeStamp(self): return _soqt.SoNotList_getTimeStamp(self)
def output(self, *args): return _soqt.SoNotList_output(self, *args)
__swig_destroy__ = _soqt.delete_SoNotList
__del__ = lambda self : None;
SoNotList_swigregister = _soqt.SoNotList_swigregister
SoNotList_swigregister(SoNotList)
class SoField(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _soqt.delete_SoField
__del__ = lambda self : None;
initClass = staticmethod(_soqt.SoField_initClass)
initClasses = staticmethod(_soqt.SoField_initClasses)
cleanupClass = staticmethod(_soqt.SoField_cleanupClass)
def setIgnored(self, *args): return _soqt.SoField_setIgnored(self, *args)
def isIgnored(self): return _soqt.SoField_isIgnored(self)
def setDefault(self, *args): return _soqt.SoField_setDefault(self, *args)
def isDefault(self): return _soqt.SoField_isDefault(self)
def getTypeId(self): return _soqt.SoField_getTypeId(self)
getClassTypeId = staticmethod(_soqt.SoField_getClassTypeId)
def isOfType(self, *args): return _soqt.SoField_isOfType(self, *args)
def enableConnection(self, *args): return _soqt.SoField_enableConnection(self, *args)
def isConnectionEnabled(self): return _soqt.SoField_isConnectionEnabled(self)
def isConnectedFromEngine(self): return _soqt.SoField_isConnectedFromEngine(self)
def getConnectedEngine(self, *args): return _soqt.SoField_getConnectedEngine(self, *args)
def connectFrom(self, *args): return _soqt.SoField_connectFrom(self, *args)
def appendConnection(self, *args): return _soqt.SoField_appendConnection(self, *args)
def isConnectedFromField(self): return _soqt.SoField_isConnectedFromField(self)
def getConnectedField(self, *args): return _soqt.SoField_getConnectedField(self, *args)
def getNumConnections(self): return _soqt.SoField_getNumConnections(self)
def getForwardConnections(self, *args): return _soqt.SoField_getForwardConnections(self, *args)
def getConnections(self, *args): return _soqt.SoField_getConnections(self, *args)
def disconnect(self, *args): return _soqt.SoField_disconnect(self, *args)
def isConnected(self): return _soqt.SoField_isConnected(self)
def setContainer(self, *args): return _soqt.SoField_setContainer(self, *args)
def getContainer(self): return _soqt.SoField_getContainer(self)
def set(self, *args): return _soqt.SoField_set(self, *args)
def shouldWrite(self): return _soqt.SoField_shouldWrite(self)
def touch(self): return _soqt.SoField_touch(self)
def startNotify(self): return _soqt.SoField_startNotify(self)
def notify(self, *args): return _soqt.SoField_notify(self, *args)
def enableNotify(self, *args): return _soqt.SoField_enableNotify(self, *args)
def isNotifyEnabled(self): return _soqt.SoField_isNotifyEnabled(self)
def addAuditor(self, *args): return _soqt.SoField_addAuditor(self, *args)
def removeAuditor(self, *args): return _soqt.SoField_removeAuditor(self, *args)
def __eq__(self, *args): return _soqt.SoField___eq__(self, *args)
def __ne__(self, *args): return _soqt.SoField___ne__(self, *args)
def connectionStatusChanged(self, *args): return _soqt.SoField_connectionStatusChanged(self, *args)
def isReadOnly(self): return _soqt.SoField_isReadOnly(self)
def isSame(self, *args): return _soqt.SoField_isSame(self, *args)
def copyFrom(self, *args): return _soqt.SoField_copyFrom(self, *args)
def fixCopy(self, *args): return _soqt.SoField_fixCopy(self, *args)
def referencesCopy(self): return _soqt.SoField_referencesCopy(self)
def copyConnection(self, *args): return _soqt.SoField_copyConnection(self, *args)
def read(self, *args): return _soqt.SoField_read(self, *args)
def write(self, *args): return _soqt.SoField_write(self, *args)
def countWriteRefs(self, *args): return _soqt.SoField_countWriteRefs(self, *args)
NORMAL_FIELD = _soqt.SoField_NORMAL_FIELD
EVENTIN_FIELD = _soqt.SoField_EVENTIN_FIELD
EVENTOUT_FIELD = _soqt.SoField_EVENTOUT_FIELD
EXPOSED_FIELD = _soqt.SoField_EXPOSED_FIELD
def setFieldType(self, *args): return _soqt.SoField_setFieldType(self, *args)
def getFieldType(self): return _soqt.SoField_getFieldType(self)
def getDirty(self): return _soqt.SoField_getDirty(self)
def setDirty(self, *args): return _soqt.SoField_setDirty(self, *args)
def evaluate(self): return _soqt.SoField_evaluate(self)
def get(self): return _soqt.SoField_get(self)
SoField_swigregister = _soqt.SoField_swigregister
SoField_swigregister(SoField)
def SoField_initClass():
return _soqt.SoField_initClass()
SoField_initClass = _soqt.SoField_initClass
def SoField_initClasses():
return _soqt.SoField_initClasses()
SoField_initClasses = _soqt.SoField_initClasses
def SoField_cleanupClass():
return _soqt.SoField_cleanupClass()
SoField_cleanupClass = _soqt.SoField_cleanupClass
def SoField_getClassTypeId():
return _soqt.SoField_getClassTypeId()
SoField_getClassTypeId = _soqt.SoField_getClassTypeId
class SoSField(SoField):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _soqt.delete_SoSField
__del__ = lambda self : None;
initClass = staticmethod(_soqt.SoSField_initClass)
getClassTypeId = staticmethod(_soqt.SoSField_getClassTypeId)
atexit_cleanup = staticmethod(_soqt.SoSField_atexit_cleanup)
SoSField_swigregister = _soqt.SoSField_swigregister
SoSField_swigregister(SoSField)
def SoSField_initClass():
return _soqt.SoSField_initClass()
SoSField_initClass = _soqt.SoSField_initClass
def SoSField_getClassTypeId():
return _soqt.SoSField_getClassTypeId()
SoSField_getClassTypeId = _soqt.SoSField_getClassTypeId
def SoSField_atexit_cleanup():
return _soqt.SoSField_atexit_cleanup()
SoSField_atexit_cleanup = _soqt.SoSField_atexit_cleanup
class SoMField(SoField):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _soqt.delete_SoMField
__del__ = lambda self : None;
getClassTypeId = staticmethod(_soqt.SoMField_getClassTypeId)
atexit_cleanup = staticmethod(_soqt.SoMField_atexit_cleanup)
def getNum(self): return _soqt.SoMField_getNum(self)
def setNum(self, *args): return _soqt.SoMField_setNum(self, *args)
def deleteValues(self, *args): return _soqt.SoMField_deleteValues(self, *args)
def insertSpace(self, *args): return _soqt.SoMField_insertSpace(self, *args)
def set1(self, *args): return _soqt.SoMField_set1(self, *args)
initClass = staticmethod(_soqt.SoMField_initClass)
def enableDeleteValues(self): return _soqt.SoMField_enableDeleteValues(self)
def isDeleteValuesEnabled(self): return _soqt.SoMField_isDeleteValuesEnabled(self)
def __iter__(self):
i = 0
while i < self.getNum():
yield self[i]
i += 1
def __len__(self, *args): return _soqt.SoMField___len__(self, *args)
def get1(self, *args): return _soqt.SoMField_get1(self, *args)
SoMField_swigregister = _soqt.SoMField_swigregister
SoMField_swigregister(SoMField)
def SoMField_getClassTypeId():
return _soqt.SoMField_getClassTypeId()
SoMField_getClassTypeId = _soqt.SoMField_getClassTypeId
def SoMField_atexit_cleanup():
return _soqt.SoMField_atexit_cleanup()
SoMField_atexit_cleanup = _soqt.SoMField_atexit_cleanup
def SoMField_initClass():
return _soqt.SoMField_initClass()
SoMField_initClass = _soqt.SoMField_initClass
import pivy.coin
class QEvent(object):
"""Proxy of C++ QEvent class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
__swig_destroy__ = _soqt.delete_QEvent
__del__ = lambda self : None;
QEvent_swigregister = _soqt.QEvent_swigregister
QEvent_swigregister(QEvent)
class QWidget(object):
"""Proxy of C++ QWidget class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
__swig_destroy__ = _soqt.delete_QWidget
__del__ = lambda self : None;
QWidget_swigregister = _soqt.QWidget_swigregister
QWidget_swigregister(QWidget)
SOQT_MAJOR_VERSION = _soqt.SOQT_MAJOR_VERSION
SOQT_MINOR_VERSION = _soqt.SOQT_MINOR_VERSION
SOQT_MICRO_VERSION = _soqt.SOQT_MICRO_VERSION
SOQT_VERSION = _soqt.SOQT_VERSION
GUI_TOOLKIT_VERSION = _soqt.GUI_TOOLKIT_VERSION
class SoQtObject(object):
"""Proxy of C++ SoQtObject class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
def initClass():
"""initClass()"""
return _soqt.SoQtObject_initClass()
initClass = staticmethod(initClass)
def getClassTypeId():
"""getClassTypeId() -> SoType"""
return _soqt.SoQtObject_getClassTypeId()
getClassTypeId = staticmethod(getClassTypeId)
def getTypeId(self):
"""getTypeId(SoQtObject self) -> SoType"""
return _soqt.SoQtObject_getTypeId(self)
def isOfType(self, *args):
"""isOfType(SoQtObject self, SoType type) -> SbBool"""
return _soqt.SoQtObject_isOfType(self, *args)
def init():
"""init()"""
return _soqt.SoQtObject_init()
init = staticmethod(init)
__swig_destroy__ = _soqt.delete_SoQtObject
__del__ = lambda self : None;
SoQtObject_swigregister = _soqt.SoQtObject_swigregister
SoQtObject_swigregister(SoQtObject)
def SoQtObject_initClass():
"""SoQtObject_initClass()"""
return _soqt.SoQtObject_initClass()
def SoQtObject_getClassTypeId():
"""SoQtObject_getClassTypeId() -> SoType"""
return _soqt.SoQtObject_getClassTypeId()
def SoQtObject_init():
"""SoQtObject_init()"""
return _soqt.SoQtObject_init()
SOQT_SUN_CC_4_0_SOTYPE_INIT_BUG = _soqt.SOQT_SUN_CC_4_0_SOTYPE_INIT_BUG
class SoQtDevice(SoQtObject):
"""Proxy of C++ SoQtDevice class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
def initClass():
"""initClass()"""
return _soqt.SoQtDevice_initClass()
initClass = staticmethod(initClass)
def getClassTypeId():
"""getClassTypeId() -> SoType"""
return _soqt.SoQtDevice_getClassTypeId()
getClassTypeId = staticmethod(getClassTypeId)
def getTypeId(self):
"""getTypeId(SoQtDevice self) -> SoType"""
return _soqt.SoQtDevice_getTypeId(self)
__swig_destroy__ = _soqt.delete_SoQtDevice
__del__ = lambda self : None;
def enable(self, *args):
"""enable(SoQtDevice self, QWidget w, SoQtEventHandler * handler, void * closure)"""
return _soqt.SoQtDevice_enable(self, *args)
def disable(self, *args):
"""disable(SoQtDevice self, QWidget w, SoQtEventHandler * handler, void * closure)"""
return _soqt.SoQtDevice_disable(self, *args)
def translateEvent(self, *args):
"""translateEvent(SoQtDevice self, QEvent event) -> SoEvent"""
return _soqt.SoQtDevice_translateEvent(self, *args)
def setWindowSize(self, *args):
"""setWindowSize(SoQtDevice self, SbVec2s size)"""
return _soqt.SoQtDevice_setWindowSize(self, *args)
def getWindowSize(self):
"""getWindowSize(SoQtDevice self) -> SbVec2s"""
return _soqt.SoQtDevice_getWindowSize(self)
def initClasses():
"""initClasses()"""
return _soqt.SoQtDevice_initClasses()
initClasses = staticmethod(initClasses)
SoQtDevice_swigregister = _soqt.SoQtDevice_swigregister
SoQtDevice_swigregister(SoQtDevice)
def SoQtDevice_initClass():
"""SoQtDevice_initClass()"""
return _soqt.SoQtDevice_initClass()
def SoQtDevice_getClassTypeId():
"""SoQtDevice_getClassTypeId() -> SoType"""
return _soqt.SoQtDevice_getClassTypeId()
def SoQtDevice_initClasses():
"""SoQtDevice_initClasses()"""
return _soqt.SoQtDevice_initClasses()
class SoQtKeyboard(SoQtDevice):
"""Proxy of C++ SoQtKeyboard class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def initClass():
"""initClass()"""
return _soqt.SoQtKeyboard_initClass()
initClass = staticmethod(initClass)
def getClassTypeId():
"""getClassTypeId() -> SoType"""
return _soqt.SoQtKeyboard_getClassTypeId()
getClassTypeId = staticmethod(getClassTypeId)
def getTypeId(self):
"""getTypeId(SoQtKeyboard self) -> SoType"""
return _soqt.SoQtKeyboard_getTypeId(self)
def createInstance():
"""createInstance() -> void *"""
return _soqt.SoQtKeyboard_createInstance()
createInstance = staticmethod(createInstance)
KEY_PRESS = _soqt.SoQtKeyboard_KEY_PRESS
KEY_RELEASE = _soqt.SoQtKeyboard_KEY_RELEASE
ALL_EVENTS = _soqt.SoQtKeyboard_ALL_EVENTS
def __init__(self, *args):
"""
__init__(SoQtKeyboard self, int eventmask=ALL_EVENTS) -> SoQtKeyboard
__init__(SoQtKeyboard self) -> SoQtKeyboard
"""
this = _soqt.new_SoQtKeyboard(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _soqt.delete_SoQtKeyboard
__del__ = lambda self : None;
def enable(self, *args):
"""enable(SoQtKeyboard self, QWidget widget, SoQtEventHandler * handler, void * closure)"""
return _soqt.SoQtKeyboard_enable(self, *args)
def disable(self, *args):
"""disable(SoQtKeyboard self, QWidget widget, SoQtEventHandler * handler, void * closure)"""
return _soqt.SoQtKeyboard_disable(self, *args)
def translateEvent(self, *args):
"""translateEvent(SoQtKeyboard self, QEvent event) -> SoEvent"""
return _soqt.SoQtKeyboard_translateEvent(self, *args)
SoQtKeyboard_swigregister = _soqt.SoQtKeyboard_swigregister
SoQtKeyboard_swigregister(SoQtKeyboard)
def SoQtKeyboard_initClass():
"""SoQtKeyboard_initClass()"""
return _soqt.SoQtKeyboard_initClass()
def SoQtKeyboard_getClassTypeId():
"""SoQtKeyboard_getClassTypeId() -> SoType"""
return _soqt.SoQtKeyboard_getClassTypeId()
def SoQtKeyboard_createInstance():
"""SoQtKeyboard_createInstance() -> void *"""
return _soqt.SoQtKeyboard_createInstance()
class SoQtMouse(SoQtDevice):
"""Proxy of C++ SoQtMouse class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def initClass():
"""initClass()"""
return _soqt.SoQtMouse_initClass()
initClass = staticmethod(initClass)
def getClassTypeId():
"""getClassTypeId() -> SoType"""
return _soqt.SoQtMouse_getClassTypeId()
getClassTypeId = staticmethod(getClassTypeId)
def getTypeId(self):
"""getTypeId(SoQtMouse self) -> SoType"""
return _soqt.SoQtMouse_getTypeId(self)
def createInstance():
"""createInstance() -> void *"""
return _soqt.SoQtMouse_createInstance()
createInstance = staticmethod(createInstance)
BUTTON_PRESS = _soqt.SoQtMouse_BUTTON_PRESS
BUTTON_RELEASE = _soqt.SoQtMouse_BUTTON_RELEASE
POINTER_MOTION = _soqt.SoQtMouse_POINTER_MOTION
BUTTON_MOTION = _soqt.SoQtMouse_BUTTON_MOTION
ALL_EVENTS = _soqt.SoQtMouse_ALL_EVENTS
def __init__(self, *args):
"""
__init__(SoQtMouse self, int eventmask=ALL_EVENTS) -> SoQtMouse
__init__(SoQtMouse self) -> SoQtMouse
"""
this = _soqt.new_SoQtMouse(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _soqt.delete_SoQtMouse
__del__ = lambda self : None;
def enable(self, *args):
"""enable(SoQtMouse self, QWidget widget, SoQtEventHandler * handler, void * closure)"""
return _soqt.SoQtMouse_enable(self, *args)
def disable(self, *args):
"""disable(SoQtMouse self, QWidget widget, SoQtEventHandler * handler, void * closure)"""
return _soqt.SoQtMouse_disable(self, *args)
def translateEvent(self, *args):
"""translateEvent(SoQtMouse self, QEvent event) -> SoEvent"""
return _soqt.SoQtMouse_translateEvent(self, *args)
SoQtMouse_swigregister = _soqt.SoQtMouse_swigregister
SoQtMouse_swigregister(SoQtMouse)
def SoQtMouse_initClass():
"""SoQtMouse_initClass()"""
return _soqt.SoQtMouse_initClass()
def SoQtMouse_getClassTypeId():
"""SoQtMouse_getClassTypeId() -> SoType"""
return _soqt.SoQtMouse_getClassTypeId()
def SoQtMouse_createInstance():
"""SoQtMouse_createInstance() -> void *"""
return _soqt.SoQtMouse_createInstance()
class SoQt(object):
"""Proxy of C++ SoQt class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def init(*args):
"""
init(char const * appname, char const * classname="SoQt") -> QWidget
init(char const * appname) -> QWidget
init(int & argc, char ** argv, char const * appname, char const * classname="SoQt") -> QWidget
init(int & argc, char ** argv, char const * appname) -> QWidget
init(QWidget toplevelwidget)
"""
return _soqt.SoQt_init(*args)
init = staticmethod(init)
def exitMainLoop():
"""exitMainLoop()"""
return _soqt.SoQt_exitMainLoop()
exitMainLoop = staticmethod(exitMainLoop)
def done():
"""done()"""
return _soqt.SoQt_done()
done = staticmethod(done)
def getTopLevelWidget():
"""getTopLevelWidget() -> QWidget"""
return _soqt.SoQt_getTopLevelWidget()
getTopLevelWidget = staticmethod(getTopLevelWidget)
def getShellWidget(*args):
"""getShellWidget(QWidget w) -> QWidget"""
return _soqt.SoQt_getShellWidget(*args)
getShellWidget = staticmethod(getShellWidget)
def show(*args):
"""show(QWidget widget)"""
return _soqt.SoQt_show(*args)
show = staticmethod(show)
def hide(*args):
"""hide(QWidget widget)"""
return _soqt.SoQt_hide(*args)
hide = staticmethod(hide)
def setWidgetSize(*args):
"""setWidgetSize(QWidget widget, SbVec2s size)"""
return _soqt.SoQt_setWidgetSize(*args)
setWidgetSize = staticmethod(setWidgetSize)
def getWidgetSize(*args):
"""getWidgetSize(QWidget widget) -> SbVec2s"""
return _soqt.SoQt_getWidgetSize(*args)
getWidgetSize = staticmethod(getWidgetSize)
def createSimpleErrorDialog(*args):
"""
createSimpleErrorDialog(QWidget widget, char const * title, char const * string1, char const * string2=None)
createSimpleErrorDialog(QWidget widget, char const * title, char const * string1)
"""
return _soqt.SoQt_createSimpleErrorDialog(*args)
createSimpleErrorDialog = staticmethod(createSimpleErrorDialog)
def getVersionInfo(major=None, minor=None, micro=None):
"""
getVersionInfo(int * major=None, int * minor=None, int * micro=None)
getVersionInfo(int * major=None, int * minor=None)
getVersionInfo(int * major=None)
getVersionInfo()
"""
return _soqt.SoQt_getVersionInfo(major, minor, micro)
getVersionInfo = staticmethod(getVersionInfo)
def getVersionString():
"""getVersionString() -> char const *"""
return _soqt.SoQt_getVersionString()
getVersionString = staticmethod(getVersionString)
def getVersionToolkitString():
"""getVersionToolkitString() -> char const *"""
return _soqt.SoQt_getVersionToolkitString()
getVersionToolkitString = staticmethod(getVersionToolkitString)
UNSPECIFIED_ERROR = _soqt.SoQt_UNSPECIFIED_ERROR
NO_OPENGL_CANVAS = _soqt.SoQt_NO_OPENGL_CANVAS
INTERNAL_ASSERT = _soqt.SoQt_INTERNAL_ASSERT
def setFatalErrorHandler(*args):
"""setFatalErrorHandler(SoQt::FatalErrorCB * cb, void * userdata) -> SoQt::FatalErrorCB *"""
return _soqt.SoQt_setFatalErrorHandler(*args)
setFatalErrorHandler = staticmethod(setFatalErrorHandler)
def isDebugLibrary():
"""isDebugLibrary() -> SbBool"""
return _soqt.SoQt_isDebugLibrary()
isDebugLibrary = staticmethod(isDebugLibrary)
def isCompatible(*args):
"""isCompatible(unsigned int major, unsigned int minor) -> SbBool"""
return _soqt.SoQt_isCompatible(*args)
isCompatible = staticmethod(isCompatible)
DLL = _soqt.SoQt_DLL
LIB = _soqt.SoQt_LIB
UNKNOWN = _soqt.SoQt_UNKNOWN
def getABIType():
"""getABIType() -> SoQt::ABIType"""
return _soqt.SoQt_getABIType()
getABIType = staticmethod(getABIType)
def lockGL():
"""lockGL()"""
return _soqt.SoQt_lockGL()
lockGL = staticmethod(lockGL)
def unlockGL():
"""unlockGL()"""
return _soqt.SoQt_unlockGL()
unlockGL = staticmethod(unlockGL)
def mainLoop():
"""mainLoop()"""
return _soqt.SoQt_mainLoop()
mainLoop = staticmethod(mainLoop)
SoQt_swigregister = _soqt.SoQt_swigregister
SoQt_swigregister(SoQt)
def SoQt_init(*args):
"""
init(char const * appname, char const * classname="SoQt") -> QWidget
init(char const * appname) -> QWidget
init(int & argc, char ** argv, char const * appname, char const * classname="SoQt") -> QWidget
init(int & argc, char ** argv, char const * appname) -> QWidget
SoQt_init(QWidget toplevelwidget)
"""
return _soqt.SoQt_init(*args)
def SoQt_exitMainLoop():
"""SoQt_exitMainLoop()"""
return _soqt.SoQt_exitMainLoop()
def SoQt_done():
"""SoQt_done()"""
return _soqt.SoQt_done()
def SoQt_getTopLevelWidget():
"""SoQt_getTopLevelWidget() -> QWidget"""
return _soqt.SoQt_getTopLevelWidget()
def SoQt_getShellWidget(*args):
"""SoQt_getShellWidget(QWidget w) -> QWidget"""
return _soqt.SoQt_getShellWidget(*args)
def SoQt_show(*args):
"""SoQt_show(QWidget widget)"""
return _soqt.SoQt_show(*args)
def SoQt_hide(*args):
"""SoQt_hide(QWidget widget)"""
return _soqt.SoQt_hide(*args)
def SoQt_setWidgetSize(*args):
"""SoQt_setWidgetSize(QWidget widget, SbVec2s size)"""
return _soqt.SoQt_setWidgetSize(*args)
def SoQt_getWidgetSize(*args):
"""SoQt_getWidgetSize(QWidget widget) -> SbVec2s"""
return _soqt.SoQt_getWidgetSize(*args)
def SoQt_createSimpleErrorDialog(*args):
"""
createSimpleErrorDialog(QWidget widget, char const * title, char const * string1, char const * string2=None)
SoQt_createSimpleErrorDialog(QWidget widget, char const * title, char const * string1)
"""
return _soqt.SoQt_createSimpleErrorDialog(*args)
def SoQt_getVersionInfo(major=None, minor=None, micro=None):
"""
getVersionInfo(int * major=None, int * minor=None, int * micro=None)
getVersionInfo(int * major=None, int * minor=None)
getVersionInfo(int * major=None)
SoQt_getVersionInfo()
"""
return _soqt.SoQt_getVersionInfo(major, minor, micro)
def SoQt_getVersionString():
"""SoQt_getVersionString() -> char const *"""
return _soqt.SoQt_getVersionString()
def SoQt_getVersionToolkitString():
"""SoQt_getVersionToolkitString() -> char const *"""
return _soqt.SoQt_getVersionToolkitString()
def SoQt_setFatalErrorHandler(*args):
"""SoQt_setFatalErrorHandler(SoQt::FatalErrorCB * cb, void * userdata) -> SoQt::FatalErrorCB *"""
return _soqt.SoQt_setFatalErrorHandler(*args)
def SoQt_isDebugLibrary():
"""SoQt_isDebugLibrary() -> SbBool"""
return _soqt.SoQt_isDebugLibrary()
def SoQt_isCompatible(*args):
"""SoQt_isCompatible(unsigned int major, unsigned int minor) -> SbBool"""
return _soqt.SoQt_isCompatible(*args)
def SoQt_getABIType():
"""SoQt_getABIType() -> SoQt::ABIType"""
return _soqt.SoQt_getABIType()
def SoQt_lockGL():
"""SoQt_lockGL()"""
return _soqt.SoQt_lockGL()
def SoQt_unlockGL():
"""SoQt_unlockGL()"""
return _soqt.SoQt_unlockGL()
def SoQt_mainLoop():
"""SoQt_mainLoop()"""
return _soqt.SoQt_mainLoop()
class SoQtComponent(SoQtObject):
"""Proxy of C++ SoQtComponent class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def initClass():
"""initClass()"""
return _soqt.SoQtComponent_initClass()
initClass = staticmethod(initClass)
def getClassTypeId():
"""getClassTypeId() -> SoType"""
return _soqt.SoQtComponent_getClassTypeId()
getClassTypeId = staticmethod(getClassTypeId)
def getTypeId(self):
"""getTypeId(SoQtComponent self) -> SoType"""
return _soqt.SoQtComponent_getTypeId(self)
__swig_destroy__ = _soqt.delete_SoQtComponent
__del__ = lambda self : None;
def show(self):
"""show(SoQtComponent self)"""
return _soqt.SoQtComponent_show(self)
def hide(self):
"""hide(SoQtComponent self)"""
return _soqt.SoQtComponent_hide(self)
def setComponentCursor(self, *args):
"""setComponentCursor(SoQtComponent self, SoQtCursor cursor)"""
return _soqt.SoQtComponent_setComponentCursor(self, *args)
def setWidgetCursor(*args):
"""setWidgetCursor(QWidget w, SoQtCursor cursor)"""
return _soqt.SoQtComponent_setWidgetCursor(*args)
setWidgetCursor = staticmethod(setWidgetCursor)
def isFullScreen(self):
"""isFullScreen(SoQtComponent self) -> SbBool"""
return _soqt.SoQtComponent_isFullScreen(self)
def setFullScreen(self, *args):
"""setFullScreen(SoQtComponent self, SbBool const onoff) -> SbBool"""
return _soqt.SoQtComponent_setFullScreen(self, *args)
def isVisible(self):
"""isVisible(SoQtComponent self) -> SbBool"""
return _soqt.SoQtComponent_isVisible(self)
def isTopLevelShell(self):
"""isTopLevelShell(SoQtComponent self) -> SbBool"""
return _soqt.SoQtComponent_isTopLevelShell(self)
def getWidget(self):
"""getWidget(SoQtComponent self) -> QWidget"""
return _soqt.SoQtComponent_getWidget(self)
def getBaseWidget(self):
"""getBaseWidget(SoQtComponent self) -> QWidget"""
return _soqt.SoQtComponent_getBaseWidget(self)
def getShellWidget(self):
"""getShellWidget(SoQtComponent self) -> QWidget"""
return _soqt.SoQtComponent_getShellWidget(self)
def getParentWidget(self):
"""getParentWidget(SoQtComponent self) -> QWidget"""
return _soqt.SoQtComponent_getParentWidget(self)
def setSize(self, *args):
"""setSize(SoQtComponent self, SbVec2s size)"""
return _soqt.SoQtComponent_setSize(self, *args)
def getSize(self):
"""getSize(SoQtComponent self) -> SbVec2s"""
return _soqt.SoQtComponent_getSize(self)
def setTitle(self, *args):
"""setTitle(SoQtComponent self, char const *const title)"""
return _soqt.SoQtComponent_setTitle(self, *args)
def getTitle(self):
"""getTitle(SoQtComponent self) -> char const *"""
return _soqt.SoQtComponent_getTitle(self)
def setIconTitle(self, *args):
"""setIconTitle(SoQtComponent self, char const *const title)"""
return _soqt.SoQtComponent_setIconTitle(self, *args)
def getIconTitle(self):
"""getIconTitle(SoQtComponent self) -> char const *"""
return _soqt.SoQtComponent_getIconTitle(self)
def getWidgetName(self):
"""getWidgetName(SoQtComponent self) -> char const *"""
return _soqt.SoQtComponent_getWidgetName(self)
def getClassName(self):
"""getClassName(SoQtComponent self) -> char const *"""
return _soqt.SoQtComponent_getClassName(self)
def setWindowCloseCallback(self, *args):
"""
setWindowCloseCallback(SoQtComponent self, SoQtComponentCB *const func, void *const user=None)
setWindowCloseCallback(SoQtComponent self, SoQtComponentCB *const func)
"""
return _soqt.SoQtComponent_setWindowCloseCallback(self, *args)
def getComponent(*args):
"""getComponent(QWidget widget) -> SoQtComponent"""
return _soqt.SoQtComponent_getComponent(*args)
getComponent = staticmethod(getComponent)
def initClasses():
"""initClasses()"""
return _soqt.SoQtComponent_initClasses()
initClasses = staticmethod(initClasses)
SoQtComponent_swigregister = _soqt.SoQtComponent_swigregister
SoQtComponent_swigregister(SoQtComponent)
def SoQtComponent_initClass():
"""SoQtComponent_initClass()"""
return _soqt.SoQtComponent_initClass()
def SoQtComponent_getClassTypeId():
"""SoQtComponent_getClassTypeId() -> SoType"""
return _soqt.SoQtComponent_getClassTypeId()
def SoQtComponent_setWidgetCursor(*args):
"""SoQtComponent_setWidgetCursor(QWidget w, SoQtCursor cursor)"""
return _soqt.SoQtComponent_setWidgetCursor(*args)
def SoQtComponent_getComponent(*args):
"""SoQtComponent_getComponent(QWidget widget) -> SoQtComponent"""
return _soqt.SoQtComponent_getComponent(*args)
def SoQtComponent_initClasses():
"""SoQtComponent_initClasses()"""
return _soqt.SoQtComponent_initClasses()
SO_GL_RGB = _soqt.SO_GL_RGB
SO_GLX_RGB = _soqt.SO_GLX_RGB
SO_GL_DOUBLE = _soqt.SO_GL_DOUBLE
SO_GLX_DOUBLE = _soqt.SO_GLX_DOUBLE
SO_GL_ZBUFFER = _soqt.SO_GL_ZBUFFER
SO_GLX_ZBUFFER = _soqt.SO_GLX_ZBUFFER
SO_GL_OVERLAY = _soqt.SO_GL_OVERLAY
SO_GLX_OVERLAY = _soqt.SO_GLX_OVERLAY
SO_GL_STEREO = _soqt.SO_GL_STEREO
SO_GLX_STEREO = _soqt.SO_GLX_STEREO
class SoQtGLWidget(SoQtComponent):
"""Proxy of C++ SoQtGLWidget class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
def initClass():
"""initClass()"""
return _soqt.SoQtGLWidget_initClass()
initClass = staticmethod(initClass)
def getClassTypeId():
"""getClassTypeId() -> SoType"""
return _soqt.SoQtGLWidget_getClassTypeId()
getClassTypeId = staticmethod(getClassTypeId)
def getTypeId(self):
"""getTypeId(SoQtGLWidget self) -> SoType"""
return _soqt.SoQtGLWidget_getTypeId(self)
def setBorder(self, *args):
"""setBorder(SoQtGLWidget self, SbBool const enable)"""
return _soqt.SoQtGLWidget_setBorder(self, *args)
def isBorder(self):
"""isBorder(SoQtGLWidget self) -> SbBool"""
return _soqt.SoQtGLWidget_isBorder(self)
def setDoubleBuffer(self, *args):
"""setDoubleBuffer(SoQtGLWidget self, SbBool const enable)"""
return _soqt.SoQtGLWidget_setDoubleBuffer(self, *args)
def isDoubleBuffer(self):
"""isDoubleBuffer(SoQtGLWidget self) -> SbBool"""
return _soqt.SoQtGLWidget_isDoubleBuffer(self)
def setDrawToFrontBufferEnable(self, *args):
"""setDrawToFrontBufferEnable(SoQtGLWidget self, SbBool const enable)"""
return _soqt.SoQtGLWidget_setDrawToFrontBufferEnable(self, *args)
def isDrawToFrontBufferEnable(self):
"""isDrawToFrontBufferEnable(SoQtGLWidget self) -> SbBool"""
return _soqt.SoQtGLWidget_isDrawToFrontBufferEnable(self)
def setQuadBufferStereo(self, *args):
"""setQuadBufferStereo(SoQtGLWidget self, SbBool const enable)"""
return _soqt.SoQtGLWidget_setQuadBufferStereo(self, *args)
def isQuadBufferStereo(self):
"""isQuadBufferStereo(SoQtGLWidget self) -> SbBool"""
return _soqt.SoQtGLWidget_isQuadBufferStereo(self)
def setAccumulationBuffer(self, *args):
"""setAccumulationBuffer(SoQtGLWidget self, SbBool const enable)"""
return _soqt.SoQtGLWidget_setAccumulationBuffer(self, *args)
def getAccumulationBuffer(self):
"""getAccumulationBuffer(SoQtGLWidget self) -> SbBool"""
return _soqt.SoQtGLWidget_getAccumulationBuffer(self)
def setStencilBuffer(self, *args):
"""setStencilBuffer(SoQtGLWidget self, SbBool const enable)"""
return _soqt.SoQtGLWidget_setStencilBuffer(self, *args)
def getStencilBuffer(self):
"""getStencilBuffer(SoQtGLWidget self) -> SbBool"""
return _soqt.SoQtGLWidget_getStencilBuffer(self)
def setAlphaChannel(self, *args):
"""setAlphaChannel(SoQtGLWidget self, SbBool const enable)"""
return _soqt.SoQtGLWidget_setAlphaChannel(self, *args)
def getAlphaChannel(self):
"""getAlphaChannel(SoQtGLWidget self) -> SbBool"""
return _soqt.SoQtGLWidget_getAlphaChannel(self)
def setOverlayRender(self, *args):
"""setOverlayRender(SoQtGLWidget self, SbBool const onoff)"""
return _soqt.SoQtGLWidget_setOverlayRender(self, *args)
def isOverlayRender(self):
"""isOverlayRender(SoQtGLWidget self) -> SbBool"""
return _soqt.SoQtGLWidget_isOverlayRender(self)
def setSampleBuffers(self, *args):
"""setSampleBuffers(SoQtGLWidget self, int const numsamples)"""
return _soqt.SoQtGLWidget_setSampleBuffers(self, *args)
def getSampleBuffers(self):
"""getSampleBuffers(SoQtGLWidget self) -> int"""
return _soqt.SoQtGLWidget_getSampleBuffers(self)
def setStealFocus(self, *args):
"""setStealFocus(SoQtGLWidget self, SbBool enable)"""
return _soqt.SoQtGLWidget_setStealFocus(self, *args)
def isStealFocus(self):
"""isStealFocus(SoQtGLWidget self) -> SbBool"""
return _soqt.SoQtGLWidget_isStealFocus(self)
def getGLWidget(self):
"""getGLWidget(SoQtGLWidget self) -> QWidget"""
return _soqt.SoQtGLWidget_getGLWidget(self)
def getNormalWidget(self):
"""getNormalWidget(SoQtGLWidget self) -> QWidget"""
return _soqt.SoQtGLWidget_getNormalWidget(self)
def getOverlayWidget(self):
"""getOverlayWidget(SoQtGLWidget self) -> QWidget"""
return _soqt.SoQtGLWidget_getOverlayWidget(self)
def hasOverlayGLArea(self):
"""hasOverlayGLArea(SoQtGLWidget self) -> SbBool"""
return _soqt.SoQtGLWidget_hasOverlayGLArea(self)
def hasNormalGLArea(self):
"""hasNormalGLArea(SoQtGLWidget self) -> SbBool"""
return _soqt.SoQtGLWidget_hasNormalGLArea(self)
def getOverlayTransparentPixel(self):
"""getOverlayTransparentPixel(SoQtGLWidget self) -> unsigned long"""
return _soqt.SoQtGLWidget_getOverlayTransparentPixel(self)
def getPointSizeLimits(self, *args):
"""getPointSizeLimits(SoQtGLWidget self, SbVec2f range, float & granularity)"""
return _soqt.SoQtGLWidget_getPointSizeLimits(self, *args)
def getLineWidthLimits(self, *args):
"""getLineWidthLimits(SoQtGLWidget self, SbVec2f range, float & granularity)"""
return _soqt.SoQtGLWidget_getLineWidthLimits(self, *args)
SoQtGLWidget_swigregister = _soqt.SoQtGLWidget_swigregister
SoQtGLWidget_swigregister(SoQtGLWidget)
def SoQtGLWidget_initClass():
"""SoQtGLWidget_initClass()"""
return _soqt.SoQtGLWidget_initClass()
def SoQtGLWidget_getClassTypeId():
"""SoQtGLWidget_getClassTypeId() -> SoType"""
return _soqt.SoQtGLWidget_getClassTypeId()
class SoQtRenderArea(SoQtGLWidget):
"""Proxy of C++ SoQtRenderArea class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def initClass():
"""initClass()"""
return _soqt.SoQtRenderArea_initClass()
initClass = staticmethod(initClass)
def getClassTypeId():
"""getClassTypeId() -> SoType"""
return _soqt.SoQtRenderArea_getClassTypeId()
getClassTypeId = staticmethod(getClassTypeId)
def getTypeId(self):
"""getTypeId(SoQtRenderArea self) -> SoType"""
return _soqt.SoQtRenderArea_getTypeId(self)
def createInstance():
"""createInstance() -> void *"""
return _soqt.SoQtRenderArea_createInstance()
createInstance = staticmethod(createInstance)
def __init__(self, parent=None, name=None, embed=1, mouseInput=1, keyboardInput=1):
"""
__init__(SoQtRenderArea self, QWidget parent=None, char const * name=None, SbBool embed=1, SbBool mouseInput=1,
SbBool keyboardInput=1) -> SoQtRenderArea
__init__(SoQtRenderArea self, QWidget parent=None, char const * name=None, SbBool embed=1, SbBool mouseInput=1) -> SoQtRenderArea
__init__(SoQtRenderArea self, QWidget parent=None, char const * name=None, SbBool embed=1) -> SoQtRenderArea
__init__(SoQtRenderArea self, QWidget parent=None, char const * name=None) -> SoQtRenderArea
__init__(SoQtRenderArea self, QWidget parent=None) -> SoQtRenderArea
__init__(SoQtRenderArea self) -> SoQtRenderArea
"""
this = _soqt.new_SoQtRenderArea(parent, name, embed, mouseInput, keyboardInput)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _soqt.delete_SoQtRenderArea
__del__ = lambda self : None;
def setSceneGraph(self, *args):
"""setSceneGraph(SoQtRenderArea self, SoNode scene)"""
return _soqt.SoQtRenderArea_setSceneGraph(self, *args)
def getSceneGraph(self):
"""getSceneGraph(SoQtRenderArea self) -> SoNode"""
return _soqt.SoQtRenderArea_getSceneGraph(self)
def setOverlaySceneGraph(self, *args):
"""setOverlaySceneGraph(SoQtRenderArea self, SoNode scene)"""
return _soqt.SoQtRenderArea_setOverlaySceneGraph(self, *args)
def getOverlaySceneGraph(self):
"""getOverlaySceneGraph(SoQtRenderArea self) -> SoNode"""
return _soqt.SoQtRenderArea_getOverlaySceneGraph(self)
def setBackgroundColor(self, *args):
"""setBackgroundColor(SoQtRenderArea self, SbColor color)"""
return _soqt.SoQtRenderArea_setBackgroundColor(self, *args)
def getBackgroundColor(self):
"""getBackgroundColor(SoQtRenderArea self) -> SbColor"""
return _soqt.SoQtRenderArea_getBackgroundColor(self)
def setBackgroundIndex(self, *args):
"""setBackgroundIndex(SoQtRenderArea self, int idx)"""
return _soqt.SoQtRenderArea_setBackgroundIndex(self, *args)
def getBackgroundIndex(self):
"""getBackgroundIndex(SoQtRenderArea self) -> int"""
return _soqt.SoQtRenderArea_getBackgroundIndex(self)
def setOverlayBackgroundIndex(self, *args):
"""setOverlayBackgroundIndex(SoQtRenderArea self, int idx)"""
return _soqt.SoQtRenderArea_setOverlayBackgroundIndex(self, *args)
def getOverlayBackgroundIndex(self):
"""getOverlayBackgroundIndex(SoQtRenderArea self) -> int"""
return _soqt.SoQtRenderArea_getOverlayBackgroundIndex(self)
def setColorMap(self, *args):
"""setColorMap(SoQtRenderArea self, int start, int num, SbColor colors)"""
return _soqt.SoQtRenderArea_setColorMap(self, *args)
def setOverlayColorMap(self, *args):
"""setOverlayColorMap(SoQtRenderArea self, int start, int num, SbColor colors)"""
return _soqt.SoQtRenderArea_setOverlayColorMap(self, *args)
def setViewportRegion(self, *args):
"""setViewportRegion(SoQtRenderArea self, SbViewportRegion newRegion)"""
return _soqt.SoQtRenderArea_setViewportRegion(self, *args)
def getViewportRegion(self):
"""getViewportRegion(SoQtRenderArea self) -> SbViewportRegion"""
return _soqt.SoQtRenderArea_getViewportRegion(self)
def setTransparencyType(self, *args):
"""setTransparencyType(SoQtRenderArea self, SoGLRenderAction::TransparencyType type)"""
return _soqt.SoQtRenderArea_setTransparencyType(self, *args)
def getTransparencyType(self):
"""getTransparencyType(SoQtRenderArea self) -> SoGLRenderAction::TransparencyType"""
return _soqt.SoQtRenderArea_getTransparencyType(self)
def setAntialiasing(self, *args):
"""setAntialiasing(SoQtRenderArea self, SbBool smoothing, int numPasses)"""
return _soqt.SoQtRenderArea_setAntialiasing(self, *args)
def getAntialiasing(self, *args):
"""getAntialiasing(SoQtRenderArea self, SbBool & smoothing, int & numPasses)"""
return _soqt.SoQtRenderArea_getAntialiasing(self, *args)
def setClearBeforeRender(self, *args):
"""
setClearBeforeRender(SoQtRenderArea self, SbBool enable, SbBool zbEnable=1)
setClearBeforeRender(SoQtRenderArea self, SbBool enable)
"""
return _soqt.SoQtRenderArea_setClearBeforeRender(self, *args)
def isClearBeforeRender(self):
"""isClearBeforeRender(SoQtRenderArea self) -> SbBool"""
return _soqt.SoQtRenderArea_isClearBeforeRender(self)
def isClearZBufferBeforeRender(self):
"""isClearZBufferBeforeRender(SoQtRenderArea self) -> SbBool"""
return _soqt.SoQtRenderArea_isClearZBufferBeforeRender(self)
def setClearBeforeOverlayRender(self, *args):
"""setClearBeforeOverlayRender(SoQtRenderArea self, SbBool enable)"""
return _soqt.SoQtRenderArea_setClearBeforeOverlayRender(self, *args)
def isClearBeforeOverlayRender(self):
"""isClearBeforeOverlayRender(SoQtRenderArea self) -> SbBool"""
return _soqt.SoQtRenderArea_isClearBeforeOverlayRender(self)
def setAutoRedraw(self, *args):
"""setAutoRedraw(SoQtRenderArea self, SbBool enable)"""
return _soqt.SoQtRenderArea_setAutoRedraw(self, *args)
def isAutoRedraw(self):
"""isAutoRedraw(SoQtRenderArea self) -> SbBool"""
return _soqt.SoQtRenderArea_isAutoRedraw(self)
def setRedrawPriority(self, *args):
"""setRedrawPriority(SoQtRenderArea self, uint32_t priority)"""
return _soqt.SoQtRenderArea_setRedrawPriority(self, *args)
def getRedrawPriority(self):
"""getRedrawPriority(SoQtRenderArea self) -> uint32_t"""
return _soqt.SoQtRenderArea_getRedrawPriority(self)
def getDefaultRedrawPriority():
"""getDefaultRedrawPriority() -> uint32_t"""
return _soqt.SoQtRenderArea_getDefaultRedrawPriority()
getDefaultRedrawPriority = staticmethod(getDefaultRedrawPriority)
def render(self):
"""render(SoQtRenderArea self)"""
return _soqt.SoQtRenderArea_render(self)
def renderOverlay(self):
"""renderOverlay(SoQtRenderArea self)"""
return _soqt.SoQtRenderArea_renderOverlay(self)
def scheduleRedraw(self):
"""scheduleRedraw(SoQtRenderArea self)"""
return _soqt.SoQtRenderArea_scheduleRedraw(self)
def scheduleOverlayRedraw(self):
"""scheduleOverlayRedraw(SoQtRenderArea self)"""
return _soqt.SoQtRenderArea_scheduleOverlayRedraw(self)
def redrawOnSelectionChange(self, *args):
"""redrawOnSelectionChange(SoQtRenderArea self, SoSelection selection)"""
return _soqt.SoQtRenderArea_redrawOnSelectionChange(self, *args)
def redrawOverlayOnSelectionChange(self, *args):
"""redrawOverlayOnSelectionChange(SoQtRenderArea self, SoSelection selection)"""
return _soqt.SoQtRenderArea_redrawOverlayOnSelectionChange(self, *args)
def setSceneManager(self, *args):
"""setSceneManager(SoQtRenderArea self, SoSceneManager manager)"""
return _soqt.SoQtRenderArea_setSceneManager(self, *args)
def getSceneManager(self):
"""getSceneManager(SoQtRenderArea self) -> SoSceneManager"""
return _soqt.SoQtRenderArea_getSceneManager(self)
def setOverlaySceneManager(self, *args):
"""setOverlaySceneManager(SoQtRenderArea self, SoSceneManager manager)"""
return _soqt.SoQtRenderArea_setOverlaySceneManager(self, *args)
def getOverlaySceneManager(self):
"""getOverlaySceneManager(SoQtRenderArea self) -> SoSceneManager"""
return _soqt.SoQtRenderArea_getOverlaySceneManager(self)
def setGLRenderAction(self, *args):
"""setGLRenderAction(SoQtRenderArea self, SoGLRenderAction action)"""
return _soqt.SoQtRenderArea_setGLRenderAction(self, *args)
def getGLRenderAction(self):
"""getGLRenderAction(SoQtRenderArea self) -> SoGLRenderAction"""
return _soqt.SoQtRenderArea_getGLRenderAction(self)
def setOverlayGLRenderAction(self, *args):
"""setOverlayGLRenderAction(SoQtRenderArea self, SoGLRenderAction action)"""
return _soqt.SoQtRenderArea_setOverlayGLRenderAction(self, *args)
def getOverlayGLRenderAction(self):
"""getOverlayGLRenderAction(SoQtRenderArea self) -> SoGLRenderAction"""
return _soqt.SoQtRenderArea_getOverlayGLRenderAction(self)
def sendSoEvent(self, *args):
"""sendSoEvent(SoQtRenderArea self, SoEvent event) -> SbBool"""
return _soqt.SoQtRenderArea_sendSoEvent(self, *args)
def registerDevice(self, *args):
"""registerDevice(SoQtRenderArea self, SoQtDevice device)"""
return _soqt.SoQtRenderArea_registerDevice(self, *args)
def unregisterDevice(self, *args):
"""unregisterDevice(SoQtRenderArea self, SoQtDevice device)"""
return _soqt.SoQtRenderArea_unregisterDevice(self, *args)
def setEventCallback(self, *args):
"""
setEventCallback(SoQtRenderArea self, SoQtRenderAreaEventCB * func, void * user=None)
setEventCallback(SoQtRenderArea self, SoQtRenderAreaEventCB * func)
setEventCallback(SoQtRenderArea self, PyObject * pyfunc, PyObject * user=None)
setEventCallback(SoQtRenderArea self, PyObject * pyfunc)
"""
return _soqt.SoQtRenderArea_setEventCallback(self, *args)
SoQtRenderArea_swigregister = _soqt.SoQtRenderArea_swigregister
SoQtRenderArea_swigregister(SoQtRenderArea)
def SoQtRenderArea_initClass():
"""SoQtRenderArea_initClass()"""
return _soqt.SoQtRenderArea_initClass()
def SoQtRenderArea_getClassTypeId():
"""SoQtRenderArea_getClassTypeId() -> SoType"""
return _soqt.SoQtRenderArea_getClassTypeId()
def SoQtRenderArea_createInstance():
"""SoQtRenderArea_createInstance() -> void *"""
return _soqt.SoQtRenderArea_createInstance()
def SoQtRenderArea_getDefaultRedrawPriority():
"""SoQtRenderArea_getDefaultRedrawPriority() -> uint32_t"""
return _soqt.SoQtRenderArea_getDefaultRedrawPriority()
class SoQtViewer(SoQtRenderArea):
"""Proxy of C++ SoQtViewer class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def initClass():
"""initClass()"""
return _soqt.SoQtViewer_initClass()
initClass = staticmethod(initClass)
def getClassTypeId():
"""getClassTypeId() -> SoType"""
return _soqt.SoQtViewer_getClassTypeId()
getClassTypeId = staticmethod(getClassTypeId)
def getTypeId(self):
"""getTypeId(SoQtViewer self) -> SoType"""
return _soqt.SoQtViewer_getTypeId(self)
BROWSER = _soqt.SoQtViewer_BROWSER
EDITOR = _soqt.SoQtViewer_EDITOR
VIEW_AS_IS = _soqt.SoQtViewer_VIEW_AS_IS
VIEW_HIDDEN_LINE = _soqt.SoQtViewer_VIEW_HIDDEN_LINE
VIEW_NO_TEXTURE = _soqt.SoQtViewer_VIEW_NO_TEXTURE
VIEW_LOW_COMPLEXITY = _soqt.SoQtViewer_VIEW_LOW_COMPLEXITY
VIEW_LINE = _soqt.SoQtViewer_VIEW_LINE
VIEW_POINT = _soqt.SoQtViewer_VIEW_POINT
VIEW_BBOX = _soqt.SoQtViewer_VIEW_BBOX
VIEW_LOW_RES_LINE = _soqt.SoQtViewer_VIEW_LOW_RES_LINE
VIEW_LOW_RES_POINT = _soqt.SoQtViewer_VIEW_LOW_RES_POINT
VIEW_SAME_AS_STILL = _soqt.SoQtViewer_VIEW_SAME_AS_STILL
VIEW_WIREFRAME_OVERLAY = _soqt.SoQtViewer_VIEW_WIREFRAME_OVERLAY
STILL = _soqt.SoQtViewer_STILL
INTERACTIVE = _soqt.SoQtViewer_INTERACTIVE
BUFFER_SINGLE = _soqt.SoQtViewer_BUFFER_SINGLE
BUFFER_DOUBLE = _soqt.SoQtViewer_BUFFER_DOUBLE
BUFFER_INTERACTIVE = _soqt.SoQtViewer_BUFFER_INTERACTIVE
VARIABLE_NEAR_PLANE = _soqt.SoQtViewer_VARIABLE_NEAR_PLANE
CONSTANT_NEAR_PLANE = _soqt.SoQtViewer_CONSTANT_NEAR_PLANE
def setCamera(self, *args):
"""setCamera(SoQtViewer self, SoCamera camera)"""
return _soqt.SoQtViewer_setCamera(self, *args)
def getCamera(self):
"""getCamera(SoQtViewer self) -> SoCamera"""
return _soqt.SoQtViewer_getCamera(self)
def setCameraType(self, *args):
"""setCameraType(SoQtViewer self, SoType type)"""
return _soqt.SoQtViewer_setCameraType(self, *args)
def getCameraType(self):
"""getCameraType(SoQtViewer self) -> SoType"""
return _soqt.SoQtViewer_getCameraType(self)
def toggleCameraType(self):
"""toggleCameraType(SoQtViewer self)"""
return _soqt.SoQtViewer_toggleCameraType(self)
def viewAll(self):
"""viewAll(SoQtViewer self)"""
return _soqt.SoQtViewer_viewAll(self)
def saveHomePosition(self):
"""saveHomePosition(SoQtViewer self)"""
return _soqt.SoQtViewer_saveHomePosition(self)
def resetToHomePosition(self):
"""resetToHomePosition(SoQtViewer self)"""
return _soqt.SoQtViewer_resetToHomePosition(self)
def setHeadlight(self, *args):
"""setHeadlight(SoQtViewer self, SbBool enable)"""
return _soqt.SoQtViewer_setHeadlight(self, *args)
def isHeadlight(self):
"""isHeadlight(SoQtViewer self) -> SbBool"""
return _soqt.SoQtViewer_isHeadlight(self)
def getHeadlight(self):
"""getHeadlight(SoQtViewer self) -> SoDirectionalLight"""
return _soqt.SoQtViewer_getHeadlight(self)
def setDrawStyle(self, *args):
"""setDrawStyle(SoQtViewer self, SoQtViewer::DrawType type, SoQtViewer::DrawStyle style)"""
return _soqt.SoQtViewer_setDrawStyle(self, *args)
def getDrawStyle(self, *args):
"""getDrawStyle(SoQtViewer self, SoQtViewer::DrawType const type) -> SoQtViewer::DrawStyle"""
return _soqt.SoQtViewer_getDrawStyle(self, *args)
def setBufferingType(self, *args):
"""setBufferingType(SoQtViewer self, SoQtViewer::BufferType type)"""
return _soqt.SoQtViewer_setBufferingType(self, *args)
def getBufferingType(self):
"""getBufferingType(SoQtViewer self) -> SoQtViewer::BufferType"""
return _soqt.SoQtViewer_getBufferingType(self)
def setViewing(self, *args):
"""setViewing(SoQtViewer self, SbBool enable)"""
return _soqt.SoQtViewer_setViewing(self, *args)
def isViewing(self):
"""isViewing(SoQtViewer self) -> SbBool"""
return _soqt.SoQtViewer_isViewing(self)
def setCursorEnabled(self, *args):
"""setCursorEnabled(SoQtViewer self, SbBool enable)"""
return _soqt.SoQtViewer_setCursorEnabled(self, *args)
def isCursorEnabled(self):
"""isCursorEnabled(SoQtViewer self) -> SbBool"""
return _soqt.SoQtViewer_isCursorEnabled(self)
def setAutoClipping(self, *args):
"""setAutoClipping(SoQtViewer self, SbBool enable)"""
return _soqt.SoQtViewer_setAutoClipping(self, *args)
def isAutoClipping(self):
"""isAutoClipping(SoQtViewer self) -> SbBool"""
return _soqt.SoQtViewer_isAutoClipping(self)
def setAutoClippingStrategy(self, *args):
"""
setAutoClippingStrategy(SoQtViewer self, SoQtViewer::AutoClippingStrategy const strategy, float const value=0.6, SoQtAutoClippingCB * cb=None,
void * cbuserdata=None)
setAutoClippingStrategy(SoQtViewer self, SoQtViewer::AutoClippingStrategy const strategy, float const value=0.6, SoQtAutoClippingCB * cb=None)
setAutoClippingStrategy(SoQtViewer self, SoQtViewer::AutoClippingStrategy const strategy, float const value=0.6)
setAutoClippingStrategy(SoQtViewer self, SoQtViewer::AutoClippingStrategy const strategy)
"""
return _soqt.SoQtViewer_setAutoClippingStrategy(self, *args)
def setStereoViewing(self, *args):
"""setStereoViewing(SoQtViewer self, SbBool enable)"""
return _soqt.SoQtViewer_setStereoViewing(self, *args)
def isStereoViewing(self):
"""isStereoViewing(SoQtViewer self) -> SbBool"""
return _soqt.SoQtViewer_isStereoViewing(self)
def setStereoOffset(self, *args):
"""setStereoOffset(SoQtViewer self, float const dist)"""
return _soqt.SoQtViewer_setStereoOffset(self, *args)
def getStereoOffset(self):
"""getStereoOffset(SoQtViewer self) -> float"""
return _soqt.SoQtViewer_getStereoOffset(self)
STEREO_NONE = _soqt.SoQtViewer_STEREO_NONE
STEREO_ANAGLYPH = _soqt.SoQtViewer_STEREO_ANAGLYPH
STEREO_QUADBUFFER = _soqt.SoQtViewer_STEREO_QUADBUFFER
STEREO_INTERLEAVED_ROWS = _soqt.SoQtViewer_STEREO_INTERLEAVED_ROWS
STEREO_INTERLEAVED_COLUMNS = _soqt.SoQtViewer_STEREO_INTERLEAVED_COLUMNS
def setStereoType(self, *args):
"""setStereoType(SoQtViewer self, SoQtViewer::StereoType s) -> SbBool"""
return _soqt.SoQtViewer_setStereoType(self, *args)
def getStereoType(self):
"""getStereoType(SoQtViewer self) -> SoQtViewer::StereoType"""
return _soqt.SoQtViewer_getStereoType(self)
def setAnaglyphStereoColorMasks(self, *args):
"""setAnaglyphStereoColorMasks(SoQtViewer self, SbBool const [3] left, SbBool const [3] right)"""
return _soqt.SoQtViewer_setAnaglyphStereoColorMasks(self, *args)
def getAnaglyphStereoColorMasks(self, *args):
"""getAnaglyphStereoColorMasks(SoQtViewer self, SbBool [3] left, SbBool [3] right)"""
return _soqt.SoQtViewer_getAnaglyphStereoColorMasks(self, *args)
def setDetailSeek(self, *args):
"""setDetailSeek(SoQtViewer self, SbBool const enable)"""
return _soqt.SoQtViewer_setDetailSeek(self, *args)
def isDetailSeek(self):
"""isDetailSeek(SoQtViewer self) -> SbBool"""
return _soqt.SoQtViewer_isDetailSeek(self)
def setSeekTime(self, *args):
"""setSeekTime(SoQtViewer self, float const seconds)"""
return _soqt.SoQtViewer_setSeekTime(self, *args)
def getSeekTime(self):
"""getSeekTime(SoQtViewer self) -> float"""
return _soqt.SoQtViewer_getSeekTime(self)
def addStartCallback(self, *args):
"""
addStartCallback(SoQtViewer self, SoQtViewerCB * func, void * data=None)
addStartCallback(SoQtViewer self, SoQtViewerCB * func)
"""
return _soqt.SoQtViewer_addStartCallback(self, *args)
def addFinishCallback(self, *args):
"""
addFinishCallback(SoQtViewer self, SoQtViewerCB * func, void * data=None)
addFinishCallback(SoQtViewer self, SoQtViewerCB * func)
"""
return _soqt.SoQtViewer_addFinishCallback(self, *args)
def removeStartCallback(self, *args):
"""
removeStartCallback(SoQtViewer self, SoQtViewerCB * func, void * data=None)
removeStartCallback(SoQtViewer self, SoQtViewerCB * func)
"""
return _soqt.SoQtViewer_removeStartCallback(self, *args)
def removeFinishCallback(self, *args):
"""
removeFinishCallback(SoQtViewer self, SoQtViewerCB * func, void * data=None)
removeFinishCallback(SoQtViewer self, SoQtViewerCB * func)
"""
return _soqt.SoQtViewer_removeFinishCallback(self, *args)
def setWireframeOverlayColor(self, *args):
"""setWireframeOverlayColor(SoQtViewer self, SbColor color)"""
return _soqt.SoQtViewer_setWireframeOverlayColor(self, *args)
def getWireframeOverlayColor(self):
"""getWireframeOverlayColor(SoQtViewer self) -> SbColor"""
return _soqt.SoQtViewer_getWireframeOverlayColor(self)
def setDoubleBuffer(self, *args):
"""setDoubleBuffer(SoQtViewer self, SbBool const enable)"""
return _soqt.SoQtViewer_setDoubleBuffer(self, *args)
def setSceneGraph(self, *args):
"""setSceneGraph(SoQtViewer self, SoNode root)"""
return _soqt.SoQtViewer_setSceneGraph(self, *args)
def getSceneGraph(self):
"""getSceneGraph(SoQtViewer self) -> SoNode"""
return _soqt.SoQtViewer_getSceneGraph(self)
SoQtViewer_swigregister = _soqt.SoQtViewer_swigregister
SoQtViewer_swigregister(SoQtViewer)
def SoQtViewer_initClass():
"""SoQtViewer_initClass()"""
return _soqt.SoQtViewer_initClass()
def SoQtViewer_getClassTypeId():
"""SoQtViewer_getClassTypeId() -> SoType"""
return _soqt.SoQtViewer_getClassTypeId()
class SoQtFullViewer(SoQtViewer):
"""Proxy of C++ SoQtFullViewer class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def initClass():
"""initClass()"""
return _soqt.SoQtFullViewer_initClass()
initClass = staticmethod(initClass)
def getClassTypeId():
"""getClassTypeId() -> SoType"""
return _soqt.SoQtFullViewer_getClassTypeId()
getClassTypeId = staticmethod(getClassTypeId)
def getTypeId(self):
"""getTypeId(SoQtFullViewer self) -> SoType"""
return _soqt.SoQtFullViewer_getTypeId(self)
BUILD_NONE = _soqt.SoQtFullViewer_BUILD_NONE
BUILD_DECORATION = _soqt.SoQtFullViewer_BUILD_DECORATION
BUILD_POPUP = _soqt.SoQtFullViewer_BUILD_POPUP
BUILD_ALL = _soqt.SoQtFullViewer_BUILD_ALL
def setDecoration(self, *args):
"""setDecoration(SoQtFullViewer self, SbBool const on)"""
return _soqt.SoQtFullViewer_setDecoration(self, *args)
def isDecoration(self):
"""isDecoration(SoQtFullViewer self) -> SbBool"""
return _soqt.SoQtFullViewer_isDecoration(self)
def setPopupMenuEnabled(self, *args):
"""setPopupMenuEnabled(SoQtFullViewer self, SbBool const on)"""
return _soqt.SoQtFullViewer_setPopupMenuEnabled(self, *args)
def isPopupMenuEnabled(self):
"""isPopupMenuEnabled(SoQtFullViewer self) -> SbBool"""
return _soqt.SoQtFullViewer_isPopupMenuEnabled(self)
def getAppPushButtonParent(self):
"""getAppPushButtonParent(SoQtFullViewer self) -> QWidget"""
return _soqt.SoQtFullViewer_getAppPushButtonParent(self)
def addAppPushButton(self, *args):
"""addAppPushButton(SoQtFullViewer self, QWidget newButton)"""
return _soqt.SoQtFullViewer_addAppPushButton(self, *args)
def insertAppPushButton(self, *args):
"""insertAppPushButton(SoQtFullViewer self, QWidget newButton, int index)"""
return _soqt.SoQtFullViewer_insertAppPushButton(self, *args)
def removeAppPushButton(self, *args):
"""removeAppPushButton(SoQtFullViewer self, QWidget oldButton)"""
return _soqt.SoQtFullViewer_removeAppPushButton(self, *args)
def findAppPushButton(self, *args):
"""findAppPushButton(SoQtFullViewer self, QWidget oldButton) -> int"""
return _soqt.SoQtFullViewer_findAppPushButton(self, *args)
def lengthAppPushButton(self):
"""lengthAppPushButton(SoQtFullViewer self) -> int"""
return _soqt.SoQtFullViewer_lengthAppPushButton(self)
def getRenderAreaWidget(self):
"""getRenderAreaWidget(SoQtFullViewer self) -> QWidget"""
return _soqt.SoQtFullViewer_getRenderAreaWidget(self)
def setViewing(self, *args):
"""setViewing(SoQtFullViewer self, SbBool on)"""
return _soqt.SoQtFullViewer_setViewing(self, *args)
def setComponentCursor(self, *args):
"""setComponentCursor(SoQtFullViewer self, SoQtCursor cursor)"""
return _soqt.SoQtFullViewer_setComponentCursor(self, *args)
SoQtFullViewer_swigregister = _soqt.SoQtFullViewer_swigregister
SoQtFullViewer_swigregister(SoQtFullViewer)
def SoQtFullViewer_initClass():
"""SoQtFullViewer_initClass()"""
return _soqt.SoQtFullViewer_initClass()
def SoQtFullViewer_getClassTypeId():
"""SoQtFullViewer_getClassTypeId() -> SoType"""
return _soqt.SoQtFullViewer_getClassTypeId()
class SoQtPlaneViewer(SoQtFullViewer):
"""Proxy of C++ SoQtPlaneViewer class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def initClass():
"""initClass()"""
return _soqt.SoQtPlaneViewer_initClass()
initClass = staticmethod(initClass)
def getClassTypeId():
"""getClassTypeId() -> SoType"""
return _soqt.SoQtPlaneViewer_getClassTypeId()
getClassTypeId = staticmethod(getClassTypeId)
def getTypeId(self):
"""getTypeId(SoQtPlaneViewer self) -> SoType"""
return _soqt.SoQtPlaneViewer_getTypeId(self)
def createInstance():
"""createInstance() -> void *"""
return _soqt.SoQtPlaneViewer_createInstance()
createInstance = staticmethod(createInstance)
def __init__(self, *args):
"""
__init__(SoQtPlaneViewer self, QWidget parent=None, char const *const name=None, SbBool embed=1, SoQtFullViewer::BuildFlag flag=BUILD_ALL,
SoQtViewer::Type type=BROWSER) -> SoQtPlaneViewer
__init__(SoQtPlaneViewer self, QWidget parent=None, char const *const name=None, SbBool embed=1, SoQtFullViewer::BuildFlag flag=BUILD_ALL) -> SoQtPlaneViewer
__init__(SoQtPlaneViewer self, QWidget parent=None, char const *const name=None, SbBool embed=1) -> SoQtPlaneViewer
__init__(SoQtPlaneViewer self, QWidget parent=None, char const *const name=None) -> SoQtPlaneViewer
__init__(SoQtPlaneViewer self, QWidget parent=None) -> SoQtPlaneViewer
__init__(SoQtPlaneViewer self) -> SoQtPlaneViewer
"""
this = _soqt.new_SoQtPlaneViewer(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _soqt.delete_SoQtPlaneViewer
__del__ = lambda self : None;
def setViewing(self, *args):
"""setViewing(SoQtPlaneViewer self, SbBool enable)"""
return _soqt.SoQtPlaneViewer_setViewing(self, *args)
def setCamera(self, *args):
"""setCamera(SoQtPlaneViewer self, SoCamera camera)"""
return _soqt.SoQtPlaneViewer_setCamera(self, *args)
def setCursorEnabled(self, *args):
"""setCursorEnabled(SoQtPlaneViewer self, SbBool enable)"""
return _soqt.SoQtPlaneViewer_setCursorEnabled(self, *args)
SoQtPlaneViewer_swigregister = _soqt.SoQtPlaneViewer_swigregister
SoQtPlaneViewer_swigregister(SoQtPlaneViewer)
def SoQtPlaneViewer_initClass():
"""SoQtPlaneViewer_initClass()"""
return _soqt.SoQtPlaneViewer_initClass()
def SoQtPlaneViewer_getClassTypeId():
"""SoQtPlaneViewer_getClassTypeId() -> SoType"""
return _soqt.SoQtPlaneViewer_getClassTypeId()
def SoQtPlaneViewer_createInstance():
"""SoQtPlaneViewer_createInstance() -> void *"""
return _soqt.SoQtPlaneViewer_createInstance()
class SoQtExaminerViewer(SoQtFullViewer):
"""Proxy of C++ SoQtExaminerViewer class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def initClass():
"""initClass()"""
return _soqt.SoQtExaminerViewer_initClass()
initClass = staticmethod(initClass)
def getClassTypeId():
"""getClassTypeId() -> SoType"""
return _soqt.SoQtExaminerViewer_getClassTypeId()
getClassTypeId = staticmethod(getClassTypeId)
def getTypeId(self):
"""getTypeId(SoQtExaminerViewer self) -> SoType"""
return _soqt.SoQtExaminerViewer_getTypeId(self)
def createInstance():
"""createInstance() -> void *"""
return _soqt.SoQtExaminerViewer_createInstance()
createInstance = staticmethod(createInstance)
def __init__(self, *args):
"""
__init__(SoQtExaminerViewer self, QWidget parent=None, char const * name=None, SbBool embed=1, SoQtFullViewer::BuildFlag flag=BUILD_ALL,
SoQtViewer::Type type=BROWSER) -> SoQtExaminerViewer
__init__(SoQtExaminerViewer self, QWidget parent=None, char const * name=None, SbBool embed=1, SoQtFullViewer::BuildFlag flag=BUILD_ALL) -> SoQtExaminerViewer
__init__(SoQtExaminerViewer self, QWidget parent=None, char const * name=None, SbBool embed=1) -> SoQtExaminerViewer
__init__(SoQtExaminerViewer self, QWidget parent=None, char const * name=None) -> SoQtExaminerViewer
__init__(SoQtExaminerViewer self, QWidget parent=None) -> SoQtExaminerViewer
__init__(SoQtExaminerViewer self) -> SoQtExaminerViewer
"""
this = _soqt.new_SoQtExaminerViewer(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _soqt.delete_SoQtExaminerViewer
__del__ = lambda self : None;
def setAnimationEnabled(self, *args):
"""setAnimationEnabled(SoQtExaminerViewer self, SbBool const enable)"""
return _soqt.SoQtExaminerViewer_setAnimationEnabled(self, *args)
def isAnimationEnabled(self):
"""isAnimationEnabled(SoQtExaminerViewer self) -> SbBool"""
return _soqt.SoQtExaminerViewer_isAnimationEnabled(self)
def stopAnimating(self):
"""stopAnimating(SoQtExaminerViewer self)"""
return _soqt.SoQtExaminerViewer_stopAnimating(self)
def isAnimating(self):
"""isAnimating(SoQtExaminerViewer self) -> SbBool"""
return _soqt.SoQtExaminerViewer_isAnimating(self)
def setFeedbackVisibility(self, *args):
"""setFeedbackVisibility(SoQtExaminerViewer self, SbBool const enable)"""
return _soqt.SoQtExaminerViewer_setFeedbackVisibility(self, *args)
def isFeedbackVisible(self):
"""isFeedbackVisible(SoQtExaminerViewer self) -> SbBool"""
return _soqt.SoQtExaminerViewer_isFeedbackVisible(self)
def setFeedbackSize(self, *args):
"""setFeedbackSize(SoQtExaminerViewer self, int const size)"""
return _soqt.SoQtExaminerViewer_setFeedbackSize(self, *args)
def getFeedbackSize(self):
"""getFeedbackSize(SoQtExaminerViewer self) -> int"""
return _soqt.SoQtExaminerViewer_getFeedbackSize(self)
def setViewing(self, *args):
"""setViewing(SoQtExaminerViewer self, SbBool enable)"""
return _soqt.SoQtExaminerViewer_setViewing(self, *args)
def setCamera(self, *args):
"""setCamera(SoQtExaminerViewer self, SoCamera camera)"""
return _soqt.SoQtExaminerViewer_setCamera(self, *args)
def setCursorEnabled(self, *args):
"""setCursorEnabled(SoQtExaminerViewer self, SbBool enable)"""
return _soqt.SoQtExaminerViewer_setCursorEnabled(self, *args)
SoQtExaminerViewer_swigregister = _soqt.SoQtExaminerViewer_swigregister
SoQtExaminerViewer_swigregister(SoQtExaminerViewer)
def SoQtExaminerViewer_initClass():
"""SoQtExaminerViewer_initClass()"""
return _soqt.SoQtExaminerViewer_initClass()
def SoQtExaminerViewer_getClassTypeId():
"""SoQtExaminerViewer_getClassTypeId() -> SoType"""
return _soqt.SoQtExaminerViewer_getClassTypeId()
def SoQtExaminerViewer_createInstance():
"""SoQtExaminerViewer_createInstance() -> void *"""
return _soqt.SoQtExaminerViewer_createInstance()
class SoQtConstrainedViewer(SoQtFullViewer):
"""Proxy of C++ SoQtConstrainedViewer class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def initClass():
"""initClass()"""
return _soqt.SoQtConstrainedViewer_initClass()
initClass = staticmethod(initClass)
def getClassTypeId():
"""getClassTypeId() -> SoType"""
return _soqt.SoQtConstrainedViewer_getClassTypeId()
getClassTypeId = staticmethod(getClassTypeId)
def getTypeId(self):
"""getTypeId(SoQtConstrainedViewer self) -> SoType"""
return _soqt.SoQtConstrainedViewer_getTypeId(self)
def setUpDirection(self, *args):
"""setUpDirection(SoQtConstrainedViewer self, SbVec3f dir)"""
return _soqt.SoQtConstrainedViewer_setUpDirection(self, *args)
def getUpDirection(self):
"""getUpDirection(SoQtConstrainedViewer self) -> SbVec3f"""
return _soqt.SoQtConstrainedViewer_getUpDirection(self)
def setCamera(self, *args):
"""setCamera(SoQtConstrainedViewer self, SoCamera newcam)"""
return _soqt.SoQtConstrainedViewer_setCamera(self, *args)
def saveHomePosition(self):
"""saveHomePosition(SoQtConstrainedViewer self)"""
return _soqt.SoQtConstrainedViewer_saveHomePosition(self)
def resetToHomePosition(self):
"""resetToHomePosition(SoQtConstrainedViewer self)"""
return _soqt.SoQtConstrainedViewer_resetToHomePosition(self)
SoQtConstrainedViewer_swigregister = _soqt.SoQtConstrainedViewer_swigregister
SoQtConstrainedViewer_swigregister(SoQtConstrainedViewer)
def SoQtConstrainedViewer_initClass():
"""SoQtConstrainedViewer_initClass()"""
return _soqt.SoQtConstrainedViewer_initClass()
def SoQtConstrainedViewer_getClassTypeId():
"""SoQtConstrainedViewer_getClassTypeId() -> SoType"""
return _soqt.SoQtConstrainedViewer_getClassTypeId()
class SoQtFlyViewer(SoQtConstrainedViewer):
"""Proxy of C++ SoQtFlyViewer class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def initClass():
"""initClass()"""
return _soqt.SoQtFlyViewer_initClass()
initClass = staticmethod(initClass)
def getClassTypeId():
"""getClassTypeId() -> SoType"""
return _soqt.SoQtFlyViewer_getClassTypeId()
getClassTypeId = staticmethod(getClassTypeId)
def getTypeId(self):
"""getTypeId(SoQtFlyViewer self) -> SoType"""
return _soqt.SoQtFlyViewer_getTypeId(self)
def createInstance():
"""createInstance() -> void *"""
return _soqt.SoQtFlyViewer_createInstance()
createInstance = staticmethod(createInstance)
def __init__(self, *args):
"""
__init__(SoQtFlyViewer self, QWidget parent=None, char const * name=None, SbBool embed=1, SoQtFullViewer::BuildFlag flag=BUILD_ALL,
SoQtViewer::Type type=BROWSER) -> SoQtFlyViewer
__init__(SoQtFlyViewer self, QWidget parent=None, char const * name=None, SbBool embed=1, SoQtFullViewer::BuildFlag flag=BUILD_ALL) -> SoQtFlyViewer
__init__(SoQtFlyViewer self, QWidget parent=None, char const * name=None, SbBool embed=1) -> SoQtFlyViewer
__init__(SoQtFlyViewer self, QWidget parent=None, char const * name=None) -> SoQtFlyViewer
__init__(SoQtFlyViewer self, QWidget parent=None) -> SoQtFlyViewer
__init__(SoQtFlyViewer self) -> SoQtFlyViewer
"""
this = _soqt.new_SoQtFlyViewer(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _soqt.delete_SoQtFlyViewer
__del__ = lambda self : None;
def setViewing(self, *args):
"""setViewing(SoQtFlyViewer self, SbBool enable)"""
return _soqt.SoQtFlyViewer_setViewing(self, *args)
def viewAll(self):
"""viewAll(SoQtFlyViewer self)"""
return _soqt.SoQtFlyViewer_viewAll(self)
def resetToHomePosition(self):
"""resetToHomePosition(SoQtFlyViewer self)"""
return _soqt.SoQtFlyViewer_resetToHomePosition(self)
def setCamera(self, *args):
"""setCamera(SoQtFlyViewer self, SoCamera camera)"""
return _soqt.SoQtFlyViewer_setCamera(self, *args)
def setCursorEnabled(self, *args):
"""setCursorEnabled(SoQtFlyViewer self, SbBool enable)"""
return _soqt.SoQtFlyViewer_setCursorEnabled(self, *args)
def setCameraType(self, *args):
"""setCameraType(SoQtFlyViewer self, SoType type)"""
return _soqt.SoQtFlyViewer_setCameraType(self, *args)
SoQtFlyViewer_swigregister = _soqt.SoQtFlyViewer_swigregister
SoQtFlyViewer_swigregister(SoQtFlyViewer)
def SoQtFlyViewer_initClass():
"""SoQtFlyViewer_initClass()"""
return _soqt.SoQtFlyViewer_initClass()
def SoQtFlyViewer_getClassTypeId():
"""SoQtFlyViewer_getClassTypeId() -> SoType"""
return _soqt.SoQtFlyViewer_getClassTypeId()
def SoQtFlyViewer_createInstance():
"""SoQtFlyViewer_createInstance() -> void *"""
return _soqt.SoQtFlyViewer_createInstance()
class SoQtPopupMenu(object):
"""Proxy of C++ SoQtPopupMenu class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
def createInstance():
"""createInstance() -> SoQtPopupMenu"""
return _soqt.SoQtPopupMenu_createInstance()
createInstance = staticmethod(createInstance)
__swig_destroy__ = _soqt.delete_SoQtPopupMenu
__del__ = lambda self : None;
def newMenu(self, *args):
"""
newMenu(SoQtPopupMenu self, char const * name, int menuid=-1) -> int
newMenu(SoQtPopupMenu self, char const * name) -> int
"""
return _soqt.SoQtPopupMenu_newMenu(self, *args)
def getMenu(self, *args):
"""getMenu(SoQtPopupMenu self, char const * name) -> int"""
return _soqt.SoQtPopupMenu_getMenu(self, *args)
def setMenuTitle(self, *args):
"""setMenuTitle(SoQtPopupMenu self, int id, char const * title)"""
return _soqt.SoQtPopupMenu_setMenuTitle(self, *args)
def getMenuTitle(self, *args):
"""getMenuTitle(SoQtPopupMenu self, int id) -> char const *"""
return _soqt.SoQtPopupMenu_getMenuTitle(self, *args)
def newMenuItem(self, *args):
"""
newMenuItem(SoQtPopupMenu self, char const * name, int itemid=-1) -> int
newMenuItem(SoQtPopupMenu self, char const * name) -> int
"""
return _soqt.SoQtPopupMenu_newMenuItem(self, *args)
def getMenuItem(self, *args):
"""getMenuItem(SoQtPopupMenu self, char const * name) -> int"""
return _soqt.SoQtPopupMenu_getMenuItem(self, *args)
def setMenuItemTitle(self, *args):
"""setMenuItemTitle(SoQtPopupMenu self, int itemid, char const * title)"""
return _soqt.SoQtPopupMenu_setMenuItemTitle(self, *args)
def getMenuItemTitle(self, *args):
"""getMenuItemTitle(SoQtPopupMenu self, int itemid) -> char const *"""
return _soqt.SoQtPopupMenu_getMenuItemTitle(self, *args)
def setMenuItemEnabled(self, *args):
"""setMenuItemEnabled(SoQtPopupMenu self, int itemid, SbBool enabled)"""
return _soqt.SoQtPopupMenu_setMenuItemEnabled(self, *args)
def getMenuItemEnabled(self, *args):
"""getMenuItemEnabled(SoQtPopupMenu self, int itemid) -> SbBool"""
return _soqt.SoQtPopupMenu_getMenuItemEnabled(self, *args)
def setMenuItemMarked(self, *args):
"""setMenuItemMarked(SoQtPopupMenu self, int itemid, SbBool marked)"""
return _soqt.SoQtPopupMenu_setMenuItemMarked(self, *args)
def getMenuItemMarked(self, *args):
"""getMenuItemMarked(SoQtPopupMenu self, int itemid) -> SbBool"""
return _soqt.SoQtPopupMenu_getMenuItemMarked(self, *args)
def addMenu(self, *args):
"""
addMenu(SoQtPopupMenu self, int menuid, int submenuid, int pos=-1)
addMenu(SoQtPopupMenu self, int menuid, int submenuid)
"""
return _soqt.SoQtPopupMenu_addMenu(self, *args)
def addMenuItem(self, *args):
"""
addMenuItem(SoQtPopupMenu self, int menuid, int itemid, int pos=-1)
addMenuItem(SoQtPopupMenu self, int menuid, int itemid)
"""
return _soqt.SoQtPopupMenu_addMenuItem(self, *args)
def addSeparator(self, *args):
"""
addSeparator(SoQtPopupMenu self, int menuid, int pos=-1)
addSeparator(SoQtPopupMenu self, int menuid)
"""
return _soqt.SoQtPopupMenu_addSeparator(self, *args)
def removeMenu(self, *args):
"""removeMenu(SoQtPopupMenu self, int menuid)"""
return _soqt.SoQtPopupMenu_removeMenu(self, *args)
def removeMenuItem(self, *args):
"""removeMenuItem(SoQtPopupMenu self, int itemid)"""
return _soqt.SoQtPopupMenu_removeMenuItem(self, *args)
def popUp(self, *args):
"""popUp(SoQtPopupMenu self, QWidget inside, int x, int y)"""
return _soqt.SoQtPopupMenu_popUp(self, *args)
def newRadioGroup(self, *args):
"""
newRadioGroup(SoQtPopupMenu self, int groupid=-1) -> int
newRadioGroup(SoQtPopupMenu self) -> int
"""
return _soqt.SoQtPopupMenu_newRadioGroup(self, *args)
def getRadioGroup(self, *args):
"""getRadioGroup(SoQtPopupMenu self, int itemid) -> int"""
return _soqt.SoQtPopupMenu_getRadioGroup(self, *args)
def getRadioGroupSize(self, *args):
"""getRadioGroupSize(SoQtPopupMenu self, int groupid) -> int"""
return _soqt.SoQtPopupMenu_getRadioGroupSize(self, *args)
def addRadioGroupItem(self, *args):
"""addRadioGroupItem(SoQtPopupMenu self, int groupid, int itemid)"""
return _soqt.SoQtPopupMenu_addRadioGroupItem(self, *args)
def removeRadioGroupItem(self, *args):
"""removeRadioGroupItem(SoQtPopupMenu self, int itemid)"""
return _soqt.SoQtPopupMenu_removeRadioGroupItem(self, *args)
def setRadioGroupMarkedItem(self, *args):
"""setRadioGroupMarkedItem(SoQtPopupMenu self, int itemid)"""
return _soqt.SoQtPopupMenu_setRadioGroupMarkedItem(self, *args)
def getRadioGroupMarkedItem(self, *args):
"""getRadioGroupMarkedItem(SoQtPopupMenu self, int groupid) -> int"""
return _soqt.SoQtPopupMenu_getRadioGroupMarkedItem(self, *args)
def addMenuSelectionCallback(self, *args):
"""addMenuSelectionCallback(SoQtPopupMenu self, SoQtMenuSelectionCallback * callback, void * data)"""
return _soqt.SoQtPopupMenu_addMenuSelectionCallback(self, *args)
def removeMenuSelectionCallback(self, *args):
"""removeMenuSelectionCallback(SoQtPopupMenu self, SoQtMenuSelectionCallback * callback, void * data)"""
return _soqt.SoQtPopupMenu_removeMenuSelectionCallback(self, *args)
SoQtPopupMenu_swigregister = _soqt.SoQtPopupMenu_swigregister
SoQtPopupMenu_swigregister(SoQtPopupMenu)
def SoQtPopupMenu_createInstance():
"""SoQtPopupMenu_createInstance() -> SoQtPopupMenu"""
return _soqt.SoQtPopupMenu_createInstance()
class SoQtCursor(object):
"""Proxy of C++ SoQtCursor class"""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def initClass():
"""initClass()"""
return _soqt.SoQtCursor_initClass()
initClass = staticmethod(initClass)
CUSTOM_BITMAP = _soqt.SoQtCursor_CUSTOM_BITMAP
DEFAULT = _soqt.SoQtCursor_DEFAULT
BUSY = _soqt.SoQtCursor_BUSY
CROSSHAIR = _soqt.SoQtCursor_CROSSHAIR
UPARROW = _soqt.SoQtCursor_UPARROW
def __init__(self, *args):
"""
__init__(SoQtCursor self) -> SoQtCursor
__init__(SoQtCursor self, SoQtCursor::Shape const shape) -> SoQtCursor
__init__(SoQtCursor self, SoQtCursor::CustomCursor const * cc) -> SoQtCursor
__init__(SoQtCursor self, SoQtCursor cursor) -> SoQtCursor
"""
this = _soqt.new_SoQtCursor(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _soqt.delete_SoQtCursor
__del__ = lambda self : None;
def getShape(self):
"""getShape(SoQtCursor self) -> SoQtCursor::Shape"""
return _soqt.SoQtCursor_getShape(self)
def setShape(self, *args):
"""setShape(SoQtCursor self, SoQtCursor::Shape const shape)"""
return _soqt.SoQtCursor_setShape(self, *args)
def getCustomCursor(self):
"""getCustomCursor(SoQtCursor self) -> SoQtCursor::CustomCursor const &"""
return _soqt.SoQtCursor_getCustomCursor(self)
def getZoomCursor():
"""getZoomCursor() -> SoQtCursor"""
return _soqt.SoQtCursor_getZoomCursor()
getZoomCursor = staticmethod(getZoomCursor)
def getPanCursor():
"""getPanCursor() -> SoQtCursor"""
return _soqt.SoQtCursor_getPanCursor()
getPanCursor = staticmethod(getPanCursor)
def getRotateCursor():
"""getRotateCursor() -> SoQtCursor"""
return _soqt.SoQtCursor_getRotateCursor()
getRotateCursor = staticmethod(getRotateCursor)
def getBlankCursor():
"""getBlankCursor() -> SoQtCursor"""
return _soqt.SoQtCursor_getBlankCursor()
getBlankCursor = staticmethod(getBlankCursor)
SoQtCursor_swigregister = _soqt.SoQtCursor_swigregister
SoQtCursor_swigregister(SoQtCursor)
def SoQtCursor_initClass():
"""SoQtCursor_initClass()"""
return _soqt.SoQtCursor_initClass()
def SoQtCursor_getZoomCursor():
"""SoQtCursor_getZoomCursor() -> SoQtCursor"""
return _soqt.SoQtCursor_getZoomCursor()
def SoQtCursor_getPanCursor():
"""SoQtCursor_getPanCursor() -> SoQtCursor"""
return _soqt.SoQtCursor_getPanCursor()
def SoQtCursor_getRotateCursor():
"""SoQtCursor_getRotateCursor() -> SoQtCursor"""
return _soqt.SoQtCursor_getRotateCursor()
def SoQtCursor_getBlankCursor():
"""SoQtCursor_getBlankCursor() -> SoQtCursor"""
return _soqt.SoQtCursor_getBlankCursor()
|