1
"""``omfvista``: 3D visualization for the Open Mining Format (omf)
2
"""
3

4 16
from omfvista.wrapper import wrap, project_to_vtk, load_project
5 16
from omfvista.lineset import line_set_to_vtk
6 16
from omfvista.pointset import point_set_to_vtk
7 16
from omfvista.surface import surface_geom_to_vtk, surface_grid_geom_to_vtk, surface_to_vtk
8 16
from omfvista.volume import volume_grid_geom_to_vtk, volume_to_vtk
9 16
from omfvista.utilities import *
10

11

12
# Package meta data
13 16
__author__ = 'Bane Sullivan'
14 16
__license__ = 'BSD-3-Clause'
15 16
__copyright__ = '2019, Bane Sullivan'
16 16
__version__ = '0.2.1'
17 16
__displayname__ = 'OMF-VTK'
18 16
__name__ = 'omfvista'
19

20

21 16
def ignore_warnings():
22
    """Sets a warning filter for pillow's annoying ``DecompressionBombWarning``
23
    """
24 16
    import warnings
25 16
    from PIL import Image
26 16
    warnings.simplefilter(action='ignore', category=Image.DecompressionBombWarning)
27

28 16
ignore_warnings()

Read our documentation on viewing source code .

Loading