molstar 3.26.0 → 3.28.0
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.
- package/LICENSE +20 -20
- package/README.md +202 -202
- package/build/viewer/embedded.html +52 -52
- package/build/viewer/index.html +115 -115
- package/build/viewer/molstar.css +1 -1
- package/build/viewer/molstar.js +1 -1
- package/lib/apps/docking-viewer/index.html +36 -36
- package/lib/apps/docking-viewer/viewport.d.ts +2 -0
- package/lib/apps/docking-viewer/viewport.js +1 -0
- package/lib/apps/viewer/app.d.ts +3 -1
- package/lib/apps/viewer/app.js +4 -0
- package/lib/apps/viewer/embedded.html +52 -52
- package/lib/apps/viewer/index.html +115 -115
- package/lib/cli/structure-info/volume.js +1 -1
- package/lib/commonjs/apps/docking-viewer/viewport.d.ts +2 -0
- package/lib/commonjs/apps/docking-viewer/viewport.js +1 -0
- package/lib/commonjs/apps/viewer/app.d.ts +3 -1
- package/lib/commonjs/apps/viewer/app.js +4 -0
- package/lib/commonjs/cli/structure-info/volume.js +1 -1
- package/lib/commonjs/examples/lighting/index.js +1 -1
- package/lib/commonjs/extensions/anvil/behavior.d.ts +1 -0
- package/lib/commonjs/extensions/cellpack/model.js +2 -1
- package/lib/commonjs/extensions/dnatco/confal-pyramids/behavior.d.ts +1 -0
- package/lib/commonjs/extensions/meshes/choice.d.ts +26 -0
- package/lib/commonjs/extensions/meshes/choice.js +31 -0
- package/lib/commonjs/extensions/meshes/examples.d.ts +26 -0
- package/lib/commonjs/extensions/meshes/examples.js +337 -0
- package/lib/commonjs/extensions/meshes/mesh-cif-schema.d.ts +29 -0
- package/lib/commonjs/extensions/meshes/mesh-cif-schema.js +34 -0
- package/lib/commonjs/extensions/meshes/mesh-extension.d.ts +66 -0
- package/lib/commonjs/extensions/meshes/mesh-extension.js +221 -0
- package/lib/commonjs/extensions/meshes/mesh-streaming/behavior.d.ts +105 -0
- package/lib/commonjs/extensions/meshes/mesh-streaming/behavior.js +379 -0
- package/lib/commonjs/extensions/meshes/mesh-streaming/server-info.d.ts +54 -0
- package/lib/commonjs/extensions/meshes/mesh-streaming/server-info.js +30 -0
- package/lib/commonjs/extensions/meshes/mesh-streaming/transformers.d.ts +42 -0
- package/lib/commonjs/extensions/meshes/mesh-streaming/transformers.js +273 -0
- package/lib/commonjs/extensions/meshes/mesh-utils.d.ts +41 -0
- package/lib/commonjs/extensions/meshes/mesh-utils.js +357 -0
- package/lib/commonjs/extensions/meshes/metadata.d.ts +108 -0
- package/lib/commonjs/extensions/meshes/metadata.js +72 -0
- package/lib/commonjs/extensions/model-archive/quality-assessment/behavior.d.ts +2 -0
- package/lib/commonjs/extensions/model-archive/quality-assessment/prop.d.ts +1 -0
- package/lib/commonjs/extensions/model-archive/quality-assessment/prop.js +16 -4
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +4 -2
- package/lib/commonjs/extensions/rcsb/validation-report/behavior.d.ts +3 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/entry-meshes.d.ts +17 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/entry-meshes.js +156 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/entry-models.d.ts +12 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/entry-models.js +96 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/entry-root.d.ts +122 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/entry-root.js +576 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/entry-segmentation.d.ts +20 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/entry-segmentation.js +200 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/entry-state.d.ts +88 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/entry-state.js +32 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/entry-volume.d.ts +35 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/entry-volume.js +234 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/external-api.d.ts +11 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/external-api.js +85 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/global-state.d.ts +51 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/global-state.js +83 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/helpers.d.ts +56 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/helpers.js +171 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/index.d.ts +20 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/index.js +130 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/transformers.d.ts +33 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/transformers.js +85 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/ui.d.ts +29 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/ui.js +232 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/volseg-api/api.d.ts +22 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/volseg-api/api.js +83 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/volseg-api/data.d.ts +92 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/volseg-api/data.js +7 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/volseg-api/utils.d.ts +23 -0
- package/lib/commonjs/extensions/volumes-and-segmentations/volseg-api/utils.js +78 -0
- package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +2 -0
- package/lib/commonjs/mol-canvas3d/passes/draw.js +3 -3
- package/lib/commonjs/mol-canvas3d/passes/image.d.ts +1 -0
- package/lib/commonjs/mol-canvas3d/passes/postprocessing.d.ts +2 -1
- package/lib/commonjs/mol-canvas3d/passes/postprocessing.js +27 -13
- package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +2 -1
- package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.js +3 -2
- package/lib/commonjs/mol-geo/geometry/lines/lines.d.ts +0 -1
- package/lib/commonjs/mol-geo/geometry/points/points.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +1 -0
- package/lib/commonjs/mol-geo/geometry/spheres/spheres.js +3 -2
- package/lib/commonjs/mol-gl/compute/histogram-pyramid/reduction.js +1 -2
- package/lib/commonjs/mol-gl/compute/marching-cubes/isosurface.js +4 -6
- package/lib/commonjs/mol-gl/renderable/cylinders.d.ts +1 -0
- package/lib/commonjs/mol-gl/renderable/cylinders.js +1 -1
- package/lib/commonjs/mol-gl/renderable/spheres.d.ts +1 -0
- package/lib/commonjs/mol-gl/renderable/spheres.js +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/apply-light-color.glsl.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/apply-light-color.glsl.js +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/clip-instance.glsl.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/clip-instance.glsl.js +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/clip-pixel.glsl.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/clip-pixel.glsl.js +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/common-clip.glsl.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/chunks/common-clip.glsl.js +2 -2
- package/lib/commonjs/mol-gl/shader/cylinders.frag.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/cylinders.frag.js +1 -1
- package/lib/commonjs/mol-gl/shader/cylinders.vert.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/cylinders.vert.js +2 -2
- package/lib/commonjs/mol-gl/shader/direct-volume.frag.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/direct-volume.frag.js +1 -1
- package/lib/commonjs/mol-gl/shader/outlines.frag.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/outlines.frag.js +1 -1
- package/lib/commonjs/mol-gl/shader/postprocessing.frag.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/postprocessing.frag.js +1 -1
- package/lib/commonjs/mol-gl/shader/spheres.frag.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/spheres.frag.js +1 -1
- package/lib/commonjs/mol-gl/shader/spheres.vert.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/spheres.vert.js +2 -2
- package/lib/commonjs/mol-gl/webgl/renderbuffer.d.ts +1 -1
- package/lib/commonjs/mol-gl/webgl/renderbuffer.js +15 -0
- package/lib/commonjs/mol-gl/webgl/state.d.ts +12 -0
- package/lib/commonjs/mol-gl/webgl/state.js +136 -0
- package/lib/commonjs/mol-io/reader/cif/schema/segmentation.d.ts +38 -0
- package/lib/commonjs/mol-io/reader/cif/schema/segmentation.js +22 -0
- package/lib/commonjs/mol-io/reader/cif.d.ts +3 -1
- package/lib/commonjs/mol-io/reader/cif.js +3 -1
- package/lib/commonjs/mol-model/location.d.ts +2 -1
- package/lib/commonjs/mol-model/loci.d.ts +11 -11
- package/lib/commonjs/mol-model/loci.js +13 -1
- package/lib/commonjs/mol-model/sequence/alignment/sequence.d.ts +4 -1
- package/lib/commonjs/mol-model/sequence/alignment/sequence.js +4 -1
- package/lib/commonjs/mol-model/structure/model/properties/atomic/hierarchy.d.ts +6 -0
- package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-index.js +8 -0
- package/lib/commonjs/mol-model/structure/structure/unit/bonds/inter-compute.js +21 -5
- package/lib/commonjs/mol-model/structure/structure/util/superposition.d.ts +1 -0
- package/lib/commonjs/mol-model/structure/structure/util/superposition.js +2 -1
- package/lib/commonjs/mol-model/volume/volume.d.ts +35 -2
- package/lib/commonjs/mol-model/volume/volume.js +77 -2
- package/lib/commonjs/mol-model-formats/volume/segmentation.d.ts +23 -0
- package/lib/commonjs/mol-model-formats/volume/segmentation.js +138 -0
- package/lib/commonjs/mol-plugin/behavior/dynamic/representation.d.ts +2 -2
- package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +1 -0
- package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js +2 -1
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +2 -3
- package/lib/commonjs/mol-plugin/commands.d.ts +1 -0
- package/lib/commonjs/mol-plugin-state/animation/built-in/model-index.js +4 -1
- package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +2 -0
- package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy.d.ts +1 -0
- package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.d.ts +13 -4
- package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.js +6 -1
- package/lib/commonjs/mol-plugin-state/builder/structure/representation.d.ts +1 -0
- package/lib/commonjs/mol-plugin-state/formats/provider.d.ts +2 -2
- package/lib/commonjs/mol-plugin-state/formats/provider.js +11 -3
- package/lib/commonjs/mol-plugin-state/formats/registry.js +6 -5
- package/lib/commonjs/mol-plugin-state/formats/volume.d.ts +27 -0
- package/lib/commonjs/mol-plugin-state/formats/volume.js +65 -1
- package/lib/commonjs/mol-plugin-state/manager/structure/component.d.ts +1 -1
- package/lib/commonjs/mol-plugin-state/manager/structure/component.js +18 -13
- package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +1 -2
- package/lib/commonjs/mol-plugin-state/transforms/representation.js +5 -6
- package/lib/commonjs/mol-plugin-state/transforms/volume.d.ts +11 -1
- package/lib/commonjs/mol-plugin-state/transforms/volume.js +55 -2
- package/lib/commonjs/mol-plugin-ui/controls/line-graph/line-graph-component.d.ts +1 -0
- package/lib/commonjs/mol-plugin-ui/controls/line-graph/line-graph-component.js +33 -13
- package/lib/commonjs/mol-plugin-ui/controls/parameters.d.ts +1 -0
- package/lib/commonjs/mol-plugin-ui/controls/parameters.js +22 -5
- package/lib/commonjs/mol-plugin-ui/sequence/sequence.d.ts +25 -17
- package/lib/commonjs/mol-plugin-ui/sequence.d.ts +19 -1
- package/lib/commonjs/mol-plugin-ui/sequence.js +8 -1
- package/lib/commonjs/mol-plugin-ui/state/apply-action.d.ts +2 -10
- package/lib/commonjs/mol-plugin-ui/state/apply-action.js +2 -2
- package/lib/commonjs/mol-plugin-ui/structure/quick-styles.js +2 -2
- package/lib/commonjs/mol-plugin-ui/structure/superposition.d.ts +1 -1
- package/lib/commonjs/mol-plugin-ui/structure/volume.d.ts +1 -1
- package/lib/commonjs/mol-plugin-ui/structure/volume.js +3 -2
- package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/params.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/registry.d.ts +12 -0
- package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +6 -0
- package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +6 -0
- package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/gaussian-volume.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/line.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/point.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/spacefill.d.ts +6 -0
- package/lib/commonjs/mol-repr/structure/units-visual.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +4 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.js +2 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.js +1 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +4 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.js +2 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.js +1 -0
- package/lib/commonjs/mol-repr/structure/visual/element-cross.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/element-cross.js +2 -1
- package/lib/commonjs/mol-repr/structure/visual/element-point.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/element-point.js +2 -1
- package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +4 -0
- package/lib/commonjs/mol-repr/structure/visual/element-sphere.js +3 -1
- package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.js +6 -2
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +4 -0
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.js +9 -1
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.js +3 -1
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.js +4 -0
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.js +2 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/util/bond.d.ts +7 -0
- package/lib/commonjs/mol-repr/structure/visual/util/bond.js +18 -7
- package/lib/commonjs/mol-repr/structure/visual/util/common.d.ts +4 -1
- package/lib/commonjs/mol-repr/structure/visual/util/common.js +10 -6
- package/lib/commonjs/mol-repr/structure/visual/util/element.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/util/element.js +2 -3
- package/lib/commonjs/mol-repr/structure/visual/util/gaussian.d.ts +2 -0
- package/lib/commonjs/mol-repr/volume/direct-volume.d.ts +4 -4
- package/lib/commonjs/mol-repr/volume/direct-volume.js +8 -6
- package/lib/commonjs/mol-repr/volume/isosurface.d.ts +4 -4
- package/lib/commonjs/mol-repr/volume/isosurface.js +17 -16
- package/lib/commonjs/mol-repr/volume/registry.d.ts +54 -1
- package/lib/commonjs/mol-repr/volume/registry.js +3 -1
- package/lib/commonjs/mol-repr/volume/representation.d.ts +11 -7
- package/lib/commonjs/mol-repr/volume/representation.js +142 -47
- package/lib/commonjs/mol-repr/volume/segment.d.ts +291 -0
- package/lib/commonjs/mol-repr/volume/segment.js +289 -0
- package/lib/commonjs/mol-repr/volume/slice.d.ts +2 -2
- package/lib/commonjs/mol-repr/volume/slice.js +5 -5
- package/lib/commonjs/mol-repr/volume/util.d.ts +12 -3
- package/lib/commonjs/mol-repr/volume/util.js +72 -6
- package/lib/commonjs/mol-script/language/builder.d.ts +1 -0
- package/lib/commonjs/mol-theme/color/volume-segment.d.ts +41 -0
- package/lib/commonjs/mol-theme/color/volume-segment.js +58 -0
- package/lib/commonjs/mol-theme/color/volume-value.js +2 -1
- package/lib/commonjs/mol-theme/color.d.ts +15 -0
- package/lib/commonjs/mol-theme/color.js +2 -0
- package/lib/commonjs/mol-theme/label.d.ts +1 -1
- package/lib/commonjs/mol-theme/label.js +13 -1
- package/lib/commonjs/mol-util/param-definition.d.ts +4 -1
- package/lib/commonjs/mol-util/param-definition.js +5 -2
- package/lib/examples/alpha-orbitals/index.html +72 -72
- package/lib/examples/basic-wrapper/index.html +137 -137
- package/lib/examples/lighting/index.html +88 -88
- package/lib/examples/lighting/index.js +1 -1
- package/lib/examples/proteopedia-wrapper/index.html +236 -236
- package/lib/extensions/anvil/behavior.d.ts +1 -0
- package/lib/extensions/cellpack/model.js +2 -1
- package/lib/extensions/dnatco/confal-pyramids/behavior.d.ts +1 -0
- package/lib/extensions/meshes/choice.d.ts +26 -0
- package/lib/extensions/meshes/choice.js +28 -0
- package/lib/extensions/meshes/examples.d.ts +26 -0
- package/lib/extensions/meshes/examples.js +325 -0
- package/lib/extensions/meshes/mesh-cif-schema.d.ts +29 -0
- package/lib/extensions/meshes/mesh-cif-schema.js +30 -0
- package/lib/extensions/meshes/mesh-extension.d.ts +66 -0
- package/lib/extensions/meshes/mesh-extension.js +218 -0
- package/lib/extensions/meshes/mesh-streaming/behavior.d.ts +105 -0
- package/lib/extensions/meshes/mesh-streaming/behavior.js +375 -0
- package/lib/extensions/meshes/mesh-streaming/server-info.d.ts +54 -0
- package/lib/extensions/meshes/mesh-streaming/server-info.js +26 -0
- package/lib/extensions/meshes/mesh-streaming/transformers.d.ts +42 -0
- package/lib/extensions/meshes/mesh-streaming/transformers.js +270 -0
- package/lib/extensions/meshes/mesh-utils.d.ts +41 -0
- package/lib/extensions/meshes/mesh-utils.js +346 -0
- package/lib/extensions/meshes/metadata.d.ts +108 -0
- package/lib/extensions/meshes/metadata.js +69 -0
- package/lib/extensions/model-archive/quality-assessment/behavior.d.ts +2 -0
- package/lib/extensions/model-archive/quality-assessment/prop.d.ts +1 -0
- package/lib/extensions/model-archive/quality-assessment/prop.js +16 -4
- package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +4 -2
- package/lib/extensions/rcsb/validation-report/behavior.d.ts +3 -0
- package/lib/extensions/volumes-and-segmentations/entry-meshes.d.ts +17 -0
- package/lib/extensions/volumes-and-segmentations/entry-meshes.js +153 -0
- package/lib/extensions/volumes-and-segmentations/entry-models.d.ts +12 -0
- package/lib/extensions/volumes-and-segmentations/entry-models.js +93 -0
- package/lib/extensions/volumes-and-segmentations/entry-root.d.ts +122 -0
- package/lib/extensions/volumes-and-segmentations/entry-root.js +571 -0
- package/lib/extensions/volumes-and-segmentations/entry-segmentation.d.ts +20 -0
- package/lib/extensions/volumes-and-segmentations/entry-segmentation.js +197 -0
- package/lib/extensions/volumes-and-segmentations/entry-state.d.ts +88 -0
- package/lib/extensions/volumes-and-segmentations/entry-state.js +29 -0
- package/lib/extensions/volumes-and-segmentations/entry-volume.d.ts +35 -0
- package/lib/extensions/volumes-and-segmentations/entry-volume.js +231 -0
- package/lib/extensions/volumes-and-segmentations/external-api.d.ts +11 -0
- package/lib/extensions/volumes-and-segmentations/external-api.js +80 -0
- package/lib/extensions/volumes-and-segmentations/global-state.d.ts +51 -0
- package/lib/extensions/volumes-and-segmentations/global-state.js +80 -0
- package/lib/extensions/volumes-and-segmentations/helpers.d.ts +56 -0
- package/lib/extensions/volumes-and-segmentations/helpers.js +163 -0
- package/lib/extensions/volumes-and-segmentations/index.d.ts +20 -0
- package/lib/extensions/volumes-and-segmentations/index.js +127 -0
- package/lib/extensions/volumes-and-segmentations/transformers.d.ts +33 -0
- package/lib/extensions/volumes-and-segmentations/transformers.js +82 -0
- package/lib/extensions/volumes-and-segmentations/ui.d.ts +29 -0
- package/lib/extensions/volumes-and-segmentations/ui.js +229 -0
- package/lib/extensions/volumes-and-segmentations/volseg-api/api.d.ts +22 -0
- package/lib/extensions/volumes-and-segmentations/volseg-api/api.js +80 -0
- package/lib/extensions/volumes-and-segmentations/volseg-api/data.d.ts +92 -0
- package/lib/extensions/volumes-and-segmentations/volseg-api/data.js +6 -0
- package/lib/extensions/volumes-and-segmentations/volseg-api/utils.d.ts +23 -0
- package/lib/extensions/volumes-and-segmentations/volseg-api/utils.js +75 -0
- package/lib/mol-canvas3d/canvas3d.d.ts +2 -0
- package/lib/mol-canvas3d/passes/draw.js +3 -3
- package/lib/mol-canvas3d/passes/image.d.ts +1 -0
- package/lib/mol-canvas3d/passes/postprocessing.d.ts +2 -1
- package/lib/mol-canvas3d/passes/postprocessing.js +27 -13
- package/lib/mol-geo/geometry/cylinders/cylinders.d.ts +2 -1
- package/lib/mol-geo/geometry/cylinders/cylinders.js +3 -2
- package/lib/mol-geo/geometry/lines/lines.d.ts +0 -1
- package/lib/mol-geo/geometry/points/points.d.ts +1 -1
- package/lib/mol-geo/geometry/spheres/spheres.d.ts +1 -0
- package/lib/mol-geo/geometry/spheres/spheres.js +3 -2
- package/lib/mol-gl/compute/histogram-pyramid/reduction.js +1 -2
- package/lib/mol-gl/compute/marching-cubes/isosurface.js +4 -6
- package/lib/mol-gl/renderable/cylinders.d.ts +1 -0
- package/lib/mol-gl/renderable/cylinders.js +1 -1
- package/lib/mol-gl/renderable/spheres.d.ts +1 -0
- package/lib/mol-gl/renderable/spheres.js +1 -1
- package/lib/mol-gl/shader/chunks/apply-light-color.glsl.d.ts +1 -1
- package/lib/mol-gl/shader/chunks/apply-light-color.glsl.js +1 -1
- package/lib/mol-gl/shader/chunks/clip-instance.glsl.d.ts +1 -1
- package/lib/mol-gl/shader/chunks/clip-instance.glsl.js +1 -1
- package/lib/mol-gl/shader/chunks/clip-pixel.glsl.d.ts +1 -1
- package/lib/mol-gl/shader/chunks/clip-pixel.glsl.js +1 -1
- package/lib/mol-gl/shader/chunks/common-clip.glsl.d.ts +2 -2
- package/lib/mol-gl/shader/chunks/common-clip.glsl.js +2 -2
- package/lib/mol-gl/shader/cylinders.frag.d.ts +1 -1
- package/lib/mol-gl/shader/cylinders.frag.js +1 -1
- package/lib/mol-gl/shader/cylinders.vert.d.ts +2 -2
- package/lib/mol-gl/shader/cylinders.vert.js +2 -2
- package/lib/mol-gl/shader/direct-volume.frag.d.ts +1 -1
- package/lib/mol-gl/shader/direct-volume.frag.js +1 -1
- package/lib/mol-gl/shader/outlines.frag.d.ts +1 -1
- package/lib/mol-gl/shader/outlines.frag.js +1 -1
- package/lib/mol-gl/shader/postprocessing.frag.d.ts +1 -1
- package/lib/mol-gl/shader/postprocessing.frag.js +1 -1
- package/lib/mol-gl/shader/spheres.frag.d.ts +1 -1
- package/lib/mol-gl/shader/spheres.frag.js +1 -1
- package/lib/mol-gl/shader/spheres.vert.d.ts +2 -2
- package/lib/mol-gl/shader/spheres.vert.js +2 -2
- package/lib/mol-gl/webgl/renderbuffer.d.ts +1 -1
- package/lib/mol-gl/webgl/renderbuffer.js +15 -0
- package/lib/mol-gl/webgl/state.d.ts +12 -0
- package/lib/mol-gl/webgl/state.js +136 -0
- package/lib/mol-io/reader/cif/schema/segmentation.d.ts +38 -0
- package/lib/mol-io/reader/cif/schema/segmentation.js +19 -0
- package/lib/mol-io/reader/cif.d.ts +3 -1
- package/lib/mol-io/reader/cif.js +3 -1
- package/lib/mol-model/location.d.ts +2 -1
- package/lib/mol-model/loci.d.ts +11 -11
- package/lib/mol-model/loci.js +13 -1
- package/lib/mol-model/sequence/alignment/sequence.d.ts +4 -1
- package/lib/mol-model/sequence/alignment/sequence.js +3 -2
- package/lib/mol-model/structure/model/properties/atomic/hierarchy.d.ts +6 -0
- package/lib/mol-model/structure/model/properties/utils/atomic-index.js +8 -0
- package/lib/mol-model/structure/structure/unit/bonds/inter-compute.js +21 -5
- package/lib/mol-model/structure/structure/util/superposition.d.ts +1 -0
- package/lib/mol-model/structure/structure/util/superposition.js +1 -1
- package/lib/mol-model/volume/volume.d.ts +35 -2
- package/lib/mol-model/volume/volume.js +79 -4
- package/lib/mol-model-formats/volume/segmentation.d.ts +23 -0
- package/lib/mol-model-formats/volume/segmentation.js +135 -0
- package/lib/mol-plugin/behavior/dynamic/representation.d.ts +2 -2
- package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +1 -0
- package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js +2 -1
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +2 -3
- package/lib/mol-plugin/commands.d.ts +1 -0
- package/lib/mol-plugin/version.js +2 -2
- package/lib/mol-plugin-state/animation/built-in/model-index.js +4 -1
- package/lib/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +2 -0
- package/lib/mol-plugin-state/builder/structure/hierarchy.d.ts +1 -0
- package/lib/mol-plugin-state/builder/structure/representation-preset.d.ts +13 -4
- package/lib/mol-plugin-state/builder/structure/representation-preset.js +6 -1
- package/lib/mol-plugin-state/builder/structure/representation.d.ts +1 -0
- package/lib/mol-plugin-state/formats/provider.d.ts +2 -2
- package/lib/mol-plugin-state/formats/provider.js +11 -3
- package/lib/mol-plugin-state/formats/registry.js +6 -5
- package/lib/mol-plugin-state/formats/volume.d.ts +27 -0
- package/lib/mol-plugin-state/formats/volume.js +64 -0
- package/lib/mol-plugin-state/manager/structure/component.d.ts +1 -1
- package/lib/mol-plugin-state/manager/structure/component.js +18 -13
- package/lib/mol-plugin-state/transforms/representation.d.ts +1 -2
- package/lib/mol-plugin-state/transforms/representation.js +5 -6
- package/lib/mol-plugin-state/transforms/volume.d.ts +11 -1
- package/lib/mol-plugin-state/transforms/volume.js +54 -1
- package/lib/mol-plugin-ui/controls/line-graph/line-graph-component.d.ts +1 -0
- package/lib/mol-plugin-ui/controls/line-graph/line-graph-component.js +33 -13
- package/lib/mol-plugin-ui/controls/parameters.d.ts +1 -0
- package/lib/mol-plugin-ui/controls/parameters.js +22 -5
- package/lib/mol-plugin-ui/sequence/sequence.d.ts +25 -17
- package/lib/mol-plugin-ui/sequence.d.ts +19 -1
- package/lib/mol-plugin-ui/sequence.js +7 -7
- package/lib/mol-plugin-ui/skin/base/base.scss +32 -32
- package/lib/mol-plugin-ui/skin/base/components/controls-base.scss +333 -333
- package/lib/mol-plugin-ui/skin/base/components/controls.scss +418 -418
- package/lib/mol-plugin-ui/skin/base/components/help.scss +27 -27
- package/lib/mol-plugin-ui/skin/base/components/line-graph.scss +67 -67
- package/lib/mol-plugin-ui/skin/base/components/log.scss +100 -100
- package/lib/mol-plugin-ui/skin/base/components/misc.scss +643 -643
- package/lib/mol-plugin-ui/skin/base/components/sequence.scss +125 -125
- package/lib/mol-plugin-ui/skin/base/components/slider.scss +165 -165
- package/lib/mol-plugin-ui/skin/base/components/tasks.scss +99 -99
- package/lib/mol-plugin-ui/skin/base/components/toast.scss +83 -83
- package/lib/mol-plugin-ui/skin/base/components/transformer.scss +163 -163
- package/lib/mol-plugin-ui/skin/base/components/viewport.scss +137 -128
- package/lib/mol-plugin-ui/skin/base/layout/common.scss +71 -71
- package/lib/mol-plugin-ui/skin/base/layout/controls-landscape.scss +89 -89
- package/lib/mol-plugin-ui/skin/base/layout/controls-outside.scss +98 -98
- package/lib/mol-plugin-ui/skin/base/layout/controls-portrait.scss +108 -108
- package/lib/mol-plugin-ui/skin/base/layout.scss +40 -40
- package/lib/mol-plugin-ui/skin/base/logo.scss +12 -12
- package/lib/mol-plugin-ui/skin/base/normalize.scss +209 -209
- package/lib/mol-plugin-ui/skin/base/ui.scss +40 -40
- package/lib/mol-plugin-ui/skin/base/variables.scss +85 -85
- package/lib/mol-plugin-ui/skin/blue.scss +1 -1
- package/lib/mol-plugin-ui/skin/colors/blue.scss +23 -23
- package/lib/mol-plugin-ui/skin/colors/dark.scss +23 -23
- package/lib/mol-plugin-ui/skin/colors/light.scss +29 -29
- package/lib/mol-plugin-ui/skin/dark.scss +1 -1
- package/lib/mol-plugin-ui/skin/light.scss +1 -1
- package/lib/mol-plugin-ui/state/apply-action.d.ts +2 -10
- package/lib/mol-plugin-ui/state/apply-action.js +2 -2
- package/lib/mol-plugin-ui/structure/quick-styles.js +2 -2
- package/lib/mol-plugin-ui/structure/superposition.d.ts +1 -1
- package/lib/mol-plugin-ui/structure/volume.d.ts +1 -1
- package/lib/mol-plugin-ui/structure/volume.js +3 -2
- package/lib/mol-repr/structure/complex-visual.d.ts +1 -0
- package/lib/mol-repr/structure/params.d.ts +2 -0
- package/lib/mol-repr/structure/registry.d.ts +12 -0
- package/lib/mol-repr/structure/representation/backbone.d.ts +3 -0
- package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +6 -0
- package/lib/mol-repr/structure/representation/ellipsoid.d.ts +6 -0
- package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +3 -0
- package/lib/mol-repr/structure/representation/gaussian-volume.d.ts +3 -0
- package/lib/mol-repr/structure/representation/line.d.ts +3 -0
- package/lib/mol-repr/structure/representation/molecular-surface.d.ts +3 -0
- package/lib/mol-repr/structure/representation/point.d.ts +3 -0
- package/lib/mol-repr/structure/representation/spacefill.d.ts +6 -0
- package/lib/mol-repr/structure/units-visual.d.ts +2 -0
- package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +4 -0
- package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.js +2 -0
- package/lib/mol-repr/structure/visual/bond-inter-unit-line.d.ts +1 -0
- package/lib/mol-repr/structure/visual/bond-inter-unit-line.js +1 -0
- package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +4 -0
- package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.js +2 -0
- package/lib/mol-repr/structure/visual/bond-intra-unit-line.d.ts +1 -0
- package/lib/mol-repr/structure/visual/bond-intra-unit-line.js +1 -0
- package/lib/mol-repr/structure/visual/element-cross.d.ts +1 -0
- package/lib/mol-repr/structure/visual/element-cross.js +2 -1
- package/lib/mol-repr/structure/visual/element-point.d.ts +1 -0
- package/lib/mol-repr/structure/visual/element-point.js +2 -1
- package/lib/mol-repr/structure/visual/element-sphere.d.ts +4 -0
- package/lib/mol-repr/structure/visual/element-sphere.js +3 -1
- package/lib/mol-repr/structure/visual/gaussian-density-volume.d.ts +2 -0
- package/lib/mol-repr/structure/visual/gaussian-density-volume.js +6 -2
- package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +4 -0
- package/lib/mol-repr/structure/visual/gaussian-surface-mesh.js +9 -1
- package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -0
- package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.js +3 -1
- package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/molecular-surface-mesh.js +4 -0
- package/lib/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -0
- package/lib/mol-repr/structure/visual/molecular-surface-wireframe.js +2 -0
- package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -0
- package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -0
- package/lib/mol-repr/structure/visual/util/bond.d.ts +7 -0
- package/lib/mol-repr/structure/visual/util/bond.js +19 -8
- package/lib/mol-repr/structure/visual/util/common.d.ts +4 -1
- package/lib/mol-repr/structure/visual/util/common.js +10 -6
- package/lib/mol-repr/structure/visual/util/element.d.ts +1 -0
- package/lib/mol-repr/structure/visual/util/element.js +3 -4
- package/lib/mol-repr/structure/visual/util/gaussian.d.ts +2 -0
- package/lib/mol-repr/volume/direct-volume.d.ts +4 -4
- package/lib/mol-repr/volume/direct-volume.js +8 -6
- package/lib/mol-repr/volume/isosurface.d.ts +4 -4
- package/lib/mol-repr/volume/isosurface.js +17 -16
- package/lib/mol-repr/volume/registry.d.ts +54 -1
- package/lib/mol-repr/volume/registry.js +3 -1
- package/lib/mol-repr/volume/representation.d.ts +11 -7
- package/lib/mol-repr/volume/representation.js +144 -49
- package/lib/mol-repr/volume/segment.d.ts +291 -0
- package/lib/mol-repr/volume/segment.js +279 -0
- package/lib/mol-repr/volume/slice.d.ts +2 -2
- package/lib/mol-repr/volume/slice.js +5 -5
- package/lib/mol-repr/volume/util.d.ts +12 -3
- package/lib/mol-repr/volume/util.js +71 -6
- package/lib/mol-script/language/builder.d.ts +1 -0
- package/lib/mol-theme/color/volume-segment.d.ts +41 -0
- package/lib/mol-theme/color/volume-segment.js +53 -0
- package/lib/mol-theme/color/volume-value.js +2 -1
- package/lib/mol-theme/color.d.ts +15 -0
- package/lib/mol-theme/color.js +2 -0
- package/lib/mol-theme/label.d.ts +1 -1
- package/lib/mol-theme/label.js +13 -1
- package/lib/mol-util/param-definition.d.ts +4 -1
- package/lib/mol-util/param-definition.js +5 -2
- package/package.json +169 -168
|
@@ -6,7 +6,25 @@
|
|
|
6
6
|
*/
|
|
7
7
|
/// <reference types="react" />
|
|
8
8
|
import { PluginUIComponent } from './base';
|
|
9
|
-
import { Structure } from '../mol-model/structure';
|
|
9
|
+
import { Structure, StructureElement } from '../mol-model/structure';
|
|
10
|
+
import { SequenceWrapper } from './sequence/wrapper';
|
|
11
|
+
import { State } from '../mol-state';
|
|
12
|
+
import { StructureSelectionManager } from '../mol-plugin-state/manager/structure/selection';
|
|
13
|
+
export declare function opKey(l: StructureElement.Location): string;
|
|
14
|
+
export declare function splitModelEntityId(modelEntityId: string): (string | number)[];
|
|
15
|
+
export declare function getSequenceWrapper(state: {
|
|
16
|
+
structure: Structure;
|
|
17
|
+
modelEntityId: string;
|
|
18
|
+
chainGroupId: number;
|
|
19
|
+
operatorKey: string;
|
|
20
|
+
}, structureSelection: StructureSelectionManager): SequenceWrapper.Any | string;
|
|
21
|
+
export declare function getModelEntityOptions(structure: Structure, polymersOnly?: boolean): [string, string][];
|
|
22
|
+
export declare function getChainOptions(structure: Structure, modelEntityId: string): [number, string][];
|
|
23
|
+
export declare function getOperatorOptions(structure: Structure, modelEntityId: string, chainGroupId: number): [string, string][];
|
|
24
|
+
export declare function getStructureOptions(state: State): {
|
|
25
|
+
options: [string, string][];
|
|
26
|
+
all: Structure[];
|
|
27
|
+
};
|
|
10
28
|
export type SequenceViewMode = 'single' | 'polymers' | 'all';
|
|
11
29
|
type SequenceViewState = {
|
|
12
30
|
structureOptions: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SequenceView = void 0;
|
|
3
|
+
exports.SequenceView = exports.getStructureOptions = exports.getOperatorOptions = exports.getChainOptions = exports.getModelEntityOptions = exports.getSequenceWrapper = exports.splitModelEntityId = exports.opKey = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
6
|
/**
|
|
@@ -36,10 +36,12 @@ function opKey(l) {
|
|
|
36
36
|
var spgrOp = structure_1.StructureProperties.unit.spgrOp(l);
|
|
37
37
|
return "".concat(ids.sort().join(','), "|").concat(ncs, "|").concat(hkl, "|").concat(spgrOp);
|
|
38
38
|
}
|
|
39
|
+
exports.opKey = opKey;
|
|
39
40
|
function splitModelEntityId(modelEntityId) {
|
|
40
41
|
var _a = modelEntityId.split('|'), modelIdx = _a[0], entityId = _a[1];
|
|
41
42
|
return [parseInt(modelIdx), entityId];
|
|
42
43
|
}
|
|
44
|
+
exports.splitModelEntityId = splitModelEntityId;
|
|
43
45
|
function getSequenceWrapper(state, structureSelection) {
|
|
44
46
|
var structure = state.structure, modelEntityId = state.modelEntityId, chainGroupId = state.chainGroupId, operatorKey = state.operatorKey;
|
|
45
47
|
var l = structure_1.StructureElement.Location.create(structure);
|
|
@@ -99,6 +101,7 @@ function getSequenceWrapper(state, structureSelection) {
|
|
|
99
101
|
return 'No sequence available';
|
|
100
102
|
}
|
|
101
103
|
}
|
|
104
|
+
exports.getSequenceWrapper = getSequenceWrapper;
|
|
102
105
|
function getModelEntityOptions(structure, polymersOnly) {
|
|
103
106
|
if (polymersOnly === void 0) { polymersOnly = false; }
|
|
104
107
|
var options = [];
|
|
@@ -134,6 +137,7 @@ function getModelEntityOptions(structure, polymersOnly) {
|
|
|
134
137
|
options.push(['', 'No entities']);
|
|
135
138
|
return options;
|
|
136
139
|
}
|
|
140
|
+
exports.getModelEntityOptions = getModelEntityOptions;
|
|
137
141
|
function getChainOptions(structure, modelEntityId) {
|
|
138
142
|
var options = [];
|
|
139
143
|
var l = structure_1.StructureElement.Location.create(structure);
|
|
@@ -162,6 +166,7 @@ function getChainOptions(structure, modelEntityId) {
|
|
|
162
166
|
options.push([-1, 'No chains']);
|
|
163
167
|
return options;
|
|
164
168
|
}
|
|
169
|
+
exports.getChainOptions = getChainOptions;
|
|
165
170
|
function getOperatorOptions(structure, modelEntityId, chainGroupId) {
|
|
166
171
|
var options = [];
|
|
167
172
|
var l = structure_1.StructureElement.Location.create(structure);
|
|
@@ -190,6 +195,7 @@ function getOperatorOptions(structure, modelEntityId, chainGroupId) {
|
|
|
190
195
|
options.push(['', 'No operators']);
|
|
191
196
|
return options;
|
|
192
197
|
}
|
|
198
|
+
exports.getOperatorOptions = getOperatorOptions;
|
|
193
199
|
function getStructureOptions(state) {
|
|
194
200
|
var _a;
|
|
195
201
|
var options = [];
|
|
@@ -206,6 +212,7 @@ function getStructureOptions(state) {
|
|
|
206
212
|
options.push(['', 'No structure']);
|
|
207
213
|
return { options: options, all: all };
|
|
208
214
|
}
|
|
215
|
+
exports.getStructureOptions = getStructureOptions;
|
|
209
216
|
var SequenceViewModeParam = param_definition_1.ParamDefinition.Select('single', [['single', 'Chain'], ['polymers', 'Polymers'], ['all', 'Everything']]);
|
|
210
217
|
var SequenceView = /** @class */ (function (_super) {
|
|
211
218
|
tslib_1.__extends(SequenceView, _super);
|
|
@@ -24,6 +24,7 @@ declare namespace ApplyActionControl {
|
|
|
24
24
|
error?: string;
|
|
25
25
|
busy: boolean;
|
|
26
26
|
isInitial: boolean;
|
|
27
|
+
isCollapsed?: boolean;
|
|
27
28
|
}
|
|
28
29
|
}
|
|
29
30
|
declare class ApplyActionControl extends TransformControlBase<ApplyActionControl.Props, ApplyActionControl.ComponentState> {
|
|
@@ -46,15 +47,6 @@ declare class ApplyActionControl extends TransformControlBase<ApplyActionControl
|
|
|
46
47
|
a: import("../../mol-state/object").StateObject<any, import("../../mol-state/object").StateObject.Type<any>> | undefined;
|
|
47
48
|
};
|
|
48
49
|
private _getInfo;
|
|
49
|
-
state:
|
|
50
|
-
plugin: import("../context").PluginUIContext;
|
|
51
|
-
ref: string;
|
|
52
|
-
version: string;
|
|
53
|
-
error: undefined;
|
|
54
|
-
isInitial: boolean;
|
|
55
|
-
params: any;
|
|
56
|
-
busy: boolean;
|
|
57
|
-
isCollapsed: boolean | undefined;
|
|
58
|
-
};
|
|
50
|
+
state: ApplyActionControl.ComponentState;
|
|
59
51
|
static getDerivedStateFromProps(props: ApplyActionControl.Props, state: ApplyActionControl.ComponentState): Partial<ApplyActionControl.ComponentState> | null;
|
|
60
52
|
}
|
|
@@ -15,7 +15,7 @@ var ApplyActionControl = /** @class */ (function (_super) {
|
|
|
15
15
|
tslib_1.__extends(ApplyActionControl, _super);
|
|
16
16
|
function ApplyActionControl() {
|
|
17
17
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
18
|
-
_this._getInfo = (0, memoize_1.memoizeLatest)(function (t, v) { return common_1.StateTransformParameters.infoFromAction(_this.plugin, _this.props.state, _this.props.action, _this.props.nodeRef); });
|
|
18
|
+
_this._getInfo = (0, memoize_1.memoizeLatest)(function (t, v, collapsed) { return common_1.StateTransformParameters.infoFromAction(_this.plugin, _this.props.state, _this.props.action, _this.props.nodeRef); });
|
|
19
19
|
_this.state = { plugin: _this.plugin, ref: _this.props.nodeRef, version: _this.props.state.transforms.get(_this.props.nodeRef).version, error: void 0, isInitial: true, params: _this.getInfo().initialValues, busy: false, isCollapsed: _this.props.initiallyCollapsed };
|
|
20
20
|
return _this;
|
|
21
21
|
}
|
|
@@ -26,7 +26,7 @@ var ApplyActionControl = /** @class */ (function (_super) {
|
|
|
26
26
|
ref: this.props.nodeRef
|
|
27
27
|
});
|
|
28
28
|
};
|
|
29
|
-
ApplyActionControl.prototype.getInfo = function () { return this._getInfo(this.props.nodeRef, this.props.state.transforms.get(this.props.nodeRef).version); };
|
|
29
|
+
ApplyActionControl.prototype.getInfo = function () { var _a; return this._getInfo(this.props.nodeRef, this.props.state.transforms.get(this.props.nodeRef).version, (_a = this.state) === null || _a === void 0 ? void 0 : _a.isCollapsed); };
|
|
30
30
|
ApplyActionControl.prototype.getTransformerId = function () { return this.props.state.transforms.get(this.props.nodeRef).transformer.id; };
|
|
31
31
|
ApplyActionControl.prototype.getHeader = function () { return this.props.hideHeader ? 'none' : this.props.action.definition.display; };
|
|
32
32
|
ApplyActionControl.prototype.canApply = function () { return !this.state.error && !this.state.busy; };
|
|
@@ -79,7 +79,7 @@ var QuickStyles = /** @class */ (function (_super) {
|
|
|
79
79
|
postprocessing: {
|
|
80
80
|
outline: {
|
|
81
81
|
name: 'on',
|
|
82
|
-
params: { scale: 1, color: (0, color_1.Color)(0x000000), threshold: 0.25 }
|
|
82
|
+
params: { scale: 1, color: (0, color_1.Color)(0x000000), threshold: 0.25, includeTransparent: true }
|
|
83
83
|
},
|
|
84
84
|
occlusion: {
|
|
85
85
|
name: 'on',
|
|
@@ -107,7 +107,7 @@ var QuickStyles = /** @class */ (function (_super) {
|
|
|
107
107
|
name: 'on',
|
|
108
108
|
params: pp.outline.name === 'on'
|
|
109
109
|
? pp.outline.params
|
|
110
|
-
: { scale: 1, color: (0, color_1.Color)(0x000000), threshold: 0.33 }
|
|
110
|
+
: { scale: 1, color: (0, color_1.Color)(0x000000), threshold: 0.33, includeTransparent: true }
|
|
111
111
|
},
|
|
112
112
|
occlusion: {
|
|
113
113
|
name: 'on',
|
|
@@ -37,7 +37,7 @@ type SuperpositionControlsState = {
|
|
|
37
37
|
canUseDb?: boolean;
|
|
38
38
|
options: StructureSuperpositionOptions;
|
|
39
39
|
};
|
|
40
|
-
interface LociEntry {
|
|
40
|
+
export interface LociEntry {
|
|
41
41
|
loci: StructureElement.Loci;
|
|
42
42
|
label: string;
|
|
43
43
|
cell: StateObjectCell<PluginStateObject.Molecule.Structure>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c) 2020 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
2
|
+
* Copyright (c) 2020-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
3
|
*
|
|
4
4
|
* @author David Sehnal <david.sehnal@gmail.com>
|
|
5
5
|
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
@@ -300,10 +300,11 @@ var VolumeRepresentationControls = /** @class */ (function (_super) {
|
|
|
300
300
|
_this.focus = function () {
|
|
301
301
|
var _a;
|
|
302
302
|
var repr = _this.props.representation;
|
|
303
|
-
var
|
|
303
|
+
var lociList = (_a = repr.cell.obj) === null || _a === void 0 ? void 0 : _a.data.repr.getAllLoci();
|
|
304
304
|
if (repr.cell.state.isHidden)
|
|
305
305
|
_this.plugin.managers.volume.hierarchy.toggleVisibility([_this.props.representation], 'show');
|
|
306
|
-
|
|
306
|
+
if (lociList)
|
|
307
|
+
_this.plugin.managers.camera.focusLoci(lociList, { extraRadius: 1 });
|
|
307
308
|
};
|
|
308
309
|
return _this;
|
|
309
310
|
}
|
|
@@ -82,6 +82,7 @@ export declare const ComplexCylindersParams: {
|
|
|
82
82
|
ignoreLight: PD.BooleanParam;
|
|
83
83
|
xrayShaded: PD.BooleanParam;
|
|
84
84
|
transparentBackfaces: PD.Select<string>;
|
|
85
|
+
solidInterior: PD.BooleanParam;
|
|
85
86
|
bumpFrequency: PD.Numeric;
|
|
86
87
|
bumpAmplitude: PD.Numeric;
|
|
87
88
|
alpha: PD.Numeric;
|
|
@@ -47,6 +47,7 @@ export declare const StructureSpheresParams: {
|
|
|
47
47
|
ignoreLight: PD.BooleanParam;
|
|
48
48
|
xrayShaded: PD.BooleanParam;
|
|
49
49
|
transparentBackfaces: PD.Select<string>;
|
|
50
|
+
solidInterior: PD.BooleanParam;
|
|
50
51
|
bumpFrequency: PD.Numeric;
|
|
51
52
|
bumpAmplitude: PD.Numeric;
|
|
52
53
|
alpha: PD.Numeric;
|
|
@@ -76,6 +77,7 @@ export declare const StructureCylindersParams: {
|
|
|
76
77
|
ignoreLight: PD.BooleanParam;
|
|
77
78
|
xrayShaded: PD.BooleanParam;
|
|
78
79
|
transparentBackfaces: PD.Select<string>;
|
|
80
|
+
solidInterior: PD.BooleanParam;
|
|
79
81
|
bumpFrequency: PD.Numeric;
|
|
80
82
|
bumpAmplitude: PD.Numeric;
|
|
81
83
|
alpha: PD.Numeric;
|
|
@@ -84,6 +84,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
84
84
|
}>>;
|
|
85
85
|
instanceGranularity: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
86
86
|
tryUseImpostor: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
87
|
+
solidInterior: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
87
88
|
detail: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
88
89
|
}, "backbone">;
|
|
89
90
|
'ball-and-stick': import("./representation").StructureRepresentationProvider<{
|
|
@@ -98,6 +99,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
98
99
|
includeTypes: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
99
100
|
excludeTypes: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
100
101
|
ignoreHydrogens: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
102
|
+
ignoreHydrogensVariant: import("../../mol-util/param-definition").ParamDefinition.Select<"all" | "non-polar">;
|
|
101
103
|
aromaticBonds: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
102
104
|
multipleBonds: import("../../mol-util/param-definition").ParamDefinition.Select<"offset" | "off" | "symmetric">;
|
|
103
105
|
linkScale: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
@@ -115,6 +117,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
115
117
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
116
118
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
117
119
|
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<string>;
|
|
120
|
+
solidInterior: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
118
121
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
119
122
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
120
123
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -198,6 +201,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
198
201
|
includeTypes: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
199
202
|
excludeTypes: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
200
203
|
ignoreHydrogens: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
204
|
+
ignoreHydrogensVariant: import("../../mol-util/param-definition").ParamDefinition.Select<"all" | "non-polar">;
|
|
201
205
|
aromaticBonds: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
202
206
|
multipleBonds: import("../../mol-util/param-definition").ParamDefinition.Select<"offset" | "off" | "symmetric">;
|
|
203
207
|
linkScale: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
@@ -214,6 +218,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
214
218
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
215
219
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
216
220
|
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<string>;
|
|
221
|
+
solidInterior: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
217
222
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
218
223
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
219
224
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -243,6 +248,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
243
248
|
sizeFactor: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
244
249
|
lineSizeAttenuation: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
245
250
|
ignoreHydrogens: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
251
|
+
ignoreHydrogensVariant: import("../../mol-util/param-definition").ParamDefinition.Select<"all" | "non-polar">;
|
|
246
252
|
includeParent: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
247
253
|
traceOnly: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
248
254
|
resolution: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
@@ -283,6 +289,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
283
289
|
'gaussian-volume': import("./representation").StructureRepresentationProvider<{
|
|
284
290
|
visuals: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"gaussian-volume" | "units-gaussian-volume">;
|
|
285
291
|
ignoreHydrogens: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
292
|
+
ignoreHydrogensVariant: import("../../mol-util/param-definition").ParamDefinition.Select<"all" | "non-polar">;
|
|
286
293
|
includeParent: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
287
294
|
traceOnly: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
288
295
|
resolution: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
@@ -367,6 +374,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
367
374
|
visuals: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"intra-bond" | "inter-bond" | "element-point" | "element-cross">;
|
|
368
375
|
lineSizeAttenuation: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
369
376
|
ignoreHydrogens: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
377
|
+
ignoreHydrogensVariant: import("../../mol-util/param-definition").ParamDefinition.Select<"all" | "non-polar">;
|
|
370
378
|
traceOnly: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
371
379
|
crosses: import("../../mol-util/param-definition").ParamDefinition.Select<"all" | "lone">;
|
|
372
380
|
crossSize: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
@@ -403,6 +411,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
403
411
|
bumpFrequency: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
404
412
|
sizeFactor: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
405
413
|
ignoreHydrogens: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
414
|
+
ignoreHydrogensVariant: import("../../mol-util/param-definition").ParamDefinition.Select<"all" | "non-polar">;
|
|
406
415
|
traceOnly: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
407
416
|
includeParent: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
408
417
|
probeRadius: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
@@ -476,6 +485,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
476
485
|
point: import("./representation").StructureRepresentationProvider<{
|
|
477
486
|
pointSizeAttenuation: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
478
487
|
ignoreHydrogens: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
488
|
+
ignoreHydrogensVariant: import("../../mol-util/param-definition").ParamDefinition.Select<"all" | "non-polar">;
|
|
479
489
|
traceOnly: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
480
490
|
unitKinds: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
481
491
|
includeParent: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
@@ -540,6 +550,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
540
550
|
sizeFactor: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
541
551
|
detail: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
542
552
|
ignoreHydrogens: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
553
|
+
ignoreHydrogensVariant: import("../../mol-util/param-definition").ParamDefinition.Select<"all" | "non-polar">;
|
|
543
554
|
traceOnly: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
544
555
|
tryUseImpostor: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
545
556
|
unitKinds: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
@@ -548,6 +559,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
548
559
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
549
560
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
550
561
|
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<string>;
|
|
562
|
+
solidInterior: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
551
563
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
552
564
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
553
565
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -42,6 +42,7 @@ export declare const BackboneParams: {
|
|
|
42
42
|
}>>;
|
|
43
43
|
instanceGranularity: PD.BooleanParam;
|
|
44
44
|
tryUseImpostor: PD.BooleanParam;
|
|
45
|
+
solidInterior: PD.BooleanParam;
|
|
45
46
|
detail: PD.Numeric;
|
|
46
47
|
};
|
|
47
48
|
export type BackboneParams = typeof BackboneParams;
|
|
@@ -79,6 +80,7 @@ export declare function getBackboneParams(ctx: ThemeRegistryContext, structure:
|
|
|
79
80
|
}>>;
|
|
80
81
|
instanceGranularity: PD.BooleanParam;
|
|
81
82
|
tryUseImpostor: PD.BooleanParam;
|
|
83
|
+
solidInterior: PD.BooleanParam;
|
|
82
84
|
detail: PD.Numeric;
|
|
83
85
|
};
|
|
84
86
|
export type BackboneRepresentation = StructureRepresentation<BackboneParams>;
|
|
@@ -117,5 +119,6 @@ export declare const BackboneRepresentationProvider: StructureRepresentationProv
|
|
|
117
119
|
}>>;
|
|
118
120
|
instanceGranularity: PD.BooleanParam;
|
|
119
121
|
tryUseImpostor: PD.BooleanParam;
|
|
122
|
+
solidInterior: PD.BooleanParam;
|
|
120
123
|
detail: PD.Numeric;
|
|
121
124
|
}, "backbone">;
|
|
@@ -20,6 +20,7 @@ export declare const BallAndStickParams: {
|
|
|
20
20
|
includeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
21
21
|
excludeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
22
22
|
ignoreHydrogens: PD.BooleanParam;
|
|
23
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
23
24
|
aromaticBonds: PD.BooleanParam;
|
|
24
25
|
multipleBonds: PD.Select<"offset" | "off" | "symmetric">;
|
|
25
26
|
linkScale: PD.Numeric;
|
|
@@ -37,6 +38,7 @@ export declare const BallAndStickParams: {
|
|
|
37
38
|
ignoreLight: PD.BooleanParam;
|
|
38
39
|
xrayShaded: PD.BooleanParam;
|
|
39
40
|
transparentBackfaces: PD.Select<string>;
|
|
41
|
+
solidInterior: PD.BooleanParam;
|
|
40
42
|
bumpAmplitude: PD.Numeric;
|
|
41
43
|
alpha: PD.Numeric;
|
|
42
44
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -74,6 +76,7 @@ export declare function getBallAndStickParams(ctx: ThemeRegistryContext, structu
|
|
|
74
76
|
includeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
75
77
|
excludeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
76
78
|
ignoreHydrogens: PD.BooleanParam;
|
|
79
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
77
80
|
aromaticBonds: PD.BooleanParam;
|
|
78
81
|
multipleBonds: PD.Select<"offset" | "off" | "symmetric">;
|
|
79
82
|
linkScale: PD.Numeric;
|
|
@@ -91,6 +94,7 @@ export declare function getBallAndStickParams(ctx: ThemeRegistryContext, structu
|
|
|
91
94
|
ignoreLight: PD.BooleanParam;
|
|
92
95
|
xrayShaded: PD.BooleanParam;
|
|
93
96
|
transparentBackfaces: PD.Select<string>;
|
|
97
|
+
solidInterior: PD.BooleanParam;
|
|
94
98
|
bumpAmplitude: PD.Numeric;
|
|
95
99
|
alpha: PD.Numeric;
|
|
96
100
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -129,6 +133,7 @@ export declare const BallAndStickRepresentationProvider: StructureRepresentation
|
|
|
129
133
|
includeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
130
134
|
excludeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
131
135
|
ignoreHydrogens: PD.BooleanParam;
|
|
136
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
132
137
|
aromaticBonds: PD.BooleanParam;
|
|
133
138
|
multipleBonds: PD.Select<"offset" | "off" | "symmetric">;
|
|
134
139
|
linkScale: PD.Numeric;
|
|
@@ -146,6 +151,7 @@ export declare const BallAndStickRepresentationProvider: StructureRepresentation
|
|
|
146
151
|
ignoreLight: PD.BooleanParam;
|
|
147
152
|
xrayShaded: PD.BooleanParam;
|
|
148
153
|
transparentBackfaces: PD.Select<string>;
|
|
154
|
+
solidInterior: PD.BooleanParam;
|
|
149
155
|
bumpAmplitude: PD.Numeric;
|
|
150
156
|
alpha: PD.Numeric;
|
|
151
157
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -21,6 +21,7 @@ export declare const EllipsoidParams: {
|
|
|
21
21
|
includeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
22
22
|
excludeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
23
23
|
ignoreHydrogens: PD.BooleanParam;
|
|
24
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
24
25
|
aromaticBonds: PD.BooleanParam;
|
|
25
26
|
multipleBonds: PD.Select<"offset" | "off" | "symmetric">;
|
|
26
27
|
linkScale: PD.Numeric;
|
|
@@ -37,6 +38,7 @@ export declare const EllipsoidParams: {
|
|
|
37
38
|
ignoreLight: PD.BooleanParam;
|
|
38
39
|
xrayShaded: PD.BooleanParam;
|
|
39
40
|
transparentBackfaces: PD.Select<string>;
|
|
41
|
+
solidInterior: PD.BooleanParam;
|
|
40
42
|
bumpAmplitude: PD.Numeric;
|
|
41
43
|
alpha: PD.Numeric;
|
|
42
44
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -74,6 +76,7 @@ export declare function getEllipsoidParams(ctx: ThemeRegistryContext, structure:
|
|
|
74
76
|
includeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
75
77
|
excludeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
76
78
|
ignoreHydrogens: PD.BooleanParam;
|
|
79
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
77
80
|
aromaticBonds: PD.BooleanParam;
|
|
78
81
|
multipleBonds: PD.Select<"offset" | "off" | "symmetric">;
|
|
79
82
|
linkScale: PD.Numeric;
|
|
@@ -90,6 +93,7 @@ export declare function getEllipsoidParams(ctx: ThemeRegistryContext, structure:
|
|
|
90
93
|
ignoreLight: PD.BooleanParam;
|
|
91
94
|
xrayShaded: PD.BooleanParam;
|
|
92
95
|
transparentBackfaces: PD.Select<string>;
|
|
96
|
+
solidInterior: PD.BooleanParam;
|
|
93
97
|
bumpAmplitude: PD.Numeric;
|
|
94
98
|
alpha: PD.Numeric;
|
|
95
99
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -128,6 +132,7 @@ export declare const EllipsoidRepresentationProvider: StructureRepresentationPro
|
|
|
128
132
|
includeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
129
133
|
excludeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
|
|
130
134
|
ignoreHydrogens: PD.BooleanParam;
|
|
135
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
131
136
|
aromaticBonds: PD.BooleanParam;
|
|
132
137
|
multipleBonds: PD.Select<"offset" | "off" | "symmetric">;
|
|
133
138
|
linkScale: PD.Numeric;
|
|
@@ -144,6 +149,7 @@ export declare const EllipsoidRepresentationProvider: StructureRepresentationPro
|
|
|
144
149
|
ignoreLight: PD.BooleanParam;
|
|
145
150
|
xrayShaded: PD.BooleanParam;
|
|
146
151
|
transparentBackfaces: PD.Select<string>;
|
|
152
|
+
solidInterior: PD.BooleanParam;
|
|
147
153
|
bumpAmplitude: PD.Numeric;
|
|
148
154
|
alpha: PD.Numeric;
|
|
149
155
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -14,6 +14,7 @@ export declare const GaussianSurfaceParams: {
|
|
|
14
14
|
sizeFactor: PD.Numeric;
|
|
15
15
|
lineSizeAttenuation: PD.BooleanParam;
|
|
16
16
|
ignoreHydrogens: PD.BooleanParam;
|
|
17
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
17
18
|
includeParent: PD.BooleanParam;
|
|
18
19
|
traceOnly: PD.BooleanParam;
|
|
19
20
|
resolution: PD.Numeric;
|
|
@@ -58,6 +59,7 @@ export declare function getGaussianSurfaceParams(ctx: ThemeRegistryContext, stru
|
|
|
58
59
|
sizeFactor: PD.Numeric;
|
|
59
60
|
lineSizeAttenuation: PD.BooleanParam;
|
|
60
61
|
ignoreHydrogens: PD.BooleanParam;
|
|
62
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
61
63
|
includeParent: PD.BooleanParam;
|
|
62
64
|
traceOnly: PD.BooleanParam;
|
|
63
65
|
resolution: PD.Numeric;
|
|
@@ -103,6 +105,7 @@ export declare const GaussianSurfaceRepresentationProvider: StructureRepresentat
|
|
|
103
105
|
sizeFactor: PD.Numeric;
|
|
104
106
|
lineSizeAttenuation: PD.BooleanParam;
|
|
105
107
|
ignoreHydrogens: PD.BooleanParam;
|
|
108
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
106
109
|
includeParent: PD.BooleanParam;
|
|
107
110
|
traceOnly: PD.BooleanParam;
|
|
108
111
|
resolution: PD.Numeric;
|
|
@@ -11,6 +11,7 @@ import { Structure } from '../../../mol-model/structure';
|
|
|
11
11
|
export declare const GaussianVolumeParams: {
|
|
12
12
|
visuals: PD.MultiSelect<"gaussian-volume" | "units-gaussian-volume">;
|
|
13
13
|
ignoreHydrogens: PD.BooleanParam;
|
|
14
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
14
15
|
includeParent: PD.BooleanParam;
|
|
15
16
|
traceOnly: PD.BooleanParam;
|
|
16
17
|
resolution: PD.Numeric;
|
|
@@ -45,6 +46,7 @@ export type GaussianVolumeParams = typeof GaussianVolumeParams;
|
|
|
45
46
|
export declare function getGaussianVolumeParams(ctx: ThemeRegistryContext, structure: Structure): {
|
|
46
47
|
visuals: PD.MultiSelect<"gaussian-volume" | "units-gaussian-volume">;
|
|
47
48
|
ignoreHydrogens: PD.BooleanParam;
|
|
49
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
48
50
|
includeParent: PD.BooleanParam;
|
|
49
51
|
traceOnly: PD.BooleanParam;
|
|
50
52
|
resolution: PD.Numeric;
|
|
@@ -80,6 +82,7 @@ export declare function GaussianVolumeRepresentation(ctx: RepresentationContext,
|
|
|
80
82
|
export declare const GaussianVolumeRepresentationProvider: StructureRepresentationProvider<{
|
|
81
83
|
visuals: PD.MultiSelect<"gaussian-volume" | "units-gaussian-volume">;
|
|
82
84
|
ignoreHydrogens: PD.BooleanParam;
|
|
85
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
83
86
|
includeParent: PD.BooleanParam;
|
|
84
87
|
traceOnly: PD.BooleanParam;
|
|
85
88
|
resolution: PD.Numeric;
|
|
@@ -16,6 +16,7 @@ export declare const LineParams: {
|
|
|
16
16
|
visuals: PD.MultiSelect<"intra-bond" | "inter-bond" | "element-point" | "element-cross">;
|
|
17
17
|
lineSizeAttenuation: PD.BooleanParam;
|
|
18
18
|
ignoreHydrogens: PD.BooleanParam;
|
|
19
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
19
20
|
traceOnly: PD.BooleanParam;
|
|
20
21
|
crosses: PD.Select<"all" | "lone">;
|
|
21
22
|
crossSize: PD.Numeric;
|
|
@@ -56,6 +57,7 @@ export declare function getLineParams(ctx: ThemeRegistryContext, structure: Stru
|
|
|
56
57
|
visuals: PD.MultiSelect<"intra-bond" | "inter-bond" | "element-point" | "element-cross">;
|
|
57
58
|
lineSizeAttenuation: PD.BooleanParam;
|
|
58
59
|
ignoreHydrogens: PD.BooleanParam;
|
|
60
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
59
61
|
traceOnly: PD.BooleanParam;
|
|
60
62
|
crosses: PD.Select<"all" | "lone">;
|
|
61
63
|
crossSize: PD.Numeric;
|
|
@@ -97,6 +99,7 @@ export declare const LineRepresentationProvider: StructureRepresentationProvider
|
|
|
97
99
|
visuals: PD.MultiSelect<"intra-bond" | "inter-bond" | "element-point" | "element-cross">;
|
|
98
100
|
lineSizeAttenuation: PD.BooleanParam;
|
|
99
101
|
ignoreHydrogens: PD.BooleanParam;
|
|
102
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
100
103
|
traceOnly: PD.BooleanParam;
|
|
101
104
|
crosses: PD.Select<"all" | "lone">;
|
|
102
105
|
crossSize: PD.Numeric;
|
|
@@ -13,6 +13,7 @@ export declare const MolecularSurfaceParams: {
|
|
|
13
13
|
bumpFrequency: PD.Numeric;
|
|
14
14
|
sizeFactor: PD.Numeric;
|
|
15
15
|
ignoreHydrogens: PD.BooleanParam;
|
|
16
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
16
17
|
traceOnly: PD.BooleanParam;
|
|
17
18
|
includeParent: PD.BooleanParam;
|
|
18
19
|
probeRadius: PD.Numeric;
|
|
@@ -56,6 +57,7 @@ export declare function getMolecularSurfaceParams(ctx: ThemeRegistryContext, str
|
|
|
56
57
|
bumpFrequency: PD.Numeric;
|
|
57
58
|
sizeFactor: PD.Numeric;
|
|
58
59
|
ignoreHydrogens: PD.BooleanParam;
|
|
60
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
59
61
|
traceOnly: PD.BooleanParam;
|
|
60
62
|
includeParent: PD.BooleanParam;
|
|
61
63
|
probeRadius: PD.Numeric;
|
|
@@ -100,6 +102,7 @@ export declare const MolecularSurfaceRepresentationProvider: StructureRepresenta
|
|
|
100
102
|
bumpFrequency: PD.Numeric;
|
|
101
103
|
sizeFactor: PD.Numeric;
|
|
102
104
|
ignoreHydrogens: PD.BooleanParam;
|
|
105
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
103
106
|
traceOnly: PD.BooleanParam;
|
|
104
107
|
includeParent: PD.BooleanParam;
|
|
105
108
|
probeRadius: PD.Numeric;
|
|
@@ -11,6 +11,7 @@ import { Structure } from '../../../mol-model/structure';
|
|
|
11
11
|
export declare const PointParams: {
|
|
12
12
|
pointSizeAttenuation: PD.BooleanParam;
|
|
13
13
|
ignoreHydrogens: PD.BooleanParam;
|
|
14
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
14
15
|
traceOnly: PD.BooleanParam;
|
|
15
16
|
unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
16
17
|
includeParent: PD.BooleanParam;
|
|
@@ -39,6 +40,7 @@ export type PointParams = typeof PointParams;
|
|
|
39
40
|
export declare function getPointParams(ctx: ThemeRegistryContext, structure: Structure): {
|
|
40
41
|
pointSizeAttenuation: PD.BooleanParam;
|
|
41
42
|
ignoreHydrogens: PD.BooleanParam;
|
|
43
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
42
44
|
traceOnly: PD.BooleanParam;
|
|
43
45
|
unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
44
46
|
includeParent: PD.BooleanParam;
|
|
@@ -68,6 +70,7 @@ export declare function PointRepresentation(ctx: RepresentationContext, getParam
|
|
|
68
70
|
export declare const PointRepresentationProvider: StructureRepresentationProvider<{
|
|
69
71
|
pointSizeAttenuation: PD.BooleanParam;
|
|
70
72
|
ignoreHydrogens: PD.BooleanParam;
|
|
73
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
71
74
|
traceOnly: PD.BooleanParam;
|
|
72
75
|
unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
73
76
|
includeParent: PD.BooleanParam;
|
|
@@ -13,6 +13,7 @@ export declare const SpacefillParams: {
|
|
|
13
13
|
sizeFactor: PD.Numeric;
|
|
14
14
|
detail: PD.Numeric;
|
|
15
15
|
ignoreHydrogens: PD.BooleanParam;
|
|
16
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
16
17
|
traceOnly: PD.BooleanParam;
|
|
17
18
|
tryUseImpostor: PD.BooleanParam;
|
|
18
19
|
unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
@@ -21,6 +22,7 @@ export declare const SpacefillParams: {
|
|
|
21
22
|
ignoreLight: PD.BooleanParam;
|
|
22
23
|
xrayShaded: PD.BooleanParam;
|
|
23
24
|
transparentBackfaces: PD.Select<string>;
|
|
25
|
+
solidInterior: PD.BooleanParam;
|
|
24
26
|
bumpAmplitude: PD.Numeric;
|
|
25
27
|
alpha: PD.Numeric;
|
|
26
28
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -49,6 +51,7 @@ export declare function getSpacefillParams(ctx: ThemeRegistryContext, structure:
|
|
|
49
51
|
sizeFactor: PD.Numeric;
|
|
50
52
|
detail: PD.Numeric;
|
|
51
53
|
ignoreHydrogens: PD.BooleanParam;
|
|
54
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
52
55
|
traceOnly: PD.BooleanParam;
|
|
53
56
|
tryUseImpostor: PD.BooleanParam;
|
|
54
57
|
unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
@@ -57,6 +60,7 @@ export declare function getSpacefillParams(ctx: ThemeRegistryContext, structure:
|
|
|
57
60
|
ignoreLight: PD.BooleanParam;
|
|
58
61
|
xrayShaded: PD.BooleanParam;
|
|
59
62
|
transparentBackfaces: PD.Select<string>;
|
|
63
|
+
solidInterior: PD.BooleanParam;
|
|
60
64
|
bumpAmplitude: PD.Numeric;
|
|
61
65
|
alpha: PD.Numeric;
|
|
62
66
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -86,6 +90,7 @@ export declare const SpacefillRepresentationProvider: StructureRepresentationPro
|
|
|
86
90
|
sizeFactor: PD.Numeric;
|
|
87
91
|
detail: PD.Numeric;
|
|
88
92
|
ignoreHydrogens: PD.BooleanParam;
|
|
93
|
+
ignoreHydrogensVariant: PD.Select<"all" | "non-polar">;
|
|
89
94
|
traceOnly: PD.BooleanParam;
|
|
90
95
|
tryUseImpostor: PD.BooleanParam;
|
|
91
96
|
unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
@@ -94,6 +99,7 @@ export declare const SpacefillRepresentationProvider: StructureRepresentationPro
|
|
|
94
99
|
ignoreLight: PD.BooleanParam;
|
|
95
100
|
xrayShaded: PD.BooleanParam;
|
|
96
101
|
transparentBackfaces: PD.Select<string>;
|
|
102
|
+
solidInterior: PD.BooleanParam;
|
|
97
103
|
bumpAmplitude: PD.Numeric;
|
|
98
104
|
alpha: PD.Numeric;
|
|
99
105
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -85,6 +85,7 @@ export declare const UnitsSpheresParams: {
|
|
|
85
85
|
ignoreLight: PD.BooleanParam;
|
|
86
86
|
xrayShaded: PD.BooleanParam;
|
|
87
87
|
transparentBackfaces: PD.Select<string>;
|
|
88
|
+
solidInterior: PD.BooleanParam;
|
|
88
89
|
bumpFrequency: PD.Numeric;
|
|
89
90
|
bumpAmplitude: PD.Numeric;
|
|
90
91
|
alpha: PD.Numeric;
|
|
@@ -119,6 +120,7 @@ export declare const UnitsCylindersParams: {
|
|
|
119
120
|
ignoreLight: PD.BooleanParam;
|
|
120
121
|
xrayShaded: PD.BooleanParam;
|
|
121
122
|
transparentBackfaces: PD.Select<string>;
|
|
123
|
+
solidInterior: PD.BooleanParam;
|
|
122
124
|
bumpFrequency: PD.Numeric;
|
|
123
125
|
bumpAmplitude: PD.Numeric;
|
|
124
126
|
alpha: PD.Numeric;
|