molstar 3.0.0-dev.6 → 3.0.0-dev.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (367) hide show
  1. package/build/viewer/molstar.js +1 -1
  2. package/lib/commonjs/extensions/anvil/behavior.d.ts +4 -0
  3. package/lib/commonjs/extensions/anvil/representation.d.ts +50 -0
  4. package/lib/commonjs/extensions/cellpack/representation.d.ts +10 -0
  5. package/lib/commonjs/extensions/dnatco/confal-pyramids/representation.d.ts +30 -0
  6. package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +4 -0
  7. package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.d.ts +10 -0
  8. package/lib/commonjs/extensions/rcsb/validation-report/representation.d.ts +50 -0
  9. package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +2 -8
  10. package/lib/commonjs/mol-canvas3d/canvas3d.js +2 -1
  11. package/lib/commonjs/mol-canvas3d/helper/bounding-sphere-helper.js +3 -2
  12. package/lib/commonjs/mol-canvas3d/helper/camera-helper.d.ts +4 -0
  13. package/lib/commonjs/mol-canvas3d/helper/camera-helper.js +2 -2
  14. package/lib/commonjs/mol-canvas3d/helper/handle-helper.d.ts +4 -0
  15. package/lib/commonjs/mol-canvas3d/helper/handle-helper.js +2 -2
  16. package/lib/commonjs/mol-canvas3d/helper/helper.d.ts +2 -0
  17. package/lib/commonjs/mol-canvas3d/passes/image.d.ts +1 -0
  18. package/lib/commonjs/mol-canvas3d/passes/pick.js +9 -9
  19. package/lib/commonjs/mol-canvas3d/passes/postprocessing.js +3 -3
  20. package/lib/commonjs/mol-canvas3d/passes/smaa.js +1 -1
  21. package/lib/commonjs/mol-geo/geometry/base.d.ts +18 -0
  22. package/lib/commonjs/mol-geo/geometry/base.js +18 -1
  23. package/lib/commonjs/mol-geo/geometry/clipping-data.d.ts +1 -3
  24. package/lib/commonjs/mol-geo/geometry/clipping-data.js +3 -8
  25. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +10 -0
  26. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.js +2 -2
  27. package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.d.ts +10 -0
  28. package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.js +2 -2
  29. package/lib/commonjs/mol-geo/geometry/image/image.d.ts +10 -0
  30. package/lib/commonjs/mol-geo/geometry/lines/lines.d.ts +10 -0
  31. package/lib/commonjs/mol-geo/geometry/lines/lines.js +1 -1
  32. package/lib/commonjs/mol-geo/geometry/marker-data.d.ts +0 -1
  33. package/lib/commonjs/mol-geo/geometry/marker-data.js +0 -4
  34. package/lib/commonjs/mol-geo/geometry/mesh/mesh.d.ts +10 -0
  35. package/lib/commonjs/mol-geo/geometry/mesh/mesh.js +2 -2
  36. package/lib/commonjs/mol-geo/geometry/points/points.d.ts +10 -0
  37. package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +10 -0
  38. package/lib/commonjs/mol-geo/geometry/spheres/spheres.js +2 -2
  39. package/lib/commonjs/mol-geo/geometry/text/text.d.ts +10 -0
  40. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +10 -0
  41. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js +2 -2
  42. package/lib/commonjs/mol-gl/render-object.d.ts +2 -1
  43. package/lib/commonjs/mol-gl/render-object.js +10 -10
  44. package/lib/commonjs/mol-gl/renderable/cylinders.d.ts +10 -5
  45. package/lib/commonjs/mol-gl/renderable/cylinders.js +3 -3
  46. package/lib/commonjs/mol-gl/renderable/direct-volume.d.ts +10 -5
  47. package/lib/commonjs/mol-gl/renderable/direct-volume.js +3 -3
  48. package/lib/commonjs/mol-gl/renderable/image.d.ts +9 -4
  49. package/lib/commonjs/mol-gl/renderable/image.js +2 -2
  50. package/lib/commonjs/mol-gl/renderable/lines.d.ts +38 -33
  51. package/lib/commonjs/mol-gl/renderable/lines.js +3 -3
  52. package/lib/commonjs/mol-gl/renderable/mesh.d.ts +10 -5
  53. package/lib/commonjs/mol-gl/renderable/mesh.js +3 -3
  54. package/lib/commonjs/mol-gl/renderable/points.d.ts +9 -4
  55. package/lib/commonjs/mol-gl/renderable/points.js +2 -2
  56. package/lib/commonjs/mol-gl/renderable/schema.d.ts +9 -11
  57. package/lib/commonjs/mol-gl/renderable/schema.js +3 -9
  58. package/lib/commonjs/mol-gl/renderable/spheres.d.ts +10 -5
  59. package/lib/commonjs/mol-gl/renderable/spheres.js +3 -3
  60. package/lib/commonjs/mol-gl/renderable/text.d.ts +9 -4
  61. package/lib/commonjs/mol-gl/renderable/text.js +2 -2
  62. package/lib/commonjs/mol-gl/renderable/texture-mesh.d.ts +10 -5
  63. package/lib/commonjs/mol-gl/renderable/texture-mesh.js +3 -3
  64. package/lib/commonjs/mol-gl/renderable.d.ts +0 -1
  65. package/lib/commonjs/mol-gl/renderer.d.ts +12 -12
  66. package/lib/commonjs/mol-gl/renderer.js +12 -74
  67. package/lib/commonjs/mol-gl/scene.d.ts +2 -2
  68. package/lib/commonjs/mol-gl/scene.js +7 -5
  69. package/lib/commonjs/mol-gl/shader/chunks/apply-light-color.glsl.d.ts +1 -1
  70. package/lib/commonjs/mol-gl/shader/chunks/apply-light-color.glsl.js +1 -1
  71. package/lib/commonjs/mol-gl/shader/chunks/assign-color-varying.glsl.d.ts +1 -1
  72. package/lib/commonjs/mol-gl/shader/chunks/assign-color-varying.glsl.js +1 -1
  73. package/lib/commonjs/mol-gl/shader/chunks/assign-marker-varying.glsl.d.ts +1 -1
  74. package/lib/commonjs/mol-gl/shader/chunks/assign-marker-varying.glsl.js +1 -1
  75. package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.d.ts +1 -1
  76. package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.js +1 -1
  77. package/lib/commonjs/mol-gl/shader/chunks/color-frag-params.glsl.d.ts +1 -1
  78. package/lib/commonjs/mol-gl/shader/chunks/color-frag-params.glsl.js +1 -1
  79. package/lib/commonjs/mol-gl/shader/chunks/color-vert-params.glsl.d.ts +1 -1
  80. package/lib/commonjs/mol-gl/shader/chunks/color-vert-params.glsl.js +1 -1
  81. package/lib/commonjs/mol-gl/shader/chunks/common-frag-params.glsl.d.ts +1 -1
  82. package/lib/commonjs/mol-gl/shader/chunks/common-frag-params.glsl.js +1 -1
  83. package/lib/commonjs/mol-gl/shader/chunks/common-vert-params.glsl.d.ts +1 -1
  84. package/lib/commonjs/mol-gl/shader/chunks/common-vert-params.glsl.js +1 -1
  85. package/lib/commonjs/mol-gl/shader/chunks/common.glsl.d.ts +1 -1
  86. package/lib/commonjs/mol-gl/shader/chunks/common.glsl.js +1 -1
  87. package/lib/commonjs/mol-gl/shader/cylinders.frag.d.ts +1 -1
  88. package/lib/commonjs/mol-gl/shader/cylinders.frag.js +1 -1
  89. package/lib/commonjs/mol-gl/shader/direct-volume.frag.d.ts +1 -1
  90. package/lib/commonjs/mol-gl/shader/direct-volume.frag.js +1 -1
  91. package/lib/commonjs/mol-gl/shader/image.frag.d.ts +1 -1
  92. package/lib/commonjs/mol-gl/shader/image.frag.js +1 -1
  93. package/lib/commonjs/mol-gl/shader/mesh.frag.d.ts +1 -1
  94. package/lib/commonjs/mol-gl/shader/mesh.frag.js +1 -1
  95. package/lib/commonjs/mol-gl/shader/mesh.vert.d.ts +1 -1
  96. package/lib/commonjs/mol-gl/shader/mesh.vert.js +1 -1
  97. package/lib/commonjs/mol-gl/shader/spheres.frag.d.ts +1 -1
  98. package/lib/commonjs/mol-gl/shader/spheres.frag.js +1 -1
  99. package/lib/commonjs/mol-gl/shader-code.d.ts +3 -1
  100. package/lib/commonjs/mol-gl/shader-code.js +42 -13
  101. package/lib/commonjs/mol-gl/webgl/render-item.d.ts +7 -6
  102. package/lib/commonjs/mol-gl/webgl/render-item.js +10 -8
  103. package/lib/commonjs/mol-gl/webgl/resources.js +8 -1
  104. package/lib/commonjs/mol-math/linear-algebra/3d/quat.d.ts +9 -1
  105. package/lib/commonjs/mol-math/linear-algebra/3d/quat.js +20 -1
  106. package/lib/commonjs/mol-model-formats/shape/ply.d.ts +20 -0
  107. package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +10 -0
  108. package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +10 -0
  109. package/lib/commonjs/mol-model-props/computed/representations/interactions.d.ts +30 -0
  110. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.d.ts +40 -0
  111. package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +11 -0
  112. package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js +3 -1
  113. package/lib/commonjs/mol-plugin/commands.d.ts +1 -4
  114. package/lib/commonjs/mol-plugin/spec.js +1 -0
  115. package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +12 -0
  116. package/lib/commonjs/mol-plugin-state/helpers/structure-clipping.d.ts +1 -1
  117. package/lib/commonjs/mol-plugin-state/helpers/structure-clipping.js +1 -1
  118. package/lib/commonjs/mol-plugin-state/manager/structure/component.d.ts +13 -1
  119. package/lib/commonjs/mol-plugin-state/manager/structure/component.js +13 -8
  120. package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +32 -0
  121. package/lib/commonjs/mol-plugin-ui/viewport/simple-settings.js +2 -6
  122. package/lib/commonjs/mol-repr/shape/loci/angle.d.ts +10 -0
  123. package/lib/commonjs/mol-repr/shape/loci/common.d.ts +10 -0
  124. package/lib/commonjs/mol-repr/shape/loci/dihedral.d.ts +10 -0
  125. package/lib/commonjs/mol-repr/shape/loci/distance.d.ts +10 -0
  126. package/lib/commonjs/mol-repr/shape/loci/label.d.ts +10 -0
  127. package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +10 -0
  128. package/lib/commonjs/mol-repr/shape/loci/plane.d.ts +10 -0
  129. package/lib/commonjs/mol-repr/shape/model/unitcell.d.ts +10 -0
  130. package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +60 -0
  131. package/lib/commonjs/mol-repr/structure/params.d.ts +80 -0
  132. package/lib/commonjs/mol-repr/structure/registry.d.ts +140 -0
  133. package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +30 -0
  134. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +30 -0
  135. package/lib/commonjs/mol-repr/structure/representation/carbohydrate.d.ts +30 -0
  136. package/lib/commonjs/mol-repr/structure/representation/cartoon.d.ts +30 -0
  137. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +30 -0
  138. package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +30 -0
  139. package/lib/commonjs/mol-repr/structure/representation/gaussian-volume.d.ts +30 -0
  140. package/lib/commonjs/mol-repr/structure/representation/label.d.ts +30 -0
  141. package/lib/commonjs/mol-repr/structure/representation/line.d.ts +30 -0
  142. package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +30 -0
  143. package/lib/commonjs/mol-repr/structure/representation/orientation.d.ts +30 -0
  144. package/lib/commonjs/mol-repr/structure/representation/point.d.ts +30 -0
  145. package/lib/commonjs/mol-repr/structure/representation/putty.d.ts +30 -0
  146. package/lib/commonjs/mol-repr/structure/representation/spacefill.d.ts +30 -0
  147. package/lib/commonjs/mol-repr/structure/units-visual.d.ts +80 -0
  148. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +20 -0
  149. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.d.ts +10 -0
  150. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +20 -0
  151. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.d.ts +10 -0
  152. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +10 -0
  153. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +10 -0
  154. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +10 -0
  155. package/lib/commonjs/mol-repr/structure/visual/element-cross.d.ts +10 -0
  156. package/lib/commonjs/mol-repr/structure/visual/element-point.d.ts +10 -0
  157. package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +20 -0
  158. package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.d.ts +10 -0
  159. package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.d.ts +20 -0
  160. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +40 -0
  161. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +10 -0
  162. package/lib/commonjs/mol-repr/structure/visual/label-text.d.ts +10 -0
  163. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +10 -0
  164. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +10 -0
  165. package/lib/commonjs/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +10 -0
  166. package/lib/commonjs/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +10 -0
  167. package/lib/commonjs/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +10 -0
  168. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +20 -0
  169. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +20 -0
  170. package/lib/commonjs/mol-repr/structure/visual/polymer-direction-wedge.d.ts +10 -0
  171. package/lib/commonjs/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +10 -0
  172. package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.d.ts +10 -0
  173. package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.d.ts +10 -0
  174. package/lib/commonjs/mol-repr/visual.js +11 -7
  175. package/lib/commonjs/mol-repr/volume/direct-volume.d.ts +30 -0
  176. package/lib/commonjs/mol-repr/volume/isosurface.d.ts +60 -0
  177. package/lib/commonjs/mol-repr/volume/registry.d.ts +30 -0
  178. package/lib/commonjs/mol-repr/volume/representation.d.ts +10 -0
  179. package/lib/commonjs/mol-repr/volume/slice.d.ts +30 -0
  180. package/lib/commonjs/mol-theme/clipping.d.ts +7 -15
  181. package/lib/commonjs/mol-theme/clipping.js +5 -12
  182. package/lib/commonjs/mol-util/clip.d.ts +49 -0
  183. package/lib/commonjs/mol-util/clip.js +97 -0
  184. package/lib/extensions/anvil/behavior.d.ts +4 -0
  185. package/lib/extensions/anvil/representation.d.ts +50 -0
  186. package/lib/extensions/cellpack/representation.d.ts +10 -0
  187. package/lib/extensions/dnatco/confal-pyramids/representation.d.ts +30 -0
  188. package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +4 -0
  189. package/lib/extensions/rcsb/assembly-symmetry/representation.d.ts +10 -0
  190. package/lib/extensions/rcsb/validation-report/representation.d.ts +50 -0
  191. package/lib/mol-canvas3d/canvas3d.d.ts +2 -8
  192. package/lib/mol-canvas3d/canvas3d.js +2 -1
  193. package/lib/mol-canvas3d/helper/bounding-sphere-helper.js +3 -2
  194. package/lib/mol-canvas3d/helper/camera-helper.d.ts +4 -0
  195. package/lib/mol-canvas3d/helper/camera-helper.js +2 -2
  196. package/lib/mol-canvas3d/helper/handle-helper.d.ts +4 -0
  197. package/lib/mol-canvas3d/helper/handle-helper.js +2 -2
  198. package/lib/mol-canvas3d/helper/helper.d.ts +2 -0
  199. package/lib/mol-canvas3d/passes/image.d.ts +1 -0
  200. package/lib/mol-canvas3d/passes/pick.js +9 -9
  201. package/lib/mol-canvas3d/passes/postprocessing.js +3 -3
  202. package/lib/mol-canvas3d/passes/smaa.js +1 -1
  203. package/lib/mol-geo/geometry/base.d.ts +18 -0
  204. package/lib/mol-geo/geometry/base.js +18 -1
  205. package/lib/mol-geo/geometry/clipping-data.d.ts +1 -3
  206. package/lib/mol-geo/geometry/clipping-data.js +3 -8
  207. package/lib/mol-geo/geometry/cylinders/cylinders.d.ts +10 -0
  208. package/lib/mol-geo/geometry/cylinders/cylinders.js +2 -2
  209. package/lib/mol-geo/geometry/direct-volume/direct-volume.d.ts +10 -0
  210. package/lib/mol-geo/geometry/direct-volume/direct-volume.js +2 -2
  211. package/lib/mol-geo/geometry/image/image.d.ts +10 -0
  212. package/lib/mol-geo/geometry/lines/lines.d.ts +10 -0
  213. package/lib/mol-geo/geometry/lines/lines.js +1 -1
  214. package/lib/mol-geo/geometry/marker-data.d.ts +0 -1
  215. package/lib/mol-geo/geometry/marker-data.js +0 -4
  216. package/lib/mol-geo/geometry/mesh/mesh.d.ts +10 -0
  217. package/lib/mol-geo/geometry/mesh/mesh.js +2 -2
  218. package/lib/mol-geo/geometry/points/points.d.ts +10 -0
  219. package/lib/mol-geo/geometry/spheres/spheres.d.ts +10 -0
  220. package/lib/mol-geo/geometry/spheres/spheres.js +2 -2
  221. package/lib/mol-geo/geometry/text/text.d.ts +10 -0
  222. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +10 -0
  223. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js +2 -2
  224. package/lib/mol-gl/render-object.d.ts +2 -1
  225. package/lib/mol-gl/render-object.js +10 -10
  226. package/lib/mol-gl/renderable/cylinders.d.ts +10 -5
  227. package/lib/mol-gl/renderable/cylinders.js +3 -3
  228. package/lib/mol-gl/renderable/direct-volume.d.ts +10 -5
  229. package/lib/mol-gl/renderable/direct-volume.js +3 -3
  230. package/lib/mol-gl/renderable/image.d.ts +9 -4
  231. package/lib/mol-gl/renderable/image.js +2 -2
  232. package/lib/mol-gl/renderable/lines.d.ts +38 -33
  233. package/lib/mol-gl/renderable/lines.js +4 -4
  234. package/lib/mol-gl/renderable/mesh.d.ts +10 -5
  235. package/lib/mol-gl/renderable/mesh.js +3 -3
  236. package/lib/mol-gl/renderable/points.d.ts +9 -4
  237. package/lib/mol-gl/renderable/points.js +2 -2
  238. package/lib/mol-gl/renderable/schema.d.ts +9 -11
  239. package/lib/mol-gl/renderable/schema.js +3 -9
  240. package/lib/mol-gl/renderable/spheres.d.ts +10 -5
  241. package/lib/mol-gl/renderable/spheres.js +3 -3
  242. package/lib/mol-gl/renderable/text.d.ts +9 -4
  243. package/lib/mol-gl/renderable/text.js +2 -2
  244. package/lib/mol-gl/renderable/texture-mesh.d.ts +10 -5
  245. package/lib/mol-gl/renderable/texture-mesh.js +3 -3
  246. package/lib/mol-gl/renderable.d.ts +0 -1
  247. package/lib/mol-gl/renderer.d.ts +12 -12
  248. package/lib/mol-gl/renderer.js +13 -75
  249. package/lib/mol-gl/scene.d.ts +2 -2
  250. package/lib/mol-gl/scene.js +7 -5
  251. package/lib/mol-gl/shader/chunks/apply-light-color.glsl.d.ts +1 -1
  252. package/lib/mol-gl/shader/chunks/apply-light-color.glsl.js +1 -1
  253. package/lib/mol-gl/shader/chunks/assign-color-varying.glsl.d.ts +1 -1
  254. package/lib/mol-gl/shader/chunks/assign-color-varying.glsl.js +1 -1
  255. package/lib/mol-gl/shader/chunks/assign-marker-varying.glsl.d.ts +1 -1
  256. package/lib/mol-gl/shader/chunks/assign-marker-varying.glsl.js +1 -1
  257. package/lib/mol-gl/shader/chunks/assign-material-color.glsl.d.ts +1 -1
  258. package/lib/mol-gl/shader/chunks/assign-material-color.glsl.js +1 -1
  259. package/lib/mol-gl/shader/chunks/color-frag-params.glsl.d.ts +1 -1
  260. package/lib/mol-gl/shader/chunks/color-frag-params.glsl.js +1 -1
  261. package/lib/mol-gl/shader/chunks/color-vert-params.glsl.d.ts +1 -1
  262. package/lib/mol-gl/shader/chunks/color-vert-params.glsl.js +1 -1
  263. package/lib/mol-gl/shader/chunks/common-frag-params.glsl.d.ts +1 -1
  264. package/lib/mol-gl/shader/chunks/common-frag-params.glsl.js +1 -1
  265. package/lib/mol-gl/shader/chunks/common-vert-params.glsl.d.ts +1 -1
  266. package/lib/mol-gl/shader/chunks/common-vert-params.glsl.js +1 -1
  267. package/lib/mol-gl/shader/chunks/common.glsl.d.ts +1 -1
  268. package/lib/mol-gl/shader/chunks/common.glsl.js +1 -1
  269. package/lib/mol-gl/shader/cylinders.frag.d.ts +1 -1
  270. package/lib/mol-gl/shader/cylinders.frag.js +1 -1
  271. package/lib/mol-gl/shader/direct-volume.frag.d.ts +1 -1
  272. package/lib/mol-gl/shader/direct-volume.frag.js +1 -1
  273. package/lib/mol-gl/shader/image.frag.d.ts +1 -1
  274. package/lib/mol-gl/shader/image.frag.js +1 -1
  275. package/lib/mol-gl/shader/mesh.frag.d.ts +1 -1
  276. package/lib/mol-gl/shader/mesh.frag.js +1 -1
  277. package/lib/mol-gl/shader/mesh.vert.d.ts +1 -1
  278. package/lib/mol-gl/shader/mesh.vert.js +1 -1
  279. package/lib/mol-gl/shader/spheres.frag.d.ts +1 -1
  280. package/lib/mol-gl/shader/spheres.frag.js +1 -1
  281. package/lib/mol-gl/shader-code.d.ts +3 -1
  282. package/lib/mol-gl/shader-code.js +42 -13
  283. package/lib/mol-gl/webgl/render-item.d.ts +7 -6
  284. package/lib/mol-gl/webgl/render-item.js +8 -6
  285. package/lib/mol-gl/webgl/resources.js +8 -1
  286. package/lib/mol-math/linear-algebra/3d/quat.d.ts +9 -1
  287. package/lib/mol-math/linear-algebra/3d/quat.js +20 -1
  288. package/lib/mol-model-formats/shape/ply.d.ts +20 -0
  289. package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +10 -0
  290. package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +10 -0
  291. package/lib/mol-model-props/computed/representations/interactions.d.ts +30 -0
  292. package/lib/mol-model-props/integrative/cross-link-restraint/representation.d.ts +40 -0
  293. package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +11 -0
  294. package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js +3 -1
  295. package/lib/mol-plugin/commands.d.ts +1 -4
  296. package/lib/mol-plugin/spec.js +1 -0
  297. package/lib/mol-plugin/util/viewport-screenshot.d.ts +12 -0
  298. package/lib/mol-plugin/version.js +2 -2
  299. package/lib/mol-plugin-state/helpers/structure-clipping.d.ts +1 -1
  300. package/lib/mol-plugin-state/helpers/structure-clipping.js +1 -1
  301. package/lib/mol-plugin-state/manager/structure/component.d.ts +13 -1
  302. package/lib/mol-plugin-state/manager/structure/component.js +13 -8
  303. package/lib/mol-plugin-state/transforms/representation.d.ts +32 -0
  304. package/lib/mol-plugin-ui/viewport/simple-settings.js +2 -6
  305. package/lib/mol-repr/shape/loci/angle.d.ts +10 -0
  306. package/lib/mol-repr/shape/loci/common.d.ts +10 -0
  307. package/lib/mol-repr/shape/loci/dihedral.d.ts +10 -0
  308. package/lib/mol-repr/shape/loci/distance.d.ts +10 -0
  309. package/lib/mol-repr/shape/loci/label.d.ts +10 -0
  310. package/lib/mol-repr/shape/loci/orientation.d.ts +10 -0
  311. package/lib/mol-repr/shape/loci/plane.d.ts +10 -0
  312. package/lib/mol-repr/shape/model/unitcell.d.ts +10 -0
  313. package/lib/mol-repr/structure/complex-visual.d.ts +60 -0
  314. package/lib/mol-repr/structure/params.d.ts +80 -0
  315. package/lib/mol-repr/structure/registry.d.ts +140 -0
  316. package/lib/mol-repr/structure/representation/backbone.d.ts +30 -0
  317. package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +30 -0
  318. package/lib/mol-repr/structure/representation/carbohydrate.d.ts +30 -0
  319. package/lib/mol-repr/structure/representation/cartoon.d.ts +30 -0
  320. package/lib/mol-repr/structure/representation/ellipsoid.d.ts +30 -0
  321. package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +30 -0
  322. package/lib/mol-repr/structure/representation/gaussian-volume.d.ts +30 -0
  323. package/lib/mol-repr/structure/representation/label.d.ts +30 -0
  324. package/lib/mol-repr/structure/representation/line.d.ts +30 -0
  325. package/lib/mol-repr/structure/representation/molecular-surface.d.ts +30 -0
  326. package/lib/mol-repr/structure/representation/orientation.d.ts +30 -0
  327. package/lib/mol-repr/structure/representation/point.d.ts +30 -0
  328. package/lib/mol-repr/structure/representation/putty.d.ts +30 -0
  329. package/lib/mol-repr/structure/representation/spacefill.d.ts +30 -0
  330. package/lib/mol-repr/structure/units-visual.d.ts +80 -0
  331. package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +20 -0
  332. package/lib/mol-repr/structure/visual/bond-inter-unit-line.d.ts +10 -0
  333. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +20 -0
  334. package/lib/mol-repr/structure/visual/bond-intra-unit-line.d.ts +10 -0
  335. package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +10 -0
  336. package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +10 -0
  337. package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +10 -0
  338. package/lib/mol-repr/structure/visual/element-cross.d.ts +10 -0
  339. package/lib/mol-repr/structure/visual/element-point.d.ts +10 -0
  340. package/lib/mol-repr/structure/visual/element-sphere.d.ts +20 -0
  341. package/lib/mol-repr/structure/visual/ellipsoid-mesh.d.ts +10 -0
  342. package/lib/mol-repr/structure/visual/gaussian-density-volume.d.ts +20 -0
  343. package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +40 -0
  344. package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +10 -0
  345. package/lib/mol-repr/structure/visual/label-text.d.ts +10 -0
  346. package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +10 -0
  347. package/lib/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +10 -0
  348. package/lib/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +10 -0
  349. package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +10 -0
  350. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +10 -0
  351. package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +20 -0
  352. package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +20 -0
  353. package/lib/mol-repr/structure/visual/polymer-direction-wedge.d.ts +10 -0
  354. package/lib/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +10 -0
  355. package/lib/mol-repr/structure/visual/polymer-trace-mesh.d.ts +10 -0
  356. package/lib/mol-repr/structure/visual/polymer-tube-mesh.d.ts +10 -0
  357. package/lib/mol-repr/visual.js +11 -7
  358. package/lib/mol-repr/volume/direct-volume.d.ts +30 -0
  359. package/lib/mol-repr/volume/isosurface.d.ts +60 -0
  360. package/lib/mol-repr/volume/registry.d.ts +30 -0
  361. package/lib/mol-repr/volume/representation.d.ts +10 -0
  362. package/lib/mol-repr/volume/slice.d.ts +30 -0
  363. package/lib/mol-theme/clipping.d.ts +7 -15
  364. package/lib/mol-theme/clipping.js +5 -12
  365. package/lib/mol-util/clip.d.ts +49 -0
  366. package/lib/mol-util/clip.js +93 -0
  367. package/package.json +1 -1
