lavavu-osmesa 1.8.43__cp311-cp311-manylinux_2_24_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. lavavu/LavaVuPython.py +578 -0
  2. lavavu/_LavaVuPython.cpython-311-x86_64-linux-gnu.so +0 -0
  3. lavavu/__init__.py +15 -0
  4. lavavu/__main__.py +12 -0
  5. lavavu/amalgamate.py +11 -0
  6. lavavu/aserver.py +357 -0
  7. lavavu/control.py +1699 -0
  8. lavavu/convert.py +853 -0
  9. lavavu/dict.json +2485 -0
  10. lavavu/font.bin +0 -0
  11. lavavu/html/LavaVu-amalgamated.css +282 -0
  12. lavavu/html/OK-min.js +99 -0
  13. lavavu/html/baseviewer.js +307 -0
  14. lavavu/html/control.css +104 -0
  15. lavavu/html/control.js +335 -0
  16. lavavu/html/dat-gui-light-theme.css +68 -0
  17. lavavu/html/dat.gui.min.js +2 -0
  18. lavavu/html/draw.js +2259 -0
  19. lavavu/html/drawbox.js +1030 -0
  20. lavavu/html/emscripten-template.js +184 -0
  21. lavavu/html/emscripten.css +92 -0
  22. lavavu/html/favicon.ico +0 -0
  23. lavavu/html/gl-matrix-min.js +47 -0
  24. lavavu/html/gui.css +25 -0
  25. lavavu/html/menu.js +609 -0
  26. lavavu/html/server.js +226 -0
  27. lavavu/html/stats.min.js +5 -0
  28. lavavu/html/styles.css +58 -0
  29. lavavu/html/webview-template.html +43 -0
  30. lavavu/html/webview.html +43 -0
  31. lavavu/lavavu.py +5635 -0
  32. lavavu/points.py +191 -0
  33. lavavu/server.py +343 -0
  34. lavavu/shaders/default.frag +20 -0
  35. lavavu/shaders/default.vert +17 -0
  36. lavavu/shaders/fontShader.frag +25 -0
  37. lavavu/shaders/fontShader.vert +18 -0
  38. lavavu/shaders/lineShader.frag +43 -0
  39. lavavu/shaders/lineShader.vert +28 -0
  40. lavavu/shaders/pointShader.frag +132 -0
  41. lavavu/shaders/pointShader.vert +57 -0
  42. lavavu/shaders/triShader.frag +170 -0
  43. lavavu/shaders/triShader.vert +55 -0
  44. lavavu/shaders/volumeShader.frag +463 -0
  45. lavavu/shaders/volumeShader.vert +5 -0
  46. lavavu/tracers.py +124 -0
  47. lavavu/vutils.py +213 -0
  48. lavavu_osmesa-1.8.43.dist-info/LICENSE.md +179 -0
  49. lavavu_osmesa-1.8.43.dist-info/METADATA +33 -0
  50. lavavu_osmesa-1.8.43.dist-info/RECORD +138 -0
  51. lavavu_osmesa-1.8.43.dist-info/WHEEL +5 -0
  52. lavavu_osmesa-1.8.43.dist-info/entry_points.txt +3 -0
  53. lavavu_osmesa-1.8.43.dist-info/top_level.txt +1 -0
  54. lavavu_osmesa.libs/libLLVM-3-6d00db57.8.so.1 +0 -0
  55. lavavu_osmesa.libs/libOSMesa-29f606eb.so.8.0.0 +0 -0
  56. lavavu_osmesa.libs/libXau-6ab8808d.so.6.0.0 +0 -0
  57. lavavu_osmesa.libs/libXdmcp-911ecd1c.so.6.0.0 +0 -0
  58. lavavu_osmesa.libs/libXfixes-af4baa9b.so.3.1.0 +0 -0
  59. lavavu_osmesa.libs/libavcodec-10cacdd4.so.57.64.101 +0 -0
  60. lavavu_osmesa.libs/libavformat-afa92877.so.57.56.101 +0 -0
  61. lavavu_osmesa.libs/libavutil-837eb790.so.55.34.101 +0 -0
  62. lavavu_osmesa.libs/libbluray-0b5d9dbd.so.1.10.0 +0 -0
  63. lavavu_osmesa.libs/libbsd-4a4ec721.so.0.8.3 +0 -0
  64. lavavu_osmesa.libs/libbz2-9ebec8ea.so.1.0.4 +0 -0
  65. lavavu_osmesa.libs/libcairo-4217ca50.so.2.11400.8 +0 -0
  66. lavavu_osmesa.libs/libchromaprint-c4f82352.so.1.4.2 +0 -0
  67. lavavu_osmesa.libs/libcom_err-b4bd5c72.so.2.1 +0 -0
  68. lavavu_osmesa.libs/libcrystalhd-e4ea0de0.so.3.6 +0 -0
  69. lavavu_osmesa.libs/libdrm-28f5b5e7.so.2.4.0 +0 -0
  70. lavavu_osmesa.libs/libedit-7f8577df.so.2.0.55 +0 -0
  71. lavavu_osmesa.libs/libffi-1c6807d3.so.6.0.4 +0 -0
  72. lavavu_osmesa.libs/libfontconfig-e9a06300.so.1.8.0 +0 -0
  73. lavavu_osmesa.libs/libfreetype-851758a3.so.6.12.3 +0 -0
  74. lavavu_osmesa.libs/libgcrypt-0005395c.so.20.1.6 +0 -0
  75. lavavu_osmesa.libs/libglapi-cf95372b.so.0.0.0 +0 -0
  76. lavavu_osmesa.libs/libgme-5f850ce8.so.0.6.0 +0 -0
  77. lavavu_osmesa.libs/libgmp-742f5e74.so.10.3.2 +0 -0
  78. lavavu_osmesa.libs/libgnutls-1ec2cd13.so.30.13.1 +0 -0
  79. lavavu_osmesa.libs/libgomp-ce6cf6a9.so.1.0.0 +0 -0
  80. lavavu_osmesa.libs/libgpg-error-24781f22.so.0.21.0 +0 -0
  81. lavavu_osmesa.libs/libgsm-aa736f52.so.1.0.12 +0 -0
  82. lavavu_osmesa.libs/libgssapi_krb5-e296a08d.so.2.2 +0 -0
  83. lavavu_osmesa.libs/libhogweed-9d325a8d.so.4.3 +0 -0
  84. lavavu_osmesa.libs/libicudata-79cf9efa.so.57.1 +0 -0
  85. lavavu_osmesa.libs/libicui18n-03536ef3.so.57.1 +0 -0
  86. lavavu_osmesa.libs/libicuuc-5743fca1.so.57.1 +0 -0
  87. lavavu_osmesa.libs/libidn-fd653b64.so.11.6.16 +0 -0
  88. lavavu_osmesa.libs/libjbig-b30cd8bd.so.0 +0 -0
  89. lavavu_osmesa.libs/libjpeg-8afa139c.so.62.2.0 +0 -0
  90. lavavu_osmesa.libs/libk5crypto-93afd15e.so.3.1 +0 -0
  91. lavavu_osmesa.libs/libkeyutils-46318358.so.1.5 +0 -0
  92. lavavu_osmesa.libs/libkrb5-061fe33b.so.3.3 +0 -0
  93. lavavu_osmesa.libs/libkrb5support-86ac49ad.so.0.1 +0 -0
  94. lavavu_osmesa.libs/liblzma-9c0610aa.so.5.2.2 +0 -0
  95. lavavu_osmesa.libs/libmp3lame-249ae4b0.so.0.0.0 +0 -0
  96. lavavu_osmesa.libs/libmpg123-13a39b0e.so.0.42.3 +0 -0
  97. lavavu_osmesa.libs/libncurses-09dfda50.so.5.9 +0 -0
  98. lavavu_osmesa.libs/libnettle-2482db45.so.6.3 +0 -0
  99. lavavu_osmesa.libs/libnuma-c8473f23.so.1.0.0 +0 -0
  100. lavavu_osmesa.libs/libogg-b6ceea65.so.0.8.2 +0 -0
  101. lavavu_osmesa.libs/libopenjp2-a0c5d12e.so.2.1.2 +0 -0
  102. lavavu_osmesa.libs/libopenmpt-58b855da.so.0.0.20 +0 -0
  103. lavavu_osmesa.libs/libopus-37a3229e.so.0.5.3 +0 -0
  104. lavavu_osmesa.libs/libp11-kit-d06ac4a7.so.0.2.0 +0 -0
  105. lavavu_osmesa.libs/libpixman-1-7369dbb3.so.0.34.0 +0 -0
  106. lavavu_osmesa.libs/libpng16-121b9de7.so.16.28.0 +0 -0
  107. lavavu_osmesa.libs/libshine-b48eced9.so.3.0.1 +0 -0
  108. lavavu_osmesa.libs/libsnappy-1125e350.so.1.3.0 +0 -0
  109. lavavu_osmesa.libs/libsoxr-e0d4d3e4.so.0.1.1 +0 -0
  110. lavavu_osmesa.libs/libspeex-6f258c6c.so.1.5.0 +0 -0
  111. lavavu_osmesa.libs/libssh-gcrypt-90c7dd19.so.4.5.1 +0 -0
  112. lavavu_osmesa.libs/libswresample-cb1bf771.so.2.3.100 +0 -0
  113. lavavu_osmesa.libs/libswscale-876dcddb.so.4.2.100 +0 -0
  114. lavavu_osmesa.libs/libtasn1-44938221.so.6.5.3 +0 -0
  115. lavavu_osmesa.libs/libtheoradec-02a81176.so.1.1.4 +0 -0
  116. lavavu_osmesa.libs/libtheoraenc-b508ccf1.so.1.1.2 +0 -0
  117. lavavu_osmesa.libs/libtiff-e2a5092b.so.5.2.6 +0 -0
  118. lavavu_osmesa.libs/libtinfo-33626a82.so.5.9 +0 -0
  119. lavavu_osmesa.libs/libtwolame-6fcc2d32.so.0.0.0 +0 -0
  120. lavavu_osmesa.libs/libva-0f7a824e.so.1.3904.0 +0 -0
  121. lavavu_osmesa.libs/libva-drm-178eb7ac.so.1.3904.0 +0 -0
  122. lavavu_osmesa.libs/libva-x11-d220c497.so.1.3904.0 +0 -0
  123. lavavu_osmesa.libs/libvdpau-0391b780.so.1.0.0 +0 -0
  124. lavavu_osmesa.libs/libvorbis-378bad15.so.0.4.8 +0 -0
  125. lavavu_osmesa.libs/libvorbisenc-d605e0e1.so.2.0.11 +0 -0
  126. lavavu_osmesa.libs/libvorbisfile-5692671f.so.3.3.7 +0 -0
  127. lavavu_osmesa.libs/libvpx-560f7a88.so.4.1.0 +0 -0
  128. lavavu_osmesa.libs/libwavpack-8339806a.so.1.2.0 +0 -0
  129. lavavu_osmesa.libs/libwebp-63152597.so.6.0.2 +0 -0
  130. lavavu_osmesa.libs/libwebpmux-38ab8eb3.so.2.0.2 +0 -0
  131. lavavu_osmesa.libs/libx264-1c898326.so.148 +0 -0
  132. lavavu_osmesa.libs/libx265-51947861.so.95 +0 -0
  133. lavavu_osmesa.libs/libxcb-ffedb2d4.so.1.1.0 +0 -0
  134. lavavu_osmesa.libs/libxcb-render-f7692d1d.so.0.0.0 +0 -0
  135. lavavu_osmesa.libs/libxcb-shm-5702672e.so.0.0.0 +0 -0
  136. lavavu_osmesa.libs/libxml2-b8b306ab.so.2.9.4 +0 -0
  137. lavavu_osmesa.libs/libxvidcore-a773eded.so.4.3 +0 -0
  138. lavavu_osmesa.libs/libzvbi-2db02ce4.so.0.13.2 +0 -0
