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
@@ -26,6 +26,16 @@ export declare const LineParams: {
26
26
  roughness: number;
27
27
  bumpiness: number;
28
28
  }>>;
29
+ clip: PD.Group<PD.Normalize<{
30
+ variant: import("../../../mol-util/clip").Clip.Variant;
31
+ objects: PD.Normalize<{
32
+ type: any;
33
+ invert: any;
34
+ position: any;
35
+ rotation: any;
36
+ scale: any;
37
+ }>[];
38
+ }>>;
29
39
  pointSizeAttenuation: PD.BooleanParam;
30
40
  pointStyle: PD.Select<"circle" | "square" | "fuzzy">;
31
41
  includeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
@@ -55,6 +65,16 @@ export declare function getLineParams(ctx: ThemeRegistryContext, structure: Stru
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
  pointSizeAttenuation: PD.BooleanParam;
59
79
  pointStyle: PD.Select<"circle" | "square" | "fuzzy">;
60
80
  includeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
@@ -85,6 +105,16 @@ export declare const LineRepresentationProvider: StructureRepresentationProvider
85
105
  roughness: number;
86
106
  bumpiness: number;
87
107
  }>>;
108
+ clip: PD.Group<PD.Normalize<{
109
+ variant: import("../../../mol-util/clip").Clip.Variant;
110
+ objects: PD.Normalize<{
111
+ type: any;
112
+ invert: any;
113
+ position: any;
114
+ rotation: any;
115
+ scale: any;
116
+ }>[];
117
+ }>>;
88
118
  pointSizeAttenuation: PD.BooleanParam;
89
119
  pointStyle: PD.Select<"circle" | "square" | "fuzzy">;
90
120
  includeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
@@ -27,6 +27,16 @@ export declare const MolecularSurfaceParams: {
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
  smoothColors: PD.Mapped<PD.NamedParams<PD.Normalize<unknown>, "auto"> | PD.NamedParams<PD.Normalize<{
31
41
  resolutionFactor: number;
32
42
  sampleStride: number;
@@ -58,6 +68,16 @@ export declare function getMolecularSurfaceParams(ctx: ThemeRegistryContext, str
58
68
  roughness: number;
59
69
  bumpiness: number;
60
70
  }>>;
71
+ clip: PD.Group<PD.Normalize<{
72
+ variant: import("../../../mol-util/clip").Clip.Variant;
73
+ objects: PD.Normalize<{
74
+ type: any;
75
+ invert: any;
76
+ position: any;
77
+ rotation: any;
78
+ scale: any;
79
+ }>[];
80
+ }>>;
61
81
  smoothColors: PD.Mapped<PD.NamedParams<PD.Normalize<unknown>, "auto"> | PD.NamedParams<PD.Normalize<{
62
82
  resolutionFactor: number;
63
83
  sampleStride: number;
@@ -90,6 +110,16 @@ export declare const MolecularSurfaceRepresentationProvider: StructureRepresenta
90
110
  roughness: number;
91
111
  bumpiness: number;
92
112
  }>>;
113
+ clip: PD.Group<PD.Normalize<{
114
+ variant: import("../../../mol-util/clip").Clip.Variant;
115
+ objects: PD.Normalize<{
116
+ type: any;
117
+ invert: any;
118
+ position: any;
119
+ rotation: any;
120
+ scale: any;
121
+ }>[];
122
+ }>>;
93
123
  smoothColors: PD.Mapped<PD.NamedParams<PD.Normalize<unknown>, "auto"> | PD.NamedParams<PD.Normalize<{
94
124
  resolutionFactor: number;
95
125
  sampleStride: number;
@@ -28,6 +28,16 @@ export declare const OrientationParams: {
28
28
  roughness: number;
29
29
  bumpiness: number;
30
30
  }>>;
31
+ clip: PD.Group<PD.Normalize<{
32
+ variant: import("../../../mol-util/clip").Clip.Variant;
33
+ objects: PD.Normalize<{
34
+ type: any;
35
+ invert: any;
36
+ position: any;
37
+ rotation: any;
38
+ scale: any;
39
+ }>[];
40
+ }>>;
31
41
  };
32
42
  export declare type OrientationParams = typeof OrientationParams;
33
43
  export declare function getOrientationParams(ctx: ThemeRegistryContext, structure: Structure): {
@@ -50,6 +60,16 @@ export declare function getOrientationParams(ctx: ThemeRegistryContext, structur
50
60
  roughness: number;
51
61
  bumpiness: number;
52
62
  }>>;
63
+ clip: PD.Group<PD.Normalize<{
64
+ variant: import("../../../mol-util/clip").Clip.Variant;
65
+ objects: PD.Normalize<{
66
+ type: any;
67
+ invert: any;
68
+ position: any;
69
+ rotation: any;
70
+ scale: any;
71
+ }>[];
72
+ }>>;
53
73
  };
54
74
  export declare type OrientationRepresentation = StructureRepresentation<OrientationParams>;
55
75
  export declare function OrientationRepresentation(ctx: RepresentationContext, getParams: RepresentationParamsGetter<Structure, OrientationParams>): OrientationRepresentation;
@@ -73,4 +93,14 @@ export declare const OrientationRepresentationProvider: StructureRepresentationP
73
93
  roughness: number;
74
94
  bumpiness: number;
75
95
  }>>;
96
+ clip: PD.Group<PD.Normalize<{
97
+ variant: import("../../../mol-util/clip").Clip.Variant;
98
+ objects: PD.Normalize<{
99
+ type: any;
100
+ invert: any;
101
+ position: any;
102
+ rotation: any;
103
+ scale: any;
104
+ }>[];
105
+ }>>;
76
106
  }, "orientation">;
