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