molstar 3.0.0-dev.3 → 3.0.0-dev.4

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 (379) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +187 -187
  3. package/build/viewer/embedded.html +43 -43
  4. package/build/viewer/index.html +95 -94
  5. package/build/viewer/molstar.css +1 -1
  6. package/build/viewer/molstar.js +1 -1
  7. package/lib/apps/docking-viewer/index.html +36 -36
  8. package/lib/apps/docking-viewer/viewport.js +2 -1
  9. package/lib/apps/viewer/embedded.html +43 -43
  10. package/lib/apps/viewer/index.html +95 -94
  11. package/lib/commonjs/apps/docking-viewer/viewport.js +2 -1
  12. package/lib/commonjs/examples/lighting/index.js +2 -1
  13. package/lib/commonjs/extensions/anvil/behavior.d.ts +3 -0
  14. package/lib/commonjs/extensions/anvil/representation.d.ts +13 -0
  15. package/lib/commonjs/extensions/cellpack/representation.d.ts +3 -0
  16. package/lib/commonjs/extensions/dnatco/confal-pyramids/representation.d.ts +9 -0
  17. package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +3 -0
  18. package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.d.ts +3 -0
  19. package/lib/commonjs/extensions/rcsb/validation-report/representation.d.ts +15 -0
  20. package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +6 -0
  21. package/lib/commonjs/mol-canvas3d/helper/camera-helper.d.ts +3 -0
  22. package/lib/commonjs/mol-canvas3d/helper/handle-helper.d.ts +3 -0
  23. package/lib/commonjs/mol-canvas3d/helper/helper.d.ts +4 -0
  24. package/lib/commonjs/mol-canvas3d/passes/image.d.ts +3 -0
  25. package/lib/commonjs/mol-canvas3d/passes/postprocessing.d.ts +1 -0
  26. package/lib/commonjs/mol-canvas3d/passes/postprocessing.js +4 -2
  27. package/lib/commonjs/mol-geo/geometry/base.d.ts +2 -0
  28. package/lib/commonjs/mol-geo/geometry/base.js +2 -0
  29. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +4 -1
  30. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.js +4 -2
  31. package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.d.ts +1 -0
  32. package/lib/commonjs/mol-geo/geometry/image/image.d.ts +1 -0
  33. package/lib/commonjs/mol-geo/geometry/lines/lines.d.ts +1 -0
  34. package/lib/commonjs/mol-geo/geometry/mesh/color-smoothing.js +1 -1
  35. package/lib/commonjs/mol-geo/geometry/mesh/mesh.d.ts +3 -0
  36. package/lib/commonjs/mol-geo/geometry/mesh/mesh.js +4 -2
  37. package/lib/commonjs/mol-geo/geometry/points/points.d.ts +2 -1
  38. package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +3 -0
  39. package/lib/commonjs/mol-geo/geometry/spheres/spheres.js +4 -2
  40. package/lib/commonjs/mol-geo/geometry/substance-data.js +3 -3
  41. package/lib/commonjs/mol-geo/geometry/text/text.d.ts +1 -0
  42. package/lib/commonjs/mol-geo/geometry/texture-mesh/color-smoothing.js +3 -3
  43. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +3 -0
  44. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js +4 -2
  45. package/lib/commonjs/mol-gl/renderable/cylinders.d.ts +31 -28
  46. package/lib/commonjs/mol-gl/renderable/cylinders.js +2 -2
  47. package/lib/commonjs/mol-gl/renderable/direct-volume.d.ts +1 -0
  48. package/lib/commonjs/mol-gl/renderable/image.d.ts +1 -0
  49. package/lib/commonjs/mol-gl/renderable/lines.d.ts +1 -0
  50. package/lib/commonjs/mol-gl/renderable/mesh.d.ts +28 -25
  51. package/lib/commonjs/mol-gl/renderable/mesh.js +2 -2
  52. package/lib/commonjs/mol-gl/renderable/points.d.ts +1 -0
  53. package/lib/commonjs/mol-gl/renderable/schema.d.ts +1 -0
  54. package/lib/commonjs/mol-gl/renderable/schema.js +3 -3
  55. package/lib/commonjs/mol-gl/renderable/spheres.d.ts +31 -28
  56. package/lib/commonjs/mol-gl/renderable/spheres.js +2 -2
  57. package/lib/commonjs/mol-gl/renderable/text.d.ts +1 -0
  58. package/lib/commonjs/mol-gl/renderable/texture-mesh.d.ts +3 -0
  59. package/lib/commonjs/mol-gl/renderable/texture-mesh.js +1 -1
  60. package/lib/commonjs/mol-gl/shader/chunks/apply-light-color.glsl.d.ts +1 -1
  61. package/lib/commonjs/mol-gl/shader/chunks/apply-light-color.glsl.js +1 -1
  62. package/lib/commonjs/mol-gl/shader/chunks/assign-color-varying.glsl.d.ts +1 -1
  63. package/lib/commonjs/mol-gl/shader/chunks/assign-color-varying.glsl.js +1 -1
  64. package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.d.ts +1 -1
  65. package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.js +1 -1
  66. package/lib/commonjs/mol-gl/shader/chunks/color-frag-params.glsl.d.ts +1 -1
  67. package/lib/commonjs/mol-gl/shader/chunks/color-frag-params.glsl.js +1 -1
  68. package/lib/commonjs/mol-gl/shader/chunks/color-vert-params.glsl.d.ts +1 -1
  69. package/lib/commonjs/mol-gl/shader/chunks/color-vert-params.glsl.js +1 -1
  70. package/lib/commonjs/mol-gl/shader/chunks/common-frag-params.glsl.d.ts +1 -1
  71. package/lib/commonjs/mol-gl/shader/chunks/common-frag-params.glsl.js +1 -1
  72. package/lib/commonjs/mol-gl/shader/chunks/common.glsl.d.ts +1 -1
  73. package/lib/commonjs/mol-gl/shader/chunks/common.glsl.js +1 -1
  74. package/lib/commonjs/mol-gl/shader/chunks/light-frag-params.glsl.d.ts +1 -1
  75. package/lib/commonjs/mol-gl/shader/chunks/light-frag-params.glsl.js +1 -1
  76. package/lib/commonjs/mol-gl/shader/cylinders.frag.d.ts +1 -1
  77. package/lib/commonjs/mol-gl/shader/cylinders.frag.js +1 -1
  78. package/lib/commonjs/mol-gl/shader/mesh.frag.d.ts +1 -1
  79. package/lib/commonjs/mol-gl/shader/mesh.frag.js +1 -1
  80. package/lib/commonjs/mol-gl/shader/postprocessing.frag.d.ts +1 -1
  81. package/lib/commonjs/mol-gl/shader/postprocessing.frag.js +1 -1
  82. package/lib/commonjs/mol-gl/shader/spheres.frag.d.ts +1 -1
  83. package/lib/commonjs/mol-gl/shader/spheres.frag.js +1 -1
  84. package/lib/commonjs/mol-model/structure/model/model.js +7 -3
  85. package/lib/commonjs/mol-model-formats/shape/ply.d.ts +6 -0
  86. package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +3 -0
  87. package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +3 -0
  88. package/lib/commonjs/mol-model-props/computed/representations/interactions.d.ts +9 -0
  89. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.d.ts +12 -0
  90. package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +1 -0
  91. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +2 -3
  92. package/lib/commonjs/mol-plugin/commands.d.ts +3 -0
  93. package/lib/commonjs/mol-plugin/config.d.ts +1 -0
  94. package/lib/commonjs/mol-plugin/config.js +9 -3
  95. package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +9 -0
  96. package/lib/commonjs/mol-plugin-state/manager/structure/component.d.ts +2 -0
  97. package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +22 -0
  98. package/lib/commonjs/mol-plugin-ui/controls/parameters.d.ts +3 -2
  99. package/lib/commonjs/mol-plugin-ui/controls/parameters.js +11 -6
  100. package/lib/commonjs/mol-plugin-ui/hooks/use-behavior.d.ts +1 -1
  101. package/lib/commonjs/mol-plugin-ui/hooks/use-behavior.js +8 -17
  102. package/lib/commonjs/mol-plugin-ui/plugin.d.ts +1 -1
  103. package/lib/commonjs/mol-plugin-ui/plugin.js +76 -10
  104. package/lib/commonjs/mol-repr/shape/loci/angle.d.ts +3 -0
  105. package/lib/commonjs/mol-repr/shape/loci/common.d.ts +1 -0
  106. package/lib/commonjs/mol-repr/shape/loci/dihedral.d.ts +3 -0
  107. package/lib/commonjs/mol-repr/shape/loci/distance.d.ts +1 -0
  108. package/lib/commonjs/mol-repr/shape/loci/label.d.ts +1 -0
  109. package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +3 -0
  110. package/lib/commonjs/mol-repr/shape/loci/plane.d.ts +3 -0
  111. package/lib/commonjs/mol-repr/shape/model/unitcell.d.ts +3 -0
  112. package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +12 -0
  113. package/lib/commonjs/mol-repr/structure/params.d.ts +16 -0
  114. package/lib/commonjs/mol-repr/structure/registry.d.ts +35 -1
  115. package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +9 -0
  116. package/lib/commonjs/mol-repr/structure/representation/backbone.js +2 -1
  117. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +9 -0
  118. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.js +2 -1
  119. package/lib/commonjs/mol-repr/structure/representation/carbohydrate.d.ts +9 -0
  120. package/lib/commonjs/mol-repr/structure/representation/carbohydrate.js +2 -1
  121. package/lib/commonjs/mol-repr/structure/representation/cartoon.d.ts +9 -0
  122. package/lib/commonjs/mol-repr/structure/representation/cartoon.js +2 -1
  123. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +9 -0
  124. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.js +2 -1
  125. package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +9 -0
  126. package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.js +2 -1
  127. package/lib/commonjs/mol-repr/structure/representation/gaussian-volume.d.ts +3 -0
  128. package/lib/commonjs/mol-repr/structure/representation/label.d.ts +6 -3
  129. package/lib/commonjs/mol-repr/structure/representation/line.d.ts +3 -0
  130. package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +9 -0
  131. package/lib/commonjs/mol-repr/structure/representation/molecular-surface.js +2 -1
  132. package/lib/commonjs/mol-repr/structure/representation/orientation.d.ts +9 -0
  133. package/lib/commonjs/mol-repr/structure/representation/orientation.js +2 -1
  134. package/lib/commonjs/mol-repr/structure/representation/point.d.ts +3 -0
  135. package/lib/commonjs/mol-repr/structure/representation/putty.d.ts +9 -0
  136. package/lib/commonjs/mol-repr/structure/representation/putty.js +2 -1
  137. package/lib/commonjs/mol-repr/structure/representation/spacefill.d.ts +9 -0
  138. package/lib/commonjs/mol-repr/structure/representation/spacefill.js +2 -1
  139. package/lib/commonjs/mol-repr/structure/units-visual.d.ts +16 -0
  140. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +6 -0
  141. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.d.ts +1 -0
  142. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +6 -0
  143. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.d.ts +1 -0
  144. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +3 -0
  145. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +3 -0
  146. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +3 -0
  147. package/lib/commonjs/mol-repr/structure/visual/element-cross.d.ts +1 -0
  148. package/lib/commonjs/mol-repr/structure/visual/element-point.d.ts +1 -0
  149. package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +6 -0
  150. package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.d.ts +3 -0
  151. package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.d.ts +2 -0
  152. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +12 -0
  153. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -0
  154. package/lib/commonjs/mol-repr/structure/visual/label-text.d.ts +3 -2
  155. package/lib/commonjs/mol-repr/structure/visual/label-text.js +2 -2
  156. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +3 -0
  157. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -0
  158. package/lib/commonjs/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +3 -0
  159. package/lib/commonjs/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +3 -0
  160. package/lib/commonjs/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +3 -0
  161. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +6 -0
  162. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +6 -0
  163. package/lib/commonjs/mol-repr/structure/visual/polymer-direction-wedge.d.ts +3 -0
  164. package/lib/commonjs/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +3 -0
  165. package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.d.ts +3 -0
  166. package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.d.ts +3 -0
  167. package/lib/commonjs/mol-repr/volume/direct-volume.d.ts +3 -0
  168. package/lib/commonjs/mol-repr/volume/isosurface.d.ts +16 -0
  169. package/lib/commonjs/mol-repr/volume/isosurface.js +2 -1
  170. package/lib/commonjs/mol-repr/volume/registry.d.ts +5 -0
  171. package/lib/commonjs/mol-repr/volume/representation.d.ts +1 -0
  172. package/lib/commonjs/mol-repr/volume/slice.d.ts +3 -0
  173. package/lib/commonjs/mol-script/language/builder.d.ts +1 -0
  174. package/lib/commonjs/mol-theme/color/illustrative.d.ts +2 -0
  175. package/lib/commonjs/mol-theme/color/illustrative.js +2 -2
  176. package/lib/commonjs/mol-theme/color.d.ts +1 -0
  177. package/lib/commonjs/mol-util/material.d.ts +5 -1
  178. package/lib/commonjs/mol-util/material.js +9 -7
  179. package/lib/examples/alpha-orbitals/index.html +60 -60
  180. package/lib/examples/basic-wrapper/index.html +136 -136
  181. package/lib/examples/lighting/index.html +86 -86
  182. package/lib/examples/lighting/index.js +2 -1
  183. package/lib/examples/proteopedia-wrapper/index.html +235 -235
  184. package/lib/extensions/anvil/behavior.d.ts +3 -0
  185. package/lib/extensions/anvil/representation.d.ts +13 -0
  186. package/lib/extensions/cellpack/representation.d.ts +3 -0
  187. package/lib/extensions/dnatco/confal-pyramids/representation.d.ts +9 -0
  188. package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +3 -0
  189. package/lib/extensions/rcsb/assembly-symmetry/representation.d.ts +3 -0
  190. package/lib/extensions/rcsb/validation-report/representation.d.ts +15 -0
  191. package/lib/mol-canvas3d/canvas3d.d.ts +6 -0
  192. package/lib/mol-canvas3d/helper/camera-helper.d.ts +3 -0
  193. package/lib/mol-canvas3d/helper/handle-helper.d.ts +3 -0
  194. package/lib/mol-canvas3d/helper/helper.d.ts +4 -0
  195. package/lib/mol-canvas3d/passes/image.d.ts +3 -0
  196. package/lib/mol-canvas3d/passes/postprocessing.d.ts +1 -0
  197. package/lib/mol-canvas3d/passes/postprocessing.js +4 -2
  198. package/lib/mol-geo/geometry/base.d.ts +2 -0
  199. package/lib/mol-geo/geometry/base.js +2 -0
  200. package/lib/mol-geo/geometry/cylinders/cylinders.d.ts +4 -1
  201. package/lib/mol-geo/geometry/cylinders/cylinders.js +4 -2
  202. package/lib/mol-geo/geometry/direct-volume/direct-volume.d.ts +1 -0
  203. package/lib/mol-geo/geometry/image/image.d.ts +1 -0
  204. package/lib/mol-geo/geometry/lines/lines.d.ts +1 -0
  205. package/lib/mol-geo/geometry/mesh/color-smoothing.js +1 -1
  206. package/lib/mol-geo/geometry/mesh/mesh.d.ts +3 -0
  207. package/lib/mol-geo/geometry/mesh/mesh.js +4 -2
  208. package/lib/mol-geo/geometry/points/points.d.ts +2 -1
  209. package/lib/mol-geo/geometry/spheres/spheres.d.ts +3 -0
  210. package/lib/mol-geo/geometry/spheres/spheres.js +4 -2
  211. package/lib/mol-geo/geometry/substance-data.js +3 -3
  212. package/lib/mol-geo/geometry/text/text.d.ts +1 -0
  213. package/lib/mol-geo/geometry/texture-mesh/color-smoothing.js +3 -3
  214. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +3 -0
  215. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js +4 -2
  216. package/lib/mol-gl/renderable/cylinders.d.ts +31 -28
  217. package/lib/mol-gl/renderable/cylinders.js +3 -3
  218. package/lib/mol-gl/renderable/direct-volume.d.ts +1 -0
  219. package/lib/mol-gl/renderable/image.d.ts +1 -0
  220. package/lib/mol-gl/renderable/lines.d.ts +1 -0
  221. package/lib/mol-gl/renderable/mesh.d.ts +28 -25
  222. package/lib/mol-gl/renderable/mesh.js +3 -3
  223. package/lib/mol-gl/renderable/points.d.ts +1 -0
  224. package/lib/mol-gl/renderable/schema.d.ts +1 -0
  225. package/lib/mol-gl/renderable/schema.js +3 -3
  226. package/lib/mol-gl/renderable/spheres.d.ts +31 -28
  227. package/lib/mol-gl/renderable/spheres.js +3 -3
  228. package/lib/mol-gl/renderable/text.d.ts +1 -0
  229. package/lib/mol-gl/renderable/texture-mesh.d.ts +3 -0
  230. package/lib/mol-gl/renderable/texture-mesh.js +1 -1
  231. package/lib/mol-gl/shader/chunks/apply-light-color.glsl.d.ts +1 -1
  232. package/lib/mol-gl/shader/chunks/apply-light-color.glsl.js +1 -1
  233. package/lib/mol-gl/shader/chunks/assign-color-varying.glsl.d.ts +1 -1
  234. package/lib/mol-gl/shader/chunks/assign-color-varying.glsl.js +1 -1
  235. package/lib/mol-gl/shader/chunks/assign-material-color.glsl.d.ts +1 -1
  236. package/lib/mol-gl/shader/chunks/assign-material-color.glsl.js +1 -1
  237. package/lib/mol-gl/shader/chunks/color-frag-params.glsl.d.ts +1 -1
  238. package/lib/mol-gl/shader/chunks/color-frag-params.glsl.js +1 -1
  239. package/lib/mol-gl/shader/chunks/color-vert-params.glsl.d.ts +1 -1
  240. package/lib/mol-gl/shader/chunks/color-vert-params.glsl.js +1 -1
  241. package/lib/mol-gl/shader/chunks/common-frag-params.glsl.d.ts +1 -1
  242. package/lib/mol-gl/shader/chunks/common-frag-params.glsl.js +1 -1
  243. package/lib/mol-gl/shader/chunks/common.glsl.d.ts +1 -1
  244. package/lib/mol-gl/shader/chunks/common.glsl.js +1 -1
  245. package/lib/mol-gl/shader/chunks/light-frag-params.glsl.d.ts +1 -1
  246. package/lib/mol-gl/shader/chunks/light-frag-params.glsl.js +1 -1
  247. package/lib/mol-gl/shader/cylinders.frag.d.ts +1 -1
  248. package/lib/mol-gl/shader/cylinders.frag.js +1 -1
  249. package/lib/mol-gl/shader/mesh.frag.d.ts +1 -1
  250. package/lib/mol-gl/shader/mesh.frag.js +1 -1
  251. package/lib/mol-gl/shader/postprocessing.frag.d.ts +1 -1
  252. package/lib/mol-gl/shader/postprocessing.frag.js +1 -1
  253. package/lib/mol-gl/shader/spheres.frag.d.ts +1 -1
  254. package/lib/mol-gl/shader/spheres.frag.js +1 -1
  255. package/lib/mol-model/structure/model/model.js +7 -3
  256. package/lib/mol-model-formats/shape/ply.d.ts +6 -0
  257. package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +3 -0
  258. package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +3 -0
  259. package/lib/mol-model-props/computed/representations/interactions.d.ts +9 -0
  260. package/lib/mol-model-props/integrative/cross-link-restraint/representation.d.ts +12 -0
  261. package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +1 -0
  262. package/lib/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +2 -3
  263. package/lib/mol-plugin/commands.d.ts +3 -0
  264. package/lib/mol-plugin/config.d.ts +1 -0
  265. package/lib/mol-plugin/config.js +8 -3
  266. package/lib/mol-plugin/util/viewport-screenshot.d.ts +9 -0
  267. package/lib/mol-plugin/version.js +2 -2
  268. package/lib/mol-plugin-state/manager/structure/component.d.ts +2 -0
  269. package/lib/mol-plugin-state/transforms/representation.d.ts +22 -0
  270. package/lib/mol-plugin-ui/controls/parameters.d.ts +3 -2
  271. package/lib/mol-plugin-ui/controls/parameters.js +12 -7
  272. package/lib/mol-plugin-ui/hooks/use-behavior.d.ts +1 -1
  273. package/lib/mol-plugin-ui/hooks/use-behavior.js +9 -18
  274. package/lib/mol-plugin-ui/plugin.d.ts +1 -1
  275. package/lib/mol-plugin-ui/plugin.js +76 -10
  276. package/lib/mol-plugin-ui/skin/base/base.scss +32 -32
  277. package/lib/mol-plugin-ui/skin/base/components/controls-base.scss +333 -333
  278. package/lib/mol-plugin-ui/skin/base/components/controls.scss +418 -418
  279. package/lib/mol-plugin-ui/skin/base/components/help.scss +27 -27
  280. package/lib/mol-plugin-ui/skin/base/components/line-graph.scss +67 -67
  281. package/lib/mol-plugin-ui/skin/base/components/log.scss +100 -100
  282. package/lib/mol-plugin-ui/skin/base/components/misc.scss +643 -616
  283. package/lib/mol-plugin-ui/skin/base/components/sequence.scss +125 -125
  284. package/lib/mol-plugin-ui/skin/base/components/slider.scss +165 -165
  285. package/lib/mol-plugin-ui/skin/base/components/tasks.scss +99 -99
  286. package/lib/mol-plugin-ui/skin/base/components/toast.scss +83 -83
  287. package/lib/mol-plugin-ui/skin/base/components/transformer.scss +163 -163
  288. package/lib/mol-plugin-ui/skin/base/components/viewport.scss +127 -127
  289. package/lib/mol-plugin-ui/skin/base/layout/common.scss +71 -71
  290. package/lib/mol-plugin-ui/skin/base/layout/controls-landscape.scss +89 -89
  291. package/lib/mol-plugin-ui/skin/base/layout/controls-outside.scss +98 -98
  292. package/lib/mol-plugin-ui/skin/base/layout/controls-portrait.scss +108 -108
  293. package/lib/mol-plugin-ui/skin/base/layout.scss +40 -40
  294. package/lib/mol-plugin-ui/skin/base/logo.scss +12 -12
  295. package/lib/mol-plugin-ui/skin/base/normalize.scss +209 -209
  296. package/lib/mol-plugin-ui/skin/base/ui.scss +40 -40
  297. package/lib/mol-plugin-ui/skin/base/variables.scss +85 -85
  298. package/lib/mol-plugin-ui/skin/blue.scss +1 -1
  299. package/lib/mol-plugin-ui/skin/colors/blue.scss +23 -23
  300. package/lib/mol-plugin-ui/skin/colors/dark.scss +23 -23
  301. package/lib/mol-plugin-ui/skin/colors/light.scss +29 -29
  302. package/lib/mol-plugin-ui/skin/dark.scss +1 -1
  303. package/lib/mol-plugin-ui/skin/light.scss +1 -1
  304. package/lib/mol-repr/shape/loci/angle.d.ts +3 -0
  305. package/lib/mol-repr/shape/loci/common.d.ts +1 -0
  306. package/lib/mol-repr/shape/loci/dihedral.d.ts +3 -0
  307. package/lib/mol-repr/shape/loci/distance.d.ts +1 -0
  308. package/lib/mol-repr/shape/loci/label.d.ts +1 -0
  309. package/lib/mol-repr/shape/loci/orientation.d.ts +3 -0
  310. package/lib/mol-repr/shape/loci/plane.d.ts +3 -0
  311. package/lib/mol-repr/shape/model/unitcell.d.ts +3 -0
  312. package/lib/mol-repr/structure/complex-visual.d.ts +12 -0
  313. package/lib/mol-repr/structure/params.d.ts +16 -0
  314. package/lib/mol-repr/structure/registry.d.ts +35 -1
  315. package/lib/mol-repr/structure/representation/backbone.d.ts +9 -0
  316. package/lib/mol-repr/structure/representation/backbone.js +2 -1
  317. package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +9 -0
  318. package/lib/mol-repr/structure/representation/ball-and-stick.js +2 -1
  319. package/lib/mol-repr/structure/representation/carbohydrate.d.ts +9 -0
  320. package/lib/mol-repr/structure/representation/carbohydrate.js +2 -1
  321. package/lib/mol-repr/structure/representation/cartoon.d.ts +9 -0
  322. package/lib/mol-repr/structure/representation/cartoon.js +2 -1
  323. package/lib/mol-repr/structure/representation/ellipsoid.d.ts +9 -0
  324. package/lib/mol-repr/structure/representation/ellipsoid.js +2 -1
  325. package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +9 -0
  326. package/lib/mol-repr/structure/representation/gaussian-surface.js +2 -1
  327. package/lib/mol-repr/structure/representation/gaussian-volume.d.ts +3 -0
  328. package/lib/mol-repr/structure/representation/label.d.ts +6 -3
  329. package/lib/mol-repr/structure/representation/line.d.ts +3 -0
  330. package/lib/mol-repr/structure/representation/molecular-surface.d.ts +9 -0
  331. package/lib/mol-repr/structure/representation/molecular-surface.js +2 -1
  332. package/lib/mol-repr/structure/representation/orientation.d.ts +9 -0
  333. package/lib/mol-repr/structure/representation/orientation.js +2 -1
  334. package/lib/mol-repr/structure/representation/point.d.ts +3 -0
  335. package/lib/mol-repr/structure/representation/putty.d.ts +9 -0
  336. package/lib/mol-repr/structure/representation/putty.js +2 -1
  337. package/lib/mol-repr/structure/representation/spacefill.d.ts +9 -0
  338. package/lib/mol-repr/structure/representation/spacefill.js +2 -1
  339. package/lib/mol-repr/structure/units-visual.d.ts +16 -0
  340. package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +6 -0
  341. package/lib/mol-repr/structure/visual/bond-inter-unit-line.d.ts +1 -0
  342. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +6 -0
  343. package/lib/mol-repr/structure/visual/bond-intra-unit-line.d.ts +1 -0
  344. package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +3 -0
  345. package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +3 -0
  346. package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +3 -0
  347. package/lib/mol-repr/structure/visual/element-cross.d.ts +1 -0
  348. package/lib/mol-repr/structure/visual/element-point.d.ts +1 -0
  349. package/lib/mol-repr/structure/visual/element-sphere.d.ts +6 -0
  350. package/lib/mol-repr/structure/visual/ellipsoid-mesh.d.ts +3 -0
  351. package/lib/mol-repr/structure/visual/gaussian-density-volume.d.ts +2 -0
  352. package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +12 -0
  353. package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -0
  354. package/lib/mol-repr/structure/visual/label-text.d.ts +3 -2
  355. package/lib/mol-repr/structure/visual/label-text.js +2 -2
  356. package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +3 -0
  357. package/lib/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -0
  358. package/lib/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +3 -0
  359. package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +3 -0
  360. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +3 -0
  361. package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +6 -0
  362. package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +6 -0
  363. package/lib/mol-repr/structure/visual/polymer-direction-wedge.d.ts +3 -0
  364. package/lib/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +3 -0
  365. package/lib/mol-repr/structure/visual/polymer-trace-mesh.d.ts +3 -0
  366. package/lib/mol-repr/structure/visual/polymer-tube-mesh.d.ts +3 -0
  367. package/lib/mol-repr/volume/direct-volume.d.ts +3 -0
  368. package/lib/mol-repr/volume/isosurface.d.ts +16 -0
  369. package/lib/mol-repr/volume/isosurface.js +2 -1
  370. package/lib/mol-repr/volume/registry.d.ts +5 -0
  371. package/lib/mol-repr/volume/representation.d.ts +1 -0
  372. package/lib/mol-repr/volume/slice.d.ts +3 -0
  373. package/lib/mol-script/language/builder.d.ts +1 -0
  374. package/lib/mol-theme/color/illustrative.d.ts +2 -0
  375. package/lib/mol-theme/color/illustrative.js +2 -2
  376. package/lib/mol-theme/color.d.ts +1 -0
  377. package/lib/mol-util/material.d.ts +5 -1
  378. package/lib/mol-util/material.js +9 -7
  379. package/package.json +162 -160