@@ -23,6 +23,16 @@ export declare const PointParams: {
23
23
  roughness: number;
24
24
  bumpiness: number;
25
25
  }>>;
26
+ clip: PD.Group<PD.Normalize<{
27
+ variant: import("../../../mol-util/clip").Clip.Variant;
28
+ objects: PD.Normalize<{
29
+ type: any;
30
+ invert: any;
31
+ position: any;
32
+ rotation: any;
33
+ scale: any;
34
+ }>[];
35
+ }>>;
26
36
  };
27
37
  export declare type PointParams = typeof PointParams;
28
38
  export declare function getPointParams(ctx: ThemeRegistryContext, structure: Structure): {
@@ -40,6 +50,16 @@ export declare function getPointParams(ctx: ThemeRegistryContext, structure: Str
40
50
  roughness: number;
41
51
  bumpiness: number;
42
52
  }>>;
53
+ clip: PD.Group<PD.Normalize<{
54
+ variant: import("../../../mol-util/clip").Clip.Variant;
55
+ objects: PD.Normalize<{
56
+ type: any;
57
+ invert: any;
58
+ position: any;
59
+ rotation: any;
60
+ scale: any;
61
+ }>[];
62
+ }>>;
43
63
  };
44
64
  export declare type PointRepresentation = StructureRepresentation<PointParams>;
45
65
  export declare function PointRepresentation(ctx: RepresentationContext, getParams: RepresentationParamsGetter<Structure, PointParams>): PointRepresentation;
@@ -58,4 +78,14 @@ export declare const PointRepresentationProvider: StructureRepresentationProvide
58
78
  roughness: number;
59
79
  bumpiness: number;
60
80
  }>>;
81
+ clip: PD.Group<PD.Normalize<{
82
+ variant: import("../../../mol-util/clip").Clip.Variant;
83
+ objects: PD.Normalize<{
84
+ type: any;
85
+ invert: any;
86
+ position: any;
87
+ rotation: any;
88
+ scale: any;
89
+ }>[];
90
+ }>>;
61
91
  }, "point">;