@@ -30,6 +30,16 @@ export declare namespace StructureRepresentationRegistry {
30
30
  roughness: number;
31
31
  bumpiness: number;
32
32
  }>>;
33
+ clip: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
34
+ variant: import("../../mol-util/clip").Clip.Variant;
35
+ objects: import("../../mol-util/param-definition").ParamDefinition.Normalize<{
36
+ type: any;
37
+ invert: any;
38
+ position: any;
39
+ rotation: any;
40
+ scale: any;
41
+ }>[];
42
+ }>>;
33
43
  radialSegments: import("../../mol-util/param-definition").ParamDefinition.Numeric;
34
44
  detail: import("../../mol-util/param-definition").ParamDefinition.Numeric;
35
45
  aspectRatio: import("../../mol-util/param-definition").ParamDefinition.Numeric;
@@ -59,6 +69,16 @@ export declare namespace StructureRepresentationRegistry {
59
69
  roughness: number;
60
70
  bumpiness: number;
61
71
  }>>;
72
+ clip: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
73
+ variant: import("../../mol-util/clip").Clip.Variant;
74
+ objects: import("../../mol-util/param-definition").ParamDefinition.Normalize<{
75
+ type: any;
76
+ invert: any;
77
+ position: any;
78
+ rotation: any;
79
+ scale: any;
80
+ }>[];
81
+ }>>;
62
82
  tryUseImpostor: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
