molstar 3.44.0 → 3.45.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/build/viewer/molstar.css +1 -1
- package/build/viewer/molstar.js +1 -1
- package/lib/cli/cifschema/index.js +2 -2
- package/lib/commonjs/cli/cifschema/index.js +2 -2
- package/lib/commonjs/extensions/anvil/behavior.d.ts +1 -1
- package/lib/commonjs/extensions/anvil/representation.d.ts +4 -4
- package/lib/commonjs/extensions/cellpack/representation.d.ts +1 -1
- package/lib/commonjs/extensions/dnatco/confal-pyramids/representation.d.ts +3 -3
- package/lib/commonjs/extensions/dnatco/ntc-tube/representation.d.ts +3 -3
- package/lib/commonjs/extensions/mvs/behavior.d.ts +1 -1
- package/lib/commonjs/extensions/mvs/behavior.js +3 -1
- package/lib/commonjs/extensions/mvs/components/annotation-color-theme.d.ts +1 -1
- package/lib/commonjs/extensions/mvs/components/annotation-color-theme.js +3 -2
- package/lib/commonjs/extensions/mvs/components/annotation-label/representation.d.ts +3 -1
- package/lib/commonjs/extensions/mvs/components/annotation-label/representation.js +3 -2
- package/lib/commonjs/extensions/mvs/components/annotation-prop.d.ts +1 -1
- package/lib/commonjs/extensions/mvs/components/annotation-prop.js +2 -2
- package/lib/commonjs/extensions/mvs/components/custom-label/representation.d.ts +1 -1
- package/lib/commonjs/extensions/mvs/components/custom-label/representation.js +4 -3
- package/lib/commonjs/extensions/mvs/components/custom-tooltips-prop.d.ts +1 -1
- package/lib/commonjs/extensions/mvs/components/custom-tooltips-prop.js +2 -2
- package/lib/commonjs/extensions/mvs/components/is-mvs-model-prop.d.ts +21 -0
- package/lib/commonjs/extensions/mvs/components/is-mvs-model-prop.js +40 -0
- package/lib/commonjs/extensions/mvs/components/multilayer-color-theme.d.ts +1 -1
- package/lib/commonjs/extensions/mvs/components/multilayer-color-theme.js +4 -3
- package/lib/commonjs/extensions/mvs/load.d.ts +1 -1
- package/lib/commonjs/extensions/mvs/load.js +5 -2
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +1 -1
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.d.ts +1 -1
- package/lib/commonjs/extensions/rcsb/graphql/types.d.ts +160 -1
- package/lib/commonjs/extensions/rcsb/validation-report/representation.d.ts +10 -5
- package/lib/commonjs/mol-canvas3d/helper/handle-helper.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/color-data.d.ts +1 -0
- package/lib/commonjs/mol-geo/geometry/color-data.js +15 -8
- package/lib/commonjs/mol-geo/geometry/cylinders/cylinders-builder.d.ts +9 -3
- package/lib/commonjs/mol-geo/geometry/cylinders/cylinders-builder.js +13 -6
- package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +11 -2
- package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.js +14 -9
- package/lib/commonjs/mol-geo/geometry/mesh/mesh.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +1 -1
- package/lib/commonjs/mol-geo/util/location-iterator.d.ts +4 -1
- package/lib/commonjs/mol-geo/util/location-iterator.js +8 -1
- package/lib/commonjs/mol-gl/renderable/cylinders.d.ts +2 -0
- package/lib/commonjs/mol-gl/renderable/cylinders.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/cylinders.vert.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/cylinders.vert.js +2 -2
- package/lib/commonjs/mol-io/reader/cif/schema/bird.d.ts +1 -1
- package/lib/commonjs/mol-io/reader/cif/schema/bird.js +1 -1
- package/lib/commonjs/mol-io/reader/cif/schema/ccd.d.ts +1 -1
- package/lib/commonjs/mol-io/reader/cif/schema/ccd.js +1 -1
- package/lib/commonjs/mol-io/reader/cif/schema/mmcif.d.ts +2 -2
- package/lib/commonjs/mol-io/reader/cif/schema/mmcif.js +1 -1
- package/lib/commonjs/mol-model/structure/model/types/saccharides.js +1 -1
- package/lib/commonjs/mol-model-formats/shape/ply.d.ts +2 -2
- package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +2 -1
- package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +2 -1
- package/lib/commonjs/mol-model-props/computed/representations/interactions.d.ts +6 -3
- package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.d.ts +8 -4
- package/lib/commonjs/mol-plugin/behavior/dynamic/representation.d.ts +1 -1
- package/lib/commonjs/mol-plugin/behavior/dynamic/representation.js +12 -6
- package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +9 -7
- package/lib/commonjs/mol-plugin-state/transforms/representation.js +16 -10
- package/lib/commonjs/mol-plugin-ui/controls/parameters.d.ts +2 -3
- package/lib/commonjs/mol-plugin-ui/controls/parameters.js +48 -12
- package/lib/commonjs/mol-plugin-ui/controls.d.ts +2 -2
- package/lib/commonjs/mol-plugin-ui/controls.js +7 -2
- package/lib/commonjs/mol-repr/shape/loci/angle.d.ts +1 -1
- package/lib/commonjs/mol-repr/shape/loci/dihedral.d.ts +1 -1
- package/lib/commonjs/mol-repr/shape/loci/label.d.ts +4 -1
- package/lib/commonjs/mol-repr/shape/loci/label.js +16 -9
- package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +1 -1
- package/lib/commonjs/mol-repr/shape/loci/plane.d.ts +1 -1
- package/lib/commonjs/mol-repr/shape/model/unitcell.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +7 -5
- package/lib/commonjs/mol-repr/structure/complex-visual.js +3 -2
- package/lib/commonjs/mol-repr/structure/params.d.ts +5 -4
- package/lib/commonjs/mol-repr/structure/registry.d.ts +15 -10
- package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +6 -3
- package/lib/commonjs/mol-repr/structure/representation/backbone.js +1 -1
- package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +6 -3
- package/lib/commonjs/mol-repr/structure/representation/carbohydrate.d.ts +6 -3
- package/lib/commonjs/mol-repr/structure/representation/cartoon.d.ts +6 -3
- package/lib/commonjs/mol-repr/structure/representation/cartoon.js +1 -1
- package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +6 -3
- package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +3 -3
- package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +3 -3
- package/lib/commonjs/mol-repr/structure/representation/orientation.d.ts +3 -3
- package/lib/commonjs/mol-repr/structure/representation/putty.d.ts +3 -3
- package/lib/commonjs/mol-repr/structure/representation/spacefill.d.ts +3 -3
- package/lib/commonjs/mol-repr/structure/units-visual.d.ts +7 -5
- package/lib/commonjs/mol-repr/structure/units-visual.js +3 -2
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +5 -2
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.js +8 -2
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.js +1 -1
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +5 -2
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.js +8 -2
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.js +1 -1
- package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +2 -1
- package/lib/commonjs/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +2 -1
- package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +4 -4
- package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +4 -4
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/visual/nucleotide-atomic-bond.d.ts +4 -2
- package/lib/commonjs/mol-repr/structure/visual/nucleotide-atomic-bond.js +27 -26
- package/lib/commonjs/mol-repr/structure/visual/nucleotide-atomic-element.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/nucleotide-atomic-ring-fill.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +4 -2
- package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.js +4 -4
- package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -2
- package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.js +2 -2
- package/lib/commonjs/mol-repr/structure/visual/polymer-direction-wedge.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/visual/polymer-direction-wedge.js +1 -1
- package/lib/commonjs/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.js +1 -1
- package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.d.ts +1 -1
- package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.js +1 -1
- package/lib/commonjs/mol-repr/structure/visual/util/bond.d.ts +9 -2
- package/lib/commonjs/mol-repr/structure/visual/util/bond.js +28 -2
- package/lib/commonjs/mol-repr/structure/visual/util/link.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/util/link.js +16 -13
- package/lib/commonjs/mol-repr/structure/visual/util/polymer.d.ts +3 -1
- package/lib/commonjs/mol-repr/structure/visual/util/polymer.js +2 -2
- package/lib/commonjs/mol-repr/volume/isosurface.d.ts +5 -5
- package/lib/commonjs/mol-repr/volume/registry.d.ts +2 -2
- package/lib/commonjs/mol-repr/volume/segment.d.ts +5 -5
- package/lib/commonjs/mol-util/param-definition.d.ts +9 -2
- package/lib/commonjs/mol-util/param-definition.js +2 -2
- package/lib/extensions/anvil/behavior.d.ts +1 -1
- package/lib/extensions/anvil/representation.d.ts +4 -4
- package/lib/extensions/cellpack/representation.d.ts +1 -1
- package/lib/extensions/dnatco/confal-pyramids/representation.d.ts +3 -3
- package/lib/extensions/dnatco/ntc-tube/representation.d.ts +3 -3
- package/lib/extensions/mvs/behavior.d.ts +1 -1
- package/lib/extensions/mvs/behavior.js +3 -1
- package/lib/extensions/mvs/components/annotation-color-theme.d.ts +1 -1
- package/lib/extensions/mvs/components/annotation-color-theme.js +3 -2
- package/lib/extensions/mvs/components/annotation-label/representation.d.ts +3 -1
- package/lib/extensions/mvs/components/annotation-label/representation.js +3 -2
- package/lib/extensions/mvs/components/annotation-prop.d.ts +1 -1
- package/lib/extensions/mvs/components/annotation-prop.js +2 -2
- package/lib/extensions/mvs/components/custom-label/representation.d.ts +1 -1
- package/lib/extensions/mvs/components/custom-label/representation.js +4 -3
- package/lib/extensions/mvs/components/custom-tooltips-prop.d.ts +1 -1
- package/lib/extensions/mvs/components/custom-tooltips-prop.js +2 -2
- package/lib/extensions/mvs/components/is-mvs-model-prop.d.ts +21 -0
- package/lib/extensions/mvs/components/is-mvs-model-prop.js +35 -0
- package/lib/extensions/mvs/components/multilayer-color-theme.d.ts +1 -1
- package/lib/extensions/mvs/components/multilayer-color-theme.js +4 -3
- package/lib/extensions/mvs/load.d.ts +1 -1
- package/lib/extensions/mvs/load.js +5 -2
- package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +1 -1
- package/lib/extensions/rcsb/assembly-symmetry/representation.d.ts +1 -1
- package/lib/extensions/rcsb/graphql/types.d.ts +160 -1
- package/lib/extensions/rcsb/validation-report/representation.d.ts +10 -5
- package/lib/mol-canvas3d/helper/handle-helper.d.ts +1 -1
- package/lib/mol-geo/geometry/color-data.d.ts +1 -0
- package/lib/mol-geo/geometry/color-data.js +15 -8
- package/lib/mol-geo/geometry/cylinders/cylinders-builder.d.ts +9 -3
- package/lib/mol-geo/geometry/cylinders/cylinders-builder.js +13 -6
- package/lib/mol-geo/geometry/cylinders/cylinders.d.ts +11 -2
- package/lib/mol-geo/geometry/cylinders/cylinders.js +14 -9
- package/lib/mol-geo/geometry/mesh/mesh.d.ts +1 -1
- package/lib/mol-geo/geometry/spheres/spheres.d.ts +1 -1
- package/lib/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +1 -1
- package/lib/mol-geo/util/location-iterator.d.ts +4 -1
- package/lib/mol-geo/util/location-iterator.js +8 -1
- package/lib/mol-gl/renderable/cylinders.d.ts +2 -0
- package/lib/mol-gl/renderable/cylinders.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/cylinders.vert.d.ts +2 -2
- package/lib/mol-gl/shader/cylinders.vert.js +2 -2
- package/lib/mol-io/reader/cif/schema/bird.d.ts +1 -1
- package/lib/mol-io/reader/cif/schema/bird.js +1 -1
- package/lib/mol-io/reader/cif/schema/ccd.d.ts +1 -1
- package/lib/mol-io/reader/cif/schema/ccd.js +1 -1
- package/lib/mol-io/reader/cif/schema/mmcif.d.ts +2 -2
- package/lib/mol-io/reader/cif/schema/mmcif.js +1 -1
- package/lib/mol-model/structure/model/types/saccharides.js +1 -1
- package/lib/mol-model-formats/shape/ply.d.ts +2 -2
- package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +2 -1
- package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +2 -1
- package/lib/mol-model-props/computed/representations/interactions.d.ts +6 -3
- package/lib/mol-model-props/integrative/cross-link-restraint/representation.d.ts +8 -4
- package/lib/mol-plugin/behavior/dynamic/representation.d.ts +1 -1
- package/lib/mol-plugin/behavior/dynamic/representation.js +12 -6
- package/lib/mol-plugin/version.js +2 -2
- package/lib/mol-plugin-state/transforms/representation.d.ts +9 -7
- package/lib/mol-plugin-state/transforms/representation.js +16 -10
- package/lib/mol-plugin-ui/controls/parameters.d.ts +2 -3
- package/lib/mol-plugin-ui/controls/parameters.js +48 -12
- package/lib/mol-plugin-ui/controls.d.ts +2 -2
- package/lib/mol-plugin-ui/controls.js +7 -2
- package/lib/mol-plugin-ui/skin/base/components/controls.scss +14 -3
- package/lib/mol-plugin-ui/skin/base/components/viewport.scss +9 -3
- package/lib/mol-repr/shape/loci/angle.d.ts +1 -1
- package/lib/mol-repr/shape/loci/dihedral.d.ts +1 -1
- package/lib/mol-repr/shape/loci/label.d.ts +4 -1
- package/lib/mol-repr/shape/loci/label.js +16 -9
- package/lib/mol-repr/shape/loci/orientation.d.ts +1 -1
- package/lib/mol-repr/shape/loci/plane.d.ts +1 -1
- package/lib/mol-repr/shape/model/unitcell.d.ts +1 -1
- package/lib/mol-repr/structure/complex-visual.d.ts +7 -5
- package/lib/mol-repr/structure/complex-visual.js +3 -2
- package/lib/mol-repr/structure/params.d.ts +5 -4
- package/lib/mol-repr/structure/registry.d.ts +15 -10
- package/lib/mol-repr/structure/representation/backbone.d.ts +6 -3
- package/lib/mol-repr/structure/representation/backbone.js +1 -1
- package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +6 -3
- package/lib/mol-repr/structure/representation/carbohydrate.d.ts +6 -3
- package/lib/mol-repr/structure/representation/cartoon.d.ts +6 -3
- package/lib/mol-repr/structure/representation/cartoon.js +1 -1
- package/lib/mol-repr/structure/representation/ellipsoid.d.ts +6 -3
- package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +3 -3
- package/lib/mol-repr/structure/representation/molecular-surface.d.ts +3 -3
- package/lib/mol-repr/structure/representation/orientation.d.ts +3 -3
- package/lib/mol-repr/structure/representation/putty.d.ts +3 -3
- package/lib/mol-repr/structure/representation/spacefill.d.ts +3 -3
- package/lib/mol-repr/structure/units-visual.d.ts +7 -5
- package/lib/mol-repr/structure/units-visual.js +3 -2
- package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +5 -2
- package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.js +8 -2
- package/lib/mol-repr/structure/visual/bond-inter-unit-line.js +1 -1
- package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +5 -2
- package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.js +8 -2
- package/lib/mol-repr/structure/visual/bond-intra-unit-line.js +1 -1
- package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +2 -1
- package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +1 -1
- package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +2 -1
- package/lib/mol-repr/structure/visual/element-sphere.d.ts +4 -4
- package/lib/mol-repr/structure/visual/ellipsoid-mesh.d.ts +1 -1
- package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +4 -4
- package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -1
- package/lib/mol-repr/structure/visual/nucleotide-atomic-bond.d.ts +4 -2
- package/lib/mol-repr/structure/visual/nucleotide-atomic-bond.js +27 -26
- package/lib/mol-repr/structure/visual/nucleotide-atomic-element.d.ts +2 -2
- package/lib/mol-repr/structure/visual/nucleotide-atomic-ring-fill.d.ts +1 -1
- package/lib/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +1 -1
- package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +1 -1
- package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +1 -1
- package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +4 -2
- package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.js +4 -4
- package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -2
- package/lib/mol-repr/structure/visual/polymer-backbone-sphere.js +2 -2
- package/lib/mol-repr/structure/visual/polymer-direction-wedge.d.ts +1 -1
- package/lib/mol-repr/structure/visual/polymer-direction-wedge.js +1 -1
- package/lib/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +1 -1
- package/lib/mol-repr/structure/visual/polymer-trace-mesh.d.ts +1 -1
- package/lib/mol-repr/structure/visual/polymer-trace-mesh.js +1 -1
- package/lib/mol-repr/structure/visual/polymer-tube-mesh.d.ts +1 -1
- package/lib/mol-repr/structure/visual/polymer-tube-mesh.js +1 -1
- package/lib/mol-repr/structure/visual/util/bond.d.ts +9 -2
- package/lib/mol-repr/structure/visual/util/bond.js +28 -2
- package/lib/mol-repr/structure/visual/util/link.d.ts +2 -0
- package/lib/mol-repr/structure/visual/util/link.js +16 -13
- package/lib/mol-repr/structure/visual/util/polymer.d.ts +3 -1
- package/lib/mol-repr/structure/visual/util/polymer.js +2 -2
- package/lib/mol-repr/volume/isosurface.d.ts +5 -5
- package/lib/mol-repr/volume/registry.d.ts +2 -2
- package/lib/mol-repr/volume/segment.d.ts +5 -5
- package/lib/mol-util/param-definition.d.ts +9 -2
- package/lib/mol-util/param-definition.js +2 -2
- package/package.json +33 -21
|
@@ -19,7 +19,7 @@ export declare const OrientationParams: {
|
|
|
19
19
|
flatShaded: PD.BooleanParam;
|
|
20
20
|
ignoreLight: PD.BooleanParam;
|
|
21
21
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
22
|
-
transparentBackfaces: PD.Select<
|
|
22
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
23
23
|
bumpFrequency: PD.Numeric;
|
|
24
24
|
bumpAmplitude: PD.Numeric;
|
|
25
25
|
alpha: PD.Numeric;
|
|
@@ -18,7 +18,7 @@ export declare const PlaneParams: {
|
|
|
18
18
|
flatShaded: PD.BooleanParam;
|
|
19
19
|
ignoreLight: PD.BooleanParam;
|
|
20
20
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
21
|
-
transparentBackfaces: PD.Select<
|
|
21
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
22
22
|
bumpFrequency: PD.Numeric;
|
|
23
23
|
bumpAmplitude: PD.Numeric;
|
|
24
24
|
alpha: PD.Numeric;
|
|
@@ -21,7 +21,7 @@ export declare const UnitcellParams: {
|
|
|
21
21
|
flatShaded: PD.BooleanParam;
|
|
22
22
|
ignoreLight: PD.BooleanParam;
|
|
23
23
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
24
|
-
transparentBackfaces: PD.Select<
|
|
24
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
25
25
|
bumpFrequency: PD.Numeric;
|
|
26
26
|
bumpAmplitude: PD.Numeric;
|
|
27
27
|
alpha: PD.Numeric;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2018-2023 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
3
|
*
|
|
4
4
|
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
5
|
+
* @author Gianluca Tomasello <giagitom@gmail.com>
|
|
5
6
|
*/
|
|
6
7
|
import { ParamDefinition as PD } from '../../mol-util/param-definition';
|
|
7
8
|
import { Visual, VisualContext } from '../visual';
|
|
@@ -28,7 +29,7 @@ export interface ComplexVisual<P extends StructureParams> extends Visual<Structu
|
|
|
28
29
|
interface ComplexVisualBuilder<P extends StructureParams, G extends Geometry> {
|
|
29
30
|
defaultProps: PD.Values<P>;
|
|
30
31
|
createGeometry(ctx: VisualContext, structure: Structure, theme: Theme, props: PD.Values<P>, geometry?: G): Promise<G> | G;
|
|
31
|
-
createLocationIterator(structure: Structure): LocationIterator;
|
|
32
|
+
createLocationIterator(structure: Structure, props: PD.Values<P>): LocationIterator;
|
|
32
33
|
getLoci(pickingId: PickingId, structure: Structure, id: number): Loci;
|
|
33
34
|
eachLocation(loci: Loci, structure: Structure, apply: (interval: Interval) => boolean, isMarking: boolean): boolean;
|
|
34
35
|
setUpdateState(state: VisualUpdateState, newProps: PD.Values<P>, currentProps: PD.Values<P>, newTheme: Theme, currentTheme: Theme, newStructure: Structure, currentStructure: Structure): void;
|
|
@@ -48,7 +49,7 @@ export declare const ComplexMeshParams: {
|
|
|
48
49
|
flatShaded: PD.BooleanParam;
|
|
49
50
|
ignoreLight: PD.BooleanParam;
|
|
50
51
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
51
|
-
transparentBackfaces: PD.Select<
|
|
52
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
52
53
|
bumpFrequency: PD.Numeric;
|
|
53
54
|
bumpAmplitude: PD.Numeric;
|
|
54
55
|
alpha: PD.Numeric;
|
|
@@ -81,7 +82,7 @@ export declare const ComplexSpheresParams: {
|
|
|
81
82
|
doubleSided: PD.BooleanParam;
|
|
82
83
|
ignoreLight: PD.BooleanParam;
|
|
83
84
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
84
|
-
transparentBackfaces: PD.Select<
|
|
85
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
85
86
|
solidInterior: PD.BooleanParam;
|
|
86
87
|
clipPrimitive: PD.BooleanParam;
|
|
87
88
|
approximate: PD.BooleanParam;
|
|
@@ -119,10 +120,11 @@ export declare const ComplexCylindersParams: {
|
|
|
119
120
|
doubleSided: PD.BooleanParam;
|
|
120
121
|
ignoreLight: PD.BooleanParam;
|
|
121
122
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
122
|
-
transparentBackfaces: PD.Select<
|
|
123
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
123
124
|
solidInterior: PD.BooleanParam;
|
|
124
125
|
bumpFrequency: PD.Numeric;
|
|
125
126
|
bumpAmplitude: PD.Numeric;
|
|
127
|
+
colorMode: PD.Select<"default" | "interpolate">;
|
|
126
128
|
alpha: PD.Numeric;
|
|
127
129
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
128
130
|
material: PD.Group<PD.Normalize<{
|
|
@@ -258,7 +260,7 @@ export declare const ComplexTextureMeshParams: {
|
|
|
258
260
|
flatShaded: PD.BooleanParam;
|
|
259
261
|
ignoreLight: PD.BooleanParam;
|
|
260
262
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
261
|
-
transparentBackfaces: PD.Select<
|
|
263
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
262
264
|
bumpFrequency: PD.Numeric;
|
|
263
265
|
bumpAmplitude: PD.Numeric;
|
|
264
266
|
alpha: PD.Numeric;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2018-2023 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
3
|
*
|
|
4
4
|
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
5
|
+
* @author Gianluca Tomasello <giagitom@gmail.com>
|
|
5
6
|
*/
|
|
6
7
|
import { __assign } from "tslib";
|
|
7
8
|
import { Visual } from '../visual';
|
|
@@ -96,7 +97,7 @@ export function ComplexVisual(builder, materialId) {
|
|
|
96
97
|
}
|
|
97
98
|
function update(newGeometry) {
|
|
98
99
|
if (updateState.createNew) {
|
|
99
|
-
locationIt = createLocationIterator(newStructure);
|
|
100
|
+
locationIt = createLocationIterator(newStructure, newProps);
|
|
100
101
|
if (newGeometry) {
|
|
101
102
|
renderObject = createComplexRenderObject(newStructure, newGeometry, locationIt, newTheme, newProps, materialId);
|
|
102
103
|
positionIt = createPositionIterator(newGeometry, renderObject.values);
|
|
@@ -111,7 +112,7 @@ export function ComplexVisual(builder, materialId) {
|
|
|
111
112
|
}
|
|
112
113
|
if (updateState.updateTransform) {
|
|
113
114
|
// console.log('update transform')
|
|
114
|
-
locationIt = createLocationIterator(newStructure);
|
|
115
|
+
locationIt = createLocationIterator(newStructure, newProps);
|
|
115
116
|
var instanceCount = locationIt.instanceCount, groupCount = locationIt.groupCount;
|
|
116
117
|
if (newProps.instanceGranularity) {
|
|
117
118
|
createMarkers(instanceCount, 'instance', renderObject.values);
|
|
@@ -18,7 +18,7 @@ export declare const StructureMeshParams: {
|
|
|
18
18
|
flatShaded: PD.BooleanParam;
|
|
19
19
|
ignoreLight: PD.BooleanParam;
|
|
20
20
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
21
|
-
transparentBackfaces: PD.Select<
|
|
21
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
22
22
|
bumpFrequency: PD.Numeric;
|
|
23
23
|
bumpAmplitude: PD.Numeric;
|
|
24
24
|
alpha: PD.Numeric;
|
|
@@ -46,7 +46,7 @@ export declare const StructureSpheresParams: {
|
|
|
46
46
|
doubleSided: PD.BooleanParam;
|
|
47
47
|
ignoreLight: PD.BooleanParam;
|
|
48
48
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
49
|
-
transparentBackfaces: PD.Select<
|
|
49
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
50
50
|
solidInterior: PD.BooleanParam;
|
|
51
51
|
clipPrimitive: PD.BooleanParam;
|
|
52
52
|
approximate: PD.BooleanParam;
|
|
@@ -79,10 +79,11 @@ export declare const StructureCylindersParams: {
|
|
|
79
79
|
doubleSided: PD.BooleanParam;
|
|
80
80
|
ignoreLight: PD.BooleanParam;
|
|
81
81
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
82
|
-
transparentBackfaces: PD.Select<
|
|
82
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
83
83
|
solidInterior: PD.BooleanParam;
|
|
84
84
|
bumpFrequency: PD.Numeric;
|
|
85
85
|
bumpAmplitude: PD.Numeric;
|
|
86
|
+
colorMode: PD.Select<"default" | "interpolate">;
|
|
86
87
|
alpha: PD.Numeric;
|
|
87
88
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
88
89
|
material: PD.Group<PD.Normalize<{
|
|
@@ -222,7 +223,7 @@ export declare const StructureTextureMeshParams: {
|
|
|
222
223
|
flatShaded: PD.BooleanParam;
|
|
223
224
|
ignoreLight: PD.BooleanParam;
|
|
224
225
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
225
|
-
transparentBackfaces: PD.Select<
|
|
226
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
226
227
|
bumpFrequency: PD.Numeric;
|
|
227
228
|
bumpAmplitude: PD.Numeric;
|
|
228
229
|
alpha: PD.Numeric;
|
|
@@ -15,6 +15,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
15
15
|
sizeFactor: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
16
16
|
visuals: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"polymer-trace" | "polymer-gap" | "nucleotide-ring" | "nucleotide-atomic-ring-fill" | "nucleotide-atomic-bond" | "nucleotide-atomic-element" | "nucleotide-block" | "direction-wedge">;
|
|
17
17
|
bumpFrequency: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
18
|
+
colorMode: import("../../mol-util/param-definition").ParamDefinition.Select<"default" | "interpolate">;
|
|
18
19
|
unitKinds: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
19
20
|
includeParent: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
20
21
|
doubleSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
@@ -22,7 +23,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
22
23
|
flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
23
24
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
24
25
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.Select<boolean | "inverted">;
|
|
25
|
-
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<
|
|
26
|
+
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<"on" | "off" | "opaque">;
|
|
26
27
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
27
28
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
28
29
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -62,6 +63,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
62
63
|
sizeAspectRatio: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
63
64
|
visuals: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"polymer-gap" | "polymer-backbone-cylinder" | "polymer-backbone-sphere">;
|
|
64
65
|
bumpFrequency: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
66
|
+
colorMode: import("../../mol-util/param-definition").ParamDefinition.Select<"default" | "interpolate">;
|
|
65
67
|
sizeFactor: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
66
68
|
radialSegments: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
67
69
|
unitKinds: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
@@ -71,7 +73,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
71
73
|
flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
72
74
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
73
75
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.Select<boolean | "inverted">;
|
|
74
|
-
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<
|
|
76
|
+
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<"on" | "off" | "opaque">;
|
|
75
77
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
76
78
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
77
79
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -124,10 +126,11 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
124
126
|
dashCap: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
125
127
|
stubCap: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
126
128
|
radialSegments: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
129
|
+
colorMode: import("../../mol-util/param-definition").ParamDefinition.Select<"default" | "interpolate">;
|
|
127
130
|
doubleSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
128
131
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
129
132
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.Select<boolean | "inverted">;
|
|
130
|
-
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<
|
|
133
|
+
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<"on" | "off" | "opaque">;
|
|
131
134
|
solidInterior: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
132
135
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
133
136
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
@@ -172,6 +175,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
172
175
|
dashCap: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
173
176
|
stubCap: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
174
177
|
radialSegments: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
178
|
+
colorMode: import("../../mol-util/param-definition").ParamDefinition.Select<"default" | "interpolate">;
|
|
175
179
|
unitKinds: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
176
180
|
includeParent: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
177
181
|
doubleSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
@@ -179,7 +183,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
179
183
|
flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
180
184
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
181
185
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.Select<boolean | "inverted">;
|
|
182
|
-
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<
|
|
186
|
+
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<"on" | "off" | "opaque">;
|
|
183
187
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
184
188
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
185
189
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -229,10 +233,11 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
229
233
|
dashCap: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
230
234
|
stubCap: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
231
235
|
radialSegments: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
236
|
+
colorMode: import("../../mol-util/param-definition").ParamDefinition.Select<"default" | "interpolate">;
|
|
232
237
|
doubleSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
233
238
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
234
239
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.Select<boolean | "inverted">;
|
|
235
|
-
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<
|
|
240
|
+
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<"on" | "off" | "opaque">;
|
|
236
241
|
solidInterior: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
237
242
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
238
243
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
@@ -298,7 +303,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
298
303
|
flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
299
304
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
300
305
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.Select<boolean | "inverted">;
|
|
301
|
-
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<
|
|
306
|
+
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<"on" | "off" | "opaque">;
|
|
302
307
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
303
308
|
}, "gaussian-surface">;
|
|
304
309
|
'gaussian-volume': import("./representation").StructureRepresentationProvider<{
|
|
@@ -464,7 +469,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
464
469
|
flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
465
470
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
466
471
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.Select<boolean | "inverted">;
|
|
467
|
-
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<
|
|
472
|
+
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<"on" | "off" | "opaque">;
|
|
468
473
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
469
474
|
}, "molecular-surface">;
|
|
470
475
|
orientation: import("./representation").StructureRepresentationProvider<{
|
|
@@ -479,7 +484,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
479
484
|
flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
480
485
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
481
486
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.Select<boolean | "inverted">;
|
|
482
|
-
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<
|
|
487
|
+
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<"on" | "off" | "opaque">;
|
|
483
488
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
484
489
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
485
490
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -541,7 +546,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
541
546
|
flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
542
547
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
543
548
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.Select<boolean | "inverted">;
|
|
544
|
-
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<
|
|
549
|
+
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<"on" | "off" | "opaque">;
|
|
545
550
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
546
551
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
547
552
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -579,7 +584,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
579
584
|
doubleSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
580
585
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
581
586
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.Select<boolean | "inverted">;
|
|
582
|
-
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<
|
|
587
|
+
transparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.Select<"on" | "off" | "opaque">;
|
|
583
588
|
solidInterior: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
584
589
|
clipPrimitive: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
585
590
|
approximate: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
@@ -12,6 +12,7 @@ export declare const BackboneParams: {
|
|
|
12
12
|
sizeAspectRatio: PD.Numeric;
|
|
13
13
|
visuals: PD.MultiSelect<"polymer-gap" | "polymer-backbone-cylinder" | "polymer-backbone-sphere">;
|
|
14
14
|
bumpFrequency: PD.Numeric;
|
|
15
|
+
colorMode: PD.Select<"default" | "interpolate">;
|
|
15
16
|
sizeFactor: PD.Numeric;
|
|
16
17
|
radialSegments: PD.Numeric;
|
|
17
18
|
unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
@@ -21,7 +22,7 @@ export declare const BackboneParams: {
|
|
|
21
22
|
flatShaded: PD.BooleanParam;
|
|
22
23
|
ignoreLight: PD.BooleanParam;
|
|
23
24
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
24
|
-
transparentBackfaces: PD.Select<
|
|
25
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
25
26
|
bumpAmplitude: PD.Numeric;
|
|
26
27
|
alpha: PD.Numeric;
|
|
27
28
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -53,6 +54,7 @@ export declare function getBackboneParams(ctx: ThemeRegistryContext, structure:
|
|
|
53
54
|
sizeAspectRatio: PD.Numeric;
|
|
54
55
|
visuals: PD.MultiSelect<"polymer-gap" | "polymer-backbone-cylinder" | "polymer-backbone-sphere">;
|
|
55
56
|
bumpFrequency: PD.Numeric;
|
|
57
|
+
colorMode: PD.Select<"default" | "interpolate">;
|
|
56
58
|
sizeFactor: PD.Numeric;
|
|
57
59
|
radialSegments: PD.Numeric;
|
|
58
60
|
unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
@@ -62,7 +64,7 @@ export declare function getBackboneParams(ctx: ThemeRegistryContext, structure:
|
|
|
62
64
|
flatShaded: PD.BooleanParam;
|
|
63
65
|
ignoreLight: PD.BooleanParam;
|
|
64
66
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
65
|
-
transparentBackfaces: PD.Select<
|
|
67
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
66
68
|
bumpAmplitude: PD.Numeric;
|
|
67
69
|
alpha: PD.Numeric;
|
|
68
70
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -95,6 +97,7 @@ export declare const BackboneRepresentationProvider: StructureRepresentationProv
|
|
|
95
97
|
sizeAspectRatio: PD.Numeric;
|
|
96
98
|
visuals: PD.MultiSelect<"polymer-gap" | "polymer-backbone-cylinder" | "polymer-backbone-sphere">;
|
|
97
99
|
bumpFrequency: PD.Numeric;
|
|
100
|
+
colorMode: PD.Select<"default" | "interpolate">;
|
|
98
101
|
sizeFactor: PD.Numeric;
|
|
99
102
|
radialSegments: PD.Numeric;
|
|
100
103
|
unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
@@ -104,7 +107,7 @@ export declare const BackboneRepresentationProvider: StructureRepresentationProv
|
|
|
104
107
|
flatShaded: PD.BooleanParam;
|
|
105
108
|
ignoreLight: PD.BooleanParam;
|
|
106
109
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
107
|
-
transparentBackfaces: PD.Select<
|
|
110
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
108
111
|
bumpAmplitude: PD.Numeric;
|
|
109
112
|
alpha: PD.Numeric;
|
|
110
113
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -17,7 +17,7 @@ var BackboneVisuals = {
|
|
|
17
17
|
'polymer-backbone-sphere': function (ctx, getParams) { return UnitsRepresentation('Polymer backbone sphere', ctx, getParams, PolymerBackboneSphereVisual); },
|
|
18
18
|
'polymer-gap': function (ctx, getParams) { return UnitsRepresentation('Polymer gap cylinder', ctx, getParams, PolymerGapVisual); },
|
|
19
19
|
};
|
|
20
|
-
export var BackboneParams = __assign(__assign(__assign(__assign({}, PolymerBackboneSphereParams), PolymerBackboneCylinderParams), PolymerGapParams), { sizeAspectRatio: PD.Numeric(1, { min: 0.1, max: 3, step: 0.1 }), visuals: PD.MultiSelect(['polymer-backbone-cylinder', 'polymer-backbone-sphere', 'polymer-gap'], PD.objectToOptions(BackboneVisuals)), bumpFrequency: PD.Numeric(0, { min: 0, max: 10, step: 0.1 }, BaseGeometry.ShadingCategory) });
|
|
20
|
+
export var BackboneParams = __assign(__assign(__assign(__assign({}, PolymerBackboneSphereParams), PolymerBackboneCylinderParams), PolymerGapParams), { sizeAspectRatio: PD.Numeric(1, { min: 0.1, max: 3, step: 0.1 }), visuals: PD.MultiSelect(['polymer-backbone-cylinder', 'polymer-backbone-sphere', 'polymer-gap'], PD.objectToOptions(BackboneVisuals)), bumpFrequency: PD.Numeric(0, { min: 0, max: 10, step: 0.1 }, BaseGeometry.ShadingCategory), colorMode: PD.Select('default', PD.arrayToOptions(['default', 'interpolate']), __assign(__assign({}, BaseGeometry.ShadingCategory), { isHidden: true })) });
|
|
21
21
|
export function getBackboneParams(ctx, structure) {
|
|
22
22
|
var params = PD.clone(BackboneParams);
|
|
23
23
|
var hasGaps = false;
|
|
@@ -34,10 +34,11 @@ export declare const BallAndStickParams: {
|
|
|
34
34
|
dashCap: PD.BooleanParam;
|
|
35
35
|
stubCap: PD.BooleanParam;
|
|
36
36
|
radialSegments: PD.Numeric;
|
|
37
|
+
colorMode: PD.Select<"default" | "interpolate">;
|
|
37
38
|
doubleSided: PD.BooleanParam;
|
|
38
39
|
ignoreLight: PD.BooleanParam;
|
|
39
40
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
40
|
-
transparentBackfaces: PD.Select<
|
|
41
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
41
42
|
solidInterior: PD.BooleanParam;
|
|
42
43
|
bumpAmplitude: PD.Numeric;
|
|
43
44
|
alpha: PD.Numeric;
|
|
@@ -94,10 +95,11 @@ export declare function getBallAndStickParams(ctx: ThemeRegistryContext, structu
|
|
|
94
95
|
dashCap: PD.BooleanParam;
|
|
95
96
|
stubCap: PD.BooleanParam;
|
|
96
97
|
radialSegments: PD.Numeric;
|
|
98
|
+
colorMode: PD.Select<"default" | "interpolate">;
|
|
97
99
|
doubleSided: PD.BooleanParam;
|
|
98
100
|
ignoreLight: PD.BooleanParam;
|
|
99
101
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
100
|
-
transparentBackfaces: PD.Select<
|
|
102
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
101
103
|
solidInterior: PD.BooleanParam;
|
|
102
104
|
bumpAmplitude: PD.Numeric;
|
|
103
105
|
alpha: PD.Numeric;
|
|
@@ -155,10 +157,11 @@ export declare const BallAndStickRepresentationProvider: StructureRepresentation
|
|
|
155
157
|
dashCap: PD.BooleanParam;
|
|
156
158
|
stubCap: PD.BooleanParam;
|
|
157
159
|
radialSegments: PD.Numeric;
|
|
160
|
+
colorMode: PD.Select<"default" | "interpolate">;
|
|
158
161
|
doubleSided: PD.BooleanParam;
|
|
159
162
|
ignoreLight: PD.BooleanParam;
|
|
160
163
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
161
|
-
transparentBackfaces: PD.Select<
|
|
164
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
162
165
|
solidInterior: PD.BooleanParam;
|
|
163
166
|
bumpAmplitude: PD.Numeric;
|
|
164
167
|
alpha: PD.Numeric;
|
|
@@ -23,6 +23,7 @@ export declare const CarbohydrateParams: {
|
|
|
23
23
|
dashCap: PD.BooleanParam;
|
|
24
24
|
stubCap: PD.BooleanParam;
|
|
25
25
|
radialSegments: PD.Numeric;
|
|
26
|
+
colorMode: PD.Select<"default" | "interpolate">;
|
|
26
27
|
unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
27
28
|
includeParent: PD.BooleanParam;
|
|
28
29
|
doubleSided: PD.BooleanParam;
|
|
@@ -30,7 +31,7 @@ export declare const CarbohydrateParams: {
|
|
|
30
31
|
flatShaded: PD.BooleanParam;
|
|
31
32
|
ignoreLight: PD.BooleanParam;
|
|
32
33
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
33
|
-
transparentBackfaces: PD.Select<
|
|
34
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
34
35
|
bumpAmplitude: PD.Numeric;
|
|
35
36
|
alpha: PD.Numeric;
|
|
36
37
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -70,6 +71,7 @@ export declare function getCarbohydrateParams(ctx: ThemeRegistryContext, structu
|
|
|
70
71
|
dashCap: PD.BooleanParam;
|
|
71
72
|
stubCap: PD.BooleanParam;
|
|
72
73
|
radialSegments: PD.Numeric;
|
|
74
|
+
colorMode: PD.Select<"default" | "interpolate">;
|
|
73
75
|
unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
74
76
|
includeParent: PD.BooleanParam;
|
|
75
77
|
doubleSided: PD.BooleanParam;
|
|
@@ -77,7 +79,7 @@ export declare function getCarbohydrateParams(ctx: ThemeRegistryContext, structu
|
|
|
77
79
|
flatShaded: PD.BooleanParam;
|
|
78
80
|
ignoreLight: PD.BooleanParam;
|
|
79
81
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
80
|
-
transparentBackfaces: PD.Select<
|
|
82
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
81
83
|
bumpAmplitude: PD.Numeric;
|
|
82
84
|
alpha: PD.Numeric;
|
|
83
85
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -118,6 +120,7 @@ export declare const CarbohydrateRepresentationProvider: StructureRepresentation
|
|
|
118
120
|
dashCap: PD.BooleanParam;
|
|
119
121
|
stubCap: PD.BooleanParam;
|
|
120
122
|
radialSegments: PD.Numeric;
|
|
123
|
+
colorMode: PD.Select<"default" | "interpolate">;
|
|
121
124
|
unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
122
125
|
includeParent: PD.BooleanParam;
|
|
123
126
|
doubleSided: PD.BooleanParam;
|
|
@@ -125,7 +128,7 @@ export declare const CarbohydrateRepresentationProvider: StructureRepresentation
|
|
|
125
128
|
flatShaded: PD.BooleanParam;
|
|
126
129
|
ignoreLight: PD.BooleanParam;
|
|
127
130
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
128
|
-
transparentBackfaces: PD.Select<
|
|
131
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
129
132
|
bumpAmplitude: PD.Numeric;
|
|
130
133
|
alpha: PD.Numeric;
|
|
131
134
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -13,6 +13,7 @@ export declare const CartoonParams: {
|
|
|
13
13
|
sizeFactor: PD.Numeric;
|
|
14
14
|
visuals: PD.MultiSelect<"polymer-trace" | "polymer-gap" | "nucleotide-ring" | "nucleotide-atomic-ring-fill" | "nucleotide-atomic-bond" | "nucleotide-atomic-element" | "nucleotide-block" | "direction-wedge">;
|
|
15
15
|
bumpFrequency: PD.Numeric;
|
|
16
|
+
colorMode: PD.Select<"default" | "interpolate">;
|
|
16
17
|
unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
17
18
|
includeParent: PD.BooleanParam;
|
|
18
19
|
doubleSided: PD.BooleanParam;
|
|
@@ -20,7 +21,7 @@ export declare const CartoonParams: {
|
|
|
20
21
|
flatShaded: PD.BooleanParam;
|
|
21
22
|
ignoreLight: PD.BooleanParam;
|
|
22
23
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
23
|
-
transparentBackfaces: PD.Select<
|
|
24
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
24
25
|
bumpAmplitude: PD.Numeric;
|
|
25
26
|
alpha: PD.Numeric;
|
|
26
27
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -61,6 +62,7 @@ export declare function getCartoonParams(ctx: ThemeRegistryContext, structure: S
|
|
|
61
62
|
sizeFactor: PD.Numeric;
|
|
62
63
|
visuals: PD.MultiSelect<"polymer-trace" | "polymer-gap" | "nucleotide-ring" | "nucleotide-atomic-ring-fill" | "nucleotide-atomic-bond" | "nucleotide-atomic-element" | "nucleotide-block" | "direction-wedge">;
|
|
63
64
|
bumpFrequency: PD.Numeric;
|
|
65
|
+
colorMode: PD.Select<"default" | "interpolate">;
|
|
64
66
|
unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
65
67
|
includeParent: PD.BooleanParam;
|
|
66
68
|
doubleSided: PD.BooleanParam;
|
|
@@ -68,7 +70,7 @@ export declare function getCartoonParams(ctx: ThemeRegistryContext, structure: S
|
|
|
68
70
|
flatShaded: PD.BooleanParam;
|
|
69
71
|
ignoreLight: PD.BooleanParam;
|
|
70
72
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
71
|
-
transparentBackfaces: PD.Select<
|
|
73
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
72
74
|
bumpAmplitude: PD.Numeric;
|
|
73
75
|
alpha: PD.Numeric;
|
|
74
76
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -110,6 +112,7 @@ export declare const CartoonRepresentationProvider: StructureRepresentationProvi
|
|
|
110
112
|
sizeFactor: PD.Numeric;
|
|
111
113
|
visuals: PD.MultiSelect<"polymer-trace" | "polymer-gap" | "nucleotide-ring" | "nucleotide-atomic-ring-fill" | "nucleotide-atomic-bond" | "nucleotide-atomic-element" | "nucleotide-block" | "direction-wedge">;
|
|
112
114
|
bumpFrequency: PD.Numeric;
|
|
115
|
+
colorMode: PD.Select<"default" | "interpolate">;
|
|
113
116
|
unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
|
|
114
117
|
includeParent: PD.BooleanParam;
|
|
115
118
|
doubleSided: PD.BooleanParam;
|
|
@@ -117,7 +120,7 @@ export declare const CartoonRepresentationProvider: StructureRepresentationProvi
|
|
|
117
120
|
flatShaded: PD.BooleanParam;
|
|
118
121
|
ignoreLight: PD.BooleanParam;
|
|
119
122
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
120
|
-
transparentBackfaces: PD.Select<
|
|
123
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
121
124
|
bumpAmplitude: PD.Numeric;
|
|
122
125
|
alpha: PD.Numeric;
|
|
123
126
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -31,7 +31,7 @@ var CartoonVisuals = {
|
|
|
31
31
|
'nucleotide-atomic-element': function (ctx, getParams) { return UnitsRepresentation('Nucleotide atomic element', ctx, getParams, NucleotideAtomicElementVisual); },
|
|
32
32
|
'direction-wedge': function (ctx, getParams) { return UnitsRepresentation('Polymer direction wedge', ctx, getParams, PolymerDirectionVisual); },
|
|
33
33
|
};
|
|
34
|
-
export var CartoonParams = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, PolymerTraceParams), PolymerGapParams), NucleotideBlockParams), NucleotideRingParams), NucleotideAtomicBondParams), NucleotideAtomicElementParams), NucleotideAtomicRingFillParams), PolymerDirectionParams), { sizeFactor: PD.Numeric(0.2, { min: 0, max: 10, step: 0.01 }), visuals: PD.MultiSelect(['polymer-trace', 'polymer-gap', 'nucleotide-ring', 'nucleotide-atomic-ring-fill', 'nucleotide-atomic-bond', 'nucleotide-atomic-element'], PD.objectToOptions(CartoonVisuals)), bumpFrequency: PD.Numeric(2, { min: 0, max: 10, step: 0.1 }, BaseGeometry.ShadingCategory) });
|
|
34
|
+
export var CartoonParams = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, PolymerTraceParams), PolymerGapParams), NucleotideBlockParams), NucleotideRingParams), NucleotideAtomicBondParams), NucleotideAtomicElementParams), NucleotideAtomicRingFillParams), PolymerDirectionParams), { sizeFactor: PD.Numeric(0.2, { min: 0, max: 10, step: 0.01 }), visuals: PD.MultiSelect(['polymer-trace', 'polymer-gap', 'nucleotide-ring', 'nucleotide-atomic-ring-fill', 'nucleotide-atomic-bond', 'nucleotide-atomic-element'], PD.objectToOptions(CartoonVisuals)), bumpFrequency: PD.Numeric(2, { min: 0, max: 10, step: 0.1 }, BaseGeometry.ShadingCategory), colorMode: PD.Select('default', PD.arrayToOptions(['default', 'interpolate']), __assign(__assign({}, BaseGeometry.ShadingCategory), { isHidden: true })) });
|
|
35
35
|
export function getCartoonParams(ctx, structure) {
|
|
36
36
|
var params = PD.clone(CartoonParams);
|
|
37
37
|
var hasNucleotides = false;
|
|
@@ -34,10 +34,11 @@ export declare const EllipsoidParams: {
|
|
|
34
34
|
dashCap: PD.BooleanParam;
|
|
35
35
|
stubCap: PD.BooleanParam;
|
|
36
36
|
radialSegments: PD.Numeric;
|
|
37
|
+
colorMode: PD.Select<"default" | "interpolate">;
|
|
37
38
|
doubleSided: PD.BooleanParam;
|
|
38
39
|
ignoreLight: PD.BooleanParam;
|
|
39
40
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
40
|
-
transparentBackfaces: PD.Select<
|
|
41
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
41
42
|
solidInterior: PD.BooleanParam;
|
|
42
43
|
bumpAmplitude: PD.Numeric;
|
|
43
44
|
alpha: PD.Numeric;
|
|
@@ -89,10 +90,11 @@ export declare function getEllipsoidParams(ctx: ThemeRegistryContext, structure:
|
|
|
89
90
|
dashCap: PD.BooleanParam;
|
|
90
91
|
stubCap: PD.BooleanParam;
|
|
91
92
|
radialSegments: PD.Numeric;
|
|
93
|
+
colorMode: PD.Select<"default" | "interpolate">;
|
|
92
94
|
doubleSided: PD.BooleanParam;
|
|
93
95
|
ignoreLight: PD.BooleanParam;
|
|
94
96
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
95
|
-
transparentBackfaces: PD.Select<
|
|
97
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
96
98
|
solidInterior: PD.BooleanParam;
|
|
97
99
|
bumpAmplitude: PD.Numeric;
|
|
98
100
|
alpha: PD.Numeric;
|
|
@@ -145,10 +147,11 @@ export declare const EllipsoidRepresentationProvider: StructureRepresentationPro
|
|
|
145
147
|
dashCap: PD.BooleanParam;
|
|
146
148
|
stubCap: PD.BooleanParam;
|
|
147
149
|
radialSegments: PD.Numeric;
|
|
150
|
+
colorMode: PD.Select<"default" | "interpolate">;
|
|
148
151
|
doubleSided: PD.BooleanParam;
|
|
149
152
|
ignoreLight: PD.BooleanParam;
|
|
150
153
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
151
|
-
transparentBackfaces: PD.Select<
|
|
154
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
152
155
|
solidInterior: PD.BooleanParam;
|
|
153
156
|
bumpAmplitude: PD.Numeric;
|
|
154
157
|
alpha: PD.Numeric;
|
|
@@ -49,7 +49,7 @@ export declare const GaussianSurfaceParams: {
|
|
|
49
49
|
flatShaded: PD.BooleanParam;
|
|
50
50
|
ignoreLight: PD.BooleanParam;
|
|
51
51
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
52
|
-
transparentBackfaces: PD.Select<
|
|
52
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
53
53
|
bumpAmplitude: PD.Numeric;
|
|
54
54
|
};
|
|
55
55
|
export type GaussianSurfaceParams = typeof GaussianSurfaceParams;
|
|
@@ -94,7 +94,7 @@ export declare function getGaussianSurfaceParams(ctx: ThemeRegistryContext, stru
|
|
|
94
94
|
flatShaded: PD.BooleanParam;
|
|
95
95
|
ignoreLight: PD.BooleanParam;
|
|
96
96
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
97
|
-
transparentBackfaces: PD.Select<
|
|
97
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
98
98
|
bumpAmplitude: PD.Numeric;
|
|
99
99
|
};
|
|
100
100
|
export type GaussianSurfaceRepresentation = StructureRepresentation<GaussianSurfaceParams>;
|
|
@@ -140,6 +140,6 @@ export declare const GaussianSurfaceRepresentationProvider: StructureRepresentat
|
|
|
140
140
|
flatShaded: PD.BooleanParam;
|
|
141
141
|
ignoreLight: PD.BooleanParam;
|
|
142
142
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
143
|
-
transparentBackfaces: PD.Select<
|
|
143
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
144
144
|
bumpAmplitude: PD.Numeric;
|
|
145
145
|
}, "gaussian-surface">;
|
|
@@ -48,7 +48,7 @@ export declare const MolecularSurfaceParams: {
|
|
|
48
48
|
flatShaded: PD.BooleanParam;
|
|
49
49
|
ignoreLight: PD.BooleanParam;
|
|
50
50
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
51
|
-
transparentBackfaces: PD.Select<
|
|
51
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
52
52
|
bumpAmplitude: PD.Numeric;
|
|
53
53
|
};
|
|
54
54
|
export type MolecularSurfaceParams = typeof MolecularSurfaceParams;
|
|
@@ -92,7 +92,7 @@ export declare function getMolecularSurfaceParams(ctx: ThemeRegistryContext, str
|
|
|
92
92
|
flatShaded: PD.BooleanParam;
|
|
93
93
|
ignoreLight: PD.BooleanParam;
|
|
94
94
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
95
|
-
transparentBackfaces: PD.Select<
|
|
95
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
96
96
|
bumpAmplitude: PD.Numeric;
|
|
97
97
|
};
|
|
98
98
|
export type MolecularSurfaceRepresentation = StructureRepresentation<MolecularSurfaceParams>;
|
|
@@ -137,6 +137,6 @@ export declare const MolecularSurfaceRepresentationProvider: StructureRepresenta
|
|
|
137
137
|
flatShaded: PD.BooleanParam;
|
|
138
138
|
ignoreLight: PD.BooleanParam;
|
|
139
139
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
140
|
-
transparentBackfaces: PD.Select<
|
|
140
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
141
141
|
bumpAmplitude: PD.Numeric;
|
|
142
142
|
}, "molecular-surface">;
|
|
@@ -20,7 +20,7 @@ export declare const OrientationParams: {
|
|
|
20
20
|
flatShaded: PD.BooleanParam;
|
|
21
21
|
ignoreLight: PD.BooleanParam;
|
|
22
22
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
23
|
-
transparentBackfaces: PD.Select<
|
|
23
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
24
24
|
bumpAmplitude: PD.Numeric;
|
|
25
25
|
alpha: PD.Numeric;
|
|
26
26
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -54,7 +54,7 @@ export declare function getOrientationParams(ctx: ThemeRegistryContext, structur
|
|
|
54
54
|
flatShaded: PD.BooleanParam;
|
|
55
55
|
ignoreLight: PD.BooleanParam;
|
|
56
56
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
57
|
-
transparentBackfaces: PD.Select<
|
|
57
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
58
58
|
bumpAmplitude: PD.Numeric;
|
|
59
59
|
alpha: PD.Numeric;
|
|
60
60
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -89,7 +89,7 @@ export declare const OrientationRepresentationProvider: StructureRepresentationP
|
|
|
89
89
|
flatShaded: PD.BooleanParam;
|
|
90
90
|
ignoreLight: PD.BooleanParam;
|
|
91
91
|
xrayShaded: PD.Select<boolean | "inverted">;
|
|
92
|
-
transparentBackfaces: PD.Select<
|
|
92
|
+
transparentBackfaces: PD.Select<"on" | "off" | "opaque">;
|
|
93
93
|
bumpAmplitude: PD.Numeric;
|
|
94
94
|
alpha: PD.Numeric;
|
|
95
95
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|