@@ -28,6 +28,16 @@ export declare const PuttyParams: {
28
28
  roughness: number;
29
29
  bumpiness: number;
30
30
  }>>;
31
+ clip: PD.Group<PD.Normalize<{
32
+ variant: import("../../../mol-util/clip").Clip.Variant;
33
+ objects: PD.Normalize<{
34
+ type: any;
35
+ invert: any;
36
+ position: any;
37
+ rotation: any;
38
+ scale: any;
39
+ }>[];
40
+ }>>;
31
41
  detail: PD.Numeric;
32
42
  linearSegments: PD.Numeric;
33
43
  };
@@ -52,6 +62,16 @@ export declare function getPuttyParams(ctx: ThemeRegistryContext, structure: Str
52
62
  roughness: number;
53
63
  bumpiness: number;
54
64
  }>>;
65
+ clip: PD.Group<PD.Normalize<{
66
+ variant: import("../../../mol-util/clip").Clip.Variant;
67
+ objects: PD.Normalize<{
68
+ type: any;
69
+ invert: any;
70
+ position: any;
71
+ rotation: any;
72
+ scale: any;
73
+ }>[];
74
+ }>>;
55
75
  detail: PD.Numeric;
56
76
  linearSegments: PD.Numeric;
57
77
  };
@@ -77,6 +97,16 @@ export declare const PuttyRepresentationProvider: StructureRepresentationProvide
77
97
  roughness: number;
78
98
  bumpiness: number;
79
99
  }>>;
100
+ clip: PD.Group<PD.Normalize<{
101
+ variant: import("../../../mol-util/clip").Clip.Variant;
102
+ objects: PD.Normalize<{
103
+ type: any;
104
+ invert: any;
105
+ position: any;
106
+ rotation: any;
107
+ scale: any;
108
+ }>[];
109
+ }>>;
80
110
  detail: PD.Numeric;
81
111
  linearSegments: PD.Numeric;
82
112
  }, "putty">;
@@ -28,6 +28,16 @@ export declare const SpacefillParams: {
28
28
  roughness: number;
29
29
  bumpiness: number;
30
30
  }>>;
31
+ clip: PD.Group<PD.Normalize<{
32
+ variant: import("../../../mol-util/clip").Clip.Variant;
33
+ objects: PD.Normalize<{
34
+ type: any;
35
+ invert: any;
36
+ position: any;
37
+ rotation: any;
38
+ scale: any;
39
+ }>[];
40
+ }>>;
31
41
  flipSided: PD.BooleanParam;
32
42
  flatShaded: PD.BooleanParam;
33
43
  };
@@ -52,6 +62,16 @@ export declare function getSpacefillParams(ctx: ThemeRegistryContext, structure:
52
62
  roughness: number;
53
63
  bumpiness: number;
54
64
  }>>;
65
+ clip: PD.Group<PD.Normalize<{
66
+ variant: import("../../../mol-util/clip").Clip.Variant;
67
+ objects: PD.Normalize<{
68
+ type: any;
69
+ invert: any;
70
+ position: any;
71
+ rotation: any;
72
+ scale: any;
73
+ }>[];
74
+ }>>;
55
75
  flipSided: PD.BooleanParam;
56
76
  flatShaded: PD.BooleanParam;
57
77
  };
@@ -77,6 +97,16 @@ export declare const SpacefillRepresentationProvider: StructureRepresentationPro
77
97
  roughness: number;
78
98
  bumpiness: number;
79
99
  }>>;
100
+ clip: PD.Group<PD.Normalize<{
101
+ variant: import("../../../mol-util/clip").Clip.Variant;
102
+ objects: PD.Normalize<{
103
+ type: any;
104
+ invert: any;
105
+ position: any;
106
+ rotation: any;
107
+ scale: any;
108
+ }>[];
109
+ }>>;
80
110
  flipSided: PD.BooleanParam;