63
83
  detail: import("../../mol-util/param-definition").ParamDefinition.Numeric;
64
84
  }, "backbone">;
@@ -98,6 +118,16 @@ export declare namespace StructureRepresentationRegistry {
98
118
  roughness: number;
99
119
  bumpiness: number;
100
120
  }>>;
121
+ clip: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
122
+ variant: import("../../mol-util/clip").Clip.Variant;
123
+ objects: import("../../mol-util/param-definition").ParamDefinition.Normalize<{
124
+ type: any;
125
+ invert: any;
126
+ position: any;
127
+ rotation: any;
128
+ scale: any;
129
+ }>[];
130
+ }>>;
101
131
  flipSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
102
132
  flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
103
133
  traceOnly: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
@@ -133,6 +163,16 @@ export declare namespace StructureRepresentationRegistry {
133
163
  roughness: number;
134
164
  bumpiness: number;
135
165
  }>>;
166
+ clip: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
167
+ variant: import("../../mol-util/clip").Clip.Variant;
168
+ objects: import("../../mol-util/param-definition").ParamDefinition.Normalize<{
169
+ type: any;
170
+ invert: any;
171
+ position: any;
172
+ rotation: any;
173
+ scale: any;
174
+ }>[];
175
+ }>>;
136
176
  linkSizeFactor: import("../../mol-util/param-definition").ParamDefinition.Numeric;
