molstar 3.5.0 → 3.6.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/index.html +1 -1
- package/build/viewer/molstar.js +1 -1
- package/build/viewer/molstar.js.LICENSE.txt +12 -14
- package/lib/apps/docking-viewer/index.js +1 -1
- package/lib/apps/viewer/app.js +1 -1
- package/lib/apps/viewer/index.html +1 -1
- package/lib/cli/chem-comp-dict/util.d.ts +20 -20
- package/lib/cli/cifschema/util/cif-dic.d.ts +1 -1
- package/lib/cli/cifschema/util/cif-dic.js +7 -5
- package/lib/cli/cifschema/util/generate.d.ts +1 -1
- package/lib/cli/cifschema/util/generate.js +12 -3
- package/lib/cli/cifschema/util/schema.d.ts +3 -3
- package/lib/cli/cifschema/util/schema.js +1 -1
- package/lib/commonjs/apps/docking-viewer/index.js +2 -2
- package/lib/commonjs/apps/viewer/app.js +2 -2
- package/lib/commonjs/cli/chem-comp-dict/util.d.ts +20 -20
- package/lib/commonjs/cli/cifschema/util/cif-dic.d.ts +1 -1
- package/lib/commonjs/cli/cifschema/util/cif-dic.js +7 -5
- package/lib/commonjs/cli/cifschema/util/generate.d.ts +1 -1
- package/lib/commonjs/cli/cifschema/util/generate.js +12 -3
- package/lib/commonjs/cli/cifschema/util/schema.d.ts +3 -3
- package/lib/commonjs/cli/cifschema/util/schema.js +1 -1
- package/lib/commonjs/examples/alpha-orbitals/index.js +2 -2
- package/lib/commonjs/examples/basic-wrapper/index.js +2 -2
- package/lib/commonjs/examples/lighting/index.js +2 -2
- package/lib/commonjs/examples/proteopedia-wrapper/index.js +2 -2
- package/lib/commonjs/extensions/anvil/behavior.d.ts +1 -0
- package/lib/commonjs/extensions/anvil/representation.d.ts +4 -0
- package/lib/commonjs/extensions/cellpack/representation.d.ts +1 -0
- package/lib/commonjs/extensions/dnatco/confal-pyramids/representation.d.ts +3 -0
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +1 -0
- package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.d.ts +1 -0
- package/lib/commonjs/extensions/rcsb/validation-report/representation.d.ts +5 -0
- package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +2 -0
- package/lib/commonjs/mol-canvas3d/helper/camera-helper.d.ts +1 -0
- package/lib/commonjs/mol-canvas3d/helper/handle-helper.d.ts +1 -0
- 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-data/db/column.d.ts +10 -3
- package/lib/commonjs/mol-data/db/column.js +39 -17
- package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +4 -2
- package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.js +2 -2
- package/lib/commonjs/mol-geo/geometry/mesh/mesh.d.ts +2 -1
- package/lib/commonjs/mol-geo/geometry/mesh/mesh.js +2 -2
- package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +2 -1
- package/lib/commonjs/mol-geo/geometry/spheres/spheres.js +2 -2
- package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +2 -1
- package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js +2 -2
- package/lib/commonjs/mol-gl/shader/chunks/wboit-write.glsl.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/chunks/wboit-write.glsl.js +2 -2
- package/lib/commonjs/mol-gl/shader/direct-volume.frag.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/direct-volume.frag.js +1 -1
- package/lib/commonjs/mol-gl/shader/image.frag.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/image.frag.js +2 -2
- package/lib/commonjs/mol-gl/shader/lines.frag.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/lines.frag.js +2 -2
- package/lib/commonjs/mol-gl/shader/points.frag.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/points.frag.js +2 -2
- package/lib/commonjs/mol-gl/shader/text.frag.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/text.frag.js +2 -2
- package/lib/commonjs/mol-gl/webgl/buffer.d.ts +2 -2
- package/lib/commonjs/mol-gl/webgl/buffer.js +12 -12
- package/lib/commonjs/mol-gl/webgl/program.d.ts +1 -1
- package/lib/commonjs/mol-gl/webgl/program.js +10 -4
- package/lib/commonjs/mol-io/reader/cif/schema/bird.d.ts +8 -8
- package/lib/commonjs/mol-io/reader/cif/schema/bird.js +12 -11
- package/lib/commonjs/mol-io/reader/cif/schema/ccd-extras.d.ts +1 -1
- package/lib/commonjs/mol-io/reader/cif/schema/ccd.d.ts +12 -12
- package/lib/commonjs/mol-io/reader/cif/schema/ccd.js +13 -12
- package/lib/commonjs/mol-io/reader/cif/schema/mmcif-extras.d.ts +5 -5
- package/lib/commonjs/mol-io/reader/cif/schema/mmcif-extras.js +2 -2
- package/lib/commonjs/mol-io/reader/cif/schema/mmcif.d.ts +30 -26
- package/lib/commonjs/mol-io/reader/cif/schema/mmcif.js +44 -39
- package/lib/commonjs/mol-io/reader/cif/schema.d.ts +1 -1
- package/lib/commonjs/mol-io/reader/cif/schema.js +22 -2
- package/lib/commonjs/mol-io/writer/mol/encoder.js +1 -1
- package/lib/commonjs/mol-model/structure/model/model.js +14 -6
- package/lib/commonjs/mol-model/structure/model/properties/common.js +1 -1
- package/lib/commonjs/mol-model/structure/model/types.d.ts +19 -17
- package/lib/commonjs/mol-model/structure/model/types.js +30 -31
- package/lib/commonjs/mol-model/structure/query/queries/generators.js +1 -1
- package/lib/commonjs/mol-model/structure/structure/properties.d.ts +1 -1
- package/lib/commonjs/mol-model/structure/structure/unit/bonds/inter-compute.js +2 -4
- package/lib/commonjs/mol-model/structure/structure/unit/bonds/intra-compute.js +1 -3
- package/lib/commonjs/mol-model/structure/structure/unit/rings.js +3 -0
- package/lib/commonjs/mol-model-formats/shape/ply.d.ts +2 -0
- package/lib/commonjs/mol-model-formats/structure/basic/entities.js +1 -1
- package/lib/commonjs/mol-model-formats/structure/basic/schema.d.ts +2 -2
- package/lib/commonjs/mol-model-formats/structure/common/component.d.ts +3 -3
- package/lib/commonjs/mol-model-formats/structure/common/component.js +46 -46
- package/lib/commonjs/mol-model-formats/structure/pdb/atom-site.d.ts +2 -2
- package/lib/commonjs/mol-model-formats/structure/pdb/atom-site.js +72 -7
- package/lib/commonjs/mol-model-formats/structure/pdb/secondary-structure.js +11 -11
- package/lib/commonjs/mol-model-formats/structure/pdb/to-cif.js +7 -2
- package/lib/commonjs/mol-model-formats/structure/property/bonds/chem_comp.js +1 -1
- package/lib/commonjs/mol-model-formats/structure/property/bonds/struct_conn.js +1 -1
- package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +1 -0
- package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +1 -0
- package/lib/commonjs/mol-model-props/computed/representations/interactions.d.ts +3 -0
- package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.d.ts +4 -0
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/util.js +3 -2
- package/lib/commonjs/mol-plugin/commands.d.ts +1 -0
- package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +3 -0
- package/lib/commonjs/mol-plugin-state/actions/structure.d.ts +6 -6
- package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.d.ts +1 -1
- package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.js +1 -1
- package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +6 -0
- package/lib/commonjs/mol-plugin-ui/react18.d.ts +11 -0
- package/lib/commonjs/mol-plugin-ui/react18.js +38 -0
- package/lib/commonjs/mol-plugin-ui/structure/focus.d.ts +1 -1
- package/lib/commonjs/mol-plugin-ui/structure/focus.js +2 -2
- package/lib/commonjs/mol-repr/shape/loci/angle.d.ts +1 -0
- package/lib/commonjs/mol-repr/shape/loci/dihedral.d.ts +1 -0
- package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +1 -0
- package/lib/commonjs/mol-repr/shape/loci/plane.d.ts +1 -0
- package/lib/commonjs/mol-repr/shape/model/unitcell.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/params.d.ts +4 -0
- package/lib/commonjs/mol-repr/structure/registry.d.ts +10 -0
- package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/carbohydrate.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/cartoon.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/orientation.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/putty.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/representation/spacefill.d.ts +3 -0
- package/lib/commonjs/mol-repr/structure/units-visual.d.ts +4 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +4 -0
- package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-direction-wedge.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.d.ts +1 -0
- package/lib/commonjs/mol-repr/util.d.ts +2 -1
- package/lib/commonjs/mol-repr/util.js +2 -2
- package/lib/commonjs/mol-repr/volume/isosurface.d.ts +5 -0
- package/lib/commonjs/mol-repr/volume/registry.d.ts +1 -0
- package/lib/examples/alpha-orbitals/index.js +1 -1
- package/lib/examples/basic-wrapper/index.js +1 -1
- package/lib/examples/lighting/index.js +1 -1
- package/lib/examples/proteopedia-wrapper/index.js +1 -1
- package/lib/extensions/anvil/behavior.d.ts +1 -0
- package/lib/extensions/anvil/representation.d.ts +4 -0
- package/lib/extensions/cellpack/representation.d.ts +1 -0
- package/lib/extensions/dnatco/confal-pyramids/representation.d.ts +3 -0
- package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +1 -0
- package/lib/extensions/rcsb/assembly-symmetry/representation.d.ts +1 -0
- package/lib/extensions/rcsb/validation-report/representation.d.ts +5 -0
- package/lib/mol-canvas3d/canvas3d.d.ts +2 -0
- package/lib/mol-canvas3d/helper/camera-helper.d.ts +1 -0
- package/lib/mol-canvas3d/helper/handle-helper.d.ts +1 -0
- package/lib/mol-canvas3d/helper/helper.d.ts +2 -0
- package/lib/mol-canvas3d/passes/image.d.ts +1 -0
- package/lib/mol-data/db/column.d.ts +10 -3
- package/lib/mol-data/db/column.js +39 -18
- package/lib/mol-geo/geometry/cylinders/cylinders.d.ts +4 -2
- package/lib/mol-geo/geometry/cylinders/cylinders.js +2 -2
- package/lib/mol-geo/geometry/mesh/mesh.d.ts +2 -1
- package/lib/mol-geo/geometry/mesh/mesh.js +2 -2
- package/lib/mol-geo/geometry/spheres/spheres.d.ts +2 -1
- package/lib/mol-geo/geometry/spheres/spheres.js +2 -2
- package/lib/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +2 -1
- package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js +2 -2
- package/lib/mol-gl/shader/chunks/wboit-write.glsl.d.ts +2 -2
- package/lib/mol-gl/shader/chunks/wboit-write.glsl.js +2 -2
- package/lib/mol-gl/shader/direct-volume.frag.d.ts +1 -1
- package/lib/mol-gl/shader/direct-volume.frag.js +1 -1
- package/lib/mol-gl/shader/image.frag.d.ts +2 -2
- package/lib/mol-gl/shader/image.frag.js +2 -2
- package/lib/mol-gl/shader/lines.frag.d.ts +2 -2
- package/lib/mol-gl/shader/lines.frag.js +2 -2
- package/lib/mol-gl/shader/points.frag.d.ts +2 -2
- package/lib/mol-gl/shader/points.frag.js +2 -2
- package/lib/mol-gl/shader/text.frag.d.ts +2 -2
- package/lib/mol-gl/shader/text.frag.js +2 -2
- package/lib/mol-gl/webgl/buffer.d.ts +2 -2
- package/lib/mol-gl/webgl/buffer.js +12 -12
- package/lib/mol-gl/webgl/program.d.ts +1 -1
- package/lib/mol-gl/webgl/program.js +10 -4
- package/lib/mol-io/reader/cif/schema/bird.d.ts +8 -8
- package/lib/mol-io/reader/cif/schema/bird.js +12 -11
- package/lib/mol-io/reader/cif/schema/ccd-extras.d.ts +1 -1
- package/lib/mol-io/reader/cif/schema/ccd.d.ts +12 -12
- package/lib/mol-io/reader/cif/schema/ccd.js +13 -12
- package/lib/mol-io/reader/cif/schema/mmcif-extras.d.ts +5 -5
- package/lib/mol-io/reader/cif/schema/mmcif-extras.js +2 -2
- package/lib/mol-io/reader/cif/schema/mmcif.d.ts +30 -26
- package/lib/mol-io/reader/cif/schema/mmcif.js +44 -39
- package/lib/mol-io/reader/cif/schema.d.ts +1 -1
- package/lib/mol-io/reader/cif/schema.js +22 -2
- package/lib/mol-io/writer/mol/encoder.js +1 -1
- package/lib/mol-model/structure/model/model.js +14 -6
- package/lib/mol-model/structure/model/properties/common.js +1 -1
- package/lib/mol-model/structure/model/types.d.ts +19 -17
- package/lib/mol-model/structure/model/types.js +30 -31
- package/lib/mol-model/structure/query/queries/generators.js +1 -1
- package/lib/mol-model/structure/structure/properties.d.ts +1 -1
- package/lib/mol-model/structure/structure/unit/bonds/inter-compute.js +2 -4
- package/lib/mol-model/structure/structure/unit/bonds/intra-compute.js +1 -3
- package/lib/mol-model/structure/structure/unit/rings.js +3 -0
- package/lib/mol-model-formats/shape/ply.d.ts +2 -0
- package/lib/mol-model-formats/structure/basic/entities.js +1 -1
- package/lib/mol-model-formats/structure/basic/schema.d.ts +2 -2
- package/lib/mol-model-formats/structure/common/component.d.ts +3 -3
- package/lib/mol-model-formats/structure/common/component.js +46 -46
- package/lib/mol-model-formats/structure/pdb/atom-site.d.ts +2 -2
- package/lib/mol-model-formats/structure/pdb/atom-site.js +72 -7
- package/lib/mol-model-formats/structure/pdb/secondary-structure.js +11 -11
- package/lib/mol-model-formats/structure/pdb/to-cif.js +7 -2
- package/lib/mol-model-formats/structure/property/bonds/chem_comp.js +1 -1
- package/lib/mol-model-formats/structure/property/bonds/struct_conn.js +1 -1
- package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +1 -0
- package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +1 -0
- package/lib/mol-model-props/computed/representations/interactions.d.ts +3 -0
- package/lib/mol-model-props/integrative/cross-link-restraint/representation.d.ts +4 -0
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/util.js +3 -2
- package/lib/mol-plugin/commands.d.ts +1 -0
- package/lib/mol-plugin/util/viewport-screenshot.d.ts +3 -0
- package/lib/mol-plugin/version.js +2 -2
- package/lib/mol-plugin-state/actions/structure.d.ts +6 -6
- package/lib/mol-plugin-state/helpers/structure-selection-query.d.ts +1 -1
- package/lib/mol-plugin-state/helpers/structure-selection-query.js +1 -1
- package/lib/mol-plugin-state/transforms/representation.d.ts +6 -0
- package/lib/mol-plugin-ui/react18.d.ts +11 -0
- package/lib/mol-plugin-ui/react18.js +34 -0
- package/lib/mol-plugin-ui/structure/focus.d.ts +1 -1
- package/lib/mol-plugin-ui/structure/focus.js +2 -2
- package/lib/mol-repr/shape/loci/angle.d.ts +1 -0
- package/lib/mol-repr/shape/loci/dihedral.d.ts +1 -0
- package/lib/mol-repr/shape/loci/orientation.d.ts +1 -0
- package/lib/mol-repr/shape/loci/plane.d.ts +1 -0
- package/lib/mol-repr/shape/model/unitcell.d.ts +1 -0
- package/lib/mol-repr/structure/complex-visual.d.ts +3 -0
- package/lib/mol-repr/structure/params.d.ts +4 -0
- package/lib/mol-repr/structure/registry.d.ts +10 -0
- package/lib/mol-repr/structure/representation/backbone.d.ts +3 -0
- package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +3 -0
- package/lib/mol-repr/structure/representation/carbohydrate.d.ts +3 -0
- package/lib/mol-repr/structure/representation/cartoon.d.ts +3 -0
- package/lib/mol-repr/structure/representation/ellipsoid.d.ts +3 -0
- package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +3 -0
- package/lib/mol-repr/structure/representation/molecular-surface.d.ts +3 -0
- package/lib/mol-repr/structure/representation/orientation.d.ts +3 -0
- package/lib/mol-repr/structure/representation/putty.d.ts +3 -0
- package/lib/mol-repr/structure/representation/spacefill.d.ts +3 -0
- package/lib/mol-repr/structure/units-visual.d.ts +4 -0
- package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +2 -0
- package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +2 -0
- package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +1 -0
- package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +1 -0
- package/lib/mol-repr/structure/visual/element-sphere.d.ts +2 -0
- package/lib/mol-repr/structure/visual/ellipsoid-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +4 -0
- package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -0
- package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -0
- package/lib/mol-repr/structure/visual/polymer-direction-wedge.d.ts +1 -0
- package/lib/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +1 -0
- package/lib/mol-repr/structure/visual/polymer-trace-mesh.d.ts +1 -0
- package/lib/mol-repr/structure/visual/polymer-tube-mesh.d.ts +1 -0
- package/lib/mol-repr/util.d.ts +2 -1
- package/lib/mol-repr/util.js +2 -2
- package/lib/mol-repr/volume/isosurface.d.ts +5 -0
- package/lib/mol-repr/volume/registry.d.ts +1 -0
- package/package.json +8 -6
|
@@ -63,7 +63,7 @@ var ComponentBond;
|
|
|
63
63
|
var nameA = atom_id_1.value(i);
|
|
64
64
|
var nameB = atom_id_2.value(i);
|
|
65
65
|
var order = value_order.value(i);
|
|
66
|
-
var aromatic = pdbx_aromatic_flag.value(i) === '
|
|
66
|
+
var aromatic = pdbx_aromatic_flag.value(i) === 'y';
|
|
67
67
|
if (entry.id !== id) {
|
|
68
68
|
entry = addEntry(id);
|
|
69
69
|
}
|
|
@@ -118,7 +118,7 @@ var StructConn;
|
|
|
118
118
|
if (partnerA === undefined || partnerB === undefined)
|
|
119
119
|
continue;
|
|
120
120
|
var type = conn_type_id.value(i);
|
|
121
|
-
var orderType = (pdbx_value_order.value(i) || '')
|
|
121
|
+
var orderType = (pdbx_value_order.value(i) || '');
|
|
122
122
|
var flags = 0 /* None */;
|
|
123
123
|
var order = 1;
|
|
124
124
|
switch (orderType) {
|
package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export declare const InteractionsInterUnitParams: {
|
|
|
25
25
|
flatShaded: PD.BooleanParam;
|
|
26
26
|
ignoreLight: PD.BooleanParam;
|
|
27
27
|
xrayShaded: PD.BooleanParam;
|
|
28
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
28
29
|
bumpFrequency: PD.Numeric;
|
|
29
30
|
bumpAmplitude: PD.Numeric;
|
|
30
31
|
alpha: PD.Numeric;
|
package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export declare const InteractionsIntraUnitParams: {
|
|
|
25
25
|
flatShaded: PD.BooleanParam;
|
|
26
26
|
ignoreLight: PD.BooleanParam;
|
|
27
27
|
xrayShaded: PD.BooleanParam;
|
|
28
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
28
29
|
bumpFrequency: PD.Numeric;
|
|
29
30
|
bumpAmplitude: PD.Numeric;
|
|
30
31
|
alpha: PD.Numeric;
|
|
@@ -29,6 +29,7 @@ export declare const InteractionsParams: {
|
|
|
29
29
|
flatShaded: PD.BooleanParam;
|
|
30
30
|
ignoreLight: PD.BooleanParam;
|
|
31
31
|
xrayShaded: PD.BooleanParam;
|
|
32
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
32
33
|
bumpFrequency: PD.Numeric;
|
|
33
34
|
bumpAmplitude: PD.Numeric;
|
|
34
35
|
alpha: PD.Numeric;
|
|
@@ -71,6 +72,7 @@ export declare function getInteractionParams(ctx: ThemeRegistryContext, structur
|
|
|
71
72
|
flatShaded: PD.BooleanParam;
|
|
72
73
|
ignoreLight: PD.BooleanParam;
|
|
73
74
|
xrayShaded: PD.BooleanParam;
|
|
75
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
74
76
|
bumpFrequency: PD.Numeric;
|
|
75
77
|
bumpAmplitude: PD.Numeric;
|
|
76
78
|
alpha: PD.Numeric;
|
|
@@ -114,6 +116,7 @@ export declare const InteractionsRepresentationProvider: StructureRepresentation
|
|
|
114
116
|
flatShaded: PD.BooleanParam;
|
|
115
117
|
ignoreLight: PD.BooleanParam;
|
|
116
118
|
xrayShaded: PD.BooleanParam;
|
|
119
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
117
120
|
bumpFrequency: PD.Numeric;
|
|
118
121
|
bumpAmplitude: PD.Numeric;
|
|
119
122
|
alpha: PD.Numeric;
|
|
@@ -30,6 +30,7 @@ export declare const CrossLinkRestraintCylinderParams: {
|
|
|
30
30
|
flatShaded: PD.BooleanParam;
|
|
31
31
|
ignoreLight: PD.BooleanParam;
|
|
32
32
|
xrayShaded: PD.BooleanParam;
|
|
33
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
33
34
|
bumpFrequency: PD.Numeric;
|
|
34
35
|
bumpAmplitude: PD.Numeric;
|
|
35
36
|
alpha: PD.Numeric;
|
|
@@ -72,6 +73,7 @@ export declare const CrossLinkRestraintParams: {
|
|
|
72
73
|
flatShaded: PD.BooleanParam;
|
|
73
74
|
ignoreLight: PD.BooleanParam;
|
|
74
75
|
xrayShaded: PD.BooleanParam;
|
|
76
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
75
77
|
bumpFrequency: PD.Numeric;
|
|
76
78
|
bumpAmplitude: PD.Numeric;
|
|
77
79
|
alpha: PD.Numeric;
|
|
@@ -113,6 +115,7 @@ export declare function getCrossLinkRestraintParams(ctx: ThemeRegistryContext, s
|
|
|
113
115
|
flatShaded: PD.BooleanParam;
|
|
114
116
|
ignoreLight: PD.BooleanParam;
|
|
115
117
|
xrayShaded: PD.BooleanParam;
|
|
118
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
116
119
|
bumpFrequency: PD.Numeric;
|
|
117
120
|
bumpAmplitude: PD.Numeric;
|
|
118
121
|
alpha: PD.Numeric;
|
|
@@ -155,6 +158,7 @@ export declare const CrossLinkRestraintRepresentationProvider: StructureRepresen
|
|
|
155
158
|
flatShaded: PD.BooleanParam;
|
|
156
159
|
ignoreLight: PD.BooleanParam;
|
|
157
160
|
xrayShaded: PD.BooleanParam;
|
|
161
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
158
162
|
bumpFrequency: PD.Numeric;
|
|
159
163
|
bumpAmplitude: PD.Numeric;
|
|
160
164
|
alpha: PD.Numeric;
|
|
@@ -76,7 +76,7 @@ function getContourLevel(provider, plugin, taskCtx, emdbId) {
|
|
|
76
76
|
exports.getContourLevel = getContourLevel;
|
|
77
77
|
function getContourLevelEmdb(plugin, taskCtx, emdbId) {
|
|
78
78
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
79
|
-
var emdbHeaderServer, header, contours, primaryContour, i, contourLevel;
|
|
79
|
+
var emdbHeaderServer, header, map, contours, primaryContour, i, contourLevel;
|
|
80
80
|
return tslib_1.__generator(this, function (_a) {
|
|
81
81
|
switch (_a.label) {
|
|
82
82
|
case 0:
|
|
@@ -84,7 +84,8 @@ function getContourLevelEmdb(plugin, taskCtx, emdbId) {
|
|
|
84
84
|
return [4 /*yield*/, plugin.fetch({ url: "".concat(emdbHeaderServer, "/").concat(emdbId.toUpperCase(), "/header/").concat(emdbId.toLowerCase(), ".xml"), type: 'xml' }).runInContext(taskCtx)];
|
|
85
85
|
case 1:
|
|
86
86
|
header = _a.sent();
|
|
87
|
-
|
|
87
|
+
map = header.getElementsByTagName('map')[0];
|
|
88
|
+
contours = map.getElementsByTagName('contour');
|
|
88
89
|
primaryContour = contours[0];
|
|
89
90
|
for (i = 1; i < contours.length; i++) {
|
|
90
91
|
if (contours[i].getAttribute('primary') === 'true') {
|
|
@@ -37,6 +37,7 @@ declare class ViewportScreenshotHelper extends PluginComponent {
|
|
|
37
37
|
flipSided: boolean;
|
|
38
38
|
flatShaded: boolean;
|
|
39
39
|
xrayShaded: boolean;
|
|
40
|
+
allowTransparentBackfaces: boolean;
|
|
40
41
|
bumpFrequency: number;
|
|
41
42
|
bumpAmplitude: number;
|
|
42
43
|
quality: "auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest";
|
|
@@ -69,6 +70,7 @@ declare class ViewportScreenshotHelper extends PluginComponent {
|
|
|
69
70
|
flipSided: boolean;
|
|
70
71
|
flatShaded: boolean;
|
|
71
72
|
xrayShaded: boolean;
|
|
73
|
+
allowTransparentBackfaces: boolean;
|
|
72
74
|
bumpFrequency: number;
|
|
73
75
|
bumpAmplitude: number;
|
|
74
76
|
quality: "auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest";
|
|
@@ -109,6 +111,7 @@ declare class ViewportScreenshotHelper extends PluginComponent {
|
|
|
109
111
|
flipSided: boolean;
|
|
110
112
|
flatShaded: boolean;
|
|
111
113
|
xrayShaded: boolean;
|
|
114
|
+
allowTransparentBackfaces: boolean;
|
|
112
115
|
bumpFrequency: number;
|
|
113
116
|
bumpAmplitude: number;
|
|
114
117
|
quality: "auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest";
|
|
@@ -26,6 +26,12 @@ declare const DownloadStructure: StateAction<PluginStateObject.Root, void, PD.No
|
|
|
26
26
|
isBinary: any;
|
|
27
27
|
options: any;
|
|
28
28
|
}>, "url"> | PD.NamedParams<PD.Normalize<{
|
|
29
|
+
id: any;
|
|
30
|
+
options: any;
|
|
31
|
+
}>, "alphafolddb"> | PD.NamedParams<PD.Normalize<{
|
|
32
|
+
id: any;
|
|
33
|
+
options: any;
|
|
34
|
+
}>, "modelarchive"> | PD.NamedParams<PD.Normalize<{
|
|
29
35
|
provider: any;
|
|
30
36
|
options: any;
|
|
31
37
|
}>, "pdb"> | PD.NamedParams<PD.Normalize<{
|
|
@@ -37,12 +43,6 @@ declare const DownloadStructure: StateAction<PluginStateObject.Root, void, PD.No
|
|
|
37
43
|
}>, "swissmodel"> | PD.NamedParams<PD.Normalize<{
|
|
38
44
|
id: any;
|
|
39
45
|
options: any;
|
|
40
|
-
}>, "alphafolddb"> | PD.NamedParams<PD.Normalize<{
|
|
41
|
-
id: any;
|
|
42
|
-
options: any;
|
|
43
|
-
}>, "modelarchive"> | PD.NamedParams<PD.Normalize<{
|
|
44
|
-
id: any;
|
|
45
|
-
options: any;
|
|
46
46
|
}>, "pubchem">;
|
|
47
47
|
}>>;
|
|
48
48
|
export declare const UpdateTrajectory: StateAction<import("../../mol-state/object").StateObject<any, import("../../mol-state/object").StateObject.Type<any>>, void, PD.Normalize<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c) 2019-
|
|
2
|
+
* Copyright (c) 2019-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
3
|
*
|
|
4
4
|
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
5
5
|
* @author David Sehnal <david.sehnal@gmail.com>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Copyright (c) 2019-
|
|
3
|
+
* Copyright (c) 2019-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
4
4
|
*
|
|
5
5
|
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
6
6
|
* @author David Sehnal <david.sehnal@gmail.com>
|
|
@@ -150,6 +150,7 @@ declare const ModelUnitcell3D: StateTransformer<SO.Molecule.Model, SO.Shape.Repr
|
|
|
150
150
|
flatShaded: boolean;
|
|
151
151
|
ignoreLight: boolean;
|
|
152
152
|
xrayShaded: boolean;
|
|
153
|
+
allowTransparentBackfaces: boolean;
|
|
153
154
|
bumpFrequency: number;
|
|
154
155
|
bumpAmplitude: number;
|
|
155
156
|
alpha: number;
|
|
@@ -172,6 +173,7 @@ declare const StructureBoundingBox3D: StateTransformer<SO.Molecule.Structure, SO
|
|
|
172
173
|
flatShaded: boolean;
|
|
173
174
|
ignoreLight: boolean;
|
|
174
175
|
xrayShaded: boolean;
|
|
176
|
+
allowTransparentBackfaces: boolean;
|
|
175
177
|
bumpFrequency: number;
|
|
176
178
|
bumpAmplitude: number;
|
|
177
179
|
alpha: number;
|
|
@@ -276,6 +278,7 @@ declare const StructureSelectionsAngle3D: StateTransformer<SO.Molecule.Structure
|
|
|
276
278
|
flipSided: boolean;
|
|
277
279
|
flatShaded: boolean;
|
|
278
280
|
xrayShaded: boolean;
|
|
281
|
+
allowTransparentBackfaces: boolean;
|
|
279
282
|
bumpFrequency: number;
|
|
280
283
|
bumpAmplitude: number;
|
|
281
284
|
lineSizeAttenuation: boolean;
|
|
@@ -327,6 +330,7 @@ declare const StructureSelectionsDihedral3D: StateTransformer<SO.Molecule.Struct
|
|
|
327
330
|
flipSided: boolean;
|
|
328
331
|
flatShaded: boolean;
|
|
329
332
|
xrayShaded: boolean;
|
|
333
|
+
allowTransparentBackfaces: boolean;
|
|
330
334
|
bumpFrequency: number;
|
|
331
335
|
bumpAmplitude: number;
|
|
332
336
|
lineSizeAttenuation: boolean;
|
|
@@ -384,6 +388,7 @@ declare const StructureSelectionsOrientation3D: StateTransformer<SO.Molecule.Str
|
|
|
384
388
|
flatShaded: boolean;
|
|
385
389
|
ignoreLight: boolean;
|
|
386
390
|
xrayShaded: boolean;
|
|
391
|
+
allowTransparentBackfaces: boolean;
|
|
387
392
|
bumpFrequency: number;
|
|
388
393
|
bumpAmplitude: number;
|
|
389
394
|
alpha: number;
|
|
@@ -409,6 +414,7 @@ declare const StructureSelectionsPlane3D: StateTransformer<SO.Molecule.Structure
|
|
|
409
414
|
flatShaded: boolean;
|
|
410
415
|
ignoreLight: boolean;
|
|
411
416
|
xrayShaded: boolean;
|
|
417
|
+
allowTransparentBackfaces: boolean;
|
|
412
418
|
bumpFrequency: number;
|
|
413
419
|
bumpAmplitude: number;
|
|
414
420
|
alpha: number;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2018-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
3
|
+
*
|
|
4
|
+
* @author David Sehnal <david.sehnal@gmail.com>
|
|
5
|
+
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
6
|
+
*/
|
|
7
|
+
import { PluginUIContext } from './context';
|
|
8
|
+
import { PluginUISpec } from './spec';
|
|
9
|
+
export declare function createPluginUI(target: HTMLElement, spec?: PluginUISpec, options?: {
|
|
10
|
+
onBeforeUIRender?: (ctx: PluginUIContext) => (Promise<void> | void);
|
|
11
|
+
}): Promise<PluginUIContext>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright (c) 2018-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
4
|
+
*
|
|
5
|
+
* @author David Sehnal <david.sehnal@gmail.com>
|
|
6
|
+
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.createPluginUI = void 0;
|
|
10
|
+
var tslib_1 = require("tslib");
|
|
11
|
+
var react_1 = require("react");
|
|
12
|
+
var client_1 = require("react-dom/client");
|
|
13
|
+
var plugin_1 = require("./plugin");
|
|
14
|
+
var context_1 = require("./context");
|
|
15
|
+
var spec_1 = require("./spec");
|
|
16
|
+
function createPluginUI(target, spec, options) {
|
|
17
|
+
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
18
|
+
var ctx;
|
|
19
|
+
return tslib_1.__generator(this, function (_a) {
|
|
20
|
+
switch (_a.label) {
|
|
21
|
+
case 0:
|
|
22
|
+
ctx = new context_1.PluginUIContext(spec || (0, spec_1.DefaultPluginUISpec)());
|
|
23
|
+
return [4 /*yield*/, ctx.init()];
|
|
24
|
+
case 1:
|
|
25
|
+
_a.sent();
|
|
26
|
+
if (!(options === null || options === void 0 ? void 0 : options.onBeforeUIRender)) return [3 /*break*/, 3];
|
|
27
|
+
return [4 /*yield*/, options.onBeforeUIRender(ctx)];
|
|
28
|
+
case 2:
|
|
29
|
+
_a.sent();
|
|
30
|
+
_a.label = 3;
|
|
31
|
+
case 3:
|
|
32
|
+
(0, client_1.createRoot)(target).render((0, react_1.createElement)(plugin_1.Plugin, { plugin: ctx }));
|
|
33
|
+
return [2 /*return*/, ctx];
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
exports.createPluginUI = createPluginUI;
|
|
@@ -4,7 +4,7 @@ exports.StructureFocusControls = void 0;
|
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
6
|
/**
|
|
7
|
-
* Copyright (c) 2020 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
7
|
+
* Copyright (c) 2020-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
8
8
|
*
|
|
9
9
|
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
10
10
|
*/
|
|
@@ -167,7 +167,7 @@ var StructureFocusControls = /** @class */ (function (_super) {
|
|
|
167
167
|
};
|
|
168
168
|
Object.defineProperty(StructureFocusControls.prototype, "isDisabled", {
|
|
169
169
|
get: function () {
|
|
170
|
-
return this.state.isBusy || this.
|
|
170
|
+
return this.state.isBusy || this.plugin.managers.structure.hierarchy.selection.structures.length === 0;
|
|
171
171
|
},
|
|
172
172
|
enumerable: false,
|
|
173
173
|
configurable: true
|
|
@@ -58,6 +58,7 @@ export declare const AngleParams: {
|
|
|
58
58
|
flipSided: PD.BooleanParam;
|
|
59
59
|
flatShaded: PD.BooleanParam;
|
|
60
60
|
xrayShaded: PD.BooleanParam;
|
|
61
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
61
62
|
bumpFrequency: PD.Numeric;
|
|
62
63
|
bumpAmplitude: PD.Numeric;
|
|
63
64
|
lineSizeAttenuation: PD.BooleanParam;
|
|
@@ -58,6 +58,7 @@ export declare const DihedralParams: {
|
|
|
58
58
|
flipSided: PD.BooleanParam;
|
|
59
59
|
flatShaded: PD.BooleanParam;
|
|
60
60
|
xrayShaded: PD.BooleanParam;
|
|
61
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
61
62
|
bumpFrequency: PD.Numeric;
|
|
62
63
|
bumpAmplitude: PD.Numeric;
|
|
63
64
|
lineSizeAttenuation: PD.BooleanParam;
|
|
@@ -19,6 +19,7 @@ export declare const OrientationParams: {
|
|
|
19
19
|
flatShaded: PD.BooleanParam;
|
|
20
20
|
ignoreLight: PD.BooleanParam;
|
|
21
21
|
xrayShaded: PD.BooleanParam;
|
|
22
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
22
23
|
bumpFrequency: PD.Numeric;
|
|
23
24
|
bumpAmplitude: PD.Numeric;
|
|
24
25
|
alpha: PD.Numeric;
|
|
@@ -21,6 +21,7 @@ export declare const UnitcellParams: {
|
|
|
21
21
|
flatShaded: PD.BooleanParam;
|
|
22
22
|
ignoreLight: PD.BooleanParam;
|
|
23
23
|
xrayShaded: PD.BooleanParam;
|
|
24
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
24
25
|
bumpFrequency: PD.Numeric;
|
|
25
26
|
bumpAmplitude: PD.Numeric;
|
|
26
27
|
alpha: PD.Numeric;
|
|
@@ -47,6 +47,7 @@ export declare const ComplexMeshParams: {
|
|
|
47
47
|
flatShaded: PD.BooleanParam;
|
|
48
48
|
ignoreLight: PD.BooleanParam;
|
|
49
49
|
xrayShaded: PD.BooleanParam;
|
|
50
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
50
51
|
bumpFrequency: PD.Numeric;
|
|
51
52
|
bumpAmplitude: PD.Numeric;
|
|
52
53
|
alpha: PD.Numeric;
|
|
@@ -79,6 +80,7 @@ export declare const ComplexCylindersParams: {
|
|
|
79
80
|
doubleSided: PD.BooleanParam;
|
|
80
81
|
ignoreLight: PD.BooleanParam;
|
|
81
82
|
xrayShaded: PD.BooleanParam;
|
|
83
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
82
84
|
bumpFrequency: PD.Numeric;
|
|
83
85
|
bumpAmplitude: PD.Numeric;
|
|
84
86
|
alpha: PD.Numeric;
|
|
@@ -212,6 +214,7 @@ export declare const ComplexTextureMeshParams: {
|
|
|
212
214
|
flatShaded: PD.BooleanParam;
|
|
213
215
|
ignoreLight: PD.BooleanParam;
|
|
214
216
|
xrayShaded: PD.BooleanParam;
|
|
217
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
215
218
|
bumpFrequency: PD.Numeric;
|
|
216
219
|
bumpAmplitude: PD.Numeric;
|
|
217
220
|
alpha: PD.Numeric;
|
|
@@ -18,6 +18,7 @@ export declare const StructureMeshParams: {
|
|
|
18
18
|
flatShaded: PD.BooleanParam;
|
|
19
19
|
ignoreLight: PD.BooleanParam;
|
|
20
20
|
xrayShaded: PD.BooleanParam;
|
|
21
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
21
22
|
bumpFrequency: PD.Numeric;
|
|
22
23
|
bumpAmplitude: PD.Numeric;
|
|
23
24
|
alpha: PD.Numeric;
|
|
@@ -44,6 +45,7 @@ export declare const StructureSpheresParams: {
|
|
|
44
45
|
doubleSided: PD.BooleanParam;
|
|
45
46
|
ignoreLight: PD.BooleanParam;
|
|
46
47
|
xrayShaded: PD.BooleanParam;
|
|
48
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
47
49
|
bumpFrequency: PD.Numeric;
|
|
48
50
|
bumpAmplitude: PD.Numeric;
|
|
49
51
|
alpha: PD.Numeric;
|
|
@@ -71,6 +73,7 @@ export declare const StructureCylindersParams: {
|
|
|
71
73
|
doubleSided: PD.BooleanParam;
|
|
72
74
|
ignoreLight: PD.BooleanParam;
|
|
73
75
|
xrayShaded: PD.BooleanParam;
|
|
76
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
74
77
|
bumpFrequency: PD.Numeric;
|
|
75
78
|
bumpAmplitude: PD.Numeric;
|
|
76
79
|
alpha: PD.Numeric;
|
|
@@ -207,6 +210,7 @@ export declare const StructureTextureMeshParams: {
|
|
|
207
210
|
flatShaded: PD.BooleanParam;
|
|
208
211
|
ignoreLight: PD.BooleanParam;
|
|
209
212
|
xrayShaded: PD.BooleanParam;
|
|
213
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
210
214
|
bumpFrequency: PD.Numeric;
|
|
211
215
|
bumpAmplitude: PD.Numeric;
|
|
212
216
|
alpha: PD.Numeric;
|
|
@@ -22,6 +22,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
22
22
|
flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
23
23
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
24
24
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
25
|
+
allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
25
26
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
26
27
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
27
28
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -61,6 +62,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
61
62
|
flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
62
63
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
63
64
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
65
|
+
allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
64
66
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
65
67
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
66
68
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -110,6 +112,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
110
112
|
doubleSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
111
113
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
112
114
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
115
|
+
allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
113
116
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
114
117
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
115
118
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -155,6 +158,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
155
158
|
flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
156
159
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
157
160
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
161
|
+
allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
158
162
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
159
163
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
160
164
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -205,6 +209,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
205
209
|
doubleSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
206
210
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
207
211
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
212
|
+
allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
208
213
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
209
214
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
210
215
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -266,6 +271,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
266
271
|
flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
267
272
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
268
273
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
274
|
+
allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
269
275
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
270
276
|
}, "gaussian-surface">;
|
|
271
277
|
'gaussian-volume': import("./representation").StructureRepresentationProvider<{
|
|
@@ -421,6 +427,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
421
427
|
flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
422
428
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
423
429
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
430
|
+
allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
424
431
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
425
432
|
}, "molecular-surface">;
|
|
426
433
|
orientation: import("./representation").StructureRepresentationProvider<{
|
|
@@ -435,6 +442,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
435
442
|
flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
436
443
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
437
444
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
445
|
+
allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
438
446
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
439
447
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
440
448
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -492,6 +500,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
492
500
|
flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
493
501
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
494
502
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
503
|
+
allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
495
504
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
496
505
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
497
506
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -525,6 +534,7 @@ export declare namespace StructureRepresentationRegistry {
|
|
|
525
534
|
doubleSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
526
535
|
ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
527
536
|
xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
537
|
+
allowTransparentBackfaces: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
|
|
528
538
|
bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
529
539
|
alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
|
|
530
540
|
quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -21,6 +21,7 @@ export declare const BackboneParams: {
|
|
|
21
21
|
flatShaded: PD.BooleanParam;
|
|
22
22
|
ignoreLight: PD.BooleanParam;
|
|
23
23
|
xrayShaded: PD.BooleanParam;
|
|
24
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
24
25
|
bumpAmplitude: PD.Numeric;
|
|
25
26
|
alpha: PD.Numeric;
|
|
26
27
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -56,6 +57,7 @@ export declare function getBackboneParams(ctx: ThemeRegistryContext, structure:
|
|
|
56
57
|
flatShaded: PD.BooleanParam;
|
|
57
58
|
ignoreLight: PD.BooleanParam;
|
|
58
59
|
xrayShaded: PD.BooleanParam;
|
|
60
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
59
61
|
bumpAmplitude: PD.Numeric;
|
|
60
62
|
alpha: PD.Numeric;
|
|
61
63
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -92,6 +94,7 @@ export declare const BackboneRepresentationProvider: StructureRepresentationProv
|
|
|
92
94
|
flatShaded: PD.BooleanParam;
|
|
93
95
|
ignoreLight: PD.BooleanParam;
|
|
94
96
|
xrayShaded: PD.BooleanParam;
|
|
97
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
95
98
|
bumpAmplitude: PD.Numeric;
|
|
96
99
|
alpha: PD.Numeric;
|
|
97
100
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -36,6 +36,7 @@ export declare const BallAndStickParams: {
|
|
|
36
36
|
doubleSided: PD.BooleanParam;
|
|
37
37
|
ignoreLight: PD.BooleanParam;
|
|
38
38
|
xrayShaded: PD.BooleanParam;
|
|
39
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
39
40
|
bumpAmplitude: PD.Numeric;
|
|
40
41
|
alpha: PD.Numeric;
|
|
41
42
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -88,6 +89,7 @@ export declare function getBallAndStickParams(ctx: ThemeRegistryContext, structu
|
|
|
88
89
|
doubleSided: PD.BooleanParam;
|
|
89
90
|
ignoreLight: PD.BooleanParam;
|
|
90
91
|
xrayShaded: PD.BooleanParam;
|
|
92
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
91
93
|
bumpAmplitude: PD.Numeric;
|
|
92
94
|
alpha: PD.Numeric;
|
|
93
95
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -141,6 +143,7 @@ export declare const BallAndStickRepresentationProvider: StructureRepresentation
|
|
|
141
143
|
doubleSided: PD.BooleanParam;
|
|
142
144
|
ignoreLight: PD.BooleanParam;
|
|
143
145
|
xrayShaded: PD.BooleanParam;
|
|
146
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
144
147
|
bumpAmplitude: PD.Numeric;
|
|
145
148
|
alpha: PD.Numeric;
|
|
146
149
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -30,6 +30,7 @@ export declare const CarbohydrateParams: {
|
|
|
30
30
|
flatShaded: PD.BooleanParam;
|
|
31
31
|
ignoreLight: PD.BooleanParam;
|
|
32
32
|
xrayShaded: PD.BooleanParam;
|
|
33
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
33
34
|
bumpAmplitude: PD.Numeric;
|
|
34
35
|
alpha: PD.Numeric;
|
|
35
36
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -75,6 +76,7 @@ export declare function getCarbohydrateParams(ctx: ThemeRegistryContext, structu
|
|
|
75
76
|
flatShaded: PD.BooleanParam;
|
|
76
77
|
ignoreLight: PD.BooleanParam;
|
|
77
78
|
xrayShaded: PD.BooleanParam;
|
|
79
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
78
80
|
bumpAmplitude: PD.Numeric;
|
|
79
81
|
alpha: PD.Numeric;
|
|
80
82
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -121,6 +123,7 @@ export declare const CarbohydrateRepresentationProvider: StructureRepresentation
|
|
|
121
123
|
flatShaded: PD.BooleanParam;
|
|
122
124
|
ignoreLight: PD.BooleanParam;
|
|
123
125
|
xrayShaded: PD.BooleanParam;
|
|
126
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
124
127
|
bumpAmplitude: PD.Numeric;
|
|
125
128
|
alpha: PD.Numeric;
|
|
126
129
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -19,6 +19,7 @@ export declare const CartoonParams: {
|
|
|
19
19
|
flatShaded: PD.BooleanParam;
|
|
20
20
|
ignoreLight: PD.BooleanParam;
|
|
21
21
|
xrayShaded: PD.BooleanParam;
|
|
22
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
22
23
|
bumpAmplitude: PD.Numeric;
|
|
23
24
|
alpha: PD.Numeric;
|
|
24
25
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -57,6 +58,7 @@ export declare function getCartoonParams(ctx: ThemeRegistryContext, structure: S
|
|
|
57
58
|
flatShaded: PD.BooleanParam;
|
|
58
59
|
ignoreLight: PD.BooleanParam;
|
|
59
60
|
xrayShaded: PD.BooleanParam;
|
|
61
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
60
62
|
bumpAmplitude: PD.Numeric;
|
|
61
63
|
alpha: PD.Numeric;
|
|
62
64
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -96,6 +98,7 @@ export declare const CartoonRepresentationProvider: StructureRepresentationProvi
|
|
|
96
98
|
flatShaded: PD.BooleanParam;
|
|
97
99
|
ignoreLight: PD.BooleanParam;
|
|
98
100
|
xrayShaded: PD.BooleanParam;
|
|
101
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
99
102
|
bumpAmplitude: PD.Numeric;
|
|
100
103
|
alpha: PD.Numeric;
|
|
101
104
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -36,6 +36,7 @@ export declare const EllipsoidParams: {
|
|
|
36
36
|
doubleSided: PD.BooleanParam;
|
|
37
37
|
ignoreLight: PD.BooleanParam;
|
|
38
38
|
xrayShaded: PD.BooleanParam;
|
|
39
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
39
40
|
bumpAmplitude: PD.Numeric;
|
|
40
41
|
alpha: PD.Numeric;
|
|
41
42
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -87,6 +88,7 @@ export declare function getEllipsoidParams(ctx: ThemeRegistryContext, structure:
|
|
|
87
88
|
doubleSided: PD.BooleanParam;
|
|
88
89
|
ignoreLight: PD.BooleanParam;
|
|
89
90
|
xrayShaded: PD.BooleanParam;
|
|
91
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
90
92
|
bumpAmplitude: PD.Numeric;
|
|
91
93
|
alpha: PD.Numeric;
|
|
92
94
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|
|
@@ -139,6 +141,7 @@ export declare const EllipsoidRepresentationProvider: StructureRepresentationPro
|
|
|
139
141
|
doubleSided: PD.BooleanParam;
|
|
140
142
|
ignoreLight: PD.BooleanParam;
|
|
141
143
|
xrayShaded: PD.BooleanParam;
|
|
144
|
+
allowTransparentBackfaces: PD.BooleanParam;
|
|
142
145
|
bumpAmplitude: PD.Numeric;
|
|
143
146
|
alpha: PD.Numeric;
|
|
144
147
|
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
|