81
111
  flatShaded: PD.BooleanParam;
82
112
  }, "spacefill">;
@@ -60,6 +60,16 @@ export declare const UnitsMeshParams: {
60
60
  roughness: number;
61
61
  bumpiness: number;
62
62
  }>>;
63
+ clip: PD.Group<PD.Normalize<{
64
+ variant: import("../../mol-util/clip").Clip.Variant;
65
+ objects: PD.Normalize<{
66
+ type: any;
67
+ invert: any;
68
+ position: any;
69
+ rotation: any;
70
+ scale: any;
71
+ }>[];
72
+ }>>;
63
73
  };
64
74
  export declare type UnitsMeshParams = typeof UnitsMeshParams;
65
75
  export interface UnitsMeshVisualBuilder<P extends UnitsMeshParams> extends UnitsVisualBuilder<P, Mesh> {
@@ -81,6 +91,16 @@ export declare const UnitsSpheresParams: {
81
91
  roughness: number;
82
92
  bumpiness: number;
83
93
  }>>;
94
+ clip: PD.Group<PD.Normalize<{
95
+ variant: import("../../mol-util/clip").Clip.Variant;
96
+ objects: PD.Normalize<{
97
+ type: any;
98
+ invert: any;
99
+ position: any;
100
+ rotation: any;
101
+ scale: any;
102
+ }>[];
103
+ }>>;
84
104
  };
85
105
  export declare type UnitsSpheresParams = typeof UnitsSpheresParams;
86
106
  export interface UnitsSpheresVisualBuilder<P extends UnitsSpheresParams> extends UnitsVisualBuilder<P, Spheres> {
@@ -103,6 +123,16 @@ export declare const UnitsCylindersParams: {
103
123
  roughness: number;
104
124
  bumpiness: number;
105
125
  }>>;
126
+ clip: PD.Group<PD.Normalize<{
127
+ variant: import("../../mol-util/clip").Clip.Variant;
128
+ objects: PD.Normalize<{
129
+ type: any;
130
+ invert: any;
131
+ position: any;
132
+ rotation: any;
133
+ scale: any;
134
+ }>[];
135
+ }>>;
106
136
  };
107
137
  export declare type UnitsCylindersParams = typeof UnitsCylindersParams;
108
138
  export interface UnitsCylindersVisualBuilder<P extends UnitsCylindersParams> extends UnitsVisualBuilder<P, Cylinders> {
@@ -121,6 +151,16 @@ export declare const UnitsPointsParams: {
121
151
  roughness: number;
122
152
  bumpiness: number;
123
153
  }>>;
154
+ clip: PD.Group<PD.Normalize<{
155
+ variant: import("../../mol-util/clip").Clip.Variant;
156
+ objects: PD.Normalize<{
157
+ type: any;
158
+ invert: any;
159
+ position: any;
160
+ rotation: any;
161
+ scale: any;
162
+ }>[];
163
+ }>>;
124
164
  };
125
165
  export declare type UnitsPointsParams = typeof UnitsPointsParams;
126
166
  export interface UnitsPointVisualBuilder<P extends UnitsPointsParams> extends UnitsVisualBuilder<P, Points> {
@@ -138,6 +178,16 @@ export declare const UnitsLinesParams: {
138
178
  roughness: number;
139
179
  bumpiness: number;
140
180
  }>>;
181
+ clip: PD.Group<PD.Normalize<{
182
+ variant: import("../../mol-util/clip").Clip.Variant;
183
+ objects: PD.Normalize<{
184
+ type: any;
185
+ invert: any;
186
+ position: any;
187
+ rotation: any;
188
+ scale: any;
189
+ }>[];
190
+ }>>;
141
191
  };
142
192
  export declare type UnitsLinesParams = typeof UnitsLinesParams;