137
177
  detail: import("../../mol-util/param-definition").ParamDefinition.Numeric;
138
178
  sizeFactor: import("../../mol-util/param-definition").ParamDefinition.Numeric;
@@ -173,6 +213,16 @@ export declare namespace StructureRepresentationRegistry {
173
213
  roughness: number;
174
214
  bumpiness: number;
175
215
  }>>;
216
+ clip: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
217
+ variant: import("../../mol-util/clip").Clip.Variant;
218
+ objects: import("../../mol-util/param-definition").ParamDefinition.Normalize<{
219
+ type: any;
220
+ invert: any;
221
+ position: any;
222
+ rotation: any;
223
+ scale: any;
224
+ }>[];
225
+ }>>;
176
226
  flipSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
177
227
  flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
178
228
  detail: import("../../mol-util/param-definition").ParamDefinition.Numeric;
@@ -196,6 +246,16 @@ export declare namespace StructureRepresentationRegistry {
196
246
  roughness: number;
197
247
  bumpiness: number;
198
248
  }>>;
249
+ clip: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
250
+ variant: import("../../mol-util/clip").Clip.Variant;
251
+ objects: import("../../mol-util/param-definition").ParamDefinition.Normalize<{
252
+ type: any;
253
+ invert: any;
254
+ position: any;
255
+ rotation: any;
256
+ scale: any;
257
+ }>[];
258
+ }>>;
199
259
  tryUseGpu: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
