molstar 3.0.0-dev.6 → 3.0.0-dev.7
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/build/viewer/molstar.js +1 -1
- package/lib/commonjs/extensions/anvil/behavior.d.ts +4 -0
- package/lib/commonjs/extensions/anvil/representation.d.ts +50 -0
- package/lib/commonjs/extensions/cellpack/representation.d.ts +10 -0
- package/lib/commonjs/extensions/dnatco/confal-pyramids/representation.d.ts +30 -0
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +4 -0
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.d.ts +10 -0
- package/lib/commonjs/extensions/rcsb/validation-report/representation.d.ts +50 -0
- package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +2 -8
- package/lib/commonjs/mol-canvas3d/canvas3d.js +2 -1
- package/lib/commonjs/mol-canvas3d/helper/bounding-sphere-helper.js +3 -2
- package/lib/commonjs/mol-canvas3d/helper/camera-helper.d.ts +4 -0
- package/lib/commonjs/mol-canvas3d/helper/camera-helper.js +2 -2
- package/lib/commonjs/mol-canvas3d/helper/handle-helper.d.ts +4 -0
- package/lib/commonjs/mol-canvas3d/helper/handle-helper.js +2 -2
- package/lib/commonjs/mol-canvas3d/helper/helper.d.ts +2 -0
- package/lib/commonjs/mol-canvas3d/passes/image.d.ts +1 -0
- package/lib/commonjs/mol-canvas3d/passes/pick.js +9 -9
- package/lib/commonjs/mol-canvas3d/passes/postprocessing.js +3 -3
- package/lib/commonjs/mol-canvas3d/passes/smaa.js +1 -1
- package/lib/commonjs/mol-geo/geometry/base.d.ts +18 -0
- package/lib/commonjs/mol-geo/geometry/base.js +18 -1
- package/lib/commonjs/mol-geo/geometry/clipping-data.d.ts +1 -3
- package/lib/commonjs/mol-geo/geometry/clipping-data.js +3 -8
- package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +10 -0
- package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.js +2 -2
- package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.d.ts +10 -0
- package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.js +2 -2
- package/lib/commonjs/mol-geo/geometry/image/image.d.ts +10 -0
- package/lib/commonjs/mol-geo/geometry/lines/lines.d.ts +10 -0
- package/lib/commonjs/mol-geo/geometry/lines/lines.js +1 -1
- package/lib/commonjs/mol-geo/geometry/marker-data.d.ts +0 -1
- package/lib/commonjs/mol-geo/geometry/marker-data.js +0 -4
- package/lib/commonjs/mol-geo/geometry/mesh/mesh.d.ts +10 -0
- package/lib/commonjs/mol-geo/geometry/mesh/mesh.js +2 -2
- package/lib/commonjs/mol-geo/geometry/points/points.d.ts +10 -0
- package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +10 -0
- package/lib/commonjs/mol-geo/geometry/spheres/spheres.js +2 -2
- package/lib/commonjs/mol-geo/geometry/text/text.d.ts +10 -0
- package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +10 -0
- package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js +2 -2
- package/lib/commonjs/mol-gl/render-object.d.ts +2 -1
- package/lib/commonjs/mol-gl/render-object.js +10 -10
- package/lib/commonjs/mol-gl/renderable/cylinders.d.ts +10 -5
- package/lib/commonjs/mol-gl/renderable/cylinders.js +3 -3
- package/lib/commonjs/mol-gl/renderable/direct-volume.d.ts +10 -5
- package/lib/commonjs/mol-gl/renderable/direct-volume.js +3 -3
- package/lib/commonjs/mol-gl/renderable/image.d.ts +9 -4
- package/lib/commonjs/mol-gl/renderable/image.js +2 -2
- package/lib/commonjs/mol-gl/renderable/lines.d.ts +38 -33
- package/lib/commonjs/mol-gl/renderable/lines.js +3 -3
- package/lib/commonjs/mol-gl/renderable/mesh.d.ts +10 -5
- package/lib/commonjs/mol-gl/renderable/mesh.js +3 -3
- package/lib/commonjs/mol-gl/renderable/points.d.ts +9 -4
- package/lib/commonjs/mol-gl/renderable/points.js +2 -2
- package/lib/commonjs/mol-gl/renderable/schema.d.ts +9 -11
- package/lib/commonjs/mol-gl/renderable/schema.js +3 -9
- package/lib/commonjs/mol-gl/renderable/spheres.d.ts +10 -5
- package/lib/commonjs/mol-gl/renderable/spheres.js +3 -3
- package/lib/commonjs/mol-gl/renderable/text.d.ts +9 -4
- package/lib/commonjs/mol-gl/renderable/text.js +2 -2
- package/lib/commonjs/mol-gl/renderable/texture-mesh.d.ts +10 -5
- package/lib/commonjs/mol-gl/renderable/texture-mesh.js +3 -3
- package/lib/commonjs/mol-gl/renderable.d.ts +0 -1
- package/lib/commonjs/mol-gl/renderer.d.ts +12 -12
- package/lib/commonjs/mol-gl/renderer.js +12 -74
- package/lib/commonjs/mol-gl/scene.d.ts +2 -2
- package/lib/commonjs/mol-gl/scene.js +7 -5
- 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/assign-color-varying.glsl.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/assign-color-varying.glsl.js +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/assign-marker-varying.glsl.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/assign-marker-varying.glsl.js +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.js +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/color-frag-params.glsl.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/color-frag-params.glsl.js +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/color-vert-params.glsl.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/color-vert-params.glsl.js +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/common-frag-params.glsl.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/common-frag-params.glsl.js +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/common-vert-params.glsl.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/common-vert-params.glsl.js +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/common.glsl.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/chunks/common.glsl.js +1 -1
- 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/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/image.frag.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/image.frag.js +1 -1
- package/lib/commonjs/mol-gl/shader/mesh.frag.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/mesh.frag.js +1 -1
- package/lib/commonjs/mol-gl/shader/mesh.vert.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/mesh.vert.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-code.d.ts +3 -1
- package/lib/commonjs/mol-gl/shader-code.js +42 -13
- package/lib/commonjs/mol-gl/webgl/render-item.d.ts +7 -6
- package/lib/commonjs/mol-gl/webgl/render-item.js +10 -8
- package/lib/commonjs/mol-gl/webgl/resources.js +8 -1
- package/lib/commonjs/mol-math/linear-algebra/3d/quat.d.ts +9 -1
- package/lib/commonjs/mol-math/linear-algebra/3d/quat.js +20 -1
- package/lib/commonjs/mol-model-formats/shape/ply.d.ts +20 -0
- package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +10 -0
- package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +10 -0
- package/lib/commonjs/mol-model-props/computed/representations/interactions.d.ts +30 -0
- package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.d.ts +40 -0
- package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +11 -0
- package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js +3 -1
- package/lib/commonjs/mol-plugin/commands.d.ts +1 -4
- package/lib/commonjs/mol-plugin/spec.js +1 -0
- package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +12 -0
- package/lib/commonjs/mol-plugin-state/helpers/structure-clipping.d.ts +1 -1
- package/lib/commonjs/mol-plugin-state/helpers/structure-clipping.js +1 -1
- package/lib/commonjs/mol-plugin-state/manager/structure/component.d.ts +13 -1
- package/lib/commonjs/mol-plugin-state/manager/structure/component.js +13 -8
- package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +32 -0
- package/lib/commonjs/mol-plugin-ui/viewport/simple-settings.js +2 -6
- package/lib/commonjs/mol-repr/shape/loci/angle.d.ts +10 -0
- package/lib/commonjs/mol-repr/shape/loci/common.d.ts +10 -0
- package/lib/commonjs/mol-repr/shape/loci/dihedral.d.ts +10 -0
- package/lib/commonjs/mol-repr/shape/loci/distance.d.ts +10 -0
- package/lib/commonjs/mol-repr/shape/loci/label.d.ts +10 -0
- package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +10 -0
- package/lib/commonjs/mol-repr/shape/loci/plane.d.ts +10 -0
- package/lib/commonjs/mol-repr/shape/model/unitcell.d.ts +10 -0
- package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +60 -0
- package/lib/commonjs/mol-repr/structure/params.d.ts +80 -0
- package/lib/commonjs/mol-repr/structure/registry.d.ts +140 -0
- package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +30 -0
- package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +30 -0
- package/lib/commonjs/mol-repr/structure/representation/carbohydrate.d.ts +30 -0
- package/lib/commonjs/mol-repr/structure/representation/cartoon.d.ts +30 -0
- package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +30 -0
- package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +30 -0
- package/lib/commonjs/mol-repr/structure/representation/gaussian-volume.d.ts +30 -0
- package/lib/commonjs/mol-repr/structure/representation/label.d.ts +30 -0
- package/lib/commonjs/mol-repr/structure/representation/line.d.ts +30 -0
- package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +30 -0
- package/lib/commonjs/mol-repr/structure/representation/orientation.d.ts +30 -0
- package/lib/commonjs/mol-repr/structure/representation/point.d.ts +30 -0
- package/lib/commonjs/mol-repr/structure/representation/putty.d.ts +30 -0
- package/lib/commonjs/mol-repr/structure/representation/spacefill.d.ts +30 -0
- package/lib/commonjs/mol-repr/structure/units-visual.d.ts +80 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +20 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.d.ts +10 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +20 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.d.ts +10 -0
- package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +10 -0
- package/lib/commonjs/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +10 -0
- package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +10 -0
- package/lib/commonjs/mol-repr/structure/visual/element-cross.d.ts +10 -0
- package/lib/commonjs/mol-repr/structure/visual/element-point.d.ts +10 -0
- package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +20 -0
- package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.d.ts +10 -0
- package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.d.ts +20 -0
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +40 -0
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +10 -0
- package/lib/commonjs/mol-repr/structure/visual/label-text.d.ts +10 -0
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +10 -0
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +10 -0
- package/lib/commonjs/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +10 -0
- package/lib/commonjs/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +10 -0
- package/lib/commonjs/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +10 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +20 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +20 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-direction-wedge.d.ts +10 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +10 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.d.ts +10 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.d.ts +10 -0
- package/lib/commonjs/mol-repr/visual.js +11 -7
- package/lib/commonjs/mol-repr/volume/direct-volume.d.ts +30 -0
- package/lib/commonjs/mol-repr/volume/isosurface.d.ts +60 -0
- package/lib/commonjs/mol-repr/volume/registry.d.ts +30 -0
- package/lib/commonjs/mol-repr/volume/representation.d.ts +10 -0
- package/lib/commonjs/mol-repr/volume/slice.d.ts +30 -0
- package/lib/commonjs/mol-theme/clipping.d.ts +7 -15
- package/lib/commonjs/mol-theme/clipping.js +5 -12
- package/lib/commonjs/mol-util/clip.d.ts +49 -0
- package/lib/commonjs/mol-util/clip.js +97 -0
- package/lib/extensions/anvil/behavior.d.ts +4 -0
- package/lib/extensions/anvil/representation.d.ts +50 -0
- package/lib/extensions/cellpack/representation.d.ts +10 -0
- package/lib/extensions/dnatco/confal-pyramids/representation.d.ts +30 -0
- package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +4 -0
- package/lib/extensions/rcsb/assembly-symmetry/representation.d.ts +10 -0
- package/lib/extensions/rcsb/validation-report/representation.d.ts +50 -0
- package/lib/mol-canvas3d/canvas3d.d.ts +2 -8
- package/lib/mol-canvas3d/canvas3d.js +2 -1
- package/lib/mol-canvas3d/helper/bounding-sphere-helper.js +3 -2
- package/lib/mol-canvas3d/helper/camera-helper.d.ts +4 -0
- package/lib/mol-canvas3d/helper/camera-helper.js +2 -2
- package/lib/mol-canvas3d/helper/handle-helper.d.ts +4 -0
- package/lib/mol-canvas3d/helper/handle-helper.js +2 -2
- package/lib/mol-canvas3d/helper/helper.d.ts +2 -0
- package/lib/mol-canvas3d/passes/image.d.ts +1 -0
- package/lib/mol-canvas3d/passes/pick.js +9 -9
- package/lib/mol-canvas3d/passes/postprocessing.js +3 -3
- package/lib/mol-canvas3d/passes/smaa.js +1 -1
- package/lib/mol-geo/geometry/base.d.ts +18 -0
- package/lib/mol-geo/geometry/base.js +18 -1
- package/lib/mol-geo/geometry/clipping-data.d.ts +1 -3
- package/lib/mol-geo/geometry/clipping-data.js +3 -8
- package/lib/mol-geo/geometry/cylinders/cylinders.d.ts +10 -0
- package/lib/mol-geo/geometry/cylinders/cylinders.js +2 -2
- package/lib/mol-geo/geometry/direct-volume/direct-volume.d.ts +10 -0
- package/lib/mol-geo/geometry/direct-volume/direct-volume.js +2 -2
- package/lib/mol-geo/geometry/image/image.d.ts +10 -0
- package/lib/mol-geo/geometry/lines/lines.d.ts +10 -0
- package/lib/mol-geo/geometry/lines/lines.js +1 -1
- package/lib/mol-geo/geometry/marker-data.d.ts +0 -1
- package/lib/mol-geo/geometry/marker-data.js +0 -4
- package/lib/mol-geo/geometry/mesh/mesh.d.ts +10 -0
- package/lib/mol-geo/geometry/mesh/mesh.js +2 -2
- package/lib/mol-geo/geometry/points/points.d.ts +10 -0
- package/lib/mol-geo/geometry/spheres/spheres.d.ts +10 -0
- package/lib/mol-geo/geometry/spheres/spheres.js +2 -2
- package/lib/mol-geo/geometry/text/text.d.ts +10 -0
- package/lib/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +10 -0
- package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js +2 -2
- package/lib/mol-gl/render-object.d.ts +2 -1
- package/lib/mol-gl/render-object.js +10 -10
- package/lib/mol-gl/renderable/cylinders.d.ts +10 -5
- package/lib/mol-gl/renderable/cylinders.js +3 -3
- package/lib/mol-gl/renderable/direct-volume.d.ts +10 -5
- package/lib/mol-gl/renderable/direct-volume.js +3 -3
- package/lib/mol-gl/renderable/image.d.ts +9 -4
- package/lib/mol-gl/renderable/image.js +2 -2
- package/lib/mol-gl/renderable/lines.d.ts +38 -33
- package/lib/mol-gl/renderable/lines.js +4 -4
- package/lib/mol-gl/renderable/mesh.d.ts +10 -5
- package/lib/mol-gl/renderable/mesh.js +3 -3
- package/lib/mol-gl/renderable/points.d.ts +9 -4
- package/lib/mol-gl/renderable/points.js +2 -2
- package/lib/mol-gl/renderable/schema.d.ts +9 -11
- package/lib/mol-gl/renderable/schema.js +3 -9
- package/lib/mol-gl/renderable/spheres.d.ts +10 -5
- package/lib/mol-gl/renderable/spheres.js +3 -3
- package/lib/mol-gl/renderable/text.d.ts +9 -4
- package/lib/mol-gl/renderable/text.js +2 -2
- package/lib/mol-gl/renderable/texture-mesh.d.ts +10 -5
- package/lib/mol-gl/renderable/texture-mesh.js +3 -3
- package/lib/mol-gl/renderable.d.ts +0 -1
- package/lib/mol-gl/renderer.d.ts +12 -12
- package/lib/mol-gl/renderer.js +13 -75
- package/lib/mol-gl/scene.d.ts +2 -2
- package/lib/mol-gl/scene.js +7 -5
- 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/assign-color-varying.glsl.d.ts +1 -1
- package/lib/mol-gl/shader/chunks/assign-color-varying.glsl.js +1 -1
- package/lib/mol-gl/shader/chunks/assign-marker-varying.glsl.d.ts +1 -1
- package/lib/mol-gl/shader/chunks/assign-marker-varying.glsl.js +1 -1
- package/lib/mol-gl/shader/chunks/assign-material-color.glsl.d.ts +1 -1
- package/lib/mol-gl/shader/chunks/assign-material-color.glsl.js +1 -1
- package/lib/mol-gl/shader/chunks/color-frag-params.glsl.d.ts +1 -1
- package/lib/mol-gl/shader/chunks/color-frag-params.glsl.js +1 -1
- package/lib/mol-gl/shader/chunks/color-vert-params.glsl.d.ts +1 -1
- package/lib/mol-gl/shader/chunks/color-vert-params.glsl.js +1 -1
- package/lib/mol-gl/shader/chunks/common-frag-params.glsl.d.ts +1 -1
- package/lib/mol-gl/shader/chunks/common-frag-params.glsl.js +1 -1
- package/lib/mol-gl/shader/chunks/common-vert-params.glsl.d.ts +1 -1
- package/lib/mol-gl/shader/chunks/common-vert-params.glsl.js +1 -1
- package/lib/mol-gl/shader/chunks/common.glsl.d.ts +1 -1
- package/lib/mol-gl/shader/chunks/common.glsl.js +1 -1
- 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/direct-volume.frag.d.ts +1 -1
- package/lib/mol-gl/shader/direct-volume.frag.js +1 -1
- package/lib/mol-gl/shader/image.frag.d.ts +1 -1
- package/lib/mol-gl/shader/image.frag.js +1 -1
- package/lib/mol-gl/shader/mesh.frag.d.ts +1 -1
- package/lib/mol-gl/shader/mesh.frag.js +1 -1
- package/lib/mol-gl/shader/mesh.vert.d.ts +1 -1
- package/lib/mol-gl/shader/mesh.vert.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-code.d.ts +3 -1
- package/lib/mol-gl/shader-code.js +42 -13
- package/lib/mol-gl/webgl/render-item.d.ts +7 -6
- package/lib/mol-gl/webgl/render-item.js +8 -6
- package/lib/mol-gl/webgl/resources.js +8 -1
- package/lib/mol-math/linear-algebra/3d/quat.d.ts +9 -1
- package/lib/mol-math/linear-algebra/3d/quat.js +20 -1
- package/lib/mol-model-formats/shape/ply.d.ts +20 -0
- package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +10 -0
- package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +10 -0
- package/lib/mol-model-props/computed/representations/interactions.d.ts +30 -0
- package/lib/mol-model-props/integrative/cross-link-restraint/representation.d.ts +40 -0
- package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +11 -0
- package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js +3 -1
- package/lib/mol-plugin/commands.d.ts +1 -4
- package/lib/mol-plugin/spec.js +1 -0
- package/lib/mol-plugin/util/viewport-screenshot.d.ts +12 -0
- package/lib/mol-plugin/version.js +2 -2
- package/lib/mol-plugin-state/helpers/structure-clipping.d.ts +1 -1
- package/lib/mol-plugin-state/helpers/structure-clipping.js +1 -1
- package/lib/mol-plugin-state/manager/structure/component.d.ts +13 -1
- package/lib/mol-plugin-state/manager/structure/component.js +13 -8
- package/lib/mol-plugin-state/transforms/representation.d.ts +32 -0
- package/lib/mol-plugin-ui/viewport/simple-settings.js +2 -6
- package/lib/mol-repr/shape/loci/angle.d.ts +10 -0
- package/lib/mol-repr/shape/loci/common.d.ts +10 -0
- package/lib/mol-repr/shape/loci/dihedral.d.ts +10 -0
- package/lib/mol-repr/shape/loci/distance.d.ts +10 -0
- package/lib/mol-repr/shape/loci/label.d.ts +10 -0
- package/lib/mol-repr/shape/loci/orientation.d.ts +10 -0
- package/lib/mol-repr/shape/loci/plane.d.ts +10 -0
- package/lib/mol-repr/shape/model/unitcell.d.ts +10 -0
- package/lib/mol-repr/structure/complex-visual.d.ts +60 -0
- package/lib/mol-repr/structure/params.d.ts +80 -0
- package/lib/mol-repr/structure/registry.d.ts +140 -0
- package/lib/mol-repr/structure/representation/backbone.d.ts +30 -0
- package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +30 -0
- package/lib/mol-repr/structure/representation/carbohydrate.d.ts +30 -0
- package/lib/mol-repr/structure/representation/cartoon.d.ts +30 -0
- package/lib/mol-repr/structure/representation/ellipsoid.d.ts +30 -0
- package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +30 -0
- package/lib/mol-repr/structure/representation/gaussian-volume.d.ts +30 -0
- package/lib/mol-repr/structure/representation/label.d.ts +30 -0
- package/lib/mol-repr/structure/representation/line.d.ts +30 -0
- package/lib/mol-repr/structure/representation/molecular-surface.d.ts +30 -0
- package/lib/mol-repr/structure/representation/orientation.d.ts +30 -0
- package/lib/mol-repr/structure/representation/point.d.ts +30 -0
- package/lib/mol-repr/structure/representation/putty.d.ts +30 -0
- package/lib/mol-repr/structure/representation/spacefill.d.ts +30 -0
- package/lib/mol-repr/structure/units-visual.d.ts +80 -0
- package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +20 -0
- package/lib/mol-repr/structure/visual/bond-inter-unit-line.d.ts +10 -0
- package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +20 -0
- package/lib/mol-repr/structure/visual/bond-intra-unit-line.d.ts +10 -0
- package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +10 -0
- package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +10 -0
- package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +10 -0
- package/lib/mol-repr/structure/visual/element-cross.d.ts +10 -0
- package/lib/mol-repr/structure/visual/element-point.d.ts +10 -0
- package/lib/mol-repr/structure/visual/element-sphere.d.ts +20 -0
- package/lib/mol-repr/structure/visual/ellipsoid-mesh.d.ts +10 -0
- package/lib/mol-repr/structure/visual/gaussian-density-volume.d.ts +20 -0
- package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +40 -0
- package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +10 -0
- package/lib/mol-repr/structure/visual/label-text.d.ts +10 -0
- package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +10 -0
- package/lib/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +10 -0
- package/lib/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +10 -0
- package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +10 -0
- package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +10 -0
- package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +20 -0
- package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +20 -0
- package/lib/mol-repr/structure/visual/polymer-direction-wedge.d.ts +10 -0
- package/lib/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +10 -0
- package/lib/mol-repr/structure/visual/polymer-trace-mesh.d.ts +10 -0
- package/lib/mol-repr/structure/visual/polymer-tube-mesh.d.ts +10 -0
- package/lib/mol-repr/visual.js +11 -7
- package/lib/mol-repr/volume/direct-volume.d.ts +30 -0
- package/lib/mol-repr/volume/isosurface.d.ts +60 -0
- package/lib/mol-repr/volume/registry.d.ts +30 -0
- package/lib/mol-repr/volume/representation.d.ts +10 -0
- package/lib/mol-repr/volume/slice.d.ts +30 -0
- package/lib/mol-theme/clipping.d.ts +7 -15
- package/lib/mol-theme/clipping.js +5 -12
- package/lib/mol-util/clip.d.ts +49 -0
- package/lib/mol-util/clip.js +93 -0
- package/package.json +1 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Copyright (c) 2019-
|
|
3
|
+
* Copyright (c) 2019-2021 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
4
4
|
*
|
|
5
5
|
* @author David Sehnal <david.sehnal@gmail.com>
|
|
6
|
+
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
6
7
|
*/
|
|
7
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
9
|
exports.StructureComponentManager = void 0;
|
|
@@ -28,6 +29,7 @@ var structure_transparency_1 = require("../../helpers/structure-transparency");
|
|
|
28
29
|
var structure_focus_representation_1 = require("../../../mol-plugin/behavior/dynamic/selection/structure-focus-representation");
|
|
29
30
|
var structure_substance_1 = require("../../helpers/structure-substance");
|
|
30
31
|
var material_1 = require("../../../mol-util/material");
|
|
32
|
+
var clip_1 = require("../../../mol-util/clip");
|
|
31
33
|
var StructureComponentManager = /** @class */ (function (_super) {
|
|
32
34
|
(0, tslib_1.__extends)(StructureComponentManager, _super);
|
|
33
35
|
function StructureComponentManager(plugin) {
|
|
@@ -77,6 +79,7 @@ var StructureComponentManager = /** @class */ (function (_super) {
|
|
|
77
79
|
return [4 /*yield*/, this.plugin.state.updateBehavior(structure_focus_representation_1.StructureFocusRepresentation, function (p) {
|
|
78
80
|
p.ignoreHydrogens = !options.showHydrogens;
|
|
79
81
|
p.material = options.materialStyle;
|
|
82
|
+
p.clip = options.clipObjects;
|
|
80
83
|
})];
|
|
81
84
|
case 2:
|
|
82
85
|
_a.sent();
|
|
@@ -93,18 +96,19 @@ var StructureComponentManager = /** @class */ (function (_super) {
|
|
|
93
96
|
});
|
|
94
97
|
};
|
|
95
98
|
StructureComponentManager.prototype.updateReprParams = function (update, component) {
|
|
96
|
-
var _a = this.state.options, showHydrogens = _a.showHydrogens, quality = _a.visualQuality, material = _a.materialStyle;
|
|
99
|
+
var _a = this.state.options, showHydrogens = _a.showHydrogens, quality = _a.visualQuality, material = _a.materialStyle, clip = _a.clipObjects;
|
|
97
100
|
var ignoreHydrogens = !showHydrogens;
|
|
98
101
|
for (var _i = 0, _b = component.representations; _i < _b.length; _i++) {
|
|
99
102
|
var r = _b[_i];
|
|
100
103
|
if (r.cell.transform.transformer !== representation_1.StructureRepresentation3D)
|
|
101
104
|
continue;
|
|
102
105
|
var params = r.cell.transform.params;
|
|
103
|
-
if (!!params.type.params.ignoreHydrogens !== ignoreHydrogens || params.type.params.quality !== quality || !(0, mol_util_1.shallowEqual)(params.type.params.material, material)) {
|
|
106
|
+
if (!!params.type.params.ignoreHydrogens !== ignoreHydrogens || params.type.params.quality !== quality || !(0, mol_util_1.shallowEqual)(params.type.params.material, material) || !param_definition_1.ParamDefinition.areEqual(clip_1.Clip.Params, params.type.params.clip, clip)) {
|
|
104
107
|
update.to(r.cell).update(function (old) {
|
|
105
108
|
old.type.params.ignoreHydrogens = ignoreHydrogens;
|
|
106
109
|
old.type.params.quality = quality;
|
|
107
110
|
old.type.params.material = material;
|
|
111
|
+
old.type.params.clip = clip;
|
|
108
112
|
});
|
|
109
113
|
}
|
|
110
114
|
}
|
|
@@ -376,9 +380,9 @@ var StructureComponentManager = /** @class */ (function (_super) {
|
|
|
376
380
|
var _this = this;
|
|
377
381
|
if (components.length === 0)
|
|
378
382
|
return;
|
|
379
|
-
var _a = this.state.options, showHydrogens = _a.showHydrogens, quality = _a.visualQuality, material = _a.materialStyle;
|
|
383
|
+
var _a = this.state.options, showHydrogens = _a.showHydrogens, quality = _a.visualQuality, material = _a.materialStyle, clip = _a.clipObjects;
|
|
380
384
|
var ignoreHydrogens = !showHydrogens;
|
|
381
|
-
var typeParams = { ignoreHydrogens: ignoreHydrogens, quality: quality, material: material };
|
|
385
|
+
var typeParams = { ignoreHydrogens: ignoreHydrogens, quality: quality, material: material, clip: clip };
|
|
382
386
|
return this.plugin.dataTransaction(function () { return (0, tslib_1.__awaiter)(_this, void 0, void 0, function () {
|
|
383
387
|
var _i, components_9, component;
|
|
384
388
|
return (0, tslib_1.__generator)(this, function (_a) {
|
|
@@ -439,16 +443,16 @@ var StructureComponentManager = /** @class */ (function (_super) {
|
|
|
439
443
|
var _this = this;
|
|
440
444
|
return (0, tslib_1.__generator)(this, function (_a) {
|
|
441
445
|
return [2 /*return*/, this.plugin.dataTransaction(function () { return (0, tslib_1.__awaiter)(_this, void 0, void 0, function () {
|
|
442
|
-
var xs, _a, showHydrogens, quality, material, ignoreHydrogens, typeParams, componentKey, _i, xs_1, s, component;
|
|
446
|
+
var xs, _a, showHydrogens, quality, material, clip, ignoreHydrogens, typeParams, componentKey, _i, xs_1, s, component;
|
|
443
447
|
return (0, tslib_1.__generator)(this, function (_b) {
|
|
444
448
|
switch (_b.label) {
|
|
445
449
|
case 0:
|
|
446
450
|
xs = structures || this.currentStructures;
|
|
447
451
|
if (xs.length === 0)
|
|
448
452
|
return [2 /*return*/];
|
|
449
|
-
_a = this.state.options, showHydrogens = _a.showHydrogens, quality = _a.visualQuality, material = _a.materialStyle;
|
|
453
|
+
_a = this.state.options, showHydrogens = _a.showHydrogens, quality = _a.visualQuality, material = _a.materialStyle, clip = _a.clipObjects;
|
|
450
454
|
ignoreHydrogens = !showHydrogens;
|
|
451
|
-
typeParams = { ignoreHydrogens: ignoreHydrogens, quality: quality, material: material };
|
|
455
|
+
typeParams = { ignoreHydrogens: ignoreHydrogens, quality: quality, material: material, clip: clip };
|
|
452
456
|
componentKey = mol_util_1.UUID.create22();
|
|
453
457
|
_i = 0, xs_1 = xs;
|
|
454
458
|
_b.label = 1;
|
|
@@ -625,6 +629,7 @@ exports.StructureComponentManager = StructureComponentManager;
|
|
|
625
629
|
showHydrogens: param_definition_1.ParamDefinition.Boolean(true, { description: 'Toggle display of hydrogen atoms in representations' }),
|
|
626
630
|
visualQuality: param_definition_1.ParamDefinition.Select('auto', base_1.VisualQualityOptions, { description: 'Control the visual/rendering quality of representations' }),
|
|
627
631
|
materialStyle: material_1.Material.getParam(),
|
|
632
|
+
clipObjects: param_definition_1.ParamDefinition.Group(clip_1.Clip.Params),
|
|
628
633
|
interactions: param_definition_1.ParamDefinition.Group(interactions_1.InteractionsProvider.defaultParams, { label: 'Non-covalent Interactions' }),
|
|
629
634
|
};
|
|
630
635
|
function getAddParams(plugin, params) {
|
|
@@ -159,6 +159,10 @@ declare const ModelUnitcell3D: StateTransformer<SO.Molecule.Model, SO.Shape.Repr
|
|
|
159
159
|
roughness: number;
|
|
160
160
|
bumpiness: number;
|
|
161
161
|
}>;
|
|
162
|
+
clip: PD.Normalize<{
|
|
163
|
+
variant: any;
|
|
164
|
+
objects: any;
|
|
165
|
+
}>;
|
|
162
166
|
}>>;
|
|
163
167
|
export { StructureBoundingBox3D };
|
|
164
168
|
declare type StructureBoundingBox3D = typeof StructureBoundingBox3D;
|
|
@@ -177,6 +181,10 @@ declare const StructureBoundingBox3D: StateTransformer<SO.Molecule.Structure, SO
|
|
|
177
181
|
roughness: number;
|
|
178
182
|
bumpiness: number;
|
|
179
183
|
}>;
|
|
184
|
+
clip: PD.Normalize<{
|
|
185
|
+
variant: any;
|
|
186
|
+
objects: any;
|
|
187
|
+
}>;
|
|
180
188
|
radius: number;
|
|
181
189
|
color: Color;
|
|
182
190
|
}>>;
|
|
@@ -214,6 +222,10 @@ declare const StructureSelectionsDistance3D: StateTransformer<SO.Molecule.Struct
|
|
|
214
222
|
roughness: number;
|
|
215
223
|
bumpiness: number;
|
|
216
224
|
}>;
|
|
225
|
+
clip: PD.Normalize<{
|
|
226
|
+
variant: any;
|
|
227
|
+
objects: any;
|
|
228
|
+
}>;
|
|
217
229
|
lineSizeAttenuation: boolean;
|
|
218
230
|
linesColor: Color;
|
|
219
231
|
linesSize: number;
|
|
@@ -252,6 +264,10 @@ declare const StructureSelectionsAngle3D: StateTransformer<SO.Molecule.Structure
|
|
|
252
264
|
roughness: number;
|
|
253
265
|
bumpiness: number;
|
|
254
266
|
}>;
|
|
267
|
+
clip: PD.Normalize<{
|
|
268
|
+
variant: any;
|
|
269
|
+
objects: any;
|
|
270
|
+
}>;
|
|
255
271
|
ignoreLight: boolean;
|
|
256
272
|
sectorOpacity: number;
|
|
257
273
|
color: Color;
|
|
@@ -299,6 +315,10 @@ declare const StructureSelectionsDihedral3D: StateTransformer<SO.Molecule.Struct
|
|
|
299
315
|
roughness: number;
|
|
300
316
|
bumpiness: number;
|
|
301
317
|
}>;
|
|
318
|
+
clip: PD.Normalize<{
|
|
319
|
+
variant: any;
|
|
320
|
+
objects: any;
|
|
321
|
+
}>;
|
|
302
322
|
ignoreLight: boolean;
|
|
303
323
|
sectorOpacity: number;
|
|
304
324
|
color: Color;
|
|
@@ -347,6 +367,10 @@ declare const StructureSelectionsLabel3D: StateTransformer<SO.Molecule.Structure
|
|
|
347
367
|
roughness: number;
|
|
348
368
|
bumpiness: number;
|
|
349
369
|
}>;
|
|
370
|
+
clip: PD.Normalize<{
|
|
371
|
+
variant: any;
|
|
372
|
+
objects: any;
|
|
373
|
+
}>;
|
|
350
374
|
}>>;
|
|
351
375
|
export { StructureSelectionsOrientation3D };
|
|
352
376
|
declare type StructureSelectionsOrientation3D = typeof StructureSelectionsOrientation3D;
|
|
@@ -369,6 +393,10 @@ declare const StructureSelectionsOrientation3D: StateTransformer<SO.Molecule.Str
|
|
|
369
393
|
roughness: number;
|
|
370
394
|
bumpiness: number;
|
|
371
395
|
}>;
|
|
396
|
+
clip: PD.Normalize<{
|
|
397
|
+
variant: any;
|
|
398
|
+
objects: any;
|
|
399
|
+
}>;
|
|
372
400
|
}>>;
|
|
373
401
|
export { StructureSelectionsPlane3D };
|
|
374
402
|
declare type StructureSelectionsPlane3D = typeof StructureSelectionsPlane3D;
|
|
@@ -390,4 +418,8 @@ declare const StructureSelectionsPlane3D: StateTransformer<SO.Molecule.Structure
|
|
|
390
418
|
roughness: number;
|
|
391
419
|
bumpiness: number;
|
|
392
420
|
}>;
|
|
421
|
+
clip: PD.Normalize<{
|
|
422
|
+
variant: any;
|
|
423
|
+
objects: any;
|
|
424
|
+
}>;
|
|
393
425
|
}>>;
|
|
@@ -61,7 +61,7 @@ var SimpleSettingsParams = {
|
|
|
61
61
|
outline: canvas3d_1.Canvas3DParams.postprocessing.params.outline,
|
|
62
62
|
fog: canvas3d_1.Canvas3DParams.cameraFog,
|
|
63
63
|
}, { isFlat: true }),
|
|
64
|
-
clipping: param_definition_1.ParamDefinition.Group((0, tslib_1.__assign)(
|
|
64
|
+
clipping: param_definition_1.ParamDefinition.Group((0, tslib_1.__assign)({}, canvas3d_1.Canvas3DParams.cameraClipping.params), { pivot: 'radius' }),
|
|
65
65
|
layout: param_definition_1.ParamDefinition.MultiSelect([], param_definition_1.ParamDefinition.objectToOptions(LayoutOptions)),
|
|
66
66
|
};
|
|
67
67
|
var SimpleSettingsMapping = (0, param_mapping_1.ParamMapping)({
|
|
@@ -111,7 +111,7 @@ var SimpleSettingsMapping = (0, param_mapping_1.ParamMapping)({
|
|
|
111
111
|
outline: canvas.postprocessing.outline,
|
|
112
112
|
fog: canvas.cameraFog,
|
|
113
113
|
},
|
|
114
|
-
clipping: (0, tslib_1.__assign)(
|
|
114
|
+
clipping: (0, tslib_1.__assign)({}, canvas.cameraClipping)
|
|
115
115
|
};
|
|
116
116
|
},
|
|
117
117
|
update: function (s, props) {
|
|
@@ -128,10 +128,6 @@ var SimpleSettingsMapping = (0, param_mapping_1.ParamMapping)({
|
|
|
128
128
|
radius: s.clipping.radius,
|
|
129
129
|
far: s.clipping.far,
|
|
130
130
|
};
|
|
131
|
-
canvas.renderer.clip = {
|
|
132
|
-
variant: s.clipping.variant,
|
|
133
|
-
objects: s.clipping.objects,
|
|
134
|
-
};
|
|
135
131
|
props.layout = s.layout;
|
|
136
132
|
},
|
|
137
133
|
apply: function (props, ctx) {
|
|
@@ -40,6 +40,16 @@ export declare const AngleParams: {
|
|
|
40
40
|
roughness: number;
|
|
41
41
|
bumpiness: number;
|
|
42
42
|
}>>;
|
|
43
|
+
clip: PD.Group<PD.Normalize<{
|
|
44
|
+
variant: import("../../../mol-util/clip").Clip.Variant;
|
|
45
|
+
objects: PD.Normalize<{
|
|
46
|
+
type: any;
|
|
47
|
+
invert: any;
|
|
48
|
+
position: any;
|
|
49
|
+
rotation: any;
|
|
50
|
+
scale: any;
|
|
51
|
+
}>[];
|
|
52
|
+
}>>;
|
|
43
53
|
ignoreLight: PD.BooleanParam;
|
|
44
54
|
sectorOpacity: PD.Numeric;
|
|
45
55
|
color: PD.Color;
|
|
@@ -40,5 +40,15 @@ export declare const LociLabelTextParams: {
|
|
|
40
40
|
roughness: number;
|
|
41
41
|
bumpiness: number;
|
|
42
42
|
}>>;
|
|
43
|
+
clip: PD.Group<PD.Normalize<{
|
|
44
|
+
variant: import("../../../mol-util/clip").Clip.Variant;
|
|
45
|
+
objects: PD.Normalize<{
|
|
46
|
+
type: any;
|
|
47
|
+
invert: any;
|
|
48
|
+
position: any;
|
|
49
|
+
rotation: any;
|
|
50
|
+
scale: any;
|
|
51
|
+
}>[];
|
|
52
|
+
}>>;
|
|
43
53
|
};
|
|
44
54
|
export declare type LociLabelTextParams = typeof LociLabelTextParams;
|
|
@@ -40,6 +40,16 @@ export declare const DihedralParams: {
|
|
|
40
40
|
roughness: number;
|
|
41
41
|
bumpiness: number;
|
|
42
42
|
}>>;
|
|
43
|
+
clip: PD.Group<PD.Normalize<{
|
|
44
|
+
variant: import("../../../mol-util/clip").Clip.Variant;
|
|
45
|
+
objects: PD.Normalize<{
|
|
46
|
+
type: any;
|
|
47
|
+
invert: any;
|
|
48
|
+
position: any;
|
|
49
|
+
rotation: any;
|
|
50
|
+
scale: any;
|
|
51
|
+
}>[];
|
|
52
|
+
}>>;
|
|
43
53
|
ignoreLight: PD.BooleanParam;
|
|
44
54
|
sectorOpacity: PD.Numeric;
|
|
45
55
|
color: PD.Color;
|
|
@@ -41,6 +41,16 @@ export declare const DistanceParams: {
|
|
|
41
41
|
roughness: number;
|
|
42
42
|
bumpiness: number;
|
|
43
43
|
}>>;
|
|
44
|
+
clip: PD.Group<PD.Normalize<{
|
|
45
|
+
variant: import("../../../mol-util/clip").Clip.Variant;
|
|
46
|
+
objects: PD.Normalize<{
|
|
47
|
+
type: any;
|
|
48
|
+
invert: any;
|
|
49
|
+
position: any;
|
|
50
|
+
rotation: any;
|
|
51
|
+
scale: any;
|
|
52
|
+
}>[];
|
|
53
|
+
}>>;
|
|
44
54
|
lineSizeAttenuation: PD.BooleanParam;
|
|
45
55
|
linesColor: PD.Color;
|
|
46
56
|
linesSize: PD.Numeric;
|
|
@@ -44,6 +44,16 @@ export declare const LabelParams: {
|
|
|
44
44
|
roughness: number;
|
|
45
45
|
bumpiness: number;
|
|
46
46
|
}>>;
|
|
47
|
+
clip: PD.Group<PD.Normalize<{
|
|
48
|
+
variant: import("../../../mol-util/clip").Clip.Variant;
|
|
49
|
+
objects: PD.Normalize<{
|
|
50
|
+
type: any;
|
|
51
|
+
invert: any;
|
|
52
|
+
position: any;
|
|
53
|
+
rotation: any;
|
|
54
|
+
scale: any;
|
|
55
|
+
}>[];
|
|
56
|
+
}>>;
|
|
47
57
|
};
|
|
48
58
|
export declare type LabelParams = typeof LabelParams;
|
|
49
59
|
export declare type LabelProps = PD.Values<LabelParams>;
|
|
@@ -28,6 +28,16 @@ export declare const OrientationParams: {
|
|
|
28
28
|
roughness: number;
|
|
29
29
|
bumpiness: number;
|
|
30
30
|
}>>;
|
|
31
|
+
clip: PD.Group<PD.Normalize<{
|
|
32
|
+
variant: import("../../../mol-util/clip").Clip.Variant;
|
|
33
|
+
objects: PD.Normalize<{
|
|
34
|
+
type: any;
|
|
35
|
+
invert: any;
|
|
36
|
+
position: any;
|
|
37
|
+
rotation: any;
|
|
38
|
+
scale: any;
|
|
39
|
+
}>[];
|
|
40
|
+
}>>;
|
|
31
41
|
};
|
|
32
42
|
export declare type OrientationParams = typeof OrientationParams;
|
|
33
43
|
export declare type OrientationProps = PD.Values<OrientationParams>;
|
|
@@ -27,6 +27,16 @@ export declare const PlaneParams: {
|
|
|
27
27
|
roughness: number;
|
|
28
28
|
bumpiness: number;
|
|
29
29
|
}>>;
|
|
30
|
+
clip: PD.Group<PD.Normalize<{
|
|
31
|
+
variant: import("../../../mol-util/clip").Clip.Variant;
|
|
32
|
+
objects: PD.Normalize<{
|
|
33
|
+
type: any;
|
|
34
|
+
invert: any;
|
|
35
|
+
position: any;
|
|
36
|
+
rotation: any;
|
|
37
|
+
scale: any;
|
|
38
|
+
}>[];
|
|
39
|
+
}>>;
|
|
30
40
|
};
|
|
31
41
|
export declare type PlaneParams = typeof PlaneParams;
|
|
32
42
|
export declare type PlaneProps = PD.Values<PlaneParams>;
|
|
@@ -30,6 +30,16 @@ export declare const UnitcellParams: {
|
|
|
30
30
|
roughness: number;
|
|
31
31
|
bumpiness: number;
|
|
32
32
|
}>>;
|
|
33
|
+
clip: PD.Group<PD.Normalize<{
|
|
34
|
+
variant: import("../../../mol-util/clip").Clip.Variant;
|
|
35
|
+
objects: PD.Normalize<{
|
|
36
|
+
type: any;
|
|
37
|
+
invert: any;
|
|
38
|
+
position: any;
|
|
39
|
+
rotation: any;
|
|
40
|
+
scale: any;
|
|
41
|
+
}>[];
|
|
42
|
+
}>>;
|
|
33
43
|
};
|
|
34
44
|
export declare type UnitcellParams = typeof UnitcellParams;
|
|
35
45
|
export declare type UnitcellProps = PD.Values<UnitcellParams>;
|
|
@@ -56,6 +56,16 @@ export declare const ComplexMeshParams: {
|
|
|
56
56
|
roughness: number;
|
|
57
57
|
bumpiness: number;
|
|
58
58
|
}>>;
|
|
59
|
+
clip: PD.Group<PD.Normalize<{
|
|
60
|
+
variant: import("../../mol-util/clip").Clip.Variant;
|
|
61
|
+
objects: PD.Normalize<{
|
|
62
|
+
type: any;
|
|
63
|
+
invert: any;
|
|
64
|
+
position: any;
|
|
65
|
+
rotation: any;
|
|
66
|
+
scale: any;
|
|
67
|
+
}>[];
|
|
68
|
+
}>>;
|
|
59
69
|
};
|
|
60
70
|
export declare type ComplexMeshParams = typeof ComplexMeshParams;
|
|
61
71
|
export interface ComplexMeshVisualBuilder<P extends ComplexMeshParams> extends ComplexVisualBuilder<P, Mesh> {
|
|
@@ -78,6 +88,16 @@ export declare const ComplexCylindersParams: {
|
|
|
78
88
|
roughness: number;
|
|
79
89
|
bumpiness: number;
|
|
80
90
|
}>>;
|
|
91
|
+
clip: PD.Group<PD.Normalize<{
|
|
92
|
+
variant: import("../../mol-util/clip").Clip.Variant;
|
|
93
|
+
objects: PD.Normalize<{
|
|
94
|
+
type: any;
|
|
95
|
+
invert: any;
|
|
96
|
+
position: any;
|
|
97
|
+
rotation: any;
|
|
98
|
+
scale: any;
|
|
99
|
+
}>[];
|
|
100
|
+
}>>;
|
|
81
101
|
};
|
|
82
102
|
export declare type ComplexCylindersParams = typeof ComplexCylindersParams;
|
|
83
103
|
export interface ComplexCylindersVisualBuilder<P extends ComplexCylindersParams> extends ComplexVisualBuilder<P, Cylinders> {
|
|
@@ -95,6 +115,16 @@ export declare const ComplexLinesParams: {
|
|
|
95
115
|
roughness: number;
|
|
96
116
|
bumpiness: number;
|
|
97
117
|
}>>;
|
|
118
|
+
clip: PD.Group<PD.Normalize<{
|
|
119
|
+
variant: import("../../mol-util/clip").Clip.Variant;
|
|
120
|
+
objects: PD.Normalize<{
|
|
121
|
+
type: any;
|
|
122
|
+
invert: any;
|
|
123
|
+
position: any;
|
|
124
|
+
rotation: any;
|
|
125
|
+
scale: any;
|
|
126
|
+
}>[];
|
|
127
|
+
}>>;
|
|
98
128
|
};
|
|
99
129
|
export declare type ComplexLinesParams = typeof ComplexLinesParams;
|
|
100
130
|
export interface ComplexLinesVisualBuilder<P extends ComplexLinesParams> extends ComplexVisualBuilder<P, Lines> {
|
|
@@ -129,6 +159,16 @@ export declare const ComplexTextParams: {
|
|
|
129
159
|
roughness: number;
|
|
130
160
|
bumpiness: number;
|
|
131
161
|
}>>;
|
|
162
|
+
clip: PD.Group<PD.Normalize<{
|
|
163
|
+
variant: import("../../mol-util/clip").Clip.Variant;
|
|
164
|
+
objects: PD.Normalize<{
|
|
165
|
+
type: any;
|
|
166
|
+
invert: any;
|
|
167
|
+
position: any;
|
|
168
|
+
rotation: any;
|
|
169
|
+
scale: any;
|
|
170
|
+
}>[];
|
|
171
|
+
}>>;
|
|
132
172
|
};
|
|
133
173
|
export declare type ComplexTextParams = typeof ComplexTextParams;
|
|
134
174
|
export interface ComplexTextVisualBuilder<P extends ComplexTextParams> extends ComplexVisualBuilder<P, Text> {
|
|
@@ -167,6 +207,16 @@ export declare const ComplexDirectVolumeParams: {
|
|
|
167
207
|
roughness: number;
|
|
168
208
|
bumpiness: number;
|
|
169
209
|
}>>;
|
|
210
|
+
clip: PD.Group<PD.Normalize<{
|
|
211
|
+
variant: import("../../mol-util/clip").Clip.Variant;
|
|
212
|
+
objects: PD.Normalize<{
|
|
213
|
+
type: any;
|
|
214
|
+
invert: any;
|
|
215
|
+
position: any;
|
|
216
|
+
rotation: any;
|
|
217
|
+
scale: any;
|
|
218
|
+
}>[];
|
|
219
|
+
}>>;
|
|
170
220
|
};
|
|
171
221
|
export declare type ComplexDirectVolumeParams = typeof ComplexDirectVolumeParams;
|
|
172
222
|
export interface ComplexDirectVolumeVisualBuilder<P extends ComplexDirectVolumeParams> extends ComplexVisualBuilder<P, DirectVolume> {
|
|
@@ -189,6 +239,16 @@ export declare const ComplexTextureMeshParams: {
|
|
|
189
239
|
roughness: number;
|
|
190
240
|
bumpiness: number;
|
|
191
241
|
}>>;
|
|
242
|
+
clip: PD.Group<PD.Normalize<{
|
|
243
|
+
variant: import("../../mol-util/clip").Clip.Variant;
|
|
244
|
+
objects: PD.Normalize<{
|
|
245
|
+
type: any;
|
|
246
|
+
invert: any;
|
|
247
|
+
position: any;
|
|
248
|
+
rotation: any;
|
|
249
|
+
scale: any;
|
|
250
|
+
}>[];
|
|
251
|
+
}>>;
|
|
192
252
|
};
|
|
193
253
|
export declare type ComplexTextureMeshParams = typeof ComplexTextureMeshParams;
|
|
194
254
|
export interface ComplexTextureMeshVisualBuilder<P extends ComplexTextureMeshParams> extends ComplexVisualBuilder<P, TextureMesh> {
|
|
@@ -27,6 +27,16 @@ export declare const StructureMeshParams: {
|
|
|
27
27
|
roughness: number;
|
|
28
28
|
bumpiness: number;
|
|
29
29
|
}>>;
|
|
30
|
+
clip: PD.Group<PD.Normalize<{
|
|
31
|
+
variant: import("../../mol-util/clip").Clip.Variant;
|
|
32
|
+
objects: PD.Normalize<{
|
|
33
|
+
type: any;
|
|
34
|
+
invert: any;
|
|
35
|
+
position: any;
|
|
36
|
+
rotation: any;
|
|
37
|
+
scale: any;
|
|
38
|
+
}>[];
|
|
39
|
+
}>>;
|
|
30
40
|
};
|
|
31
41
|
export declare type StructureMeshParams = typeof StructureMeshParams;
|
|
32
42
|
export declare const StructureSpheresParams: {
|
|
@@ -43,6 +53,16 @@ export declare const StructureSpheresParams: {
|
|
|
43
53
|
roughness: number;
|
|
44
54
|
bumpiness: number;
|
|
45
55
|
}>>;
|
|
56
|
+
clip: PD.Group<PD.Normalize<{
|
|
57
|
+
variant: import("../../mol-util/clip").Clip.Variant;
|
|
58
|
+
objects: PD.Normalize<{
|
|
59
|
+
type: any;
|
|
60
|
+
invert: any;
|
|
61
|
+
position: any;
|
|
62
|
+
rotation: any;
|
|
63
|
+
scale: any;
|
|
64
|
+
}>[];
|
|
65
|
+
}>>;
|
|
46
66
|
};
|
|
47
67
|
export declare type StructureSpheresParams = typeof StructureSpheresParams;
|
|
48
68
|
export declare const StructureCylindersParams: {
|
|
@@ -60,6 +80,16 @@ export declare const StructureCylindersParams: {
|
|
|
60
80
|
roughness: number;
|
|
61
81
|
bumpiness: number;
|
|
62
82
|
}>>;
|
|
83
|
+
clip: PD.Group<PD.Normalize<{
|
|
84
|
+
variant: import("../../mol-util/clip").Clip.Variant;
|
|
85
|
+
objects: PD.Normalize<{
|
|
86
|
+
type: any;
|
|
87
|
+
invert: any;
|
|
88
|
+
position: any;
|
|
89
|
+
rotation: any;
|
|
90
|
+
scale: any;
|
|
91
|
+
}>[];
|
|
92
|
+
}>>;
|
|
63
93
|
};
|
|
64
94
|
export declare type StructureCylindersParams = typeof StructureCylindersParams;
|
|
65
95
|
export declare const StructurePointsParams: {
|
|
@@ -73,6 +103,16 @@ export declare const StructurePointsParams: {
|
|
|
73
103
|
roughness: number;
|
|
74
104
|
bumpiness: number;
|
|
75
105
|
}>>;
|
|
106
|
+
clip: PD.Group<PD.Normalize<{
|
|
107
|
+
variant: import("../../mol-util/clip").Clip.Variant;
|
|
108
|
+
objects: PD.Normalize<{
|
|
109
|
+
type: any;
|
|
110
|
+
invert: any;
|
|
111
|
+
position: any;
|
|
112
|
+
rotation: any;
|
|
113
|
+
scale: any;
|
|
114
|
+
}>[];
|
|
115
|
+
}>>;
|
|
76
116
|
};
|
|
77
117
|
export declare type StructurePointsParams = typeof StructurePointsParams;
|
|
78
118
|
export declare const StructureLinesParams: {
|
|
@@ -85,6 +125,16 @@ export declare const StructureLinesParams: {
|
|
|
85
125
|
roughness: number;
|
|
86
126
|
bumpiness: number;
|
|
87
127
|
}>>;
|
|
128
|
+
clip: PD.Group<PD.Normalize<{
|
|
129
|
+
variant: import("../../mol-util/clip").Clip.Variant;
|
|
130
|
+
objects: PD.Normalize<{
|
|
131
|
+
type: any;
|
|
132
|
+
invert: any;
|
|
133
|
+
position: any;
|
|
134
|
+
rotation: any;
|
|
135
|
+
scale: any;
|
|
136
|
+
}>[];
|
|
137
|
+
}>>;
|
|
88
138
|
};
|
|
89
139
|
export declare type StructureLinesParams = typeof StructureLinesParams;
|
|
90
140
|
export declare const StructureTextParams: {
|
|
@@ -114,6 +164,16 @@ export declare const StructureTextParams: {
|
|
|
114
164
|
roughness: number;
|
|
115
165
|
bumpiness: number;
|
|
116
166
|
}>>;
|
|
167
|
+
clip: PD.Group<PD.Normalize<{
|
|
168
|
+
variant: import("../../mol-util/clip").Clip.Variant;
|
|
169
|
+
objects: PD.Normalize<{
|
|
170
|
+
type: any;
|
|
171
|
+
invert: any;
|
|
172
|
+
position: any;
|
|
173
|
+
rotation: any;
|
|
174
|
+
scale: any;
|
|
175
|
+
}>[];
|
|
176
|
+
}>>;
|
|
117
177
|
};
|
|
118
178
|
export declare type StructureTextParams = typeof StructureTextParams;
|
|
119
179
|
export declare const StructureDirectVolumeParams: {
|
|
@@ -147,6 +207,16 @@ export declare const StructureDirectVolumeParams: {
|
|
|
147
207
|
roughness: number;
|
|
148
208
|
bumpiness: number;
|
|
149
209
|
}>>;
|
|
210
|
+
clip: PD.Group<PD.Normalize<{
|
|
211
|
+
variant: import("../../mol-util/clip").Clip.Variant;
|
|
212
|
+
objects: PD.Normalize<{
|
|
213
|
+
type: any;
|
|
214
|
+
invert: any;
|
|
215
|
+
position: any;
|
|
216
|
+
rotation: any;
|
|
217
|
+
scale: any;
|
|
218
|
+
}>[];
|
|
219
|
+
}>>;
|
|
150
220
|
};
|
|
151
221
|
export declare type StructureDirectVolumeParams = typeof StructureDirectVolumeParams;
|
|
152
222
|
export declare const StructureTextureMeshParams: {
|
|
@@ -164,5 +234,15 @@ export declare const StructureTextureMeshParams: {
|
|
|
164
234
|
roughness: number;
|
|
165
235
|
bumpiness: number;
|
|
166
236
|
}>>;
|
|
237
|
+
clip: PD.Group<PD.Normalize<{
|
|
238
|
+
variant: import("../../mol-util/clip").Clip.Variant;
|
|
239
|
+
objects: PD.Normalize<{
|
|
240
|
+
type: any;
|
|
241
|
+
invert: any;
|
|
242
|
+
position: any;
|
|
243
|
+
rotation: any;
|
|
244
|
+
scale: any;
|
|
245
|
+
}>[];
|
|
246
|
+
}>>;
|
|
167
247
|
};
|
|
168
248
|
export declare type StructureTextureMeshParams = typeof StructureTextureMeshParams;
|