143
193
  export interface UnitsLinesVisualBuilder<P extends UnitsLinesParams> extends UnitsVisualBuilder<P, Lines> {
@@ -172,6 +222,16 @@ export declare const UnitsTextParams: {
172
222
  roughness: number;
173
223
  bumpiness: number;
174
224
  }>>;
225
+ clip: PD.Group<PD.Normalize<{
226
+ variant: import("../../mol-util/clip").Clip.Variant;
227
+ objects: PD.Normalize<{
228
+ type: any;
229
+ invert: any;
230
+ position: any;
231
+ rotation: any;
232
+ scale: any;
233
+ }>[];
234
+ }>>;
175
235
  };
176
236
  export declare type UnitsTextParams = typeof UnitsTextParams;
177
237
  export interface UnitsTextVisualBuilder<P extends UnitsTextParams> extends UnitsVisualBuilder<P, Text> {
@@ -210,6 +270,16 @@ export declare const UnitsDirectVolumeParams: {
210
270
  roughness: number;
211
271
  bumpiness: number;
212
272
  }>>;
273
+ clip: PD.Group<PD.Normalize<{
274
+ variant: import("../../mol-util/clip").Clip.Variant;
275
+ objects: PD.Normalize<{
276
+ type: any;
277
+ invert: any;
278
+ position: any;
279
+ rotation: any;
280
+ scale: any;
281
+ }>[];
282
+ }>>;
213
283
  };
214
284
  export declare type UnitsDirectVolumeParams = typeof UnitsDirectVolumeParams;
215
285
  export interface UnitsDirectVolumeVisualBuilder<P extends UnitsDirectVolumeParams> extends UnitsVisualBuilder<P, DirectVolume> {
@@ -232,6 +302,16 @@ export declare const UnitsTextureMeshParams: {
232
302
  roughness: number;
233
303
  bumpiness: number;
234
304
  }>>;
305
+ clip: PD.Group<PD.Normalize<{
306
+ variant: import("../../mol-util/clip").Clip.Variant;
307
+ objects: PD.Normalize<{
308
+ type: any;
309
+ invert: any;
310
+ position: any;
311
+ rotation: any;
312
+ scale: any;
313
+ }>[];
314
+ }>>;
235
315
  };
236
316
  export declare type UnitsTextureMeshParams = typeof UnitsTextureMeshParams;
237
317
  export interface UnitsTextureMeshVisualBuilder<P extends UnitsTextureMeshParams> extends UnitsVisualBuilder<P, TextureMesh> {
@@ -42,6 +42,16 @@ export declare const InterUnitBondCylinderParams: {
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
  flipSided: PD.BooleanParam;
46
56
  flatShaded: PD.BooleanParam;
47
57
  };
@@ -81,6 +91,16 @@ export declare function InterUnitBondCylinderVisual(materialId: number, structur
81
91
  roughness: number;
82
92
  bumpiness: number;
83
93
  }>>;
94
+ clip: PD.Group<PD.Normalize<{
95
+ variant: import("../../../mol-util/clip").Clip.Variant;
96
+ objects: PD.Normalize<{
97
+ type: any;
98
+ invert: any;
99
+ position: any;
100
+ rotation: any;
101
+ scale: any;
102
+ }>[];
103
+ }>>;
84
104
  flipSided: PD.BooleanParam;
85
105
  flatShaded: PD.BooleanParam;
86
106
  }>;
@@ -26,6 +26,16 @@ export declare const InterUnitBondLineParams: {
26
26
  roughness: number;
27
27
  bumpiness: number;
28
28
  }>>;
29
+ clip: PD.Group<PD.Normalize<{
30
+ variant: import("../../../mol-util/clip").Clip.Variant;
31
+ objects: PD.Normalize<{
32
+ type: any;
33
+ invert: any;
34
+ position: any;
35
+ rotation: any;
36
+ scale: any;
37
+ }>[];
38
+ }>>;
29
39
  };
30
40
  export declare type InterUnitBondLineParams = typeof InterUnitBondLineParams;