200
260
  smoothColors: import("../../mol-util/param-definition").ParamDefinition.Mapped<import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<unknown>, "auto"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
201
261
  resolutionFactor: number;
@@ -247,6 +307,16 @@ export declare namespace StructureRepresentationRegistry {
247
307
  roughness: number;
248
308
  bumpiness: number;
249
309
  }>>;
310
+ clip: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
311
+ variant: import("../../mol-util/clip").Clip.Variant;
312
+ objects: import("../../mol-util/param-definition").ParamDefinition.Normalize<{
313
+ type: any;
314
+ invert: any;
315
+ position: any;
316
+ rotation: any;
317
+ scale: any;
318
+ }>[];
319
+ }>>;
250
320
  }, "gaussian-volume">;
251
321
  label: import("./representation").StructureRepresentationProvider<{
252
322
  visuals: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"label-text">;
@@ -282,6 +352,16 @@ export declare namespace StructureRepresentationRegistry {
282
352
  roughness: number;
283
353
  bumpiness: number;
284
354
  }>>;
355
+ clip: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
356
+ variant: import("../../mol-util/clip").Clip.Variant;
357
+ objects: import("../../mol-util/param-definition").ParamDefinition.Normalize<{
358
+ type: any;
359
+ invert: any;
360
+ position: any;
361
+ rotation: any;
362
+ scale: any;
363
+ }>[];
364
+ }>>;
285
365
  }, "label">;
286
366
  line: import("./representation").StructureRepresentationProvider<{
287
367
  multipleBonds: import("../../mol-util/param-definition").ParamDefinition.Select<"offset" | "off" | "symmetric">;
@@ -301,6 +381,16 @@ export declare namespace StructureRepresentationRegistry {
301
381
  roughness: number;
302
382
  bumpiness: number;
303
383
  }>>;
384
+ clip: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
385
+ variant: import("../../mol-util/clip").Clip.Variant;
386
+ objects: import("../../mol-util/param-definition").ParamDefinition.Normalize<{
387
+ type: any;
388
+ invert: any;
389
+ position: any;
390
+ rotation: any;
391
+ scale: any;
392
+ }>[];
393
+ }>>;
304
394
  pointSizeAttenuation: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