lavavu/LavaVuPython.py ADDED
@@ -0,0 +1,578 @@
1
+ # This file was automatically generated by SWIG (http://www.swig.org).
2
+ # Version 4.0.2
3
+ #
4
+ # Do not make changes to this file unless you know what you are doing--modify
5
+ # the SWIG interface file instead.
6
+
7
+ from sys import version_info as _swig_python_version_info
8
+ if _swig_python_version_info < (2, 7, 0):
9
+ raise RuntimeError("Python 2.7 or later required")
10
+
11
+ # Import the low-level C/C++ module
12
+ if __package__ or "." in __name__:
13
+ from . import _LavaVuPython
14
+ else:
15
+ import _LavaVuPython
16
+
17
+ try:
18
+ import builtins as __builtin__
19
+ except ImportError:
20
+ import __builtin__
21
+
22
+ _swig_new_instance_method = _LavaVuPython.SWIG_PyInstanceMethod_New
23
+ _swig_new_static_method = _LavaVuPython.SWIG_PyStaticMethod_New
24
+
25
+ def _swig_repr(self):
26
+ try:
27
+ strthis = "proxy of " + self.this.__repr__()
28
+ except __builtin__.Exception:
29
+ strthis = ""
30
+ return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
31
+
32
+
33
+ def _swig_setattr_nondynamic_instance_variable(set):
34
+ def set_instance_attr(self, name, value):
35
+ if name == "thisown":
36
+ self.this.own(value)
37
+ elif name == "this":
38
+ set(self, name, value)
39
+ elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
40
+ set(self, name, value)
41
+ else:
42
+ raise AttributeError("You cannot add instance attributes to %s" % self)
43
+ return set_instance_attr
44
+
45
+
46
+ def _swig_setattr_nondynamic_class_variable(set):
47
+ def set_class_attr(cls, name, value):
48
+ if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
49
+ set(cls, name, value)
50
+ else:
51
+ raise AttributeError("You cannot add class attributes to %s" % cls)
52
+ return set_class_attr
53
+
54
+
55
+ def _swig_add_metaclass(metaclass):
56
+ """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
57
+ def wrapper(cls):
58
+ return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
59
+ return wrapper
60
+
61
+
62
+ class _SwigNonDynamicMeta(type):
63
+ """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
64
+ __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
65
+
66
+
67
+ class SwigPyIterator(object):
68
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
69
+
70
+ def __init__(self, *args, **kwargs):
71
+ raise AttributeError("No constructor defined - class is abstract")
72
+ __repr__ = _swig_repr
73
+ __swig_destroy__ = _LavaVuPython.delete_SwigPyIterator
74
+ value = _swig_new_instance_method(_LavaVuPython.SwigPyIterator_value)
75
+ incr = _swig_new_instance_method(_LavaVuPython.SwigPyIterator_incr)
76
+ decr = _swig_new_instance_method(_LavaVuPython.SwigPyIterator_decr)
77
+ distance = _swig_new_instance_method(_LavaVuPython.SwigPyIterator_distance)
78
+ equal = _swig_new_instance_method(_LavaVuPython.SwigPyIterator_equal)
79
+ copy = _swig_new_instance_method(_LavaVuPython.SwigPyIterator_copy)
80
+ next = _swig_new_instance_method(_LavaVuPython.SwigPyIterator_next)
81
+ __next__ = _swig_new_instance_method(_LavaVuPython.SwigPyIterator___next__)
82
+ previous = _swig_new_instance_method(_LavaVuPython.SwigPyIterator_previous)
83
+ advance = _swig_new_instance_method(_LavaVuPython.SwigPyIterator_advance)
84
+ __eq__ = _swig_new_instance_method(_LavaVuPython.SwigPyIterator___eq__)
85
+ __ne__ = _swig_new_instance_method(_LavaVuPython.SwigPyIterator___ne__)
86
+ __iadd__ = _swig_new_instance_method(_LavaVuPython.SwigPyIterator___iadd__)
87
+ __isub__ = _swig_new_instance_method(_LavaVuPython.SwigPyIterator___isub__)
88
+ __add__ = _swig_new_instance_method(_LavaVuPython.SwigPyIterator___add__)
89
+ __sub__ = _swig_new_instance_method(_LavaVuPython.SwigPyIterator___sub__)
90
+ def __iter__(self):
91
+ return self
92
+
93
+ # Register SwigPyIterator in _LavaVuPython:
94
+ _LavaVuPython.SwigPyIterator_swigregister(SwigPyIterator)
95
+
96
+ SHARED_PTR_DISOWN = _LavaVuPython.SHARED_PTR_DISOWN
97
+ class Line(object):
98
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
99
+ __repr__ = _swig_repr
100
+ iterator = _swig_new_instance_method(_LavaVuPython.Line_iterator)
101
+ def __iter__(self):
102
+ return self.iterator()
103
+ __nonzero__ = _swig_new_instance_method(_LavaVuPython.Line___nonzero__)
104
+ __bool__ = _swig_new_instance_method(_LavaVuPython.Line___bool__)
105
+ __len__ = _swig_new_instance_method(_LavaVuPython.Line___len__)
106
+ __getslice__ = _swig_new_instance_method(_LavaVuPython.Line___getslice__)
107
+ __setslice__ = _swig_new_instance_method(_LavaVuPython.Line___setslice__)
108
+ __delslice__ = _swig_new_instance_method(_LavaVuPython.Line___delslice__)
109
+ __delitem__ = _swig_new_instance_method(_LavaVuPython.Line___delitem__)
110
+ __getitem__ = _swig_new_instance_method(_LavaVuPython.Line___getitem__)
111
+ __setitem__ = _swig_new_instance_method(_LavaVuPython.Line___setitem__)
112
+ pop = _swig_new_instance_method(_LavaVuPython.Line_pop)
113
+ append = _swig_new_instance_method(_LavaVuPython.Line_append)
114
+ empty = _swig_new_instance_method(_LavaVuPython.Line_empty)
115
+ size = _swig_new_instance_method(_LavaVuPython.Line_size)
116
+ swap = _swig_new_instance_method(_LavaVuPython.Line_swap)
117
+ begin = _swig_new_instance_method(_LavaVuPython.Line_begin)
118
+ end = _swig_new_instance_method(_LavaVuPython.Line_end)
119
+ rbegin = _swig_new_instance_method(_LavaVuPython.Line_rbegin)
120
+ rend = _swig_new_instance_method(_LavaVuPython.Line_rend)
121
+ clear = _swig_new_instance_method(_LavaVuPython.Line_clear)
122
+ get_allocator = _swig_new_instance_method(_LavaVuPython.Line_get_allocator)
123
+ pop_back = _swig_new_instance_method(_LavaVuPython.Line_pop_back)
124
+ erase = _swig_new_instance_method(_LavaVuPython.Line_erase)
125
+
126
+ def __init__(self, *args):
127
+ _LavaVuPython.Line_swiginit(self, _LavaVuPython.new_Line(*args))
128
+ push_back = _swig_new_instance_method(_LavaVuPython.Line_push_back)
129
+ front = _swig_new_instance_method(_LavaVuPython.Line_front)
130
+ back = _swig_new_instance_method(_LavaVuPython.Line_back)
131
+ assign = _swig_new_instance_method(_LavaVuPython.Line_assign)
132
+ resize = _swig_new_instance_method(_LavaVuPython.Line_resize)
133
+ insert = _swig_new_instance_method(_LavaVuPython.Line_insert)
134
+ reserve = _swig_new_instance_method(_LavaVuPython.Line_reserve)
135
+ capacity = _swig_new_instance_method(_LavaVuPython.Line_capacity)
136
+ __swig_destroy__ = _LavaVuPython.delete_Line
137
+
138
+ # Register Line in _LavaVuPython:
139
+ _LavaVuPython.Line_swigregister(Line)
140
+
141
+ class Array(object):
142
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
143
+ __repr__ = _swig_repr
144
+ iterator = _swig_new_instance_method(_LavaVuPython.Array_iterator)
145
+ def __iter__(self):
146
+ return self.iterator()
147
+ __nonzero__ = _swig_new_instance_method(_LavaVuPython.Array___nonzero__)
148
+ __bool__ = _swig_new_instance_method(_LavaVuPython.Array___bool__)
149
+ __len__ = _swig_new_instance_method(_LavaVuPython.Array___len__)
150
+ __getslice__ = _swig_new_instance_method(_LavaVuPython.Array___getslice__)
151
+ __setslice__ = _swig_new_instance_method(_LavaVuPython.Array___setslice__)
152
+ __delslice__ = _swig_new_instance_method(_LavaVuPython.Array___delslice__)
153
+ __delitem__ = _swig_new_instance_method(_LavaVuPython.Array___delitem__)
154
+ __getitem__ = _swig_new_instance_method(_LavaVuPython.Array___getitem__)
155
+ __setitem__ = _swig_new_instance_method(_LavaVuPython.Array___setitem__)
156
+ pop = _swig_new_instance_method(_LavaVuPython.Array_pop)
157
+ append = _swig_new_instance_method(_LavaVuPython.Array_append)
158
+ empty = _swig_new_instance_method(_LavaVuPython.Array_empty)
159
+ size = _swig_new_instance_method(_LavaVuPython.Array_size)
160
+ swap = _swig_new_instance_method(_LavaVuPython.Array_swap)
161
+ begin = _swig_new_instance_method(_LavaVuPython.Array_begin)
162
+ end = _swig_new_instance_method(_LavaVuPython.Array_end)
163
+ rbegin = _swig_new_instance_method(_LavaVuPython.Array_rbegin)
164
+ rend = _swig_new_instance_method(_LavaVuPython.Array_rend)
165
+ clear = _swig_new_instance_method(_LavaVuPython.Array_clear)
166
+ get_allocator = _swig_new_instance_method(_LavaVuPython.Array_get_allocator)
167
+ pop_back = _swig_new_instance_method(_LavaVuPython.Array_pop_back)
168
+ erase = _swig_new_instance_method(_LavaVuPython.Array_erase)
169
+
170
+ def __init__(self, *args):
171
+ _LavaVuPython.Array_swiginit(self, _LavaVuPython.new_Array(*args))
172
+ push_back = _swig_new_instance_method(_LavaVuPython.Array_push_back)
173
+ front = _swig_new_instance_method(_LavaVuPython.Array_front)
174
+ back = _swig_new_instance_method(_LavaVuPython.Array_back)
175
+ assign = _swig_new_instance_method(_LavaVuPython.Array_assign)
176
+ resize = _swig_new_instance_method(_LavaVuPython.Array_resize)
177
+ insert = _swig_new_instance_method(_LavaVuPython.Array_insert)
178
+ reserve = _swig_new_instance_method(_LavaVuPython.Array_reserve)
179
+ capacity = _swig_new_instance_method(_LavaVuPython.Array_capacity)
180
+ __swig_destroy__ = _LavaVuPython.delete_Array
181
+
182
+ # Register Array in _LavaVuPython:
183
+ _LavaVuPython.Array_swigregister(Array)
184
+
185
+ class List(object):
186
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
187
+ __repr__ = _swig_repr
188
+ iterator = _swig_new_instance_method(_LavaVuPython.List_iterator)
189
+ def __iter__(self):
190
+ return self.iterator()
191
+ __nonzero__ = _swig_new_instance_method(_LavaVuPython.List___nonzero__)
192
+ __bool__ = _swig_new_instance_method(_LavaVuPython.List___bool__)
193
+ __len__ = _swig_new_instance_method(_LavaVuPython.List___len__)
194
+ __getslice__ = _swig_new_instance_method(_LavaVuPython.List___getslice__)
195
+ __setslice__ = _swig_new_instance_method(_LavaVuPython.List___setslice__)
196
+ __delslice__ = _swig_new_instance_method(_LavaVuPython.List___delslice__)
197
+ __delitem__ = _swig_new_instance_method(_LavaVuPython.List___delitem__)
198
+ __getitem__ = _swig_new_instance_method(_LavaVuPython.List___getitem__)
199
+ __setitem__ = _swig_new_instance_method(_LavaVuPython.List___setitem__)
200
+ pop = _swig_new_instance_method(_LavaVuPython.List_pop)
201
+ append = _swig_new_instance_method(_LavaVuPython.List_append)
202
+ empty = _swig_new_instance_method(_LavaVuPython.List_empty)
203
+ size = _swig_new_instance_method(_LavaVuPython.List_size)
204
+ swap = _swig_new_instance_method(_LavaVuPython.List_swap)
205
+ begin = _swig_new_instance_method(_LavaVuPython.List_begin)
206
+ end = _swig_new_instance_method(_LavaVuPython.List_end)
207
+ rbegin = _swig_new_instance_method(_LavaVuPython.List_rbegin)
208
+ rend = _swig_new_instance_method(_LavaVuPython.List_rend)
209
+ clear = _swig_new_instance_method(_LavaVuPython.List_clear)
210
+ get_allocator = _swig_new_instance_method(_LavaVuPython.List_get_allocator)
211
+ pop_back = _swig_new_instance_method(_LavaVuPython.List_pop_back)
212
+ erase = _swig_new_instance_method(_LavaVuPython.List_erase)
213
+
214
+ def __init__(self, *args):
215
+ _LavaVuPython.List_swiginit(self, _LavaVuPython.new_List(*args))
216
+ push_back = _swig_new_instance_method(_LavaVuPython.List_push_back)
217
+ front = _swig_new_instance_method(_LavaVuPython.List_front)
218
+ back = _swig_new_instance_method(_LavaVuPython.List_back)
219
+ assign = _swig_new_instance_method(_LavaVuPython.List_assign)
220
+ resize = _swig_new_instance_method(_LavaVuPython.List_resize)
221
+ insert = _swig_new_instance_method(_LavaVuPython.List_insert)
222
+ reserve = _swig_new_instance_method(_LavaVuPython.List_reserve)
223
+ capacity = _swig_new_instance_method(_LavaVuPython.List_capacity)
224
+ __swig_destroy__ = _LavaVuPython.delete_List
225
+
226
+ # Register List in _LavaVuPython:
227
+ _LavaVuPython.List_swigregister(List)
228
+
229
+ class GeomList(object):
230
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
231
+ __repr__ = _swig_repr
232
+ iterator = _swig_new_instance_method(_LavaVuPython.GeomList_iterator)
233
+ def __iter__(self):
234
+ return self.iterator()
235
+ __nonzero__ = _swig_new_instance_method(_LavaVuPython.GeomList___nonzero__)
236
+ __bool__ = _swig_new_instance_method(_LavaVuPython.GeomList___bool__)
237
+ __len__ = _swig_new_instance_method(_LavaVuPython.GeomList___len__)
238
+ __getslice__ = _swig_new_instance_method(_LavaVuPython.GeomList___getslice__)
239
+ __setslice__ = _swig_new_instance_method(_LavaVuPython.GeomList___setslice__)
240
+ __delslice__ = _swig_new_instance_method(_LavaVuPython.GeomList___delslice__)
241
+ __delitem__ = _swig_new_instance_method(_LavaVuPython.GeomList___delitem__)
242
+ __getitem__ = _swig_new_instance_method(_LavaVuPython.GeomList___getitem__)
243
+ __setitem__ = _swig_new_instance_method(_LavaVuPython.GeomList___setitem__)
244
+ pop = _swig_new_instance_method(_LavaVuPython.GeomList_pop)
245
+ append = _swig_new_instance_method(_LavaVuPython.GeomList_append)
246
+ empty = _swig_new_instance_method(_LavaVuPython.GeomList_empty)
247
+ size = _swig_new_instance_method(_LavaVuPython.GeomList_size)
248
+ swap = _swig_new_instance_method(_LavaVuPython.GeomList_swap)
249
+ begin = _swig_new_instance_method(_LavaVuPython.GeomList_begin)
250
+ end = _swig_new_instance_method(_LavaVuPython.GeomList_end)
251
+ rbegin = _swig_new_instance_method(_LavaVuPython.GeomList_rbegin)
252
+ rend = _swig_new_instance_method(_LavaVuPython.GeomList_rend)
253
+ clear = _swig_new_instance_method(_LavaVuPython.GeomList_clear)
254
+ get_allocator = _swig_new_instance_method(_LavaVuPython.GeomList_get_allocator)
255
+ pop_back = _swig_new_instance_method(_LavaVuPython.GeomList_pop_back)
256
+ erase = _swig_new_instance_method(_LavaVuPython.GeomList_erase)
257
+
258
+ def __init__(self, *args):
259
+ _LavaVuPython.GeomList_swiginit(self, _LavaVuPython.new_GeomList(*args))
260
+ push_back = _swig_new_instance_method(_LavaVuPython.GeomList_push_back)
261
+ front = _swig_new_instance_method(_LavaVuPython.GeomList_front)
262
+ back = _swig_new_instance_method(_LavaVuPython.GeomList_back)
263
+ assign = _swig_new_instance_method(_LavaVuPython.GeomList_assign)
264
+ resize = _swig_new_instance_method(_LavaVuPython.GeomList_resize)
265
+ insert = _swig_new_instance_method(_LavaVuPython.GeomList_insert)
266
+ reserve = _swig_new_instance_method(_LavaVuPython.GeomList_reserve)
267
+ capacity = _swig_new_instance_method(_LavaVuPython.GeomList_capacity)
268
+ __swig_destroy__ = _LavaVuPython.delete_GeomList
269
+
270
+ # Register GeomList in _LavaVuPython:
271
+ _LavaVuPython.GeomList_swigregister(GeomList)
272
+
273
+ class ByteArray(object):
274
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
275
+ __repr__ = _swig_repr
276
+ iterator = _swig_new_instance_method(_LavaVuPython.ByteArray_iterator)
277
+ def __iter__(self):
278
+ return self.iterator()
279
+ __nonzero__ = _swig_new_instance_method(_LavaVuPython.ByteArray___nonzero__)
280
+ __bool__ = _swig_new_instance_method(_LavaVuPython.ByteArray___bool__)
281
+ __len__ = _swig_new_instance_method(_LavaVuPython.ByteArray___len__)
282
+ __getslice__ = _swig_new_instance_method(_LavaVuPython.ByteArray___getslice__)
283
+ __setslice__ = _swig_new_instance_method(_LavaVuPython.ByteArray___setslice__)
284
+ __delslice__ = _swig_new_instance_method(_LavaVuPython.ByteArray___delslice__)
285
+ __delitem__ = _swig_new_instance_method(_LavaVuPython.ByteArray___delitem__)
286
+ __getitem__ = _swig_new_instance_method(_LavaVuPython.ByteArray___getitem__)
287
+ __setitem__ = _swig_new_instance_method(_LavaVuPython.ByteArray___setitem__)
288
+ pop = _swig_new_instance_method(_LavaVuPython.ByteArray_pop)
289
+ append = _swig_new_instance_method(_LavaVuPython.ByteArray_append)
290
+ empty = _swig_new_instance_method(_LavaVuPython.ByteArray_empty)
291
+ size = _swig_new_instance_method(_LavaVuPython.ByteArray_size)
292
+ swap = _swig_new_instance_method(_LavaVuPython.ByteArray_swap)
293
+ begin = _swig_new_instance_method(_LavaVuPython.ByteArray_begin)
294
+ end = _swig_new_instance_method(_LavaVuPython.ByteArray_end)
295
+ rbegin = _swig_new_instance_method(_LavaVuPython.ByteArray_rbegin)
296
+ rend = _swig_new_instance_method(_LavaVuPython.ByteArray_rend)
297
+ clear = _swig_new_instance_method(_LavaVuPython.ByteArray_clear)
298
+ get_allocator = _swig_new_instance_method(_LavaVuPython.ByteArray_get_allocator)
299
+ pop_back = _swig_new_instance_method(_LavaVuPython.ByteArray_pop_back)
300
+ erase = _swig_new_instance_method(_LavaVuPython.ByteArray_erase)
301
+
302
+ def __init__(self, *args):
303
+ _LavaVuPython.ByteArray_swiginit(self, _LavaVuPython.new_ByteArray(*args))
304
+ push_back = _swig_new_instance_method(_LavaVuPython.ByteArray_push_back)
305
+ front = _swig_new_instance_method(_LavaVuPython.ByteArray_front)
306
+ back = _swig_new_instance_method(_LavaVuPython.ByteArray_back)
307
+ assign = _swig_new_instance_method(_LavaVuPython.ByteArray_assign)
308
+ resize = _swig_new_instance_method(_LavaVuPython.ByteArray_resize)
309
+ insert = _swig_new_instance_method(_LavaVuPython.ByteArray_insert)
310
+ reserve = _swig_new_instance_method(_LavaVuPython.ByteArray_reserve)
311
+ capacity = _swig_new_instance_method(_LavaVuPython.ByteArray_capacity)
312
+ __swig_destroy__ = _LavaVuPython.delete_ByteArray
313
+
314
+ # Register ByteArray in _LavaVuPython:
315
+ _LavaVuPython.ByteArray_swigregister(ByteArray)
316
+
317
+ lucMinType = _LavaVuPython.lucMinType
318
+ lucLabelType = _LavaVuPython.lucLabelType
319
+ lucPointType = _LavaVuPython.lucPointType
320
+ lucGridType = _LavaVuPython.lucGridType
321
+ lucTriangleType = _LavaVuPython.lucTriangleType
322
+ lucVectorType = _LavaVuPython.lucVectorType
323
+ lucTracerType = _LavaVuPython.lucTracerType
324
+ lucLineType = _LavaVuPython.lucLineType
325
+ lucShapeType = _LavaVuPython.lucShapeType
326
+ lucVolumeType = _LavaVuPython.lucVolumeType
327
+ lucScreenType = _LavaVuPython.lucScreenType
328
+ lucMaxType = _LavaVuPython.lucMaxType
329
+ lucMinDataType = _LavaVuPython.lucMinDataType
330
+ lucVertexData = _LavaVuPython.lucVertexData
331
+ lucNormalData = _LavaVuPython.lucNormalData
332
+ lucVectorData = _LavaVuPython.lucVectorData
333
+ lucColourValueData = _LavaVuPython.lucColourValueData
334
+ lucOpacityValueData = _LavaVuPython.lucOpacityValueData
335
+ lucRedValueData = _LavaVuPython.lucRedValueData
336
+ lucGreenValueData = _LavaVuPython.lucGreenValueData
337
+ lucBlueValueData = _LavaVuPython.lucBlueValueData
338
+ lucIndexData = _LavaVuPython.lucIndexData
339
+ lucXWidthData = _LavaVuPython.lucXWidthData
340
+ lucYHeightData = _LavaVuPython.lucYHeightData
341
+ lucZLengthData = _LavaVuPython.lucZLengthData
342
+ lucRGBAData = _LavaVuPython.lucRGBAData
343
+ lucTexCoordData = _LavaVuPython.lucTexCoordData
344
+ lucSizeData = _LavaVuPython.lucSizeData
345
+ lucLuminanceData = _LavaVuPython.lucLuminanceData
346
+ lucRGBData = _LavaVuPython.lucRGBData
347
+ lucMaxDataType = _LavaVuPython.lucMaxDataType
348
+ class Colour(object):
349
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
350
+ __repr__ = _swig_repr
351
+ rgba = property(_LavaVuPython.Colour_rgba_get, _LavaVuPython.Colour_rgba_set)
352
+ value = property(_LavaVuPython.Colour_value_get, _LavaVuPython.Colour_value_set)
353
+ fvalue = property(_LavaVuPython.Colour_fvalue_get, _LavaVuPython.Colour_fvalue_set)
354
+
355
+ def __init__(self, *args):
356
+ _LavaVuPython.Colour_swiginit(self, _LavaVuPython.new_Colour(*args))
357
+ fromRGBA = _swig_new_instance_method(_LavaVuPython.Colour_fromRGBA)
358
+ fromJSON = _swig_new_instance_method(_LavaVuPython.Colour_fromJSON)
359
+ fromString = _swig_new_instance_method(_LavaVuPython.Colour_fromString)
360
+ fromX11Colour = _swig_new_instance_method(_LavaVuPython.Colour_fromX11Colour)
361
+ fromHex = _swig_new_instance_method(_LavaVuPython.Colour_fromHex)
362
+ invert = _swig_new_instance_method(_LavaVuPython.Colour_invert)
363
+ toJson = _swig_new_instance_method(_LavaVuPython.Colour_toJson)
364
+ toString = _swig_new_instance_method(_LavaVuPython.Colour_toString)
365
+ toArray = _swig_new_instance_method(_LavaVuPython.Colour_toArray)
366
+ __swig_destroy__ = _LavaVuPython.delete_Colour
367
+
368
+ # Register Colour in _LavaVuPython:
369
+ _LavaVuPython.Colour_swigregister(Colour)
370
+
371
+ class OpenGLViewer(object):
372
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
373
+ __repr__ = _swig_repr
374
+ quitProgram = property(_LavaVuPython.OpenGLViewer_quitProgram_get, _LavaVuPython.OpenGLViewer_quitProgram_set)
375
+ isopen = property(_LavaVuPython.OpenGLViewer_isopen_get, _LavaVuPython.OpenGLViewer_isopen_set)
376
+ postdisplay = property(_LavaVuPython.OpenGLViewer_postdisplay_get, _LavaVuPython.OpenGLViewer_postdisplay_set)
377
+ nodisplay = property(_LavaVuPython.OpenGLViewer_nodisplay_get, _LavaVuPython.OpenGLViewer_nodisplay_set)
378
+ visible = property(_LavaVuPython.OpenGLViewer_visible_get, _LavaVuPython.OpenGLViewer_visible_set)
379
+ width = property(_LavaVuPython.OpenGLViewer_width_get, _LavaVuPython.OpenGLViewer_width_set)
380
+ height = property(_LavaVuPython.OpenGLViewer_height_get, _LavaVuPython.OpenGLViewer_height_set)
381
+ timer_animate = property(_LavaVuPython.OpenGLViewer_timer_animate_get, _LavaVuPython.OpenGLViewer_timer_animate_set)
382
+ output_path = property(_LavaVuPython.OpenGLViewer_output_path_get, _LavaVuPython.OpenGLViewer_output_path_set)
383
+ mouseState = property(_LavaVuPython.OpenGLViewer_mouseState_get, _LavaVuPython.OpenGLViewer_mouseState_set)
384
+ mouseX = property(_LavaVuPython.OpenGLViewer_mouseX_get, _LavaVuPython.OpenGLViewer_mouseX_set)
385
+ mouseY = property(_LavaVuPython.OpenGLViewer_mouseY_get, _LavaVuPython.OpenGLViewer_mouseY_set)
386
+ open = _swig_new_instance_method(_LavaVuPython.OpenGLViewer_open)
387
+ init = _swig_new_instance_method(_LavaVuPython.OpenGLViewer_init)
388
+ display = _swig_new_instance_method(_LavaVuPython.OpenGLViewer_display)
389
+ show = _swig_new_instance_method(_LavaVuPython.OpenGLViewer_show)
390
+ hide = _swig_new_instance_method(_LavaVuPython.OpenGLViewer_hide)
391
+ title = _swig_new_instance_method(_LavaVuPython.OpenGLViewer_title)
392
+ execute = _swig_new_instance_method(_LavaVuPython.OpenGLViewer_execute)
393
+ events = _swig_new_instance_method(_LavaVuPython.OpenGLViewer_events)
394
+ loop = _swig_new_instance_method(_LavaVuPython.OpenGLViewer_loop)
395
+ downSample = _swig_new_instance_method(_LavaVuPython.OpenGLViewer_downSample)
396
+ multiSample = _swig_new_instance_method(_LavaVuPython.OpenGLViewer_multiSample)
397
+ animateTimer = _swig_new_instance_method(_LavaVuPython.OpenGLViewer_animateTimer)
398
+
399
+ def __init__(self):
400
+ _LavaVuPython.OpenGLViewer_swiginit(self, _LavaVuPython.new_OpenGLViewer())
401
+ __swig_destroy__ = _LavaVuPython.delete_OpenGLViewer
402
+
403
+ # Register OpenGLViewer in _LavaVuPython:
404
+ _LavaVuPython.OpenGLViewer_swigregister(OpenGLViewer)
405
+ cvar = _LavaVuPython.cvar
406
+ version = cvar.version
407
+
408
+ class DrawingObject(object):
409
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
410
+ __repr__ = _swig_repr
411
+
412
+ def __init__(self, *args):
413
+ _LavaVuPython.DrawingObject_swiginit(self, _LavaVuPython.new_DrawingObject(*args))
414
+ colourMap = property(_LavaVuPython.DrawingObject_colourMap_get, _LavaVuPython.DrawingObject_colourMap_set)
415
+ opacityMap = property(_LavaVuPython.DrawingObject_opacityMap_get, _LavaVuPython.DrawingObject_opacityMap_set)
416
+ getColourMap = _swig_new_instance_method(_LavaVuPython.DrawingObject_getColourMap)
417
+ name = _swig_new_instance_method(_LavaVuPython.DrawingObject_name)
418
+ opacity = property(_LavaVuPython.DrawingObject_opacity_get, _LavaVuPython.DrawingObject_opacity_set)
419
+ colour = property(_LavaVuPython.DrawingObject_colour_get, _LavaVuPython.DrawingObject_colour_set)
420
+ __swig_destroy__ = _LavaVuPython.delete_DrawingObject
421
+
422
+ # Register DrawingObject in _LavaVuPython:
423
+ _LavaVuPython.DrawingObject_swigregister(DrawingObject)
424
+
425
+ class Model(object):
426
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
427
+ __repr__ = _swig_repr
428
+ fignames = property(_LavaVuPython.Model_fignames_get, _LavaVuPython.Model_fignames_set)
429
+ figures = property(_LavaVuPython.Model_figures_get, _LavaVuPython.Model_figures_set)
430
+ figure = property(_LavaVuPython.Model_figure_get, _LavaVuPython.Model_figure_set)
431
+
432
+ def __init__(self, session: "Session &"):
433
+ _LavaVuPython.Model_swiginit(self, _LavaVuPython.new_Model(session))
434
+ __swig_destroy__ = _LavaVuPython.delete_Model
435
+
436
+ # Register Model in _LavaVuPython:
437
+ _LavaVuPython.Model_swigregister(Model)
438
+
439
+ class ColourMap(object):
440
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
441
+ __repr__ = _swig_repr
442
+ name = property(_LavaVuPython.ColourMap_name_get, _LavaVuPython.ColourMap_name_set)
443
+
444
+ def __init__(self, *args):
445
+ _LavaVuPython.ColourMap_swiginit(self, _LavaVuPython.new_ColourMap(*args))
446
+ flip = _swig_new_instance_method(_LavaVuPython.ColourMap_flip)
447
+ monochrome = _swig_new_instance_method(_LavaVuPython.ColourMap_monochrome)
448
+ getDefaultMapNames = _swig_new_static_method(_LavaVuPython.ColourMap_getDefaultMapNames)
449
+ getDefaultMap = _swig_new_static_method(_LavaVuPython.ColourMap_getDefaultMap)
450
+ __swig_destroy__ = _LavaVuPython.delete_ColourMap
451
+
452
+ # Register ColourMap in _LavaVuPython:
453
+ _LavaVuPython.ColourMap_swigregister(ColourMap)
454
+ ColourMap_getDefaultMapNames = _LavaVuPython.ColourMap_getDefaultMapNames
455
+ ColourMap_getDefaultMap = _LavaVuPython.ColourMap_getDefaultMap
456
+
457
+ class GeomData(object):
458
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
459
+ __repr__ = _swig_repr
460
+ width = property(_LavaVuPython.GeomData_width_get, _LavaVuPython.GeomData_width_set)
461
+ height = property(_LavaVuPython.GeomData_height_get, _LavaVuPython.GeomData_height_set)
462
+ depth = property(_LavaVuPython.GeomData_depth_get, _LavaVuPython.GeomData_depth_set)
463
+ step = property(_LavaVuPython.GeomData_step_get, _LavaVuPython.GeomData_step_set)
464
+ type = property(_LavaVuPython.GeomData_type_get, _LavaVuPython.GeomData_type_set)
465
+
466
+ def __init__(self, draw: "DrawingObject", type: "lucGeometryType"):
467
+ _LavaVuPython.GeomData_swiginit(self, _LavaVuPython.new_GeomData(draw, type))
468
+ __swig_destroy__ = _LavaVuPython.delete_GeomData
469
+
470
+ # Register GeomData in _LavaVuPython:
471
+ _LavaVuPython.GeomData_swigregister(GeomData)
472
+
473
+ class LavaVu(object):
474
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
475
+ __repr__ = _swig_repr
476
+ viewer = property(_LavaVuPython.LavaVu_viewer_get, _LavaVuPython.LavaVu_viewer_set)
477
+ amodel = property(_LavaVuPython.LavaVu_amodel_get, _LavaVuPython.LavaVu_amodel_set)
478
+ aview = property(_LavaVuPython.LavaVu_aview_get, _LavaVuPython.LavaVu_aview_set)
479
+ aobject = property(_LavaVuPython.LavaVu_aobject_get, _LavaVuPython.LavaVu_aobject_set)
480
+ binpath = property(_LavaVuPython.LavaVu_binpath_get, _LavaVuPython.LavaVu_binpath_set)
481
+ unprocessed = property(_LavaVuPython.LavaVu_unprocessed_get, _LavaVuPython.LavaVu_unprocessed_set)
482
+
483
+ def __init__(self, binpath: "std::string", havecontext: "bool"=False, omegalib: "bool"=False):
484
+ _LavaVuPython.LavaVu_swiginit(self, _LavaVuPython.new_LavaVu(binpath, havecontext, omegalib))
485
+ __swig_destroy__ = _LavaVuPython.delete_LavaVu
486
+ destroy = _swig_new_instance_method(_LavaVuPython.LavaVu_destroy)
487
+ resize = _swig_new_instance_method(_LavaVuPython.LavaVu_resize)
488
+ run = _swig_new_instance_method(_LavaVuPython.LavaVu_run)
489
+ serialize = _swig_new_instance_method(_LavaVuPython.LavaVu_serialize)
490
+ deserialize = _swig_new_instance_method(_LavaVuPython.LavaVu_deserialize)
491
+ printall = _swig_new_instance_method(_LavaVuPython.LavaVu_printall)
492
+ loadFile = _swig_new_instance_method(_LavaVuPython.LavaVu_loadFile)
493
+ parseProperty = _swig_new_instance_method(_LavaVuPython.LavaVu_parseProperty)
494
+ parseCommands = _swig_new_instance_method(_LavaVuPython.LavaVu_parseCommands)
495
+ gl_version = _swig_new_instance_method(_LavaVuPython.LavaVu_gl_version)
496
+ image = _swig_new_instance_method(_LavaVuPython.LavaVu_image)
497
+ web = _swig_new_instance_method(_LavaVuPython.LavaVu_web)
498
+ video = _swig_new_instance_method(_LavaVuPython.LavaVu_video)
499
+ encodeVideo = _swig_new_instance_method(_LavaVuPython.LavaVu_encodeVideo)
500
+ defaultModel = _swig_new_instance_method(_LavaVuPython.LavaVu_defaultModel)
501
+ addColourMap = _swig_new_instance_method(_LavaVuPython.LavaVu_addColourMap)
502
+ updateColourMap = _swig_new_instance_method(_LavaVuPython.LavaVu_updateColourMap)
503
+ getColourMap = _swig_new_instance_method(_LavaVuPython.LavaVu_getColourMap)
504
+ setColourMap = _swig_new_instance_method(_LavaVuPython.LavaVu_setColourMap)
505
+ colourBar = _swig_new_instance_method(_LavaVuPython.LavaVu_colourBar)
506
+ setState = _swig_new_instance_method(_LavaVuPython.LavaVu_setState)
507
+ getState = _swig_new_instance_method(_LavaVuPython.LavaVu_getState)
508
+ getTimeSteps = _swig_new_instance_method(_LavaVuPython.LavaVu_getTimeSteps)
509
+ addTimeStep = _swig_new_instance_method(_LavaVuPython.LavaVu_addTimeStep)
510
+ resetViews = _swig_new_instance_method(_LavaVuPython.LavaVu_resetViews)
511
+ setObject = _swig_new_instance_method(_LavaVuPython.LavaVu_setObject)
512
+ createObject = _swig_new_instance_method(_LavaVuPython.LavaVu_createObject)
513
+ getObject = _swig_new_instance_method(_LavaVuPython.LavaVu_getObject)
514
+ reloadObject = _swig_new_instance_method(_LavaVuPython.LavaVu_reloadObject)
515
+ appendToObject = _swig_new_instance_method(_LavaVuPython.LavaVu_appendToObject)
516
+ loadTriangles = _swig_new_instance_method(_LavaVuPython.LavaVu_loadTriangles)
517
+ loadColours = _swig_new_instance_method(_LavaVuPython.LavaVu_loadColours)
518
+ loadLabels = _swig_new_instance_method(_LavaVuPython.LavaVu_loadLabels)
519
+ clearAll = _swig_new_instance_method(_LavaVuPython.LavaVu_clearAll)
520
+ clearObject = _swig_new_instance_method(_LavaVuPython.LavaVu_clearObject)
521
+ clearValues = _swig_new_instance_method(_LavaVuPython.LavaVu_clearValues)
522
+ clearData = _swig_new_instance_method(_LavaVuPython.LavaVu_clearData)
523
+ getObjectDataLabels = _swig_new_instance_method(_LavaVuPython.LavaVu_getObjectDataLabels)
524
+ arrayUChar = _swig_new_instance_method(_LavaVuPython.LavaVu_arrayUChar)
525
+ arrayUInt = _swig_new_instance_method(_LavaVuPython.LavaVu_arrayUInt)
526
+ arrayFloat = _swig_new_instance_method(_LavaVuPython.LavaVu_arrayFloat)
527
+ clearTexture = _swig_new_instance_method(_LavaVuPython.LavaVu_clearTexture)
528
+ setTexture = _swig_new_instance_method(_LavaVuPython.LavaVu_setTexture)
529
+ textureUChar = _swig_new_instance_method(_LavaVuPython.LavaVu_textureUChar)
530
+ textureUInt = _swig_new_instance_method(_LavaVuPython.LavaVu_textureUInt)
531
+ getGeometry = _swig_new_instance_method(_LavaVuPython.LavaVu_getGeometry)
532
+ getGeometryAt = _swig_new_instance_method(_LavaVuPython.LavaVu_getGeometryAt)
533
+ getBoundingBox = _swig_new_instance_method(_LavaVuPython.LavaVu_getBoundingBox)
534
+ geometryArrayUChar = _swig_new_instance_method(_LavaVuPython.LavaVu_geometryArrayUChar)
535
+ geometryArrayUInt = _swig_new_instance_method(_LavaVuPython.LavaVu_geometryArrayUInt)
536
+ geometryArrayFloat = _swig_new_instance_method(_LavaVuPython.LavaVu_geometryArrayFloat)
537
+ colourArrayFloat = _swig_new_instance_method(_LavaVuPython.LavaVu_colourArrayFloat)
538
+ geometryArrayViewFloat = _swig_new_instance_method(_LavaVuPython.LavaVu_geometryArrayViewFloat)
539
+ geometryArrayViewUInt = _swig_new_instance_method(_LavaVuPython.LavaVu_geometryArrayViewUInt)
540
+ geometryArrayViewUChar = _swig_new_instance_method(_LavaVuPython.LavaVu_geometryArrayViewUChar)
541
+ imageBuffer = _swig_new_instance_method(_LavaVuPython.LavaVu_imageBuffer)
542
+ imageFromFile = _swig_new_instance_method(_LavaVuPython.LavaVu_imageFromFile)
543
+ imageJPEG = _swig_new_instance_method(_LavaVuPython.LavaVu_imageJPEG)
544
+ imagePNG = _swig_new_instance_method(_LavaVuPython.LavaVu_imagePNG)
545
+ contour = _swig_new_instance_method(_LavaVuPython.LavaVu_contour)
546
+ isoSurface = _swig_new_instance_method(_LavaVuPython.LavaVu_isoSurface)
547
+ update = _swig_new_instance_method(_LavaVuPython.LavaVu_update)
548
+ close = _swig_new_instance_method(_LavaVuPython.LavaVu_close)
549
+ imageArray = _swig_new_instance_method(_LavaVuPython.LavaVu_imageArray)
550
+ imageDiff = _swig_new_instance_method(_LavaVuPython.LavaVu_imageDiff)
551
+ queueCommands = _swig_new_instance_method(_LavaVuPython.LavaVu_queueCommands)
552
+ helpCommand = _swig_new_instance_method(_LavaVuPython.LavaVu_helpCommand)
553
+ commandList = _swig_new_instance_method(_LavaVuPython.LavaVu_commandList)
554
+ propertyList = _swig_new_instance_method(_LavaVuPython.LavaVu_propertyList)
555
+
556
+ # Register LavaVu in _LavaVuPython:
557
+ _LavaVuPython.LavaVu_swigregister(LavaVu)
558
+
559
+ rawImageWrite = _LavaVuPython.rawImageWrite
560
+ class VideoEncoder(object):
561
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
562
+ __repr__ = _swig_repr
563
+ filename = property(_LavaVuPython.VideoEncoder_filename_get, _LavaVuPython.VideoEncoder_filename_set)
564
+
565
+ def __init__(self, fn: "std::string const &", fps: "int", quality: "int"=3):
566
+ _LavaVuPython.VideoEncoder_swiginit(self, _LavaVuPython.new_VideoEncoder(fn, fps, quality))
567
+ __swig_destroy__ = _LavaVuPython.delete_VideoEncoder
568
+ open = _swig_new_instance_method(_LavaVuPython.VideoEncoder_open)
569
+ close = _swig_new_instance_method(_LavaVuPython.VideoEncoder_close)
570
+ resize = _swig_new_instance_method(_LavaVuPython.VideoEncoder_resize)
571
+ display = _swig_new_instance_method(_LavaVuPython.VideoEncoder_display)
572
+ copyframe = _swig_new_instance_method(_LavaVuPython.VideoEncoder_copyframe)
573
+
574
+ # Register VideoEncoder in _LavaVuPython:
575
+ _LavaVuPython.VideoEncoder_swigregister(VideoEncoder)
576
+
577
+
578
+
lavavu/__init__.py ADDED
@@ -0,0 +1,15 @@
1
+ """
2
+ LavaVu main module
3
+
4
+ """
5
+
6
+ import sys
7
+ import os
8
+ sys.path.append(os.path.dirname(__file__))
9
+
10
+ from .lavavu import *
11
+
12
+ from vutils import is_ipython, is_notebook
13
+
14
+ __version__ = lavavu.version
15
+
lavavu/__main__.py ADDED
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env python
2
+ def main():
3
+ #Run interactive with args via python
4
+ from . import lavavu
5
+ import sys
6
+ import platform
7
+ lv = lavavu.Viewer(*sys.argv[1:])
8
+ lv.interactive()
9
+
10
+ if __name__ == '__main__':
11
+ main()
12
+
lavavu/amalgamate.py ADDED
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env python
2
+
3
+ #Creates amalgamated js and css for emscripten web viewer
4
+ filenames = ["dat.gui.min.js", "OK-min.js", "baseviewer.js", "menu.js", "emscripten.js", "LavaVu.js"]
5
+ with open("html/LavaVu-amalgamated.js", "w") as text_file:
6
+ text_file.write('\n'.join(open('html/' + f).read() for f in filenames))
7
+
8
+ filenames = ["emscripten.css", "control.css", "styles.css", "gui.css"]
9
+ with open("html/LavaVu-amalgamated.css", "w") as text_file:
10
+ text_file.write('\n'.join(open('html/' + f).read() for f in filenames))
11
+