31
41
  export declare function InterUnitBondLineVisual(materialId: number): ComplexVisual<InterUnitBondLineParams>;
@@ -43,6 +43,16 @@ export declare const IntraUnitBondCylinderParams: {
43
43
  roughness: number;
44
44
  bumpiness: number;
45
45
  }>>;
46
+ clip: PD.Group<PD.Normalize<{
47
+ variant: import("../../../mol-util/clip").Clip.Variant;
48
+ objects: PD.Normalize<{
49
+ type: any;
50
+ invert: any;
51
+ position: any;
52
+ rotation: any;
53
+ scale: any;
54
+ }>[];
55
+ }>>;
46
56
  flipSided: PD.BooleanParam;
47
57
  flatShaded: PD.BooleanParam;
48
58
  };
@@ -82,6 +92,16 @@ export declare function IntraUnitBondCylinderVisual(materialId: number, structur
82
92
  roughness: number;
83
93
  bumpiness: number;
84
94
  }>>;
95
+ clip: PD.Group<PD.Normalize<{
96
+ variant: import("../../../mol-util/clip").Clip.Variant;
97
+ objects: PD.Normalize<{
98
+ type: any;
99
+ invert: any;
100
+ position: any;
101
+ rotation: any;
102
+ scale: any;
103
+ }>[];
104
+ }>>;
85
105
  flipSided: PD.BooleanParam;
86
106
  flatShaded: PD.BooleanParam;
87
107
  }>;
@@ -26,6 +26,16 @@ export declare const IntraUnitBondLineParams: {
26
26
  roughness: number;
27
27
  bumpiness: number;
28
28
  }>>;
29
+ clip: PD.Group<PD.Normalize<{
30
+ variant: import("../../../mol-util/clip").Clip.Variant;
31
+ objects: PD.Normalize<{
32
+ type: any;
33
+ invert: any;
34
+ position: any;
35
+ rotation: any;
36
+ scale: any;
37
+ }>[];
38
+ }>>;
29
39
  };
30
40
  export declare type IntraUnitBondLineParams = typeof IntraUnitBondLineParams;
31
41
  export declare function IntraUnitBondLineVisual(materialId: number): UnitsVisual<IntraUnitBondLineParams>;
@@ -34,6 +34,16 @@ export declare const CarbohydrateLinkParams: {
34
34
  roughness: number;
35
35
  bumpiness: number;
36
36
  }>>;
37
+ clip: PD.Group<PD.Normalize<{
38
+ variant: import("../../../mol-util/clip").Clip.Variant;
39
+ objects: PD.Normalize<{
40
+ type: any;
41
+ invert: any;
42
+ position: any;
43
+ rotation: any;
44
+ scale: any;
45
+ }>[];
46
+ }>>;
37
47
  };
38
48
  export declare type CarbohydrateLinkParams = typeof CarbohydrateLinkParams;
39
49
  export declare function CarbohydrateLinkVisual(materialId: number): ComplexVisual<CarbohydrateLinkParams>;
@@ -24,6 +24,16 @@ export declare const CarbohydrateSymbolParams: {
24
24
  roughness: number;
25
25
  bumpiness: number;
26
26
  }>>;
27
+ clip: PD.Group<PD.Normalize<{
28
+ variant: import("../../../mol-util/clip").Clip.Variant;
29
+ objects: PD.Normalize<{
30
+ type: any;
31
+ invert: any;
32
+ position: any;
33
+ rotation: any;
34
+ scale: any;
35
+ }>[];
36
+ }>>;
27
37
  };
28
38
  export declare type CarbohydrateSymbolParams = typeof CarbohydrateSymbolParams;
29
39
  export declare function CarbohydrateSymbolVisual(materialId: number): ComplexVisual<CarbohydrateSymbolParams>;
@@ -34,6 +34,16 @@ export declare const CarbohydrateTerminalLinkParams: {
34
34
  roughness: number;
35
35
  bumpiness: number;
36
36
  }>>;