305
395
  pointStyle: import("../../mol-util/param-definition").ParamDefinition.Select<"circle" | "square" | "fuzzy">;
306
396
  includeTypes: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
@@ -330,6 +420,16 @@ export declare namespace StructureRepresentationRegistry {
330
420
  roughness: number;
331
421
  bumpiness: number;
332
422
  }>>;
423
+ clip: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
424
+ variant: import("../../mol-util/clip").Clip.Variant;
425
+ objects: import("../../mol-util/param-definition").ParamDefinition.Normalize<{
426
+ type: any;
427
+ invert: any;
428
+ position: any;
429
+ rotation: any;
430
+ scale: any;
431
+ }>[];
432
+ }>>;
333
433
  smoothColors: import("../../mol-util/param-definition").ParamDefinition.Mapped<import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<unknown>, "auto"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
334
434
  resolutionFactor: number;
335
435
  sampleStride: number;
@@ -361,6 +461,16 @@ export declare namespace StructureRepresentationRegistry {
361
461
  roughness: number;
362
462
  bumpiness: number;
363
463
  }>>;
464
+ clip: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
465
+ variant: import("../../mol-util/clip").Clip.Variant;
466
+ objects: import("../../mol-util/param-definition").ParamDefinition.Normalize<{
467
+ type: any;
468
+ invert: any;
469
+ position: any;
470
+ rotation: any;
471
+ scale: any;
472
+ }>[];
473
+ }>>;
364
474
  }, "orientation">;
365
475
  point: import("./representation").StructureRepresentationProvider<{
366
476
  pointSizeAttenuation: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
@@ -377,6 +487,16 @@ export declare namespace StructureRepresentationRegistry {
377
487
  roughness: number;
378
488
  bumpiness: number;
379
489
  }>>;
490
+ clip: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
491
+ variant: import("../../mol-util/clip").Clip.Variant;
492
+ objects: import("../../mol-util/param-definition").ParamDefinition.Normalize<{
493
+ type: any;
494
+ invert: any;
495
+ position: any;
496
+ rotation: any;
497
+ scale: any;
498
+ }>[];
499
+ }>>;
380
500
  }, "point">;
381
501
  putty: import("./representation").StructureRepresentationProvider<{
382
502
  sizeFactor: import("../../mol-util/param-definition").ParamDefinition.Numeric;
@@ -398,6 +518,16 @@ export declare namespace StructureRepresentationRegistry {
398
518
  roughness: number;
399
519
  bumpiness: number;
400
520
  }>>;
521
+ clip: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
522
+ variant: import("../../mol-util/clip").Clip.Variant;
523
+ objects: import("../../mol-util/param-definition").ParamDefinition.Normalize<{
524
+ type: any;
525
+ invert: any;
526
+ position: any;
527
+ rotation: any;
528
+ scale: any;
529
+ }>[];
530
+ }>>;
401
531
  detail: import("../../mol-util/param-definition").ParamDefinition.Numeric;
402
532
  linearSegments: import("../../mol-util/param-definition").ParamDefinition.Numeric;
403
533
  }, "putty">;
@@ -421,6 +551,16 @@ export declare namespace StructureRepresentationRegistry {
421
551
  roughness: number;
422
552
  bumpiness: number;
423
553
  }>>;
554
+ clip: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
555
+ variant: import("../../mol-util/clip").Clip.Variant;
556
+ objects: import("../../mol-util/param-definition").ParamDefinition.Normalize<{
557
+ type: any;
558
+ invert: any;
559
+ position: any;
560
+ rotation: any;
561
+ scale: any;
562
+ }>[];
563
+ }>>;
424
564
  flipSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
425
565
  flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
426
566
  }, "spacefill">;
@@ -29,6 +29,16 @@ export declare const BackboneParams: {
29
29
  roughness: number;
30
30
  bumpiness: number;
31
31
  }>>;
32
+ clip: PD.Group<PD.Normalize<{
33
+ variant: import("../../../mol-util/clip").Clip.Variant;
34
+ objects: PD.Normalize<{
35
+ type: any;
36
+ invert: any;
37
+ position: any;
38
+ rotation: any;
39
+ scale: any;
40
+ }>[];
41
+ }>>;
32
42
  tryUseImpostor: PD.BooleanParam;
33
43
  detail: PD.Numeric;
34
44
  };
@@ -54,6 +64,16 @@ export declare function getBackboneParams(ctx: ThemeRegistryContext, structure:
54
64
  roughness: number;
55
65
  bumpiness: number;
56
66
  }>>;
67
+ clip: PD.Group<PD.Normalize<{
68
+ variant: import("../../../mol-util/clip").Clip.Variant;
69
+ objects: PD.Normalize<{
70
+ type: any;
71
+ invert: any;
72
+ position: any;
73
+ rotation: any;
74
+ scale: any;
75
+ }>[];
76
+ }>>;
57
77
  tryUseImpostor: PD.BooleanParam;
58
78
  detail: PD.Numeric;
59
79
  };
@@ -80,6 +100,16 @@ export declare const BackboneRepresentationProvider: StructureRepresentationProv
80
100
  roughness: number;
81
101
  bumpiness: number;
82
102
  }>>;
103
+ clip: PD.Group<PD.Normalize<{
104
+ variant: import("../../../mol-util/clip").Clip.Variant;
105
+ objects: PD.Normalize<{
106
+ type: any;
107
+ invert: any;
108
+ position: any;
109
+ rotation: any;
110
+ scale: any;
111
+ }>[];
112
+ }>>;
83
113
  tryUseImpostor: PD.BooleanParam;
84
114
  detail: PD.Numeric;
85
115
  }, "backbone">;
@@ -44,6 +44,16 @@ export declare const BallAndStickParams: {
44
44
  roughness: number;
45
45
  bumpiness: number;
46
46
  }>>;
47
+ clip: PD.Group<PD.Normalize<{
48
+ variant: import("../../../mol-util/clip").Clip.Variant;
49
+ objects: PD.Normalize<{
50
+ type: any;
51
+ invert: any;
52
+ position: any;
53
+ rotation: any;
54
+ scale: any;
55
+ }>[];
56
+ }>>;
47
57
  flipSided: PD.BooleanParam;
48
58
  flatShaded: PD.BooleanParam;
49
59
  traceOnly: PD.BooleanParam;
@@ -86,6 +96,16 @@ export declare function getBallAndStickParams(ctx: ThemeRegistryContext, structu
86
96
  roughness: number;
87
97
  bumpiness: number;
88
98
  }>>;
99
+ clip: PD.Group<PD.Normalize<{
100
+ variant: import("../../../mol-util/clip").Clip.Variant;
101
+ objects: PD.Normalize<{
102
+ type: any;
103
+ invert: any;
104
+ position: any;
105
+ rotation: any;
106
+ scale: any;
107
+ }>[];
108
+ }>>;
89
109
  flipSided: PD.BooleanParam;
