OpenGeodeWeb-Viewer 1.13.3rc1__tar.gz → 1.13.4__tar.gz
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.
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/PKG-INFO +2 -2
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/pyproject.toml +1 -1
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/requirements.txt +1 -1
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/OpenGeodeWeb_Viewer.egg-info/PKG-INFO +2 -2
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/OpenGeodeWeb_Viewer.egg-info/requires.txt +1 -1
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/config.py +3 -2
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/object/object_methods.py +21 -8
- opengeodeweb_viewer-1.13.4/src/opengeodeweb_viewer/py.typed +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/mesh_protocols.py +4 -4
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/points/mesh_points_protocols.py +1 -1
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/polygons/polygons_protocols.py +1 -1
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/polyhedra/polyhedra_protocols.py +1 -1
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/blocks/model_blocks_protocols.py +1 -1
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/corners/model_corners_protocols.py +1 -1
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/edges/model_edges_protocols.py +1 -1
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/lines/model_lines_protocols.py +1 -1
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/model_protocols.py +1 -1
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/points/model_points_protocols.py +1 -1
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/surfaces/model_surfaces_protocols.py +1 -1
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/viewer_protocols.py +14 -7
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/vtk_protocol.py +15 -1
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/vtkw_server.py +11 -9
- opengeodeweb_viewer-1.13.3rc1/src/opengeodeweb_viewer/py.typed +0 -1
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/LICENSE +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/README.md +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/setup.cfg +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/OpenGeodeWeb_Viewer.egg-info/SOURCES.txt +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/OpenGeodeWeb_Viewer.egg-info/dependency_links.txt +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/OpenGeodeWeb_Viewer.egg-info/entry_points.txt +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/OpenGeodeWeb_Viewer.egg-info/top_level.txt +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/__init__.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/generic/generic_protocols.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/generic/schemas/__init__.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/generic/schemas/deregister.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/generic/schemas/deregister.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/generic/schemas/register.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/generic/schemas/register.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/cells/cells_protocols.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/cells/schemas/__init__.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/cells/schemas/cell_attribute.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/cells/schemas/cell_attribute.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/cells/schemas/color.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/cells/schemas/color.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/cells/schemas/vertex_attribute.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/cells/schemas/vertex_attribute.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/cells/schemas/visibility.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/cells/schemas/visibility.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/edges/mesh_edges_protocols.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/__init__.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/color.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/color.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/size.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/size.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/vertex_attribute.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/vertex_attribute.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/visibility.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/visibility.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/width.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/width.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/points/schemas/__init__.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/points/schemas/color.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/points/schemas/color.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/points/schemas/size.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/points/schemas/size.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/points/schemas/vertex_attribute.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/points/schemas/vertex_attribute.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/points/schemas/visibility.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/points/schemas/visibility.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/__init__.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/color.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/color.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/polygon_attribute.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/polygon_attribute.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/vertex_attribute.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/vertex_attribute.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/visibility.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/visibility.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/__init__.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/color.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/color.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/polyhedron_attribute.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/polyhedron_attribute.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/vertex_attribute.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/vertex_attribute.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/visibility.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/visibility.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/schemas/__init__.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/schemas/apply_textures.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/schemas/apply_textures.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/schemas/color.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/schemas/color.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/schemas/deregister.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/schemas/deregister.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/schemas/opacity.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/schemas/opacity.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/schemas/register.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/schemas/register.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/schemas/visibility.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/mesh/schemas/visibility.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/blocks/schemas/__init__.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/blocks/schemas/color.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/blocks/schemas/color.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/blocks/schemas/visibility.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/blocks/schemas/visibility.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/corners/schemas/__init__.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/corners/schemas/color.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/corners/schemas/color.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/corners/schemas/visibility.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/corners/schemas/visibility.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/edges/schemas/__init__.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/edges/schemas/visibility.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/edges/schemas/visibility.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/lines/schemas/__init__.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/lines/schemas/color.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/lines/schemas/color.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/lines/schemas/visibility.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/lines/schemas/visibility.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/points/schemas/__init__.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/points/schemas/size.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/points/schemas/size.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/points/schemas/visibility.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/points/schemas/visibility.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/schemas/__init__.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/schemas/deregister.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/schemas/deregister.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/schemas/register.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/schemas/register.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/schemas/visibility.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/schemas/visibility.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/__init__.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/apply_textures.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/apply_textures.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/color.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/color.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/visibility.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/visibility.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/schemas/__init__.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/schemas/import_project.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/schemas/import_project.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/schemas/kill.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/schemas/kill.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/utils_protocols.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/__init__.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/axes.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/axes.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/get_point_position.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/get_point_position.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/grid_scale.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/grid_scale.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/picked_ids.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/picked_ids.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/render.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/render.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/reset_camera.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/reset_camera.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/reset_visualization.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/reset_visualization.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/set_background_color.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/set_background_color.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/set_z_scaling.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/set_z_scaling.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/take_screenshot.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/take_screenshot.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/update_camera.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/update_camera.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/update_data.json +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/rpc/viewer/schemas/update_data.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/utils_functions.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/tests/test_generic_protocols.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/tests/test_utils_protocols.py +0 -0
- {opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/tests/test_viewer_protocols.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: OpenGeodeWeb-Viewer
|
|
3
|
-
Version: 1.13.
|
|
3
|
+
Version: 1.13.4
|
|
4
4
|
Summary: OpenGeodeWeb-Viewer is an open source framework that proposes handy python functions and wrappers for the OpenGeode ecosystem
|
|
5
5
|
Author-email: Geode-solutions <team-web@geode-solutions.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/Geode-solutions/OpenGeodeWeb-Viewer
|
|
@@ -35,7 +35,7 @@ Requires-Dist: vtk==9.5.2
|
|
|
35
35
|
Requires-Dist: websocket-client>=1
|
|
36
36
|
Requires-Dist: wslink==1.12.4
|
|
37
37
|
Requires-Dist: yarl>=1
|
|
38
|
-
Requires-Dist: opengeodeweb-microservice==1.*,>=1.0.
|
|
38
|
+
Requires-Dist: opengeodeweb-microservice==1.*,>=1.0.12
|
|
39
39
|
Dynamic: license-file
|
|
40
40
|
|
|
41
41
|
# OpenGeodeWeb-Viewer
|
|
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
|
|
|
5
5
|
|
|
6
6
|
[project]
|
|
7
7
|
name = "OpenGeodeWeb-Viewer"
|
|
8
|
-
version = "1.13.
|
|
8
|
+
version = "1.13.4"
|
|
9
9
|
dynamic = ["dependencies"]
|
|
10
10
|
authors = [{ name = "Geode-solutions", email = "team-web@geode-solutions.com" }]
|
|
11
11
|
description = "OpenGeodeWeb-Viewer is an open source framework that proposes handy python functions and wrappers for the OpenGeode ecosystem"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: OpenGeodeWeb-Viewer
|
|
3
|
-
Version: 1.13.
|
|
3
|
+
Version: 1.13.4
|
|
4
4
|
Summary: OpenGeodeWeb-Viewer is an open source framework that proposes handy python functions and wrappers for the OpenGeode ecosystem
|
|
5
5
|
Author-email: Geode-solutions <team-web@geode-solutions.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/Geode-solutions/OpenGeodeWeb-Viewer
|
|
@@ -35,7 +35,7 @@ Requires-Dist: vtk==9.5.2
|
|
|
35
35
|
Requires-Dist: websocket-client>=1
|
|
36
36
|
Requires-Dist: wslink==1.12.4
|
|
37
37
|
Requires-Dist: yarl>=1
|
|
38
|
-
Requires-Dist: opengeodeweb-microservice==1.*,>=1.0.
|
|
38
|
+
Requires-Dist: opengeodeweb-microservice==1.*,>=1.0.12
|
|
39
39
|
Dynamic: license-file
|
|
40
40
|
|
|
41
41
|
# OpenGeodeWeb-Viewer
|
{opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/config.py
RENAMED
|
@@ -21,8 +21,9 @@ def dev_config() -> None:
|
|
|
21
21
|
os.environ["DATA_FOLDER_PATH"] = os.path.join(
|
|
22
22
|
"C:/Users", os.getlogin(), "OpenGeodeWeb_Data"
|
|
23
23
|
)
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
data_folder_path = os.environ.get("DATA_FOLDER_PATH")
|
|
25
|
+
if data_folder_path and not os.path.exists(data_folder_path):
|
|
26
|
+
os.mkdir(data_folder_path)
|
|
26
27
|
|
|
27
28
|
|
|
28
29
|
def _copy_test_assets(
|
|
@@ -4,8 +4,13 @@ import os
|
|
|
4
4
|
# Third party imports
|
|
5
5
|
from vtkmodules.vtkIOXML import vtkXMLDataReader, vtkXMLImageDataReader
|
|
6
6
|
from vtkmodules.vtkCommonExecutionModel import vtkAlgorithm
|
|
7
|
-
from vtkmodules.vtkRenderingCore import
|
|
8
|
-
|
|
7
|
+
from vtkmodules.vtkRenderingCore import (
|
|
8
|
+
vtkMapper,
|
|
9
|
+
vtkActor,
|
|
10
|
+
vtkTexture,
|
|
11
|
+
vtkCompositePolyDataMapper,
|
|
12
|
+
)
|
|
13
|
+
from vtkmodules.vtkCommonDataModel import vtkDataObject, vtkDataSet
|
|
9
14
|
|
|
10
15
|
# Local application imports
|
|
11
16
|
from opengeodeweb_viewer.vtk_protocol import VtkView, vtkData
|
|
@@ -32,8 +37,10 @@ class VtkObjectView(VtkView):
|
|
|
32
37
|
renderWindow = self.getView("-1")
|
|
33
38
|
renderer = renderWindow.GetRenderers().GetFirstRenderer()
|
|
34
39
|
resetCamara = True
|
|
35
|
-
|
|
36
|
-
|
|
40
|
+
actors = renderer.GetActors()
|
|
41
|
+
actors.InitTraversal()
|
|
42
|
+
while actor := actors.GetNextItem():
|
|
43
|
+
if actor.visibility == True:
|
|
37
44
|
resetCamara = False
|
|
38
45
|
renderer.AddActor(data.actor)
|
|
39
46
|
if resetCamara:
|
|
@@ -104,6 +111,8 @@ class VtkObjectView(VtkView):
|
|
|
104
111
|
self, data_id: str, block_ids: list[int], visibility: bool
|
|
105
112
|
) -> None:
|
|
106
113
|
mapper = self.get_object(data_id).mapper
|
|
114
|
+
if not isinstance(mapper, vtkCompositePolyDataMapper):
|
|
115
|
+
raise Exception("Mapper is not a vtkCompositePolyDataMapper")
|
|
107
116
|
for block_id in block_ids:
|
|
108
117
|
mapper.SetBlockVisibility(block_id, visibility)
|
|
109
118
|
|
|
@@ -111,13 +120,17 @@ class VtkObjectView(VtkView):
|
|
|
111
120
|
self, data_id: str, block_ids: list[int], red: int, green: int, blue: int
|
|
112
121
|
) -> None:
|
|
113
122
|
mapper = self.get_object(data_id).mapper
|
|
123
|
+
if not isinstance(mapper, vtkCompositePolyDataMapper):
|
|
124
|
+
raise Exception("Mapper is not a vtkCompositePolyDataMapper")
|
|
114
125
|
for block_id in block_ids:
|
|
115
126
|
mapper.SetBlockColor(block_id, [red / 255, green / 255, blue / 255])
|
|
116
127
|
|
|
117
128
|
def clearColors(self, data_id: str) -> None:
|
|
118
129
|
db = self.get_object(data_id)
|
|
119
|
-
mapper = db
|
|
120
|
-
reader = db
|
|
121
|
-
reader.
|
|
122
|
-
|
|
130
|
+
mapper = db.mapper
|
|
131
|
+
reader = db.reader
|
|
132
|
+
output = reader.GetOutputDataObject(0)
|
|
133
|
+
if isinstance(output, vtkDataSet):
|
|
134
|
+
output.GetPointData().SetActiveScalars("")
|
|
135
|
+
output.GetCellData().SetActiveScalars("")
|
|
123
136
|
mapper.ScalarVisibilityOff()
|
|
File without changes
|
|
@@ -109,7 +109,7 @@ class VtkMeshView(VtkObjectView):
|
|
|
109
109
|
if texture_data is None:
|
|
110
110
|
continue
|
|
111
111
|
texture_file = texture_data.viewable_file
|
|
112
|
-
if not texture_file.lower().endswith(".vti"):
|
|
112
|
+
if texture_file is None or not texture_file.lower().endswith(".vti"):
|
|
113
113
|
continue
|
|
114
114
|
texture_file_path = self.get_data_file_path(texture_id)
|
|
115
115
|
texture_reader = vtkXMLImageDataReader()
|
|
@@ -119,7 +119,7 @@ class VtkMeshView(VtkObjectView):
|
|
|
119
119
|
texture.SetInputConnection(texture_reader.GetOutputPort())
|
|
120
120
|
texture.InterpolateOn()
|
|
121
121
|
reader = self.get_object(mesh_id).reader
|
|
122
|
-
output = reader.
|
|
122
|
+
output = reader.GetOutputAsDataSet()
|
|
123
123
|
point_data = output.GetPointData()
|
|
124
124
|
for i in range(point_data.GetNumberOfArrays()):
|
|
125
125
|
array = point_data.GetArray(i)
|
|
@@ -131,7 +131,7 @@ class VtkMeshView(VtkObjectView):
|
|
|
131
131
|
|
|
132
132
|
def displayAttributeOnVertices(self, data_id: str, name: str) -> None:
|
|
133
133
|
reader = self.get_object(data_id).reader
|
|
134
|
-
points = reader.
|
|
134
|
+
points = reader.GetOutputAsDataSet().GetPointData()
|
|
135
135
|
points.SetActiveScalars(name)
|
|
136
136
|
mapper = self.get_object(data_id).mapper
|
|
137
137
|
mapper.ScalarVisibilityOn()
|
|
@@ -140,7 +140,7 @@ class VtkMeshView(VtkObjectView):
|
|
|
140
140
|
|
|
141
141
|
def displayAttributeOnCells(self, data_id: str, name: str) -> None:
|
|
142
142
|
reader = self.get_object(data_id).reader
|
|
143
|
-
cells = reader.
|
|
143
|
+
cells = reader.GetOutputAsDataSet().GetCellData()
|
|
144
144
|
cells.SetActiveScalars(name)
|
|
145
145
|
mapper = self.get_object(data_id).mapper
|
|
146
146
|
mapper.ScalarVisibilityOn()
|
|
@@ -20,7 +20,7 @@ class VtkMeshPolygonsView(VtkMeshView):
|
|
|
20
20
|
os.path.join(os.path.dirname(__file__), "schemas")
|
|
21
21
|
)
|
|
22
22
|
|
|
23
|
-
def __init__(self):
|
|
23
|
+
def __init__(self) -> None:
|
|
24
24
|
super().__init__()
|
|
25
25
|
|
|
26
26
|
@exportRpc(mesh_polygons_prefix + mesh_polygons_schemas_dict["visibility"]["rpc"])
|
|
@@ -20,7 +20,7 @@ class VtkMeshPolyhedraView(VtkMeshView):
|
|
|
20
20
|
os.path.join(os.path.dirname(__file__), "schemas")
|
|
21
21
|
)
|
|
22
22
|
|
|
23
|
-
def __init__(self):
|
|
23
|
+
def __init__(self) -> None:
|
|
24
24
|
super().__init__()
|
|
25
25
|
|
|
26
26
|
@exportRpc(mesh_polyhedra_prefix + mesh_polyhedra_schemas_dict["visibility"]["rpc"])
|
|
@@ -20,7 +20,7 @@ class VtkModelBlocksView(VtkModelView):
|
|
|
20
20
|
os.path.join(os.path.dirname(__file__), "schemas")
|
|
21
21
|
)
|
|
22
22
|
|
|
23
|
-
def __init__(self):
|
|
23
|
+
def __init__(self) -> None:
|
|
24
24
|
super().__init__()
|
|
25
25
|
|
|
26
26
|
@exportRpc(model_blocks_prefix + model_blocks_schemas_dict["visibility"]["rpc"])
|
|
@@ -20,7 +20,7 @@ class VtkModelCornersView(VtkModelView):
|
|
|
20
20
|
os.path.join(os.path.dirname(__file__), "schemas")
|
|
21
21
|
)
|
|
22
22
|
|
|
23
|
-
def __init__(self):
|
|
23
|
+
def __init__(self) -> None:
|
|
24
24
|
super().__init__()
|
|
25
25
|
|
|
26
26
|
@exportRpc(model_corners_prefix + model_corners_schemas_dict["visibility"]["rpc"])
|
|
@@ -20,7 +20,7 @@ class VtkModelEdgesView(VtkModelView):
|
|
|
20
20
|
os.path.join(os.path.dirname(__file__), "schemas")
|
|
21
21
|
)
|
|
22
22
|
|
|
23
|
-
def __init__(self):
|
|
23
|
+
def __init__(self) -> None:
|
|
24
24
|
super().__init__()
|
|
25
25
|
|
|
26
26
|
@exportRpc(model_edges_prefix + model_edges_schemas_dict["visibility"]["rpc"])
|
|
@@ -20,7 +20,7 @@ class VtkModelLinesView(VtkModelView):
|
|
|
20
20
|
os.path.join(os.path.dirname(__file__), "schemas")
|
|
21
21
|
)
|
|
22
22
|
|
|
23
|
-
def __init__(self):
|
|
23
|
+
def __init__(self) -> None:
|
|
24
24
|
super().__init__()
|
|
25
25
|
|
|
26
26
|
@exportRpc(model_lines_prefix + model_lines_schemas_dict["visibility"]["rpc"])
|
|
@@ -20,7 +20,7 @@ class VtkModelPointsView(VtkModelView):
|
|
|
20
20
|
os.path.join(os.path.dirname(__file__), "schemas")
|
|
21
21
|
)
|
|
22
22
|
|
|
23
|
-
def __init__(self):
|
|
23
|
+
def __init__(self) -> None:
|
|
24
24
|
super().__init__()
|
|
25
25
|
|
|
26
26
|
@exportRpc(model_points_prefix + model_points_schemas_dict["visibility"]["rpc"])
|
|
@@ -20,7 +20,7 @@ class VtkModelSurfacesView(VtkModelView):
|
|
|
20
20
|
os.path.join(os.path.dirname(__file__), "schemas")
|
|
21
21
|
)
|
|
22
22
|
|
|
23
|
-
def __init__(self):
|
|
23
|
+
def __init__(self) -> None:
|
|
24
24
|
super().__init__()
|
|
25
25
|
|
|
26
26
|
@exportRpc(model_surfaces_prefix + model_surfaces_schemas_dict["visibility"]["rpc"])
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Standard library imports
|
|
2
2
|
import math
|
|
3
3
|
import os
|
|
4
|
+
from typing import cast, Any
|
|
4
5
|
|
|
5
6
|
# Third party imports
|
|
6
7
|
from wslink import register as exportRpc # type: ignore
|
|
@@ -15,7 +16,7 @@ from vtkmodules.vtkRenderingCore import (
|
|
|
15
16
|
)
|
|
16
17
|
from vtkmodules.vtkInteractionStyle import vtkInteractorStyleTrackball
|
|
17
18
|
from vtkmodules.vtkCommonCore import reference
|
|
18
|
-
from vtkmodules.vtkCommonDataModel import vtkBoundingBox
|
|
19
|
+
from vtkmodules.vtkCommonDataModel import vtkBoundingBox, vtkDataSet
|
|
19
20
|
from vtkmodules.vtkCommonTransforms import vtkTransform
|
|
20
21
|
from vtkmodules.vtkInteractionWidgets import vtkOrientationMarkerWidget
|
|
21
22
|
from opengeodeweb_microservice.schemas import get_schemas_dict
|
|
@@ -140,6 +141,7 @@ class VtkViewerView(VtkView):
|
|
|
140
141
|
w2if.ReadFrontBufferOff()
|
|
141
142
|
w2if.Update()
|
|
142
143
|
output_extension = params.output_extension
|
|
144
|
+
writer: vtkPNGWriter | vtkJPEGWriter
|
|
143
145
|
if output_extension == schemas.OutputExtension.PNG:
|
|
144
146
|
writer = vtkPNGWriter()
|
|
145
147
|
elif output_extension == schemas.OutputExtension.JPG:
|
|
@@ -167,12 +169,16 @@ class VtkViewerView(VtkView):
|
|
|
167
169
|
)
|
|
168
170
|
params = schemas.UpdateData.from_dict(rpc_params)
|
|
169
171
|
data = self.get_object(params.id)
|
|
170
|
-
reader = data
|
|
172
|
+
reader = data.reader
|
|
171
173
|
reader.Update()
|
|
172
|
-
mapper = data
|
|
173
|
-
tag = reference(0)
|
|
174
|
+
mapper = data.mapper
|
|
175
|
+
tag: Any = reference(0)
|
|
176
|
+
output = reader.GetOutputDataObject(0)
|
|
177
|
+
if not isinstance(output, vtkDataSet):
|
|
178
|
+
raise Exception("Output is not a vtkDataSet")
|
|
179
|
+
|
|
174
180
|
scalars = vtkAbstractMapper.GetAbstractScalars(
|
|
175
|
-
|
|
181
|
+
output,
|
|
176
182
|
mapper.GetScalarMode(),
|
|
177
183
|
mapper.GetArrayAccessMode(),
|
|
178
184
|
mapper.GetArrayId(),
|
|
@@ -203,7 +209,7 @@ class VtkViewerView(VtkView):
|
|
|
203
209
|
renderer.SetDisplayPoint(size[0], size[1], z)
|
|
204
210
|
renderer.DisplayToWorld()
|
|
205
211
|
windowUpperRight = renderer.GetWorldPoint()
|
|
206
|
-
epsilon = 0
|
|
212
|
+
epsilon: float = 0.0
|
|
207
213
|
for i in range(3):
|
|
208
214
|
epsilon += (windowUpperRight[i] - windowLowerLeft[i]) * (
|
|
209
215
|
windowUpperRight[i] - windowLowerLeft[i]
|
|
@@ -229,7 +235,8 @@ class VtkViewerView(VtkView):
|
|
|
229
235
|
array_ids = []
|
|
230
236
|
for id in params.ids:
|
|
231
237
|
bounds = self.get_object(id).actor.GetBounds()
|
|
232
|
-
|
|
238
|
+
bounds_box = vtkBoundingBox(bounds)
|
|
239
|
+
if bbox.Intersects(bounds_box):
|
|
233
240
|
array_ids.append(id)
|
|
234
241
|
|
|
235
242
|
return {"array_ids": array_ids}
|
{opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/vtk_protocol.py
RENAMED
|
@@ -9,11 +9,14 @@ from vtkmodules.web import protocols as vtk_protocols
|
|
|
9
9
|
from vtkmodules.vtkIOXML import (
|
|
10
10
|
vtkXMLReader,
|
|
11
11
|
)
|
|
12
|
+
from vtkmodules.vtkWebCore import vtkWebApplication
|
|
12
13
|
from vtkmodules.vtkCommonExecutionModel import vtkAlgorithm
|
|
13
14
|
from vtkmodules.vtkRenderingCore import (
|
|
14
15
|
vtkActor,
|
|
15
16
|
vtkMapper,
|
|
16
17
|
vtkRenderer,
|
|
18
|
+
vtkRenderWindow,
|
|
19
|
+
vtkCompositePolyDataMapper,
|
|
17
20
|
)
|
|
18
21
|
from vtkmodules.vtkRenderingAnnotation import vtkCubeAxesActor, vtkAxesActor
|
|
19
22
|
from vtkmodules.vtkInteractionWidgets import vtkOrientationMarkerWidget
|
|
@@ -34,7 +37,18 @@ class vtkData:
|
|
|
34
37
|
)
|
|
35
38
|
|
|
36
39
|
|
|
37
|
-
class
|
|
40
|
+
class VtkTypingMixin:
|
|
41
|
+
def getView(self, view_id: str) -> vtkRenderWindow:
|
|
42
|
+
return cast(vtkRenderWindow, super().getView(view_id)) # type: ignore
|
|
43
|
+
|
|
44
|
+
def registerVtkWebProtocol(self, protocol: Any) -> None:
|
|
45
|
+
super().registerVtkWebProtocol(protocol) # type: ignore
|
|
46
|
+
|
|
47
|
+
def getApplication(self) -> vtkWebApplication:
|
|
48
|
+
return cast(vtkWebApplication, super().getApplication()) # type: ignore
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
class VtkView(VtkTypingMixin, vtk_protocols.vtkWebProtocol):
|
|
38
52
|
def __init__(self) -> None:
|
|
39
53
|
super().__init__()
|
|
40
54
|
self.DATA_FOLDER_PATH = os.getenv("DATA_FOLDER_PATH", ".")
|
{opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/vtkw_server.py
RENAMED
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
# Standard library imports
|
|
2
2
|
import argparse
|
|
3
3
|
import os
|
|
4
|
+
from typing import Any, cast, Protocol, runtime_checkable
|
|
4
5
|
|
|
5
6
|
# Third party imports
|
|
6
|
-
from vtkmodules.web import
|
|
7
|
+
from vtkmodules.web.wslink import ServerProtocol
|
|
7
8
|
from vtkmodules.web import protocols as vtk_protocols
|
|
8
9
|
from wslink import server # type: ignore
|
|
10
|
+
from vtkmodules.vtkWebCore import vtkWebApplication
|
|
9
11
|
from vtkmodules.vtkRenderingCore import vtkRenderer, vtkRenderWindow
|
|
10
12
|
from vtkmodules.vtkCommonCore import vtkFileOutputWindow, vtkOutputWindow
|
|
11
13
|
from opengeodeweb_microservice.database import connection
|
|
12
14
|
|
|
13
15
|
# Local application imports
|
|
14
16
|
from .config import *
|
|
15
|
-
from .vtk_protocol import VtkView
|
|
17
|
+
from .vtk_protocol import VtkView, VtkTypingMixin
|
|
16
18
|
from .rpc.viewer.viewer_protocols import VtkViewerView
|
|
17
19
|
from .rpc.mesh.mesh_protocols import VtkMeshView
|
|
18
20
|
from .rpc.mesh.points.mesh_points_protocols import VtkMeshPointsView
|
|
@@ -48,14 +50,14 @@ from .rpc.utils_protocols import VtkUtilsView
|
|
|
48
50
|
# =============================================================================
|
|
49
51
|
|
|
50
52
|
|
|
51
|
-
class _Server(
|
|
53
|
+
class _Server(VtkTypingMixin, ServerProtocol):
|
|
52
54
|
# Defaults
|
|
53
55
|
authKey = "wslink-secret"
|
|
54
56
|
view = None
|
|
55
57
|
debug = False
|
|
56
58
|
|
|
57
59
|
@staticmethod
|
|
58
|
-
def add_arguments(parser):
|
|
60
|
+
def add_arguments(parser: argparse.ArgumentParser) -> None:
|
|
59
61
|
parser.add_argument(
|
|
60
62
|
"--data_folder_path",
|
|
61
63
|
default=os.environ.get("DATA_FOLDER_PATH"),
|
|
@@ -63,15 +65,15 @@ class _Server(vtk_wslink.ServerProtocol):
|
|
|
63
65
|
)
|
|
64
66
|
|
|
65
67
|
@staticmethod
|
|
66
|
-
def configure(args):
|
|
68
|
+
def configure(args: argparse.Namespace) -> None:
|
|
67
69
|
# Standard args
|
|
68
70
|
_Server.authKey = args.authKey
|
|
69
71
|
|
|
70
|
-
def initialize(self):
|
|
72
|
+
def initialize(self) -> None:
|
|
71
73
|
# Bring used components
|
|
72
74
|
self.registerVtkWebProtocol(vtk_protocols.vtkWebMouseHandler())
|
|
73
75
|
self.registerVtkWebProtocol(vtk_protocols.vtkWebViewPort())
|
|
74
|
-
publisher = vtk_protocols.vtkWebPublishImageDelivery(decode=False)
|
|
76
|
+
publisher = vtk_protocols.vtkWebPublishImageDelivery(decode=False) # type: ignore
|
|
75
77
|
publisher.deltaStaleTimeBeforeRender = 0.1
|
|
76
78
|
self.registerVtkWebProtocol(publisher)
|
|
77
79
|
self.setSharedObject("db", dict())
|
|
@@ -87,7 +89,7 @@ class _Server(vtk_wslink.ServerProtocol):
|
|
|
87
89
|
self.registerVtkWebProtocol(mesh_protocols)
|
|
88
90
|
self.registerVtkWebProtocol(VtkMeshPointsView())
|
|
89
91
|
self.registerVtkWebProtocol(VtkMeshEdgesView())
|
|
90
|
-
self.registerVtkWebProtocol(VtkMeshCellsView())
|
|
92
|
+
self.registerVtkWebProtocol(VtkMeshCellsView())
|
|
91
93
|
self.registerVtkWebProtocol(VtkMeshPolygonsView())
|
|
92
94
|
self.registerVtkWebProtocol(VtkMeshPolyhedraView())
|
|
93
95
|
self.registerVtkWebProtocol(model_protocols)
|
|
@@ -126,7 +128,7 @@ class _Server(vtk_wslink.ServerProtocol):
|
|
|
126
128
|
# =============================================================================
|
|
127
129
|
|
|
128
130
|
|
|
129
|
-
def run_server(Server=_Server):
|
|
131
|
+
def run_server(Server: type[ServerProtocol] = _Server) -> None:
|
|
130
132
|
PYTHON_ENV = os.environ.get("PYTHON_ENV", default="prod").strip().lower()
|
|
131
133
|
if PYTHON_ENV == "prod":
|
|
132
134
|
prod_config()
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
partial
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/src/opengeodeweb_viewer/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{opengeodeweb_viewer-1.13.3rc1 → opengeodeweb_viewer-1.13.4}/tests/test_generic_protocols.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|