@@ -16,6 +16,7 @@ export declare const EllipsoidParams: {
16
16
  sizeAspectRatio: PD.Numeric;
17
17
  linkCap: PD.BooleanParam;
18
18
  visuals: PD.MultiSelect<"intra-bond" | "inter-bond" | "ellipsoid-mesh">;
19
+ bumpFrequency: PD.Numeric;
19
20
  tryUseImpostor: PD.BooleanParam;
20
21
  includeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
21
22
  excludeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
@@ -35,11 +36,13 @@ export declare const EllipsoidParams: {
35
36
  doubleSided: PD.BooleanParam;
36
37
  ignoreLight: PD.BooleanParam;
37
38
  xrayShaded: PD.BooleanParam;
39
+ bumpAmplitude: PD.Numeric;
38
40
  alpha: PD.Numeric;
39
41
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
40
42
  material: PD.Group<PD.Normalize<{
41
43
  metalness: number;
42
44
  roughness: number;
45
+ bumpiness: number;
43
46
  }>>;
44
47
  flipSided: PD.BooleanParam;
45
48
  flatShaded: PD.BooleanParam;
@@ -54,6 +57,7 @@ export declare function getEllipsoidParams(ctx: ThemeRegistryContext, structure:
54
57
  sizeAspectRatio: PD.Numeric;
55
58
  linkCap: PD.BooleanParam;
56
59
  visuals: PD.MultiSelect<"intra-bond" | "inter-bond" | "ellipsoid-mesh">;
60
+ bumpFrequency: PD.Numeric;
57
61
  tryUseImpostor: PD.BooleanParam;
58
62
  includeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
59
63
  excludeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
@@ -73,11 +77,13 @@ export declare function getEllipsoidParams(ctx: ThemeRegistryContext, structure:
73
77
  doubleSided: PD.BooleanParam;
74
78
  ignoreLight: PD.BooleanParam;
75
79
  xrayShaded: PD.BooleanParam;
80
+ bumpAmplitude: PD.Numeric;
76
81
  alpha: PD.Numeric;
77
82
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
78
83
  material: PD.Group<PD.Normalize<{
79
84
  metalness: number;
80
85
  roughness: number;
86
+ bumpiness: number;
81
87
  }>>;
82
88
  flipSided: PD.BooleanParam;
83
89
  flatShaded: PD.BooleanParam;
@@ -93,6 +99,7 @@ export declare const EllipsoidRepresentationProvider: StructureRepresentationPro
93
99
  sizeAspectRatio: PD.Numeric;
94
100
  linkCap: PD.BooleanParam;
95
101
  visuals: PD.MultiSelect<"intra-bond" | "inter-bond" | "ellipsoid-mesh">;
102
+ bumpFrequency: PD.Numeric;
96
103
  tryUseImpostor: PD.BooleanParam;
97
104
  includeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
98
105
  excludeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
@@ -112,11 +119,13 @@ export declare const EllipsoidRepresentationProvider: StructureRepresentationPro
112
119
  doubleSided: PD.BooleanParam;
113
120
  ignoreLight: PD.BooleanParam;
114
121
  xrayShaded: PD.BooleanParam;
122
+ bumpAmplitude: PD.Numeric;
115
123
  alpha: PD.Numeric;
116
124
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
117
125
  material: PD.Group<PD.Normalize<{
118
126
  metalness: number;
119
127
  roughness: number;
128
+ bumpiness: number;
120
129
  }>>;
121
130
  flipSided: PD.BooleanParam;
122
131
  flatShaded: PD.BooleanParam;
@@ -12,12 +12,13 @@ import { AtomSiteAnisotrop } from '../../../mol-model-formats/structure/property
12
12
  import { IntraUnitBondCylinderParams, IntraUnitBondCylinderVisual } from '../visual/bond-intra-unit-cylinder';
13
13
  import { InterUnitBondCylinderVisual, InterUnitBondCylinderParams } from '../visual/bond-inter-unit-cylinder';
14
14
  import { getUnitKindsParam } from '../params';
15
+ import { BaseGeometry } from '../../../mol-geo/geometry/base';
15
16
  var EllipsoidVisuals = {
16
17
  'ellipsoid-mesh': function (ctx, getParams) { return UnitsRepresentation('Ellipsoid Mesh', ctx, getParams, EllipsoidMeshVisual); },
17
18
  'intra-bond': function (ctx, getParams) { return UnitsRepresentation('Intra-unit bond cylinder', ctx, getParams, IntraUnitBondCylinderVisual); },
18
19
  'inter-bond': function (ctx, getParams) { return ComplexRepresentation('Inter-unit bond cylinder', ctx, getParams, InterUnitBondCylinderVisual); },
19
20
  };
20
- export var EllipsoidParams = __assign(__assign(__assign(__assign({}, EllipsoidMeshParams), IntraUnitBondCylinderParams), InterUnitBondCylinderParams), { includeParent: PD.Boolean(false), adjustCylinderLength: PD.Boolean(false, { isHidden: true }), unitKinds: getUnitKindsParam(['atomic']), sizeFactor: PD.Numeric(1, { min: 0.01, max: 10, step: 0.01 }), sizeAspectRatio: PD.Numeric(0.1, { min: 0.01, max: 3, step: 0.01 }), linkCap: PD.Boolean(true), visuals: PD.MultiSelect(['ellipsoid-mesh', 'intra-bond', 'inter-bond'], PD.objectToOptions(EllipsoidVisuals)) });
21
+ export var EllipsoidParams = __assign(__assign(__assign(__assign({}, EllipsoidMeshParams), IntraUnitBondCylinderParams), InterUnitBondCylinderParams), { includeParent: PD.Boolean(false), adjustCylinderLength: PD.Boolean(false, { isHidden: true }), unitKinds: getUnitKindsParam(['atomic']), sizeFactor: PD.Numeric(1, { min: 0.01, max: 10, step: 0.01 }), sizeAspectRatio: PD.Numeric(0.1, { min: 0.01, max: 3, step: 0.01 }), linkCap: PD.Boolean(true), visuals: PD.MultiSelect(['ellipsoid-mesh', 'intra-bond', 'inter-bond'], PD.objectToOptions(EllipsoidVisuals)), bumpFrequency: PD.Numeric(0, { min: 0, max: 10, step: 0.1 }, BaseGeometry.ShadingCategory) });
21
22
  export function getEllipsoidParams(ctx, structure) {
22
23
  return PD.clone(EllipsoidParams);
23
24
  }
@@ -10,6 +10,7 @@ import { ThemeRegistryContext } from '../../../mol-theme/theme';
10
10
  import { Structure } from '../../../mol-model/structure';
11
11
  export declare const GaussianSurfaceParams: {
12
12
  visuals: PD.MultiSelect<"gaussian-surface-mesh" | "structure-gaussian-surface-mesh" | "gaussian-surface-wireframe">;
13
+ bumpFrequency: PD.Numeric;
13
14
  sizeFactor: PD.Numeric;
14
15
  lineSizeAttenuation: PD.BooleanParam;
15
16
  ignoreHydrogens: PD.BooleanParam;
@@ -24,6 +25,7 @@ export declare const GaussianSurfaceParams: {
24
25
  material: PD.Group<PD.Normalize<{
25
26
  metalness: number;
26
27
  roughness: number;
28
+ bumpiness: number;
27
29
  }>>;
28
30
  tryUseGpu: PD.BooleanParam;
29
31
  smoothColors: PD.Mapped<PD.NamedParams<PD.Normalize<unknown>, "auto"> | PD.NamedParams<PD.Normalize<{
@@ -35,10 +37,12 @@ export declare const GaussianSurfaceParams: {
35
37
  flatShaded: PD.BooleanParam;
36
38
  ignoreLight: PD.BooleanParam;
37
39
  xrayShaded: PD.BooleanParam;
40
+ bumpAmplitude: PD.Numeric;
38
41
  };
39
42
  export declare type GaussianSurfaceParams = typeof GaussianSurfaceParams;
40
43
  export declare function getGaussianSurfaceParams(ctx: ThemeRegistryContext, structure: Structure): {
41
44
  visuals: PD.MultiSelect<"gaussian-surface-mesh" | "structure-gaussian-surface-mesh" | "gaussian-surface-wireframe">;
45
+ bumpFrequency: PD.Numeric;
42
46
  sizeFactor: PD.Numeric;
43
47
  lineSizeAttenuation: PD.BooleanParam;
44
48
  ignoreHydrogens: PD.BooleanParam;
@@ -53,6 +57,7 @@ export declare function getGaussianSurfaceParams(ctx: ThemeRegistryContext, stru
53
57
  material: PD.Group<PD.Normalize<{
54
58
  metalness: number;
55
59
  roughness: number;
60
+ bumpiness: number;
56
61
  }>>;
57
62
  tryUseGpu: PD.BooleanParam;
58
63
  smoothColors: PD.Mapped<PD.NamedParams<PD.Normalize<unknown>, "auto"> | PD.NamedParams<PD.Normalize<{
@@ -64,11 +69,13 @@ export declare function getGaussianSurfaceParams(ctx: ThemeRegistryContext, stru
64
69
  flatShaded: PD.BooleanParam;
65
70
  ignoreLight: PD.BooleanParam;
66
71
  xrayShaded: PD.BooleanParam;
72
+ bumpAmplitude: PD.Numeric;
67
73
  };
68
74
  export declare type GaussianSurfaceRepresentation = StructureRepresentation<GaussianSurfaceParams>;
69
75
  export declare function GaussianSurfaceRepresentation(ctx: RepresentationContext, getParams: RepresentationParamsGetter<Structure, GaussianSurfaceParams>): GaussianSurfaceRepresentation;
70
76
  export declare const GaussianSurfaceRepresentationProvider: StructureRepresentationProvider<{
71
77
  visuals: PD.MultiSelect<"gaussian-surface-mesh" | "structure-gaussian-surface-mesh" | "gaussian-surface-wireframe">;
78
+ bumpFrequency: PD.Numeric;
72
79
  sizeFactor: PD.Numeric;
73
80
  lineSizeAttenuation: PD.BooleanParam;
74
81
  ignoreHydrogens: PD.BooleanParam;
@@ -83,6 +90,7 @@ export declare const GaussianSurfaceRepresentationProvider: StructureRepresentat
83
90
  material: PD.Group<PD.Normalize<{
84
91
  metalness: number;
85
92
  roughness: number;
93
+ bumpiness: number;
86
94
  }>>;
87
95
  tryUseGpu: PD.BooleanParam;
88
96
  smoothColors: PD.Mapped<PD.NamedParams<PD.Normalize<unknown>, "auto"> | PD.NamedParams<PD.Normalize<{
@@ -94,4 +102,5 @@ export declare const GaussianSurfaceRepresentationProvider: StructureRepresentat
94
102
  flatShaded: PD.BooleanParam;
95
103
  ignoreLight: PD.BooleanParam;
96
104
  xrayShaded: PD.BooleanParam;
105
+ bumpAmplitude: PD.Numeric;
97
106
  }, "gaussian-surface">;
@@ -10,12 +10,13 @@ import { GaussianWireframeVisual, GaussianWireframeParams } from '../visual/gaus
10
10
  import { ParamDefinition as PD } from '../../../mol-util/param-definition';
11
11
  import { StructureRepresentationProvider, StructureRepresentationStateBuilder, ComplexRepresentation } from '../representation';
12
12
  import { Representation } from '../../../mol-repr/representation';
13
+ import { BaseGeometry } from '../../../mol-geo/geometry/base';
13
14
  var GaussianSurfaceVisuals = {
14
15
  'gaussian-surface-mesh': function (ctx, getParams) { return UnitsRepresentation('Gaussian surface mesh', ctx, getParams, GaussianSurfaceVisual); },
15
16
  'structure-gaussian-surface-mesh': function (ctx, getParams) { return ComplexRepresentation('Structure-Gaussian surface mesh', ctx, getParams, StructureGaussianSurfaceVisual); },
16
17
  'gaussian-surface-wireframe': function (ctx, getParams) { return UnitsRepresentation('Gaussian surface wireframe', ctx, getParams, GaussianWireframeVisual); },
17
18
  };
18
- export var GaussianSurfaceParams = __assign(__assign(__assign({}, GaussianSurfaceMeshParams), GaussianWireframeParams), { visuals: PD.MultiSelect(['gaussian-surface-mesh'], PD.objectToOptions(GaussianSurfaceVisuals)) });
19
+ export var GaussianSurfaceParams = __assign(__assign(__assign({}, GaussianSurfaceMeshParams), GaussianWireframeParams), { visuals: PD.MultiSelect(['gaussian-surface-mesh'], PD.objectToOptions(GaussianSurfaceVisuals)), bumpFrequency: PD.Numeric(1, { min: 0, max: 10, step: 0.1 }, BaseGeometry.ShadingCategory) });
19
20
  export function getGaussianSurfaceParams(ctx, structure) {
20
21
  return PD.clone(GaussianSurfaceParams);
21
22
  }
@@ -45,6 +45,7 @@ export declare const GaussianVolumeParams: {
45
45
  material: PD.Group<PD.Normalize<{
46
46
  metalness: number;
47
47
  roughness: number;
48
+ bumpiness: number;
48
49
  }>>;
49
50
  };
50
51
  export declare type GaussianVolumeParams = typeof GaussianVolumeParams;
@@ -85,6 +86,7 @@ export declare function getGaussianVolumeParams(ctx: ThemeRegistryContext, struc
85
86
  material: PD.Group<PD.Normalize<{
86
87
  metalness: number;
87
88
  roughness: number;
89
+ bumpiness: number;
88
90
  }>>;
89
91
  };
90
92
  export declare type GaussianVolumeRepresentation = StructureRepresentation<GaussianVolumeParams>;
@@ -126,5 +128,6 @@ export declare const GaussianVolumeRepresentationProvider: StructureRepresentati
126
128
  material: PD.Group<PD.Normalize<{
127
129
  metalness: number;
128
130
  roughness: number;
131
+ bumpiness: number;
129
132
  }>>;
130
133
  }, "gaussian-volume">;
@@ -14,6 +14,7 @@ export declare const LabelParams: {
14
14
  backgroundMargin: PD.Numeric;
15
15
  backgroundColor: PD.Color;
16
16
  backgroundOpacity: PD.Numeric;
17
+ borderWidth: PD.Numeric;
17
18
  level: PD.Select<"element" | "residue" | "chain">;
18
19
  chainScale: PD.Numeric;
19
20
  residueScale: PD.Numeric;
@@ -21,7 +22,6 @@ export declare const LabelParams: {
21
22
  unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
22
23
  includeParent: PD.BooleanParam;
23
24
  sizeFactor: PD.Numeric;
24
- borderWidth: PD.Numeric;
25
25
  borderColor: PD.Color;
26
26
  offsetX: PD.Numeric;
27
27
  offsetY: PD.Numeric;
@@ -40,6 +40,7 @@ export declare const LabelParams: {
40
40
  material: PD.Group<PD.Normalize<{
41
41
  metalness: number;
42
42
  roughness: number;
43
+ bumpiness: number;
43
44
  }>>;
44
45
  };
45
46
  export declare type LabelParams = typeof LabelParams;
@@ -49,6 +50,7 @@ export declare function getLabelParams(ctx: ThemeRegistryContext, structure: Str
49
50
  backgroundMargin: PD.Numeric;
50
51
  backgroundColor: PD.Color;
51
52
  backgroundOpacity: PD.Numeric;
53
+ borderWidth: PD.Numeric;
52
54
  level: PD.Select<"element" | "residue" | "chain">;
53
55
  chainScale: PD.Numeric;
54
56
  residueScale: PD.Numeric;
@@ -56,7 +58,6 @@ export declare function getLabelParams(ctx: ThemeRegistryContext, structure: Str
56
58
  unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
57
59
  includeParent: PD.BooleanParam;
58
60
  sizeFactor: PD.Numeric;
59
- borderWidth: PD.Numeric;
60
61
  borderColor: PD.Color;
61
62
  offsetX: PD.Numeric;
62
63
  offsetY: PD.Numeric;
@@ -75,6 +76,7 @@ export declare function getLabelParams(ctx: ThemeRegistryContext, structure: Str
75
76
  material: PD.Group<PD.Normalize<{
76
77
  metalness: number;
77
78
  roughness: number;
79
+ bumpiness: number;
78
80
  }>>;
79
81
  };
80
82
  export declare type LabelRepresentation = StructureRepresentation<LabelParams>;
@@ -85,6 +87,7 @@ export declare const LabelRepresentationProvider: StructureRepresentationProvide
85
87
  backgroundMargin: PD.Numeric;
86
88
  backgroundColor: PD.Color;
87
89
  backgroundOpacity: PD.Numeric;
90
+ borderWidth: PD.Numeric;
88
91
  level: PD.Select<"element" | "residue" | "chain">;
89
92
  chainScale: PD.Numeric;
90
93
  residueScale: PD.Numeric;
@@ -92,7 +95,6 @@ export declare const LabelRepresentationProvider: StructureRepresentationProvide
92
95
  unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
93
96
  includeParent: PD.BooleanParam;
94
97
  sizeFactor: PD.Numeric;
95
- borderWidth: PD.Numeric;
96
98
  borderColor: PD.Color;
97
99
  offsetX: PD.Numeric;
98
100
  offsetY: PD.Numeric;
@@ -111,5 +113,6 @@ export declare const LabelRepresentationProvider: StructureRepresentationProvide
111
113
  material: PD.Group<PD.Normalize<{
112
114
  metalness: number;
113
115
  roughness: number;
116
+ bumpiness: number;
114
117
  }>>;
115
118
  }, "label">;
@@ -24,6 +24,7 @@ export declare const LineParams: {
24
24
  material: PD.Group<PD.Normalize<{
25
25
  metalness: number;
26
26
  roughness: number;
27
+ bumpiness: number;
27
28
  }>>;
28
29
  pointSizeAttenuation: PD.BooleanParam;
29
30
  pointStyle: PD.Select<"circle" | "square" | "fuzzy">;
@@ -52,6 +53,7 @@ export declare function getLineParams(ctx: ThemeRegistryContext, structure: Stru
52
53
  material: PD.Group<PD.Normalize<{
53
54
  metalness: number;
54
55
  roughness: number;
56
+ bumpiness: number;
55
57
  }>>;
56
58
  pointSizeAttenuation: PD.BooleanParam;
57
59
  pointStyle: PD.Select<"circle" | "square" | "fuzzy">;
@@ -81,6 +83,7 @@ export declare const LineRepresentationProvider: StructureRepresentationProvider
81
83
  material: PD.Group<PD.Normalize<{
82
84
  metalness: number;
83
85
  roughness: number;
86
+ bumpiness: number;
84
87
  }>>;
85
88
  pointSizeAttenuation: PD.BooleanParam;
86
89
  pointStyle: PD.Select<"circle" | "square" | "fuzzy">;
@@ -10,6 +10,7 @@ import { ThemeRegistryContext } from '../../../mol-theme/theme';
10
10
  import { Structure } from '../../../mol-model/structure';
11
11
  export declare const MolecularSurfaceParams: {
12
12
  visuals: PD.MultiSelect<"molecular-surface-mesh" | "molecular-surface-wireframe">;
13
+ bumpFrequency: PD.Numeric;
13
14
  sizeFactor: PD.Numeric;
14
15
  ignoreHydrogens: PD.BooleanParam;
15
16
  traceOnly: PD.BooleanParam;
@@ -24,6 +25,7 @@ export declare const MolecularSurfaceParams: {
24
25
  material: PD.Group<PD.Normalize<{
25
26
  metalness: number;
26
27
  roughness: number;
28
+ bumpiness: number;
27
29
  }>>;
28
30
  smoothColors: PD.Mapped<PD.NamedParams<PD.Normalize<unknown>, "auto"> | PD.NamedParams<PD.Normalize<{
29
31
  resolutionFactor: number;
@@ -34,10 +36,12 @@ export declare const MolecularSurfaceParams: {
34
36
  flatShaded: PD.BooleanParam;
35
37
  ignoreLight: PD.BooleanParam;
36
38
  xrayShaded: PD.BooleanParam;
39
+ bumpAmplitude: PD.Numeric;
37
40
  };
38
41
  export declare type MolecularSurfaceParams = typeof MolecularSurfaceParams;
39
42
  export declare function getMolecularSurfaceParams(ctx: ThemeRegistryContext, structure: Structure): {
40
43
  visuals: PD.MultiSelect<"molecular-surface-mesh" | "molecular-surface-wireframe">;
44
+ bumpFrequency: PD.Numeric;
41
45
  sizeFactor: PD.Numeric;
42
46
  ignoreHydrogens: PD.BooleanParam;
43
47
  traceOnly: PD.BooleanParam;
@@ -52,6 +56,7 @@ export declare function getMolecularSurfaceParams(ctx: ThemeRegistryContext, str
52
56
  material: PD.Group<PD.Normalize<{
53
57
  metalness: number;
54
58
  roughness: number;
59
+ bumpiness: number;
55
60
  }>>;
56
61
  smoothColors: PD.Mapped<PD.NamedParams<PD.Normalize<unknown>, "auto"> | PD.NamedParams<PD.Normalize<{
57
62
  resolutionFactor: number;
@@ -62,11 +67,13 @@ export declare function getMolecularSurfaceParams(ctx: ThemeRegistryContext, str
62
67
  flatShaded: PD.BooleanParam;
63
68
  ignoreLight: PD.BooleanParam;
64
69
  xrayShaded: PD.BooleanParam;
70
+ bumpAmplitude: PD.Numeric;
65
71
  };
66
72
  export declare type MolecularSurfaceRepresentation = StructureRepresentation<MolecularSurfaceParams>;
67
73
  export declare function MolecularSurfaceRepresentation(ctx: RepresentationContext, getParams: RepresentationParamsGetter<Structure, MolecularSurfaceParams>): MolecularSurfaceRepresentation;
68
74
  export declare const MolecularSurfaceRepresentationProvider: StructureRepresentationProvider<{
69
75
  visuals: PD.MultiSelect<"molecular-surface-mesh" | "molecular-surface-wireframe">;
76
+ bumpFrequency: PD.Numeric;
70
77
  sizeFactor: PD.Numeric;
71
78
  ignoreHydrogens: PD.BooleanParam;
72
79
  traceOnly: PD.BooleanParam;
@@ -81,6 +88,7 @@ export declare const MolecularSurfaceRepresentationProvider: StructureRepresenta
81
88
  material: PD.Group<PD.Normalize<{
82
89
  metalness: number;
83
90
  roughness: number;
91
+ bumpiness: number;
84
92
  }>>;
85
93
  smoothColors: PD.Mapped<PD.NamedParams<PD.Normalize<unknown>, "auto"> | PD.NamedParams<PD.Normalize<{
86
94
  resolutionFactor: number;
@@ -91,4 +99,5 @@ export declare const MolecularSurfaceRepresentationProvider: StructureRepresenta
91
99
  flatShaded: PD.BooleanParam;
92
100
  ignoreLight: PD.BooleanParam;
93
101
  xrayShaded: PD.BooleanParam;
102
+ bumpAmplitude: PD.Numeric;
94
103
  }, "molecular-surface">;
@@ -10,11 +10,12 @@ import { ParamDefinition as PD } from '../../../mol-util/param-definition';
10
10
  import { StructureRepresentationProvider, StructureRepresentationStateBuilder } from '../representation';
11
11
  import { Representation } from '../../../mol-repr/representation';
12
12
  import { MolecularSurfaceWireframeParams, MolecularSurfaceWireframeVisual } from '../visual/molecular-surface-wireframe';
13
+ import { BaseGeometry } from '../../../mol-geo/geometry/base';
13
14
  var MolecularSurfaceVisuals = {
14
15
  'molecular-surface-mesh': function (ctx, getParams) { return UnitsRepresentation('Molecular surface mesh', ctx, getParams, MolecularSurfaceMeshVisual); },
15
16
  'molecular-surface-wireframe': function (ctx, getParams) { return UnitsRepresentation('Molecular surface wireframe', ctx, getParams, MolecularSurfaceWireframeVisual); },
16
17
  };
17
- export var MolecularSurfaceParams = __assign(__assign(__assign({}, MolecularSurfaceMeshParams), MolecularSurfaceWireframeParams), { visuals: PD.MultiSelect(['molecular-surface-mesh'], PD.objectToOptions(MolecularSurfaceVisuals)) });
18
+ export var MolecularSurfaceParams = __assign(__assign(__assign({}, MolecularSurfaceMeshParams), MolecularSurfaceWireframeParams), { visuals: PD.MultiSelect(['molecular-surface-mesh'], PD.objectToOptions(MolecularSurfaceVisuals)), bumpFrequency: PD.Numeric(1, { min: 0, max: 10, step: 0.1 }, BaseGeometry.ShadingCategory) });
18
19
  export function getMolecularSurfaceParams(ctx, structure) {
19
20
  return PD.clone(MolecularSurfaceParams);
20
21
  }
@@ -10,6 +10,7 @@ import { ThemeRegistryContext } from '../../../mol-theme/theme';
10
10
  import { Structure } from '../../../mol-model/structure';
11
11
  export declare const OrientationParams: {
12
12
  visuals: PD.MultiSelect<"orientation-ellipsoid-mesh">;
13
+ bumpFrequency: PD.Numeric;
13
14
  sizeFactor: PD.Numeric;
14
15
  detail: PD.Numeric;
15
16
  unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
@@ -19,16 +20,19 @@ export declare const OrientationParams: {
19
20
  flatShaded: PD.BooleanParam;
20
21
  ignoreLight: PD.BooleanParam;
21
22
  xrayShaded: PD.BooleanParam;
23
+ bumpAmplitude: PD.Numeric;
22
24
  alpha: PD.Numeric;
23
25
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
24
26
  material: PD.Group<PD.Normalize<{
25
27
  metalness: number;
26
28
  roughness: number;
29
+ bumpiness: number;
27
30
  }>>;
28
31
  };
29
32
  export declare type OrientationParams = typeof OrientationParams;
30
33
  export declare function getOrientationParams(ctx: ThemeRegistryContext, structure: Structure): {
31
34
  visuals: PD.MultiSelect<"orientation-ellipsoid-mesh">;
35
+ bumpFrequency: PD.Numeric;
32
36
  sizeFactor: PD.Numeric;
33
37
  detail: PD.Numeric;
34
38
  unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
@@ -38,17 +42,20 @@ export declare function getOrientationParams(ctx: ThemeRegistryContext, structur
38
42
  flatShaded: PD.BooleanParam;
39
43
  ignoreLight: PD.BooleanParam;
40
44
  xrayShaded: PD.BooleanParam;
45
+ bumpAmplitude: PD.Numeric;
41
46
  alpha: PD.Numeric;
42
47
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
43
48
  material: PD.Group<PD.Normalize<{
44
49
  metalness: number;
45
50
  roughness: number;
51
+ bumpiness: number;
46
52
  }>>;
47
53
  };
48
54
  export declare type OrientationRepresentation = StructureRepresentation<OrientationParams>;
49
55
  export declare function OrientationRepresentation(ctx: RepresentationContext, getParams: RepresentationParamsGetter<Structure, OrientationParams>): OrientationRepresentation;
50
56
  export declare const OrientationRepresentationProvider: StructureRepresentationProvider<{
51
57
  visuals: PD.MultiSelect<"orientation-ellipsoid-mesh">;
58
+ bumpFrequency: PD.Numeric;
52
59
  sizeFactor: PD.Numeric;
53
60
  detail: PD.Numeric;
54
61
  unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
@@ -58,10 +65,12 @@ export declare const OrientationRepresentationProvider: StructureRepresentationP
58
65
  flatShaded: PD.BooleanParam;
59
66
  ignoreLight: PD.BooleanParam;
60
67
  xrayShaded: PD.BooleanParam;
68
+ bumpAmplitude: PD.Numeric;
61
69
  alpha: PD.Numeric;
62
70
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
63
71
  material: PD.Group<PD.Normalize<{
64
72
  metalness: number;
65
73
  roughness: number;
74
+ bumpiness: number;
66
75
  }>>;
67
76
  }, "orientation">;
@@ -9,10 +9,11 @@ import { ParamDefinition as PD } from '../../../mol-util/param-definition';
9
9
  import { StructureRepresentationProvider, StructureRepresentationStateBuilder } from '../representation';
10
10
  import { Representation } from '../../../mol-repr/representation';
11
11
  import { OrientationEllipsoidMeshParams, OrientationEllipsoidMeshVisual } from '../visual/orientation-ellipsoid-mesh';
12
+ import { BaseGeometry } from '../../../mol-geo/geometry/base';
12
13
  var OrientationVisuals = {
13
14
  'orientation-ellipsoid-mesh': function (ctx, getParams) { return UnitsRepresentation('Orientation ellipsoid mesh', ctx, getParams, OrientationEllipsoidMeshVisual); },
14
15
  };
15
- export var OrientationParams = __assign(__assign({}, OrientationEllipsoidMeshParams), { visuals: PD.MultiSelect(['orientation-ellipsoid-mesh'], PD.objectToOptions(OrientationVisuals)) });
16
+ export var OrientationParams = __assign(__assign({}, OrientationEllipsoidMeshParams), { visuals: PD.MultiSelect(['orientation-ellipsoid-mesh'], PD.objectToOptions(OrientationVisuals)), bumpFrequency: PD.Numeric(1, { min: 0, max: 10, step: 0.1 }, BaseGeometry.ShadingCategory) });
16
17
  export function getOrientationParams(ctx, structure) {
17
18
  return PD.clone(OrientationParams);
18
19
  }
@@ -21,6 +21,7 @@ export declare const PointParams: {
21
21
  material: PD.Group<PD.Normalize<{
22
22
  metalness: number;
23
23
  roughness: number;
24
+ bumpiness: number;
24
25
  }>>;
25
26
  };
26
27
  export declare type PointParams = typeof PointParams;
@@ -37,6 +38,7 @@ export declare function getPointParams(ctx: ThemeRegistryContext, structure: Str
37
38
  material: PD.Group<PD.Normalize<{
38
39
  metalness: number;
39
40
  roughness: number;
41
+ bumpiness: number;
40
42
  }>>;
41
43
  };
42
44
  export declare type PointRepresentation = StructureRepresentation<PointParams>;
@@ -54,5 +56,6 @@ export declare const PointRepresentationProvider: StructureRepresentationProvide
54
56
  material: PD.Group<PD.Normalize<{
55
57
  metalness: number;
56
58
  roughness: number;
59
+ bumpiness: number;
57
60
  }>>;
58
61
  }, "point">;
@@ -11,6 +11,7 @@ import { ThemeRegistryContext } from '../../../mol-theme/theme';
11
11
  export declare const PuttyParams: {
12
12
  sizeFactor: PD.Numeric;
13
13
  visuals: PD.MultiSelect<"polymer-gap" | "polymer-tube">;
14
+ bumpFrequency: PD.Numeric;
14
15
  radialSegments: PD.Numeric;
15
16
  unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
16
17
  includeParent: PD.BooleanParam;
@@ -19,11 +20,13 @@ export declare const PuttyParams: {
19
20
  flatShaded: PD.BooleanParam;
20
21
  ignoreLight: PD.BooleanParam;
21
22
  xrayShaded: PD.BooleanParam;
23
+ bumpAmplitude: PD.Numeric;
22
24
  alpha: PD.Numeric;
23
25
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
24
26
  material: PD.Group<PD.Normalize<{
25
27
  metalness: number;
26
28
  roughness: number;
29
+ bumpiness: number;
27
30
  }>>;
28
31
  detail: PD.Numeric;
29
32
  linearSegments: PD.Numeric;
@@ -32,6 +35,7 @@ export declare type PuttyParams = typeof PuttyParams;
32
35
  export declare function getPuttyParams(ctx: ThemeRegistryContext, structure: Structure): {
33
36
  sizeFactor: PD.Numeric;
34
37
  visuals: PD.MultiSelect<"polymer-gap" | "polymer-tube">;
38
+ bumpFrequency: PD.Numeric;
35
39
  radialSegments: PD.Numeric;
36
40
  unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
37
41
  includeParent: PD.BooleanParam;
@@ -40,11 +44,13 @@ export declare function getPuttyParams(ctx: ThemeRegistryContext, structure: Str
40
44
  flatShaded: PD.BooleanParam;
41
45
  ignoreLight: PD.BooleanParam;
42
46
  xrayShaded: PD.BooleanParam;
47
+ bumpAmplitude: PD.Numeric;
43
48
  alpha: PD.Numeric;
44
49
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
45
50
  material: PD.Group<PD.Normalize<{
46
51
  metalness: number;
47
52
  roughness: number;
53
+ bumpiness: number;
48
54
  }>>;
49
55
  detail: PD.Numeric;
50
56
  linearSegments: PD.Numeric;
@@ -54,6 +60,7 @@ export declare function PuttyRepresentation(ctx: RepresentationContext, getParam
54
60
  export declare const PuttyRepresentationProvider: StructureRepresentationProvider<{
55
61
  sizeFactor: PD.Numeric;
56
62
  visuals: PD.MultiSelect<"polymer-gap" | "polymer-tube">;
63
+ bumpFrequency: PD.Numeric;
57
64
  radialSegments: PD.Numeric;
58
65
  unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
59
66
  includeParent: PD.BooleanParam;
@@ -62,11 +69,13 @@ export declare const PuttyRepresentationProvider: StructureRepresentationProvide
62
69
  flatShaded: PD.BooleanParam;
63
70
  ignoreLight: PD.BooleanParam;
64
71
  xrayShaded: PD.BooleanParam;
72
+ bumpAmplitude: PD.Numeric;
65
73
  alpha: PD.Numeric;
66
74
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
67
75
  material: PD.Group<PD.Normalize<{
68
76
  metalness: number;
69
77
  roughness: number;
78
+ bumpiness: number;
70
79
  }>>;
71
80
  detail: PD.Numeric;
72
81
  linearSegments: PD.Numeric;
@@ -11,11 +11,12 @@ import { UnitsRepresentation } from '../units-representation';
11
11
  import { StructureRepresentationProvider, StructureRepresentationStateBuilder } from '../representation';
12
12
  import { Representation } from '../../../mol-repr/representation';
13
13
  import { Unit } from '../../../mol-model/structure';
14
+ import { BaseGeometry } from '../../../mol-geo/geometry/base';
14
15
  var PuttyVisuals = {
15
16
  'polymer-tube': function (ctx, getParams) { return UnitsRepresentation('Polymer tube mesh', ctx, getParams, PolymerTubeVisual); },
16
17
  'polymer-gap': function (ctx, getParams) { return UnitsRepresentation('Polymer gap cylinder', ctx, getParams, PolymerGapVisual); },
17
18
  };
18
- export var PuttyParams = __assign(__assign(__assign({}, PolymerTubeParams), PolymerGapParams), { sizeFactor: PD.Numeric(0.2, { min: 0, max: 10, step: 0.01 }), visuals: PD.MultiSelect(['polymer-tube', 'polymer-gap'], PD.objectToOptions(PuttyVisuals)) });
19
+ export var PuttyParams = __assign(__assign(__assign({}, PolymerTubeParams), PolymerGapParams), { sizeFactor: PD.Numeric(0.2, { min: 0, max: 10, step: 0.01 }), visuals: PD.MultiSelect(['polymer-tube', 'polymer-gap'], PD.objectToOptions(PuttyVisuals)), bumpFrequency: PD.Numeric(2, { min: 0, max: 10, step: 0.1 }, BaseGeometry.ShadingCategory) });
19
20
  export function getPuttyParams(ctx, structure) {
20
21
  var params = PD.clone(PuttyParams);
21
22
  var hasNucleotides = false;
@@ -9,6 +9,7 @@ import { RepresentationParamsGetter, RepresentationContext } from '../../../mol-
9
9
  import { ThemeRegistryContext } from '../../../mol-theme/theme';
10
10
  import { Structure } from '../../../mol-model/structure';
11
11
  export declare const SpacefillParams: {
12
+ bumpFrequency: PD.Numeric;
12
13
  sizeFactor: PD.Numeric;
13
14
  detail: PD.Numeric;
14
15
  ignoreHydrogens: PD.BooleanParam;
@@ -19,17 +20,20 @@ export declare const SpacefillParams: {
19
20
  doubleSided: PD.BooleanParam;
20
21
  ignoreLight: PD.BooleanParam;
21
22
  xrayShaded: PD.BooleanParam;
23
+ bumpAmplitude: PD.Numeric;
22
24
  alpha: PD.Numeric;
23
25
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
24
26
  material: PD.Group<PD.Normalize<{
25
27
  metalness: number;
26
28
  roughness: number;
29
+ bumpiness: number;
27
30
  }>>;
28
31
  flipSided: PD.BooleanParam;
29
32
  flatShaded: PD.BooleanParam;
30
33
  };
31
34
  export declare type SpacefillParams = typeof SpacefillParams;
32
35
  export declare function getSpacefillParams(ctx: ThemeRegistryContext, structure: Structure): {
36
+ bumpFrequency: PD.Numeric;
33
37
  sizeFactor: PD.Numeric;
34
38
  detail: PD.Numeric;
35
39
  ignoreHydrogens: PD.BooleanParam;
@@ -40,11 +44,13 @@ export declare function getSpacefillParams(ctx: ThemeRegistryContext, structure:
40
44
  doubleSided: PD.BooleanParam;
41
45
  ignoreLight: PD.BooleanParam;
42
46
  xrayShaded: PD.BooleanParam;
47
+ bumpAmplitude: PD.Numeric;
43
48
  alpha: PD.Numeric;
44
49
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
45
50
  material: PD.Group<PD.Normalize<{
46
51
  metalness: number;
47
52
  roughness: number;
53
+ bumpiness: number;
48
54
  }>>;
49
55
  flipSided: PD.BooleanParam;
50
56
  flatShaded: PD.BooleanParam;
@@ -52,6 +58,7 @@ export declare function getSpacefillParams(ctx: ThemeRegistryContext, structure:
52
58
  export declare type SpacefillRepresentation = StructureRepresentation<SpacefillParams>;
53
59
  export declare function SpacefillRepresentation(ctx: RepresentationContext, getParams: RepresentationParamsGetter<Structure, SpacefillParams>): SpacefillRepresentation;
54
60
  export declare const SpacefillRepresentationProvider: StructureRepresentationProvider<{
61
+ bumpFrequency: PD.Numeric;
55
62
  sizeFactor: PD.Numeric;
56
63
  detail: PD.Numeric;
57
64
  ignoreHydrogens: PD.BooleanParam;
@@ -62,11 +69,13 @@ export declare const SpacefillRepresentationProvider: StructureRepresentationPro
62
69
  doubleSided: PD.BooleanParam;
63
70
  ignoreLight: PD.BooleanParam;
64
71
  xrayShaded: PD.BooleanParam;
72
+ bumpAmplitude: PD.Numeric;
65
73
  alpha: PD.Numeric;
66
74
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
67
75
  material: PD.Group<PD.Normalize<{
68
76
  metalness: number;
69
77
  roughness: number;
78
+ bumpiness: number;
70
79
  }>>;
71
80
  flipSided: PD.BooleanParam;
72
81
  flatShaded: PD.BooleanParam;
@@ -9,10 +9,11 @@ import { UnitsRepresentation } from '../units-representation';
9
9
  import { ParamDefinition as PD } from '../../../mol-util/param-definition';
10
10
  import { StructureRepresentationProvider, StructureRepresentationStateBuilder } from '../representation';
11
11
  import { Representation } from '../../../mol-repr/representation';
12
+ import { BaseGeometry } from '../../../mol-geo/geometry/base';
12
13
  var SpacefillVisuals = {
13
14
  'element-sphere': function (ctx, getParams) { return UnitsRepresentation('Sphere mesh', ctx, getParams, ElementSphereVisual); },
14
15
  };
15
- export var SpacefillParams = __assign({}, ElementSphereParams);
16
+ export var SpacefillParams = __assign(__assign({}, ElementSphereParams), { bumpFrequency: PD.Numeric(1, { min: 0, max: 10, step: 0.1 }, BaseGeometry.ShadingCategory) });
16
17
  export function getSpacefillParams(ctx, structure) {
17
18
  var params = PD.clone(SpacefillParams);
18
19
  if (structure.isCoarseGrained) {