90
110
  flatShaded: PD.BooleanParam;
91
111
  traceOnly: PD.BooleanParam;
@@ -129,6 +149,16 @@ export declare const BallAndStickRepresentationProvider: StructureRepresentation
129
149
  roughness: number;
130
150
  bumpiness: number;
131
151
  }>>;
152
+ clip: PD.Group<PD.Normalize<{
153
+ variant: import("../../../mol-util/clip").Clip.Variant;
154
+ objects: PD.Normalize<{
155
+ type: any;
156
+ invert: any;
157
+ position: any;
158
+ rotation: any;
159
+ scale: any;
160
+ }>[];
161
+ }>>;
132
162
  flipSided: PD.BooleanParam;
133
163
  flatShaded: PD.BooleanParam;
134
164
  traceOnly: PD.BooleanParam;
@@ -38,6 +38,16 @@ export declare const CarbohydrateParams: {
38
38
  roughness: number;
39
39
  bumpiness: number;
40
40
  }>>;
41
+ clip: PD.Group<PD.Normalize<{
42
+ variant: import("../../../mol-util/clip").Clip.Variant;
43
+ objects: PD.Normalize<{
44
+ type: any;
45
+ invert: any;
46
+ position: any;
47
+ rotation: any;
48
+ scale: any;
49
+ }>[];
50
+ }>>;
41
51
  linkSizeFactor: PD.Numeric;
42
52
  detail: PD.Numeric;
43
53
  sizeFactor: PD.Numeric;
@@ -73,6 +83,16 @@ export declare function getCarbohydrateParams(ctx: ThemeRegistryContext, structu
73
83
  roughness: number;
74
84
  bumpiness: number;
75
85
  }>>;
86
+ clip: PD.Group<PD.Normalize<{
87
+ variant: import("../../../mol-util/clip").Clip.Variant;
88
+ objects: PD.Normalize<{
89
+ type: any;
90
+ invert: any;
91
+ position: any;
92
+ rotation: any;
93
+ scale: any;
94
+ }>[];
95
+ }>>;
76
96
  linkSizeFactor: PD.Numeric;
77
97
  detail: PD.Numeric;
78
98
  sizeFactor: PD.Numeric;
@@ -109,6 +129,16 @@ export declare const CarbohydrateRepresentationProvider: StructureRepresentation
109
129
  roughness: number;
110
130
  bumpiness: number;
111
131
  }>>;
132
+ clip: PD.Group<PD.Normalize<{
133
+ variant: import("../../../mol-util/clip").Clip.Variant;
134
+ objects: PD.Normalize<{
135
+ type: any;
136
+ invert: any;
137
+ position: any;
138
+ rotation: any;
139
+ scale: any;
140
+ }>[];
141
+ }>>;
112
142
  linkSizeFactor: PD.Numeric;
113
143
  detail: PD.Numeric;
114
144
  sizeFactor: PD.Numeric;
@@ -27,6 +27,16 @@ export declare const CartoonParams: {
27
27
  roughness: number;
28
28
  bumpiness: number;
29
29
  }>>;
30
+ clip: PD.Group<PD.Normalize<{
31
+ variant: import("../../../mol-util/clip").Clip.Variant;
32
+ objects: PD.Normalize<{
33
+ type: any;
34
+ invert: any;
35
+ position: any;
36
+ rotation: any;
37
+ scale: any;
38
+ }>[];
39
+ }>>;
30
40
  radialSegments: PD.Numeric;
31
41
  detail: PD.Numeric;
32
42
  aspectRatio: PD.Numeric;
@@ -55,6 +65,16 @@ export declare function getCartoonParams(ctx: ThemeRegistryContext, structure: S
55
65
  roughness: number;
56
66
  bumpiness: number;
57
67
  }>>;
68
+ clip: PD.Group<PD.Normalize<{
69
+ variant: import("../../../mol-util/clip").Clip.Variant;
70
+ objects: PD.Normalize<{
71
+ type: any;
72
+ invert: any;
73
+ position: any;
74
+ rotation: any;
75
+ scale: any;
76
+ }>[];
77
+ }>>;
58
78
  radialSegments: PD.Numeric;
59
79
  detail: PD.Numeric;
60
80
  aspectRatio: PD.Numeric;
@@ -84,6 +104,16 @@ export declare const CartoonRepresentationProvider: StructureRepresentationProvi
84
104
  roughness: number;
85
105
  bumpiness: number;
86
106
  }>>;
107
+ clip: PD.Group<PD.Normalize<{
108
+ variant: import("../../../mol-util/clip").Clip.Variant;
109
+ objects: PD.Normalize<{
110
+ type: any;
111
+ invert: any;
112
+ position: any;
113
+ rotation: any;
114
+ scale: any;
115
+ }>[];
116
+ }>>;
87
117
  radialSegments: PD.Numeric;
88
118
  detail: PD.Numeric;
89
119
  aspectRatio: PD.Numeric;
@@ -44,6 +44,16 @@ export declare const EllipsoidParams: {
44
44
  roughness: number;
45
45
  bumpiness: number;
46
46
  }>>;
47
+ clip: PD.Group<PD.Normalize<{
48
+ variant: import("../../../mol-util/clip").Clip.Variant;
49
+ objects: PD.Normalize<{
50
+ type: any;
51
+ invert: any;
52
+ position: any;
53
+ rotation: any;
54
+ scale: any;
55
+ }>[];
56
+ }>>;
47
57
  flipSided: PD.BooleanParam;
48
58
  flatShaded: PD.BooleanParam;
49
59
  detail: PD.Numeric;
@@ -85,6 +95,16 @@ export declare function getEllipsoidParams(ctx: ThemeRegistryContext, structure:
85
95
  roughness: number;
86
96
  bumpiness: number;
87
97
  }>>;
98
+ clip: PD.Group<PD.Normalize<{
99
+ variant: import("../../../mol-util/clip").Clip.Variant;
100
+ objects: PD.Normalize<{
101
+ type: any;
102
+ invert: any;
103
+ position: any;
104
+ rotation: any;
105
+ scale: any;
106
+ }>[];
107
+ }>>;
88
108
  flipSided: PD.BooleanParam;
89
109
  flatShaded: PD.BooleanParam;
90
110
  detail: PD.Numeric;
@@ -127,6 +147,16 @@ export declare const EllipsoidRepresentationProvider: StructureRepresentationPro
127
147
  roughness: number;
128
148
  bumpiness: number;
129
149
  }>>;
150
+ clip: PD.Group<PD.Normalize<{
151
+ variant: import("../../../mol-util/clip").Clip.Variant;
152
+ objects: PD.Normalize<{
153
+ type: any;
154
+ invert: any;
155
+ position: any;
156
+ rotation: any;
157
+ scale: any;
158
+ }>[];
159
+ }>>;
130
160
  flipSided: PD.BooleanParam;