37
+ clip: PD.Group<PD.Normalize<{
38
+ variant: import("../../../mol-util/clip").Clip.Variant;
39
+ objects: PD.Normalize<{
40
+ type: any;
41
+ invert: any;
42
+ position: any;
43
+ rotation: any;
44
+ scale: any;
45
+ }>[];
46
+ }>>;
37
47
  };
38
48
  export declare type CarbohydrateTerminalLinkParams = typeof CarbohydrateTerminalLinkParams;
39
49
  export declare function CarbohydrateTerminalLinkVisual(materialId: number): ComplexVisual<CarbohydrateTerminalLinkParams>;
@@ -25,6 +25,16 @@ export declare const ElementCrossParams: {
25
25
  roughness: number;
26
26
  bumpiness: number;
27
27
  }>>;
28
+ clip: PD.Group<PD.Normalize<{
29
+ variant: import("../../../mol-util/clip").Clip.Variant;
30
+ objects: PD.Normalize<{
31
+ type: any;
32
+ invert: any;
33
+ position: any;
34
+ rotation: any;
35
+ scale: any;
36
+ }>[];
37
+ }>>;
28
38
  };
29
39
  export declare type ElementCrossParams = typeof ElementCrossParams;
30
40
  export declare function createElementCross(ctx: VisualContext, unit: Unit, structure: Structure, theme: Theme, props: PD.Values<ElementCrossParams>, lines: Lines): Lines;
@@ -24,6 +24,16 @@ export declare const ElementPointParams: {
24
24
  roughness: number;
25
25
  bumpiness: number;
26
26
  }>>;
27
+ clip: PD.Group<PD.Normalize<{
28
+ variant: import("../../../mol-util/clip").Clip.Variant;
29
+ objects: PD.Normalize<{
30
+ type: any;
31
+ invert: any;
32
+ position: any;
33
+ rotation: any;
34
+ scale: any;
35
+ }>[];
36
+ }>>;
27
37
  };
28
38
  export declare type ElementPointParams = typeof ElementPointParams;
29
39
  export declare function createElementPoint(ctx: VisualContext, unit: Unit, structure: Structure, theme: Theme, props: PD.Values<ElementPointParams>, points: Points): Points;
@@ -28,6 +28,16 @@ export declare const ElementSphereParams: {
28
28
  roughness: number;
29
29
  bumpiness: number;
30
30
  }>>;
31
+ clip: PD.Group<PD.Normalize<{
32
+ variant: import("../../../mol-util/clip").Clip.Variant;
33
+ objects: PD.Normalize<{
34
+ type: any;
35
+ invert: any;
36
+ position: any;
37
+ rotation: any;
38
+ scale: any;
39
+ }>[];
40
+ }>>;
31
41
  flipSided: PD.BooleanParam;
32
42
  flatShaded: PD.BooleanParam;
33
43
  };
@@ -52,6 +62,16 @@ export declare function ElementSphereVisual(materialId: number, structure: Struc
52
62
  roughness: number;
53
63
  bumpiness: number;
54
64
  }>>;
65
+ clip: PD.Group<PD.Normalize<{
66
+ variant: import("../../../mol-util/clip").Clip.Variant;
67
+ objects: PD.Normalize<{
68
+ type: any;
69
+ invert: any;
70
+ position: any;
71
+ rotation: any;
72
+ scale: any;
73
+ }>[];
74
+ }>>;
55
75
  flipSided: PD.BooleanParam;
56
76
  flatShaded: PD.BooleanParam;
57
77
  }>;
@@ -29,6 +29,16 @@ export declare const EllipsoidMeshParams: {
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
  };
33
43
  export declare type EllipsoidMeshParams = typeof EllipsoidMeshParams;
34
44
  export declare function EllipsoidMeshVisual(materialId: number): UnitsVisual<EllipsoidMeshParams>;