lavavu-osmesa 1.9.9__cp313-cp313-manylinux_2_28_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.
- lavavu/LavaVuPython.py +561 -0
- lavavu/_LavaVuPython.cpython-313-x86_64-linux-gnu.so +0 -0
- lavavu/__init__.py +15 -0
- lavavu/__main__.py +12 -0
- lavavu/amalgamate.py +15 -0
- lavavu/aserver.py +359 -0
- lavavu/control.py +1731 -0
- lavavu/convert.py +888 -0
- lavavu/dict.json +2528 -0
- lavavu/font.bin +0 -0
- lavavu/html/LavaVu-amalgamated.css +282 -0
- lavavu/html/OK-min.js +99 -0
- lavavu/html/baseviewer.js +307 -0
- lavavu/html/control.css +104 -0
- lavavu/html/control.js +340 -0
- lavavu/html/dat-gui-light-theme.css +68 -0
- lavavu/html/dat.gui.min.js +2 -0
- lavavu/html/draw.js +2259 -0
- lavavu/html/drawbox.js +1039 -0
- lavavu/html/emscripten-template.js +184 -0
- lavavu/html/emscripten.css +92 -0
- lavavu/html/favicon.ico +0 -0
- lavavu/html/gl-matrix-min.js +47 -0
- lavavu/html/gui.css +25 -0
- lavavu/html/menu.js +615 -0
- lavavu/html/server.js +226 -0
- lavavu/html/stats.min.js +5 -0
- lavavu/html/styles.css +58 -0
- lavavu/html/webview-template.html +43 -0
- lavavu/html/webview.html +43 -0
- lavavu/lavavu.py +6200 -0
- lavavu/osmesa/LavaVuPython.py +561 -0
- lavavu/osmesa/_LavaVuPython.cpython-313-x86_64-linux-gnu.so +0 -0
- lavavu/osmesa/__init__.py +0 -0
- lavavu/points.py +191 -0
- lavavu/server.py +343 -0
- lavavu/shaders/default.frag +14 -0
- lavavu/shaders/default.vert +17 -0
- lavavu/shaders/fontShader.frag +20 -0
- lavavu/shaders/fontShader.vert +18 -0
- lavavu/shaders/lineShader.frag +39 -0
- lavavu/shaders/lineShader.vert +26 -0
- lavavu/shaders/pointShader.frag +127 -0
- lavavu/shaders/pointShader.vert +53 -0
- lavavu/shaders/triShader.frag +153 -0
- lavavu/shaders/triShader.vert +49 -0
- lavavu/shaders/volumeShader.frag +400 -0
- lavavu/shaders/volumeShader.vert +5 -0
- lavavu/tracers.py +207 -0
- lavavu/vutils.py +211 -0
- lavavu_osmesa-1.9.9.dist-info/METADATA +323 -0
- lavavu_osmesa-1.9.9.dist-info/RECORD +65 -0
- lavavu_osmesa-1.9.9.dist-info/WHEEL +5 -0
- lavavu_osmesa-1.9.9.dist-info/entry_points.txt +2 -0
- lavavu_osmesa-1.9.9.dist-info/licenses/LICENSE.md +179 -0
- lavavu_osmesa-1.9.9.dist-info/top_level.txt +1 -0
- lavavu_osmesa.libs/libLLVM-17-51492e70.so +0 -0
- lavavu_osmesa.libs/libOSMesa-f6a8f160.so.8.0.0 +0 -0
- lavavu_osmesa.libs/libdrm-b0291a67.so.2.4.0 +0 -0
- lavavu_osmesa.libs/libffi-3a37023a.so.6.0.2 +0 -0
- lavavu_osmesa.libs/libglapi-520b284c.so.0.0.0 +0 -0
- lavavu_osmesa.libs/libpcre2-8-516f4c9d.so.0.7.1 +0 -0
- lavavu_osmesa.libs/libselinux-d0805dcb.so.1 +0 -0
- lavavu_osmesa.libs/libtinfo-3a2cb85b.so.6.1 +0 -0
- lavavu_osmesa.libs/libzstd-76b78bac.so.1.4.4 +0 -0
lavavu/LavaVuPython.py
ADDED
@@ -0,0 +1,561 @@
|
|
1
|
+
# This file was automatically generated by SWIG (https://www.swig.org).
|
2
|
+
# Version 4.2.0
|
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
|
+
# Import the low-level C/C++ module
|
9
|
+
if __package__ or "." in __name__:
|
10
|
+
from . import _LavaVuPython
|
11
|
+
else:
|
12
|
+
import _LavaVuPython
|
13
|
+
|
14
|
+
try:
|
15
|
+
import builtins as __builtin__
|
16
|
+
except ImportError:
|
17
|
+
import __builtin__
|
18
|
+
|
19
|
+
_swig_new_instance_method = _LavaVuPython.SWIG_PyInstanceMethod_New
|
20
|
+
_swig_new_static_method = _LavaVuPython.SWIG_PyStaticMethod_New
|
21
|
+
|
22
|
+
def _swig_repr(self):
|
23
|
+
try:
|
24
|
+
strthis = "proxy of " + self.this.__repr__()
|
25
|
+
except __builtin__.Exception:
|
26
|
+
strthis = ""
|
27
|
+
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
|
28
|
+
|
29
|
+
|
30
|
+
def _swig_setattr_nondynamic_instance_variable(set):
|
31
|
+
def set_instance_attr(self, name, value):
|
32
|
+
if name == "this":
|
33
|
+
set(self, name, value)
|
34
|
+
elif name == "thisown":
|
35
|
+
self.this.own(value)
|
36
|
+
elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
|
37
|
+
set(self, name, value)
|
38
|
+
else:
|
39
|
+
raise AttributeError("You cannot add instance attributes to %s" % self)
|
40
|
+
return set_instance_attr
|
41
|
+
|
42
|
+
|
43
|
+
def _swig_setattr_nondynamic_class_variable(set):
|
44
|
+
def set_class_attr(cls, name, value):
|
45
|
+
if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
|
46
|
+
set(cls, name, value)
|
47
|
+
else:
|
48
|
+
raise AttributeError("You cannot add class attributes to %s" % cls)
|
49
|
+
return set_class_attr
|
50
|
+
|
51
|
+
|
52
|
+
def _swig_add_metaclass(metaclass):
|
53
|
+
"""Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
|
54
|
+
def wrapper(cls):
|
55
|
+
return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
|
56
|
+
return wrapper
|
57
|
+
|
58
|
+
|
59
|
+
class _SwigNonDynamicMeta(type):
|
60
|
+
"""Meta class to enforce nondynamic attributes (no new attributes) for a class"""
|
61
|
+
__setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
|
62
|
+
|
63
|
+
|
64
|
+
class SwigPyIterator(object):
|
65
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
66
|
+
|
67
|
+
def __init__(self, *args, **kwargs):
|
68
|
+
raise AttributeError("No constructor defined - class is abstract")
|
69
|
+
__repr__ = _swig_repr
|
70
|
+
__swig_destroy__ = _LavaVuPython.delete_SwigPyIterator
|
71
|
+
value = _swig_new_instance_method(_LavaVuPython.SwigPyIterator_value)
|
72
|
+
incr = _swig_new_instance_method(_LavaVuPython.SwigPyIterator_incr)
|
73
|
+
decr = _swig_new_instance_method(_LavaVuPython.SwigPyIterator_decr)
|
74
|
+
distance = _swig_new_instance_method(_LavaVuPython.SwigPyIterator_distance)
|
75
|
+
equal = _swig_new_instance_method(_LavaVuPython.SwigPyIterator_equal)
|
76
|
+
copy = _swig_new_instance_method(_LavaVuPython.SwigPyIterator_copy)
|
77
|
+
next = _swig_new_instance_method(_LavaVuPython.SwigPyIterator_next)
|
78
|
+
__next__ = _swig_new_instance_method(_LavaVuPython.SwigPyIterator___next__)
|
79
|
+
previous = _swig_new_instance_method(_LavaVuPython.SwigPyIterator_previous)
|
80
|
+
advance = _swig_new_instance_method(_LavaVuPython.SwigPyIterator_advance)
|
81
|
+
__eq__ = _swig_new_instance_method(_LavaVuPython.SwigPyIterator___eq__)
|
82
|
+
__ne__ = _swig_new_instance_method(_LavaVuPython.SwigPyIterator___ne__)
|
83
|
+
__iadd__ = _swig_new_instance_method(_LavaVuPython.SwigPyIterator___iadd__)
|
84
|
+
__isub__ = _swig_new_instance_method(_LavaVuPython.SwigPyIterator___isub__)
|
85
|
+
__add__ = _swig_new_instance_method(_LavaVuPython.SwigPyIterator___add__)
|
86
|
+
__sub__ = _swig_new_instance_method(_LavaVuPython.SwigPyIterator___sub__)
|
87
|
+
def __iter__(self):
|
88
|
+
return self
|
89
|
+
|
90
|
+
# Register SwigPyIterator in _LavaVuPython:
|
91
|
+
_LavaVuPython.SwigPyIterator_swigregister(SwigPyIterator)
|
92
|
+
SHARED_PTR_DISOWN = _LavaVuPython.SHARED_PTR_DISOWN
|
93
|
+
class Line(object):
|
94
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
95
|
+
__repr__ = _swig_repr
|
96
|
+
iterator = _swig_new_instance_method(_LavaVuPython.Line_iterator)
|
97
|
+
def __iter__(self):
|
98
|
+
return self.iterator()
|
99
|
+
__nonzero__ = _swig_new_instance_method(_LavaVuPython.Line___nonzero__)
|
100
|
+
__bool__ = _swig_new_instance_method(_LavaVuPython.Line___bool__)
|
101
|
+
__len__ = _swig_new_instance_method(_LavaVuPython.Line___len__)
|
102
|
+
__getslice__ = _swig_new_instance_method(_LavaVuPython.Line___getslice__)
|
103
|
+
__setslice__ = _swig_new_instance_method(_LavaVuPython.Line___setslice__)
|
104
|
+
__delslice__ = _swig_new_instance_method(_LavaVuPython.Line___delslice__)
|
105
|
+
__delitem__ = _swig_new_instance_method(_LavaVuPython.Line___delitem__)
|
106
|
+
__getitem__ = _swig_new_instance_method(_LavaVuPython.Line___getitem__)
|
107
|
+
__setitem__ = _swig_new_instance_method(_LavaVuPython.Line___setitem__)
|
108
|
+
pop = _swig_new_instance_method(_LavaVuPython.Line_pop)
|
109
|
+
append = _swig_new_instance_method(_LavaVuPython.Line_append)
|
110
|
+
empty = _swig_new_instance_method(_LavaVuPython.Line_empty)
|
111
|
+
size = _swig_new_instance_method(_LavaVuPython.Line_size)
|
112
|
+
swap = _swig_new_instance_method(_LavaVuPython.Line_swap)
|
113
|
+
begin = _swig_new_instance_method(_LavaVuPython.Line_begin)
|
114
|
+
end = _swig_new_instance_method(_LavaVuPython.Line_end)
|
115
|
+
rbegin = _swig_new_instance_method(_LavaVuPython.Line_rbegin)
|
116
|
+
rend = _swig_new_instance_method(_LavaVuPython.Line_rend)
|
117
|
+
clear = _swig_new_instance_method(_LavaVuPython.Line_clear)
|
118
|
+
get_allocator = _swig_new_instance_method(_LavaVuPython.Line_get_allocator)
|
119
|
+
pop_back = _swig_new_instance_method(_LavaVuPython.Line_pop_back)
|
120
|
+
erase = _swig_new_instance_method(_LavaVuPython.Line_erase)
|
121
|
+
|
122
|
+
def __init__(self, *args):
|
123
|
+
_LavaVuPython.Line_swiginit(self, _LavaVuPython.new_Line(*args))
|
124
|
+
push_back = _swig_new_instance_method(_LavaVuPython.Line_push_back)
|
125
|
+
front = _swig_new_instance_method(_LavaVuPython.Line_front)
|
126
|
+
back = _swig_new_instance_method(_LavaVuPython.Line_back)
|
127
|
+
assign = _swig_new_instance_method(_LavaVuPython.Line_assign)
|
128
|
+
resize = _swig_new_instance_method(_LavaVuPython.Line_resize)
|
129
|
+
insert = _swig_new_instance_method(_LavaVuPython.Line_insert)
|
130
|
+
reserve = _swig_new_instance_method(_LavaVuPython.Line_reserve)
|
131
|
+
capacity = _swig_new_instance_method(_LavaVuPython.Line_capacity)
|
132
|
+
__swig_destroy__ = _LavaVuPython.delete_Line
|
133
|
+
|
134
|
+
# Register Line in _LavaVuPython:
|
135
|
+
_LavaVuPython.Line_swigregister(Line)
|
136
|
+
class Array(object):
|
137
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
138
|
+
__repr__ = _swig_repr
|
139
|
+
iterator = _swig_new_instance_method(_LavaVuPython.Array_iterator)
|
140
|
+
def __iter__(self):
|
141
|
+
return self.iterator()
|
142
|
+
__nonzero__ = _swig_new_instance_method(_LavaVuPython.Array___nonzero__)
|
143
|
+
__bool__ = _swig_new_instance_method(_LavaVuPython.Array___bool__)
|
144
|
+
__len__ = _swig_new_instance_method(_LavaVuPython.Array___len__)
|
145
|
+
__getslice__ = _swig_new_instance_method(_LavaVuPython.Array___getslice__)
|
146
|
+
__setslice__ = _swig_new_instance_method(_LavaVuPython.Array___setslice__)
|
147
|
+
__delslice__ = _swig_new_instance_method(_LavaVuPython.Array___delslice__)
|
148
|
+
__delitem__ = _swig_new_instance_method(_LavaVuPython.Array___delitem__)
|
149
|
+
__getitem__ = _swig_new_instance_method(_LavaVuPython.Array___getitem__)
|
150
|
+
__setitem__ = _swig_new_instance_method(_LavaVuPython.Array___setitem__)
|
151
|
+
pop = _swig_new_instance_method(_LavaVuPython.Array_pop)
|
152
|
+
append = _swig_new_instance_method(_LavaVuPython.Array_append)
|
153
|
+
empty = _swig_new_instance_method(_LavaVuPython.Array_empty)
|
154
|
+
size = _swig_new_instance_method(_LavaVuPython.Array_size)
|
155
|
+
swap = _swig_new_instance_method(_LavaVuPython.Array_swap)
|
156
|
+
begin = _swig_new_instance_method(_LavaVuPython.Array_begin)
|
157
|
+
end = _swig_new_instance_method(_LavaVuPython.Array_end)
|
158
|
+
rbegin = _swig_new_instance_method(_LavaVuPython.Array_rbegin)
|
159
|
+
rend = _swig_new_instance_method(_LavaVuPython.Array_rend)
|
160
|
+
clear = _swig_new_instance_method(_LavaVuPython.Array_clear)
|
161
|
+
get_allocator = _swig_new_instance_method(_LavaVuPython.Array_get_allocator)
|
162
|
+
pop_back = _swig_new_instance_method(_LavaVuPython.Array_pop_back)
|
163
|
+
erase = _swig_new_instance_method(_LavaVuPython.Array_erase)
|
164
|
+
|
165
|
+
def __init__(self, *args):
|
166
|
+
_LavaVuPython.Array_swiginit(self, _LavaVuPython.new_Array(*args))
|
167
|
+
push_back = _swig_new_instance_method(_LavaVuPython.Array_push_back)
|
168
|
+
front = _swig_new_instance_method(_LavaVuPython.Array_front)
|
169
|
+
back = _swig_new_instance_method(_LavaVuPython.Array_back)
|
170
|
+
assign = _swig_new_instance_method(_LavaVuPython.Array_assign)
|
171
|
+
resize = _swig_new_instance_method(_LavaVuPython.Array_resize)
|
172
|
+
insert = _swig_new_instance_method(_LavaVuPython.Array_insert)
|
173
|
+
reserve = _swig_new_instance_method(_LavaVuPython.Array_reserve)
|
174
|
+
capacity = _swig_new_instance_method(_LavaVuPython.Array_capacity)
|
175
|
+
__swig_destroy__ = _LavaVuPython.delete_Array
|
176
|
+
|
177
|
+
# Register Array in _LavaVuPython:
|
178
|
+
_LavaVuPython.Array_swigregister(Array)
|
179
|
+
class List(object):
|
180
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
181
|
+
__repr__ = _swig_repr
|
182
|
+
iterator = _swig_new_instance_method(_LavaVuPython.List_iterator)
|
183
|
+
def __iter__(self):
|
184
|
+
return self.iterator()
|
185
|
+
__nonzero__ = _swig_new_instance_method(_LavaVuPython.List___nonzero__)
|
186
|
+
__bool__ = _swig_new_instance_method(_LavaVuPython.List___bool__)
|
187
|
+
__len__ = _swig_new_instance_method(_LavaVuPython.List___len__)
|
188
|
+
__getslice__ = _swig_new_instance_method(_LavaVuPython.List___getslice__)
|
189
|
+
__setslice__ = _swig_new_instance_method(_LavaVuPython.List___setslice__)
|
190
|
+
__delslice__ = _swig_new_instance_method(_LavaVuPython.List___delslice__)
|
191
|
+
__delitem__ = _swig_new_instance_method(_LavaVuPython.List___delitem__)
|
192
|
+
__getitem__ = _swig_new_instance_method(_LavaVuPython.List___getitem__)
|
193
|
+
__setitem__ = _swig_new_instance_method(_LavaVuPython.List___setitem__)
|
194
|
+
pop = _swig_new_instance_method(_LavaVuPython.List_pop)
|
195
|
+
append = _swig_new_instance_method(_LavaVuPython.List_append)
|
196
|
+
empty = _swig_new_instance_method(_LavaVuPython.List_empty)
|
197
|
+
size = _swig_new_instance_method(_LavaVuPython.List_size)
|
198
|
+
swap = _swig_new_instance_method(_LavaVuPython.List_swap)
|
199
|
+
begin = _swig_new_instance_method(_LavaVuPython.List_begin)
|
200
|
+
end = _swig_new_instance_method(_LavaVuPython.List_end)
|
201
|
+
rbegin = _swig_new_instance_method(_LavaVuPython.List_rbegin)
|
202
|
+
rend = _swig_new_instance_method(_LavaVuPython.List_rend)
|
203
|
+
clear = _swig_new_instance_method(_LavaVuPython.List_clear)
|
204
|
+
get_allocator = _swig_new_instance_method(_LavaVuPython.List_get_allocator)
|
205
|
+
pop_back = _swig_new_instance_method(_LavaVuPython.List_pop_back)
|
206
|
+
erase = _swig_new_instance_method(_LavaVuPython.List_erase)
|
207
|
+
|
208
|
+
def __init__(self, *args):
|
209
|
+
_LavaVuPython.List_swiginit(self, _LavaVuPython.new_List(*args))
|
210
|
+
push_back = _swig_new_instance_method(_LavaVuPython.List_push_back)
|
211
|
+
front = _swig_new_instance_method(_LavaVuPython.List_front)
|
212
|
+
back = _swig_new_instance_method(_LavaVuPython.List_back)
|
213
|
+
assign = _swig_new_instance_method(_LavaVuPython.List_assign)
|
214
|
+
resize = _swig_new_instance_method(_LavaVuPython.List_resize)
|
215
|
+
insert = _swig_new_instance_method(_LavaVuPython.List_insert)
|
216
|
+
reserve = _swig_new_instance_method(_LavaVuPython.List_reserve)
|
217
|
+
capacity = _swig_new_instance_method(_LavaVuPython.List_capacity)
|
218
|
+
__swig_destroy__ = _LavaVuPython.delete_List
|
219
|
+
|
220
|
+
# Register List in _LavaVuPython:
|
221
|
+
_LavaVuPython.List_swigregister(List)
|
222
|
+
class GeomList(object):
|
223
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
224
|
+
__repr__ = _swig_repr
|
225
|
+
iterator = _swig_new_instance_method(_LavaVuPython.GeomList_iterator)
|
226
|
+
def __iter__(self):
|
227
|
+
return self.iterator()
|
228
|
+
__nonzero__ = _swig_new_instance_method(_LavaVuPython.GeomList___nonzero__)
|
229
|
+
__bool__ = _swig_new_instance_method(_LavaVuPython.GeomList___bool__)
|
230
|
+
__len__ = _swig_new_instance_method(_LavaVuPython.GeomList___len__)
|
231
|
+
__getslice__ = _swig_new_instance_method(_LavaVuPython.GeomList___getslice__)
|
232
|
+
__setslice__ = _swig_new_instance_method(_LavaVuPython.GeomList___setslice__)
|
233
|
+
__delslice__ = _swig_new_instance_method(_LavaVuPython.GeomList___delslice__)
|
234
|
+
__delitem__ = _swig_new_instance_method(_LavaVuPython.GeomList___delitem__)
|
235
|
+
__getitem__ = _swig_new_instance_method(_LavaVuPython.GeomList___getitem__)
|
236
|
+
__setitem__ = _swig_new_instance_method(_LavaVuPython.GeomList___setitem__)
|
237
|
+
pop = _swig_new_instance_method(_LavaVuPython.GeomList_pop)
|
238
|
+
append = _swig_new_instance_method(_LavaVuPython.GeomList_append)
|
239
|
+
empty = _swig_new_instance_method(_LavaVuPython.GeomList_empty)
|
240
|
+
size = _swig_new_instance_method(_LavaVuPython.GeomList_size)
|
241
|
+
swap = _swig_new_instance_method(_LavaVuPython.GeomList_swap)
|
242
|
+
begin = _swig_new_instance_method(_LavaVuPython.GeomList_begin)
|
243
|
+
end = _swig_new_instance_method(_LavaVuPython.GeomList_end)
|
244
|
+
rbegin = _swig_new_instance_method(_LavaVuPython.GeomList_rbegin)
|
245
|
+
rend = _swig_new_instance_method(_LavaVuPython.GeomList_rend)
|
246
|
+
clear = _swig_new_instance_method(_LavaVuPython.GeomList_clear)
|
247
|
+
get_allocator = _swig_new_instance_method(_LavaVuPython.GeomList_get_allocator)
|
248
|
+
pop_back = _swig_new_instance_method(_LavaVuPython.GeomList_pop_back)
|
249
|
+
erase = _swig_new_instance_method(_LavaVuPython.GeomList_erase)
|
250
|
+
|
251
|
+
def __init__(self, *args):
|
252
|
+
_LavaVuPython.GeomList_swiginit(self, _LavaVuPython.new_GeomList(*args))
|
253
|
+
push_back = _swig_new_instance_method(_LavaVuPython.GeomList_push_back)
|
254
|
+
front = _swig_new_instance_method(_LavaVuPython.GeomList_front)
|
255
|
+
back = _swig_new_instance_method(_LavaVuPython.GeomList_back)
|
256
|
+
assign = _swig_new_instance_method(_LavaVuPython.GeomList_assign)
|
257
|
+
resize = _swig_new_instance_method(_LavaVuPython.GeomList_resize)
|
258
|
+
insert = _swig_new_instance_method(_LavaVuPython.GeomList_insert)
|
259
|
+
reserve = _swig_new_instance_method(_LavaVuPython.GeomList_reserve)
|
260
|
+
capacity = _swig_new_instance_method(_LavaVuPython.GeomList_capacity)
|
261
|
+
__swig_destroy__ = _LavaVuPython.delete_GeomList
|
262
|
+
|
263
|
+
# Register GeomList in _LavaVuPython:
|
264
|
+
_LavaVuPython.GeomList_swigregister(GeomList)
|
265
|
+
class ByteArray(object):
|
266
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
267
|
+
__repr__ = _swig_repr
|
268
|
+
iterator = _swig_new_instance_method(_LavaVuPython.ByteArray_iterator)
|
269
|
+
def __iter__(self):
|
270
|
+
return self.iterator()
|
271
|
+
__nonzero__ = _swig_new_instance_method(_LavaVuPython.ByteArray___nonzero__)
|
272
|
+
__bool__ = _swig_new_instance_method(_LavaVuPython.ByteArray___bool__)
|
273
|
+
__len__ = _swig_new_instance_method(_LavaVuPython.ByteArray___len__)
|
274
|
+
__getslice__ = _swig_new_instance_method(_LavaVuPython.ByteArray___getslice__)
|
275
|
+
__setslice__ = _swig_new_instance_method(_LavaVuPython.ByteArray___setslice__)
|
276
|
+
__delslice__ = _swig_new_instance_method(_LavaVuPython.ByteArray___delslice__)
|
277
|
+
__delitem__ = _swig_new_instance_method(_LavaVuPython.ByteArray___delitem__)
|
278
|
+
__getitem__ = _swig_new_instance_method(_LavaVuPython.ByteArray___getitem__)
|
279
|
+
__setitem__ = _swig_new_instance_method(_LavaVuPython.ByteArray___setitem__)
|
280
|
+
pop = _swig_new_instance_method(_LavaVuPython.ByteArray_pop)
|
281
|
+
append = _swig_new_instance_method(_LavaVuPython.ByteArray_append)
|
282
|
+
empty = _swig_new_instance_method(_LavaVuPython.ByteArray_empty)
|
283
|
+
size = _swig_new_instance_method(_LavaVuPython.ByteArray_size)
|
284
|
+
swap = _swig_new_instance_method(_LavaVuPython.ByteArray_swap)
|
285
|
+
begin = _swig_new_instance_method(_LavaVuPython.ByteArray_begin)
|
286
|
+
end = _swig_new_instance_method(_LavaVuPython.ByteArray_end)
|
287
|
+
rbegin = _swig_new_instance_method(_LavaVuPython.ByteArray_rbegin)
|
288
|
+
rend = _swig_new_instance_method(_LavaVuPython.ByteArray_rend)
|
289
|
+
clear = _swig_new_instance_method(_LavaVuPython.ByteArray_clear)
|
290
|
+
get_allocator = _swig_new_instance_method(_LavaVuPython.ByteArray_get_allocator)
|
291
|
+
pop_back = _swig_new_instance_method(_LavaVuPython.ByteArray_pop_back)
|
292
|
+
erase = _swig_new_instance_method(_LavaVuPython.ByteArray_erase)
|
293
|
+
|
294
|
+
def __init__(self, *args):
|
295
|
+
_LavaVuPython.ByteArray_swiginit(self, _LavaVuPython.new_ByteArray(*args))
|
296
|
+
push_back = _swig_new_instance_method(_LavaVuPython.ByteArray_push_back)
|
297
|
+
front = _swig_new_instance_method(_LavaVuPython.ByteArray_front)
|
298
|
+
back = _swig_new_instance_method(_LavaVuPython.ByteArray_back)
|
299
|
+
assign = _swig_new_instance_method(_LavaVuPython.ByteArray_assign)
|
300
|
+
resize = _swig_new_instance_method(_LavaVuPython.ByteArray_resize)
|
301
|
+
insert = _swig_new_instance_method(_LavaVuPython.ByteArray_insert)
|
302
|
+
reserve = _swig_new_instance_method(_LavaVuPython.ByteArray_reserve)
|
303
|
+
capacity = _swig_new_instance_method(_LavaVuPython.ByteArray_capacity)
|
304
|
+
__swig_destroy__ = _LavaVuPython.delete_ByteArray
|
305
|
+
|
306
|
+
# Register ByteArray in _LavaVuPython:
|
307
|
+
_LavaVuPython.ByteArray_swigregister(ByteArray)
|
308
|
+
lucMinType = _LavaVuPython.lucMinType
|
309
|
+
lucLabelType = _LavaVuPython.lucLabelType
|
310
|
+
lucPointType = _LavaVuPython.lucPointType
|
311
|
+
lucGridType = _LavaVuPython.lucGridType
|
312
|
+
lucTriangleType = _LavaVuPython.lucTriangleType
|
313
|
+
lucVectorType = _LavaVuPython.lucVectorType
|
314
|
+
lucTracerType = _LavaVuPython.lucTracerType
|
315
|
+
lucLineType = _LavaVuPython.lucLineType
|
316
|
+
lucShapeType = _LavaVuPython.lucShapeType
|
317
|
+
lucVolumeType = _LavaVuPython.lucVolumeType
|
318
|
+
lucScreenType = _LavaVuPython.lucScreenType
|
319
|
+
lucMaxType = _LavaVuPython.lucMaxType
|
320
|
+
lucMinDataType = _LavaVuPython.lucMinDataType
|
321
|
+
lucVertexData = _LavaVuPython.lucVertexData
|
322
|
+
lucNormalData = _LavaVuPython.lucNormalData
|
323
|
+
lucVectorData = _LavaVuPython.lucVectorData
|
324
|
+
lucColourValueData = _LavaVuPython.lucColourValueData
|
325
|
+
lucOpacityValueData = _LavaVuPython.lucOpacityValueData
|
326
|
+
lucRedValueData = _LavaVuPython.lucRedValueData
|
327
|
+
lucGreenValueData = _LavaVuPython.lucGreenValueData
|
328
|
+
lucBlueValueData = _LavaVuPython.lucBlueValueData
|
329
|
+
lucIndexData = _LavaVuPython.lucIndexData
|
330
|
+
lucXWidthData = _LavaVuPython.lucXWidthData
|
331
|
+
lucYHeightData = _LavaVuPython.lucYHeightData
|
332
|
+
lucZLengthData = _LavaVuPython.lucZLengthData
|
333
|
+
lucRGBAData = _LavaVuPython.lucRGBAData
|
334
|
+
lucTexCoordData = _LavaVuPython.lucTexCoordData
|
335
|
+
lucSizeData = _LavaVuPython.lucSizeData
|
336
|
+
lucLuminanceData = _LavaVuPython.lucLuminanceData
|
337
|
+
lucRGBData = _LavaVuPython.lucRGBData
|
338
|
+
lucMaxDataType = _LavaVuPython.lucMaxDataType
|
339
|
+
class Colour(object):
|
340
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
341
|
+
__repr__ = _swig_repr
|
342
|
+
rgba = property(_LavaVuPython.Colour_rgba_get, _LavaVuPython.Colour_rgba_set)
|
343
|
+
value = property(_LavaVuPython.Colour_value_get, _LavaVuPython.Colour_value_set)
|
344
|
+
fvalue = property(_LavaVuPython.Colour_fvalue_get, _LavaVuPython.Colour_fvalue_set)
|
345
|
+
|
346
|
+
def __init__(self, *args):
|
347
|
+
_LavaVuPython.Colour_swiginit(self, _LavaVuPython.new_Colour(*args))
|
348
|
+
fromRGBA = _swig_new_instance_method(_LavaVuPython.Colour_fromRGBA)
|
349
|
+
fromJSON = _swig_new_instance_method(_LavaVuPython.Colour_fromJSON)
|
350
|
+
fromString = _swig_new_instance_method(_LavaVuPython.Colour_fromString)
|
351
|
+
fromX11Colour = _swig_new_instance_method(_LavaVuPython.Colour_fromX11Colour)
|
352
|
+
fromHex = _swig_new_instance_method(_LavaVuPython.Colour_fromHex)
|
353
|
+
invert = _swig_new_instance_method(_LavaVuPython.Colour_invert)
|
354
|
+
toJson = _swig_new_instance_method(_LavaVuPython.Colour_toJson)
|
355
|
+
toString = _swig_new_instance_method(_LavaVuPython.Colour_toString)
|
356
|
+
toArray = _swig_new_instance_method(_LavaVuPython.Colour_toArray)
|
357
|
+
__swig_destroy__ = _LavaVuPython.delete_Colour
|
358
|
+
|
359
|
+
# Register Colour in _LavaVuPython:
|
360
|
+
_LavaVuPython.Colour_swigregister(Colour)
|
361
|
+
class OpenGLViewer(object):
|
362
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
363
|
+
__repr__ = _swig_repr
|
364
|
+
quitProgram = property(_LavaVuPython.OpenGLViewer_quitProgram_get, _LavaVuPython.OpenGLViewer_quitProgram_set)
|
365
|
+
isopen = property(_LavaVuPython.OpenGLViewer_isopen_get, _LavaVuPython.OpenGLViewer_isopen_set)
|
366
|
+
postdisplay = property(_LavaVuPython.OpenGLViewer_postdisplay_get, _LavaVuPython.OpenGLViewer_postdisplay_set)
|
367
|
+
nodisplay = property(_LavaVuPython.OpenGLViewer_nodisplay_get, _LavaVuPython.OpenGLViewer_nodisplay_set)
|
368
|
+
visible = property(_LavaVuPython.OpenGLViewer_visible_get, _LavaVuPython.OpenGLViewer_visible_set)
|
369
|
+
width = property(_LavaVuPython.OpenGLViewer_width_get, _LavaVuPython.OpenGLViewer_width_set)
|
370
|
+
height = property(_LavaVuPython.OpenGLViewer_height_get, _LavaVuPython.OpenGLViewer_height_set)
|
371
|
+
timer_animate = property(_LavaVuPython.OpenGLViewer_timer_animate_get, _LavaVuPython.OpenGLViewer_timer_animate_set)
|
372
|
+
output_path = property(_LavaVuPython.OpenGLViewer_output_path_get, _LavaVuPython.OpenGLViewer_output_path_set)
|
373
|
+
mouseState = property(_LavaVuPython.OpenGLViewer_mouseState_get, _LavaVuPython.OpenGLViewer_mouseState_set)
|
374
|
+
mouseX = property(_LavaVuPython.OpenGLViewer_mouseX_get, _LavaVuPython.OpenGLViewer_mouseX_set)
|
375
|
+
mouseY = property(_LavaVuPython.OpenGLViewer_mouseY_get, _LavaVuPython.OpenGLViewer_mouseY_set)
|
376
|
+
open = _swig_new_instance_method(_LavaVuPython.OpenGLViewer_open)
|
377
|
+
init = _swig_new_instance_method(_LavaVuPython.OpenGLViewer_init)
|
378
|
+
display = _swig_new_instance_method(_LavaVuPython.OpenGLViewer_display)
|
379
|
+
show = _swig_new_instance_method(_LavaVuPython.OpenGLViewer_show)
|
380
|
+
hide = _swig_new_instance_method(_LavaVuPython.OpenGLViewer_hide)
|
381
|
+
title = _swig_new_instance_method(_LavaVuPython.OpenGLViewer_title)
|
382
|
+
execute = _swig_new_instance_method(_LavaVuPython.OpenGLViewer_execute)
|
383
|
+
events = _swig_new_instance_method(_LavaVuPython.OpenGLViewer_events)
|
384
|
+
loop = _swig_new_instance_method(_LavaVuPython.OpenGLViewer_loop)
|
385
|
+
downSample = _swig_new_instance_method(_LavaVuPython.OpenGLViewer_downSample)
|
386
|
+
multiSample = _swig_new_instance_method(_LavaVuPython.OpenGLViewer_multiSample)
|
387
|
+
animateTimer = _swig_new_instance_method(_LavaVuPython.OpenGLViewer_animateTimer)
|
388
|
+
|
389
|
+
def __init__(self):
|
390
|
+
_LavaVuPython.OpenGLViewer_swiginit(self, _LavaVuPython.new_OpenGLViewer())
|
391
|
+
__swig_destroy__ = _LavaVuPython.delete_OpenGLViewer
|
392
|
+
|
393
|
+
# Register OpenGLViewer in _LavaVuPython:
|
394
|
+
_LavaVuPython.OpenGLViewer_swigregister(OpenGLViewer)
|
395
|
+
cvar = _LavaVuPython.cvar
|
396
|
+
version = cvar.version
|
397
|
+
|
398
|
+
class DrawingObject(object):
|
399
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
400
|
+
__repr__ = _swig_repr
|
401
|
+
|
402
|
+
def __init__(self, *args):
|
403
|
+
_LavaVuPython.DrawingObject_swiginit(self, _LavaVuPython.new_DrawingObject(*args))
|
404
|
+
colourMap = property(_LavaVuPython.DrawingObject_colourMap_get, _LavaVuPython.DrawingObject_colourMap_set)
|
405
|
+
opacityMap = property(_LavaVuPython.DrawingObject_opacityMap_get, _LavaVuPython.DrawingObject_opacityMap_set)
|
406
|
+
getColourMap = _swig_new_instance_method(_LavaVuPython.DrawingObject_getColourMap)
|
407
|
+
name = _swig_new_instance_method(_LavaVuPython.DrawingObject_name)
|
408
|
+
opacity = property(_LavaVuPython.DrawingObject_opacity_get, _LavaVuPython.DrawingObject_opacity_set)
|
409
|
+
colour = property(_LavaVuPython.DrawingObject_colour_get, _LavaVuPython.DrawingObject_colour_set)
|
410
|
+
__swig_destroy__ = _LavaVuPython.delete_DrawingObject
|
411
|
+
|
412
|
+
# Register DrawingObject in _LavaVuPython:
|
413
|
+
_LavaVuPython.DrawingObject_swigregister(DrawingObject)
|
414
|
+
class Model(object):
|
415
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
416
|
+
__repr__ = _swig_repr
|
417
|
+
fignames = property(_LavaVuPython.Model_fignames_get, _LavaVuPython.Model_fignames_set)
|
418
|
+
figures = property(_LavaVuPython.Model_figures_get, _LavaVuPython.Model_figures_set)
|
419
|
+
figure = property(_LavaVuPython.Model_figure_get, _LavaVuPython.Model_figure_set)
|
420
|
+
|
421
|
+
def __init__(self, session):
|
422
|
+
_LavaVuPython.Model_swiginit(self, _LavaVuPython.new_Model(session))
|
423
|
+
__swig_destroy__ = _LavaVuPython.delete_Model
|
424
|
+
|
425
|
+
# Register Model in _LavaVuPython:
|
426
|
+
_LavaVuPython.Model_swigregister(Model)
|
427
|
+
class ColourMap(object):
|
428
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
429
|
+
__repr__ = _swig_repr
|
430
|
+
name = property(_LavaVuPython.ColourMap_name_get, _LavaVuPython.ColourMap_name_set)
|
431
|
+
|
432
|
+
def __init__(self, *args):
|
433
|
+
_LavaVuPython.ColourMap_swiginit(self, _LavaVuPython.new_ColourMap(*args))
|
434
|
+
flip = _swig_new_instance_method(_LavaVuPython.ColourMap_flip)
|
435
|
+
monochrome = _swig_new_instance_method(_LavaVuPython.ColourMap_monochrome)
|
436
|
+
getDefaultMapNames = _swig_new_static_method(_LavaVuPython.ColourMap_getDefaultMapNames)
|
437
|
+
getDefaultMap = _swig_new_static_method(_LavaVuPython.ColourMap_getDefaultMap)
|
438
|
+
__swig_destroy__ = _LavaVuPython.delete_ColourMap
|
439
|
+
|
440
|
+
# Register ColourMap in _LavaVuPython:
|
441
|
+
_LavaVuPython.ColourMap_swigregister(ColourMap)
|
442
|
+
class GeomData(object):
|
443
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
444
|
+
__repr__ = _swig_repr
|
445
|
+
width = property(_LavaVuPython.GeomData_width_get, _LavaVuPython.GeomData_width_set)
|
446
|
+
height = property(_LavaVuPython.GeomData_height_get, _LavaVuPython.GeomData_height_set)
|
447
|
+
depth = property(_LavaVuPython.GeomData_depth_get, _LavaVuPython.GeomData_depth_set)
|
448
|
+
step = property(_LavaVuPython.GeomData_step_get, _LavaVuPython.GeomData_step_set)
|
449
|
+
type = property(_LavaVuPython.GeomData_type_get, _LavaVuPython.GeomData_type_set)
|
450
|
+
|
451
|
+
def __init__(self, draw, type):
|
452
|
+
_LavaVuPython.GeomData_swiginit(self, _LavaVuPython.new_GeomData(draw, type))
|
453
|
+
__swig_destroy__ = _LavaVuPython.delete_GeomData
|
454
|
+
|
455
|
+
# Register GeomData in _LavaVuPython:
|
456
|
+
_LavaVuPython.GeomData_swigregister(GeomData)
|
457
|
+
class LavaVu(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
|
+
viewer = property(_LavaVuPython.LavaVu_viewer_get, _LavaVuPython.LavaVu_viewer_set)
|
461
|
+
amodel = property(_LavaVuPython.LavaVu_amodel_get, _LavaVuPython.LavaVu_amodel_set)
|
462
|
+
aview = property(_LavaVuPython.LavaVu_aview_get, _LavaVuPython.LavaVu_aview_set)
|
463
|
+
aobject = property(_LavaVuPython.LavaVu_aobject_get, _LavaVuPython.LavaVu_aobject_set)
|
464
|
+
binpath = property(_LavaVuPython.LavaVu_binpath_get, _LavaVuPython.LavaVu_binpath_set)
|
465
|
+
unprocessed = property(_LavaVuPython.LavaVu_unprocessed_get, _LavaVuPython.LavaVu_unprocessed_set)
|
466
|
+
|
467
|
+
def __init__(self, binpath, havecontext=False):
|
468
|
+
_LavaVuPython.LavaVu_swiginit(self, _LavaVuPython.new_LavaVu(binpath, havecontext))
|
469
|
+
__swig_destroy__ = _LavaVuPython.delete_LavaVu
|
470
|
+
destroy = _swig_new_instance_method(_LavaVuPython.LavaVu_destroy)
|
471
|
+
resize = _swig_new_instance_method(_LavaVuPython.LavaVu_resize)
|
472
|
+
run = _swig_new_instance_method(_LavaVuPython.LavaVu_run)
|
473
|
+
serialize = _swig_new_instance_method(_LavaVuPython.LavaVu_serialize)
|
474
|
+
deserialize = _swig_new_instance_method(_LavaVuPython.LavaVu_deserialize)
|
475
|
+
printall = _swig_new_instance_method(_LavaVuPython.LavaVu_printall)
|
476
|
+
loadFile = _swig_new_instance_method(_LavaVuPython.LavaVu_loadFile)
|
477
|
+
parseProperty = _swig_new_instance_method(_LavaVuPython.LavaVu_parseProperty)
|
478
|
+
parseCommands = _swig_new_instance_method(_LavaVuPython.LavaVu_parseCommands)
|
479
|
+
gl_version = _swig_new_instance_method(_LavaVuPython.LavaVu_gl_version)
|
480
|
+
image = _swig_new_instance_method(_LavaVuPython.LavaVu_image)
|
481
|
+
web = _swig_new_instance_method(_LavaVuPython.LavaVu_web)
|
482
|
+
video = _swig_new_instance_method(_LavaVuPython.LavaVu_video)
|
483
|
+
encodeVideo = _swig_new_instance_method(_LavaVuPython.LavaVu_encodeVideo)
|
484
|
+
pauseVideo = _swig_new_instance_method(_LavaVuPython.LavaVu_pauseVideo)
|
485
|
+
defaultModel = _swig_new_instance_method(_LavaVuPython.LavaVu_defaultModel)
|
486
|
+
addColourMap = _swig_new_instance_method(_LavaVuPython.LavaVu_addColourMap)
|
487
|
+
updateColourMap = _swig_new_instance_method(_LavaVuPython.LavaVu_updateColourMap)
|
488
|
+
getColourMap = _swig_new_instance_method(_LavaVuPython.LavaVu_getColourMap)
|
489
|
+
setColourMap = _swig_new_instance_method(_LavaVuPython.LavaVu_setColourMap)
|
490
|
+
colourBar = _swig_new_instance_method(_LavaVuPython.LavaVu_colourBar)
|
491
|
+
setState = _swig_new_instance_method(_LavaVuPython.LavaVu_setState)
|
492
|
+
getState = _swig_new_instance_method(_LavaVuPython.LavaVu_getState)
|
493
|
+
getTimeSteps = _swig_new_instance_method(_LavaVuPython.LavaVu_getTimeSteps)
|
494
|
+
addTimeStep = _swig_new_instance_method(_LavaVuPython.LavaVu_addTimeStep)
|
495
|
+
resetViews = _swig_new_instance_method(_LavaVuPython.LavaVu_resetViews)
|
496
|
+
addViewport = _swig_new_instance_method(_LavaVuPython.LavaVu_addViewport)
|
497
|
+
setObject = _swig_new_instance_method(_LavaVuPython.LavaVu_setObject)
|
498
|
+
createObject = _swig_new_instance_method(_LavaVuPython.LavaVu_createObject)
|
499
|
+
getObject = _swig_new_instance_method(_LavaVuPython.LavaVu_getObject)
|
500
|
+
reloadObject = _swig_new_instance_method(_LavaVuPython.LavaVu_reloadObject)
|
501
|
+
appendToObject = _swig_new_instance_method(_LavaVuPython.LavaVu_appendToObject)
|
502
|
+
loadTriangles = _swig_new_instance_method(_LavaVuPython.LavaVu_loadTriangles)
|
503
|
+
loadColours = _swig_new_instance_method(_LavaVuPython.LavaVu_loadColours)
|
504
|
+
loadLabels = _swig_new_instance_method(_LavaVuPython.LavaVu_loadLabels)
|
505
|
+
clearAll = _swig_new_instance_method(_LavaVuPython.LavaVu_clearAll)
|
506
|
+
clearObject = _swig_new_instance_method(_LavaVuPython.LavaVu_clearObject)
|
507
|
+
clearValues = _swig_new_instance_method(_LavaVuPython.LavaVu_clearValues)
|
508
|
+
clearData = _swig_new_instance_method(_LavaVuPython.LavaVu_clearData)
|
509
|
+
getObjectDataLabels = _swig_new_instance_method(_LavaVuPython.LavaVu_getObjectDataLabels)
|
510
|
+
arrayUChar = _swig_new_instance_method(_LavaVuPython.LavaVu_arrayUChar)
|
511
|
+
arrayUInt = _swig_new_instance_method(_LavaVuPython.LavaVu_arrayUInt)
|
512
|
+
arrayFloat = _swig_new_instance_method(_LavaVuPython.LavaVu_arrayFloat)
|
513
|
+
clearTexture = _swig_new_instance_method(_LavaVuPython.LavaVu_clearTexture)
|
514
|
+
setTexture = _swig_new_instance_method(_LavaVuPython.LavaVu_setTexture)
|
515
|
+
textureUChar = _swig_new_instance_method(_LavaVuPython.LavaVu_textureUChar)
|
516
|
+
textureUInt = _swig_new_instance_method(_LavaVuPython.LavaVu_textureUInt)
|
517
|
+
getGeometry = _swig_new_instance_method(_LavaVuPython.LavaVu_getGeometry)
|
518
|
+
getGeometryAt = _swig_new_instance_method(_LavaVuPython.LavaVu_getGeometryAt)
|
519
|
+
getBoundingBox = _swig_new_instance_method(_LavaVuPython.LavaVu_getBoundingBox)
|
520
|
+
geometryArrayUChar = _swig_new_instance_method(_LavaVuPython.LavaVu_geometryArrayUChar)
|
521
|
+
geometryArrayUInt = _swig_new_instance_method(_LavaVuPython.LavaVu_geometryArrayUInt)
|
522
|
+
geometryArrayFloat = _swig_new_instance_method(_LavaVuPython.LavaVu_geometryArrayFloat)
|
523
|
+
colourArrayFloat = _swig_new_instance_method(_LavaVuPython.LavaVu_colourArrayFloat)
|
524
|
+
geometryArrayViewFloat = _swig_new_instance_method(_LavaVuPython.LavaVu_geometryArrayViewFloat)
|
525
|
+
geometryArrayViewUInt = _swig_new_instance_method(_LavaVuPython.LavaVu_geometryArrayViewUInt)
|
526
|
+
geometryArrayViewUChar = _swig_new_instance_method(_LavaVuPython.LavaVu_geometryArrayViewUChar)
|
527
|
+
imageBuffer = _swig_new_instance_method(_LavaVuPython.LavaVu_imageBuffer)
|
528
|
+
imageFromFile = _swig_new_instance_method(_LavaVuPython.LavaVu_imageFromFile)
|
529
|
+
imageJPEG = _swig_new_instance_method(_LavaVuPython.LavaVu_imageJPEG)
|
530
|
+
imagePNG = _swig_new_instance_method(_LavaVuPython.LavaVu_imagePNG)
|
531
|
+
contour = _swig_new_instance_method(_LavaVuPython.LavaVu_contour)
|
532
|
+
isoSurface = _swig_new_instance_method(_LavaVuPython.LavaVu_isoSurface)
|
533
|
+
update = _swig_new_instance_method(_LavaVuPython.LavaVu_update)
|
534
|
+
close = _swig_new_instance_method(_LavaVuPython.LavaVu_close)
|
535
|
+
imageArray = _swig_new_instance_method(_LavaVuPython.LavaVu_imageArray)
|
536
|
+
imageDiff = _swig_new_instance_method(_LavaVuPython.LavaVu_imageDiff)
|
537
|
+
queueCommands = _swig_new_instance_method(_LavaVuPython.LavaVu_queueCommands)
|
538
|
+
helpCommand = _swig_new_instance_method(_LavaVuPython.LavaVu_helpCommand)
|
539
|
+
commandList = _swig_new_instance_method(_LavaVuPython.LavaVu_commandList)
|
540
|
+
propertyList = _swig_new_instance_method(_LavaVuPython.LavaVu_propertyList)
|
541
|
+
|
542
|
+
# Register LavaVu in _LavaVuPython:
|
543
|
+
_LavaVuPython.LavaVu_swigregister(LavaVu)
|
544
|
+
rawImageWrite = _LavaVuPython.rawImageWrite
|
545
|
+
class VideoEncoder(object):
|
546
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
547
|
+
__repr__ = _swig_repr
|
548
|
+
filename = property(_LavaVuPython.VideoEncoder_filename_get, _LavaVuPython.VideoEncoder_filename_set)
|
549
|
+
|
550
|
+
def __init__(self, fn, fps, quality=3):
|
551
|
+
_LavaVuPython.VideoEncoder_swiginit(self, _LavaVuPython.new_VideoEncoder(fn, fps, quality))
|
552
|
+
__swig_destroy__ = _LavaVuPython.delete_VideoEncoder
|
553
|
+
open = _swig_new_instance_method(_LavaVuPython.VideoEncoder_open)
|
554
|
+
close = _swig_new_instance_method(_LavaVuPython.VideoEncoder_close)
|
555
|
+
resize = _swig_new_instance_method(_LavaVuPython.VideoEncoder_resize)
|
556
|
+
display = _swig_new_instance_method(_LavaVuPython.VideoEncoder_display)
|
557
|
+
copyframe = _swig_new_instance_method(_LavaVuPython.VideoEncoder_copyframe)
|
558
|
+
|
559
|
+
# Register VideoEncoder in _LavaVuPython:
|
560
|
+
_LavaVuPython.VideoEncoder_swigregister(VideoEncoder)
|
561
|
+
|
Binary file
|
lavavu/__init__.py
ADDED
lavavu/__main__.py
ADDED
lavavu/amalgamate.py
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env python
|
2
|
+
|
3
|
+
#sudo apt install emscripten
|
4
|
+
#make clean
|
5
|
+
#make emscripten
|
6
|
+
|
7
|
+
#Creates amalgamated js and css for emscripten web viewer
|
8
|
+
filenames = ["dat.gui.min.js", "OK-min.js", "baseviewer.js", "menu.js", "emscripten.js", "LavaVu.js"]
|
9
|
+
with open("html/LavaVu-amalgamated.js", "w") as text_file:
|
10
|
+
text_file.write('\n'.join(open('html/' + f).read() for f in filenames))
|
11
|
+
|
12
|
+
filenames = ["emscripten.css", "control.css", "styles.css", "gui.css"]
|
13
|
+
with open("html/LavaVu-amalgamated.css", "w") as text_file:
|
14
|
+
text_file.write('\n'.join(open('html/' + f).read() for f in filenames))
|
15
|
+
|