131
161
  flatShaded: PD.BooleanParam;
132
162
  detail: PD.Numeric;
@@ -27,6 +27,16 @@ export declare const GaussianSurfaceParams: {
27
27
  roughness: number;
28
28
  bumpiness: number;
29
29
  }>>;
30
+ clip: PD.Group<PD.Normalize<{
31
+ variant: import("../../../mol-util/clip").Clip.Variant;
32
+ objects: PD.Normalize<{
33
+ type: any;
34
+ invert: any;
35
+ position: any;
36
+ rotation: any;
37
+ scale: any;
38
+ }>[];
39
+ }>>;
30
40
  tryUseGpu: PD.BooleanParam;
31
41
  smoothColors: PD.Mapped<PD.NamedParams<PD.Normalize<unknown>, "auto"> | PD.NamedParams<PD.Normalize<{
32
42
  resolutionFactor: number;
@@ -59,6 +69,16 @@ export declare function getGaussianSurfaceParams(ctx: ThemeRegistryContext, stru
59
69
  roughness: number;
60
70
  bumpiness: number;
61
71
  }>>;
72
+ clip: PD.Group<PD.Normalize<{
73
+ variant: import("../../../mol-util/clip").Clip.Variant;
74
+ objects: PD.Normalize<{
75
+ type: any;
76
+ invert: any;
77
+ position: any;
78
+ rotation: any;
79
+ scale: any;
80
+ }>[];
81
+ }>>;
62
82
  tryUseGpu: PD.BooleanParam;
63
83
  smoothColors: PD.Mapped<PD.NamedParams<PD.Normalize<unknown>, "auto"> | PD.NamedParams<PD.Normalize<{
64
84
  resolutionFactor: number;
@@ -92,6 +112,16 @@ export declare const GaussianSurfaceRepresentationProvider: StructureRepresentat
92
112
  roughness: number;
93
113
  bumpiness: number;
94
114
  }>>;
115
+ clip: PD.Group<PD.Normalize<{
116
+ variant: import("../../../mol-util/clip").Clip.Variant;
117
+ objects: PD.Normalize<{
118
+ type: any;
119
+ invert: any;
120
+ position: any;
121
+ rotation: any;
122
+ scale: any;
123
+ }>[];
124
+ }>>;
95
125
  tryUseGpu: PD.BooleanParam;
96
126
  smoothColors: PD.Mapped<PD.NamedParams<PD.Normalize<unknown>, "auto"> | PD.NamedParams<PD.Normalize<{
97
127
  resolutionFactor: number;
@@ -47,6 +47,16 @@ export declare const GaussianVolumeParams: {
47
47
  roughness: number;
48
48
  bumpiness: number;
49
49
  }>>;
50
+ clip: PD.Group<PD.Normalize<{
51
+ variant: import("../../../mol-util/clip").Clip.Variant;
52
+ objects: PD.Normalize<{
53
+ type: any;
54
+ invert: any;
55
+ position: any;
56
+ rotation: any;
57
+ scale: any;
58
+ }>[];
59
+ }>>;
50
60
  };
51
61
  export declare type GaussianVolumeParams = typeof GaussianVolumeParams;
52
62
  export declare function getGaussianVolumeParams(ctx: ThemeRegistryContext, structure: Structure): {
@@ -88,6 +98,16 @@ export declare function getGaussianVolumeParams(ctx: ThemeRegistryContext, struc
88
98
  roughness: number;
89
99
  bumpiness: number;
90
100
  }>>;
101
+ clip: PD.Group<PD.Normalize<{
102
+ variant: import("../../../mol-util/clip").Clip.Variant;
103
+ objects: PD.Normalize<{
104
+ type: any;
105
+ invert: any;
106
+ position: any;
107
+ rotation: any;
108
+ scale: any;
109
+ }>[];
110
+ }>>;
91
111
  };
92
112
  export declare type GaussianVolumeRepresentation = StructureRepresentation<GaussianVolumeParams>;
93
113
  export declare function GaussianVolumeRepresentation(ctx: RepresentationContext, getParams: RepresentationParamsGetter<Structure, GaussianVolumeParams>): GaussianVolumeRepresentation;
@@ -130,4 +150,14 @@ export declare const GaussianVolumeRepresentationProvider: StructureRepresentati
130
150
  roughness: number;
131
151
  bumpiness: number;
132
152
  }>>;
153
+ clip: PD.Group<PD.Normalize<{
154
+ variant: import("../../../mol-util/clip").Clip.Variant;
155
+ objects: PD.Normalize<{
156
+ type: any;
157
+ invert: any;
158
+ position: any;
159
+ rotation: any;
160
+ scale: any;
161
+ }>[];
162
+ }>>;
133
163
  }, "gaussian-volume">;
@@ -42,6 +42,16 @@ export declare const LabelParams: {
42
42
  roughness: number;
43
43
  bumpiness: number;
44
44
  }>>;
45
+ clip: PD.Group<PD.Normalize<{
46
+ variant: import("../../../mol-util/clip").Clip.Variant;
47
+ objects: PD.Normalize<{
48
+ type: any;
49
+ invert: any;
50
+ position: any;
51
+ rotation: any;
52
+ scale: any;
53
+ }>[];
54
+ }>>;
45
55
  };
46
56
  export declare type LabelParams = typeof LabelParams;
47
57
  export declare function getLabelParams(ctx: ThemeRegistryContext, structure: Structure): {
@@ -78,6 +88,16 @@ export declare function getLabelParams(ctx: ThemeRegistryContext, structure: Str
78
88
  roughness: number;
79
89
  bumpiness: number;
80
90
  }>>;
91
+ clip: PD.Group<PD.Normalize<{
92
+ variant: import("../../../mol-util/clip").Clip.Variant;
93
+ objects: PD.Normalize<{
94
+ type: any;
95
+ invert: any;
96
+ position: any;
97
+ rotation: any;
98
+ scale: any;
99
+ }>[];
100
+ }>>;
81
101
  };
82
102
  export declare type LabelRepresentation = StructureRepresentation<LabelParams>;
83
103
  export declare function LabelRepresentation(ctx: RepresentationContext, getParams: RepresentationParamsGetter<Structure, LabelParams>): LabelRepresentation;
@@ -115,4 +135,14 @@ export declare const LabelRepresentationProvider: StructureRepresentationProvide
115
135
  roughness: number;
116
136
  bumpiness: number;
117
137
  }>>;
138
+ clip: PD.Group<PD.Normalize<{
139
+ variant: import("../../../mol-util/clip").Clip.Variant;
140
+ objects: PD.Normalize<{
141
+ type: any;
142
+ invert: any;
143
+ position: any;
144
+ rotation: any;
145
+ scale: any;
146
+ }>[];
147
+ }>>;
118
148
  }, "label">;