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
@@ -14,6 +14,7 @@ export declare namespace StructureRepresentationRegistry {
14
14
  cartoon: import("./representation").StructureRepresentationProvider<{
15
15
  sizeFactor: import("../../mol-util/param-definition").ParamDefinition.Numeric;
16
16
  visuals: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"polymer-trace" | "polymer-gap" | "nucleotide-block" | "nucleotide-ring" | "direction-wedge">;
17
+ bumpFrequency: import("../../mol-util/param-definition").ParamDefinition.Numeric;
17
18
  unitKinds: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"spheres" | "gaussians" | "atomic">;
18
19
  includeParent: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
19
20
  doubleSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
@@ -21,11 +22,13 @@ export declare namespace StructureRepresentationRegistry {
21
22
  flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
22
23
  ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
23
24
  xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
25
+ bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
24
26
  alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
25
27
  quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
26
28
  material: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
27
29
  metalness: number;
28
30
  roughness: number;
31
+ bumpiness: number;
29
32
  }>>;
30
33
  radialSegments: import("../../mol-util/param-definition").ParamDefinition.Numeric;
31
34
  detail: import("../../mol-util/param-definition").ParamDefinition.Numeric;
@@ -38,6 +41,7 @@ export declare namespace StructureRepresentationRegistry {
38
41
  backbone: import("./representation").StructureRepresentationProvider<{
39
42
  sizeAspectRatio: import("../../mol-util/param-definition").ParamDefinition.Numeric;
40
43
  visuals: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"polymer-gap" | "polymer-backbone-cylinder" | "polymer-backbone-sphere">;
44
+ bumpFrequency: import("../../mol-util/param-definition").ParamDefinition.Numeric;
41
45
  sizeFactor: import("../../mol-util/param-definition").ParamDefinition.Numeric;
42
46
  radialSegments: import("../../mol-util/param-definition").ParamDefinition.Numeric;
43
47
  unitKinds: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"spheres" | "gaussians" | "atomic">;
@@ -47,11 +51,13 @@ export declare namespace StructureRepresentationRegistry {
47
51
  flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
48
52
  ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
49
53
  xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
54
+ bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
50
55
  alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
51
56
  quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
52
57
  material: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
53
58
  metalness: number;
54
59
  roughness: number;
60
+ bumpiness: number;
55
61
  }>>;
56
62
  tryUseImpostor: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
57
63
  detail: import("../../mol-util/param-definition").ParamDefinition.Numeric;
@@ -62,6 +68,7 @@ export declare namespace StructureRepresentationRegistry {
62
68
  sizeFactor: import("../../mol-util/param-definition").ParamDefinition.Numeric;
63
69
  sizeAspectRatio: import("../../mol-util/param-definition").ParamDefinition.Numeric;
64
70
  visuals: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"element-sphere" | "intra-bond" | "inter-bond">;
71
+ bumpFrequency: import("../../mol-util/param-definition").ParamDefinition.Numeric;
65
72
  tryUseImpostor: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
66
73
  adjustCylinderLength: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
67
74
  includeTypes: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
@@ -83,11 +90,13 @@ export declare namespace StructureRepresentationRegistry {
83
90
  doubleSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
84
91
  ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
85
92
  xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
93
+ bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
86
94
  alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
87
95
  quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
88
96
  material: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
89
97
  metalness: number;
90
98
  roughness: number;
99
+ bumpiness: number;
91
100
  }>>;
92
101
  flipSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
93
102
  flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
@@ -96,6 +105,7 @@ export declare namespace StructureRepresentationRegistry {
96
105
  }, "ball-and-stick">;
97
106
  carbohydrate: import("./representation").StructureRepresentationProvider<{
98
107
  visuals: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"carbohydrate-symbol" | "carbohydrate-link" | "carbohydrate-terminal-link">;
108
+ bumpFrequency: import("../../mol-util/param-definition").ParamDefinition.Numeric;
99
109
  terminalLinkSizeFactor: import("../../mol-util/param-definition").ParamDefinition.Numeric;
100
110
  linkScale: import("../../mol-util/param-definition").ParamDefinition.Numeric;
101
111
  linkSpacing: import("../../mol-util/param-definition").ParamDefinition.Numeric;
@@ -115,11 +125,13 @@ export declare namespace StructureRepresentationRegistry {
115
125
  flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
116
126
  ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
117
127
  xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
128
+ bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
118
129
  alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
119
130
  quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
120
131
  material: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
121
132
  metalness: number;
122
133
  roughness: number;
134
+ bumpiness: number;
123
135
  }>>;
124
136
  linkSizeFactor: import("../../mol-util/param-definition").ParamDefinition.Numeric;
125
137
  detail: import("../../mol-util/param-definition").ParamDefinition.Numeric;
@@ -133,6 +145,7 @@ export declare namespace StructureRepresentationRegistry {
133
145
  sizeAspectRatio: import("../../mol-util/param-definition").ParamDefinition.Numeric;
134
146
  linkCap: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
135
147
  visuals: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"intra-bond" | "inter-bond" | "ellipsoid-mesh">;
148
+ bumpFrequency: import("../../mol-util/param-definition").ParamDefinition.Numeric;
136
149
  tryUseImpostor: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
137
150
  includeTypes: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
138
151
  excludeTypes: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
@@ -152,11 +165,13 @@ export declare namespace StructureRepresentationRegistry {
152
165
  doubleSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
153
166
  ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
154
167
  xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
168
+ bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
155
169
  alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
156
170
  quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
157
171
  material: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
158
172
  metalness: number;
159
173
  roughness: number;
174
+ bumpiness: number;
160
175
  }>>;
161
176
  flipSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
162
177
  flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
@@ -164,6 +179,7 @@ export declare namespace StructureRepresentationRegistry {
164
179
  }, "ellipsoid">;
165
180
  'gaussian-surface': import("./representation").StructureRepresentationProvider<{
166
181
  visuals: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"gaussian-surface-mesh" | "structure-gaussian-surface-mesh" | "gaussian-surface-wireframe">;
182
+ bumpFrequency: import("../../mol-util/param-definition").ParamDefinition.Numeric;
167
183
  sizeFactor: import("../../mol-util/param-definition").ParamDefinition.Numeric;
168
184
  lineSizeAttenuation: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
169
185
  ignoreHydrogens: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
@@ -178,6 +194,7 @@ export declare namespace StructureRepresentationRegistry {
178
194
  material: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
179
195
  metalness: number;
180
196
  roughness: number;
197
+ bumpiness: number;
181
198
  }>>;
182
199
  tryUseGpu: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
183
200
  smoothColors: import("../../mol-util/param-definition").ParamDefinition.Mapped<import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<unknown>, "auto"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
@@ -189,6 +206,7 @@ export declare namespace StructureRepresentationRegistry {
189
206
  flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
190
207
  ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
191
208
  xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
209
+ bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
192
210
  }, "gaussian-surface">;
193
211
  'gaussian-volume': import("./representation").StructureRepresentationProvider<{
194
212
  visuals: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"gaussian-volume" | "units-gaussian-volume">;
@@ -227,6 +245,7 @@ export declare namespace StructureRepresentationRegistry {
227
245
  material: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
228
246
  metalness: number;
229
247
  roughness: number;
248
+ bumpiness: number;
230
249
  }>>;
231
250
  }, "gaussian-volume">;
232
251
  label: import("./representation").StructureRepresentationProvider<{
@@ -235,6 +254,7 @@ export declare namespace StructureRepresentationRegistry {
235
254
  backgroundMargin: import("../../mol-util/param-definition").ParamDefinition.Numeric;
236
255
  backgroundColor: import("../../mol-util/param-definition").ParamDefinition.Color;
237
256
  backgroundOpacity: import("../../mol-util/param-definition").ParamDefinition.Numeric;
257
+ borderWidth: import("../../mol-util/param-definition").ParamDefinition.Numeric;
238
258
  level: import("../../mol-util/param-definition").ParamDefinition.Select<"element" | "residue" | "chain">;
239
259
  chainScale: import("../../mol-util/param-definition").ParamDefinition.Numeric;
240
260
  residueScale: import("../../mol-util/param-definition").ParamDefinition.Numeric;
@@ -242,7 +262,6 @@ export declare namespace StructureRepresentationRegistry {
242
262
  unitKinds: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"spheres" | "gaussians" | "atomic">;
243
263
  includeParent: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
244
264
  sizeFactor: import("../../mol-util/param-definition").ParamDefinition.Numeric;
245
- borderWidth: import("../../mol-util/param-definition").ParamDefinition.Numeric;
246
265
  borderColor: import("../../mol-util/param-definition").ParamDefinition.Color;
247
266
  offsetX: import("../../mol-util/param-definition").ParamDefinition.Numeric;
248
267
  offsetY: import("../../mol-util/param-definition").ParamDefinition.Numeric;
@@ -261,6 +280,7 @@ export declare namespace StructureRepresentationRegistry {
261
280
  material: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
262
281
  metalness: number;
263
282
  roughness: number;
283
+ bumpiness: number;
264
284
  }>>;
265
285
  }, "label">;
266
286
  line: import("./representation").StructureRepresentationProvider<{
@@ -279,6 +299,7 @@ export declare namespace StructureRepresentationRegistry {
279
299
  material: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
280
300
  metalness: number;
281
301
  roughness: number;
302
+ bumpiness: number;
282
303
  }>>;
283
304
  pointSizeAttenuation: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
284
305
  pointStyle: import("../../mol-util/param-definition").ParamDefinition.Select<"circle" | "square" | "fuzzy">;
@@ -292,6 +313,7 @@ export declare namespace StructureRepresentationRegistry {
292
313
  }, "line">;
293
314
  'molecular-surface': import("./representation").StructureRepresentationProvider<{
294
315
  visuals: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"molecular-surface-mesh" | "molecular-surface-wireframe">;
316
+ bumpFrequency: import("../../mol-util/param-definition").ParamDefinition.Numeric;
295
317
  sizeFactor: import("../../mol-util/param-definition").ParamDefinition.Numeric;
296
318
  ignoreHydrogens: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
297
319
  traceOnly: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
@@ -306,6 +328,7 @@ export declare namespace StructureRepresentationRegistry {
306
328
  material: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
307
329
  metalness: number;
308
330
  roughness: number;
331
+ bumpiness: number;
309
332
  }>>;
310
333
  smoothColors: import("../../mol-util/param-definition").ParamDefinition.Mapped<import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<unknown>, "auto"> | import("../../mol-util/param-definition").ParamDefinition.NamedParams<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
311
334
  resolutionFactor: number;
@@ -316,9 +339,11 @@ export declare namespace StructureRepresentationRegistry {
316
339
  flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
317
340
  ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
318
341
  xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
342
+ bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
319
343
  }, "molecular-surface">;
320
344
  orientation: import("./representation").StructureRepresentationProvider<{
321
345
  visuals: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"orientation-ellipsoid-mesh">;
346
+ bumpFrequency: import("../../mol-util/param-definition").ParamDefinition.Numeric;
322
347
  sizeFactor: import("../../mol-util/param-definition").ParamDefinition.Numeric;
323
348
  detail: import("../../mol-util/param-definition").ParamDefinition.Numeric;
324
349
  unitKinds: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"spheres" | "gaussians" | "atomic">;
@@ -328,11 +353,13 @@ export declare namespace StructureRepresentationRegistry {
328
353
  flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
329
354
  ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
330
355
  xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
356
+ bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
331
357
  alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
332
358
  quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
333
359
  material: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
334
360
  metalness: number;
335
361
  roughness: number;
362
+ bumpiness: number;
336
363
  }>>;
337
364
  }, "orientation">;
338
365
  point: import("./representation").StructureRepresentationProvider<{
@@ -348,11 +375,13 @@ export declare namespace StructureRepresentationRegistry {
348
375
  material: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
349
376
  metalness: number;
350
377
  roughness: number;
378
+ bumpiness: number;
351
379
  }>>;
352
380
  }, "point">;
353
381
  putty: import("./representation").StructureRepresentationProvider<{
354
382
  sizeFactor: import("../../mol-util/param-definition").ParamDefinition.Numeric;
355
383
  visuals: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"polymer-gap" | "polymer-tube">;
384
+ bumpFrequency: import("../../mol-util/param-definition").ParamDefinition.Numeric;
356
385
  radialSegments: import("../../mol-util/param-definition").ParamDefinition.Numeric;
357
386
  unitKinds: import("../../mol-util/param-definition").ParamDefinition.MultiSelect<"spheres" | "gaussians" | "atomic">;
358
387
  includeParent: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
@@ -361,16 +390,19 @@ export declare namespace StructureRepresentationRegistry {
361
390
  flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
362
391
  ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
363
392
  xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
393
+ bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
364
394
  alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
365
395
  quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
366
396
  material: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
367
397
  metalness: number;
368
398
  roughness: number;
399
+ bumpiness: number;
369
400
  }>>;
370
401
  detail: import("../../mol-util/param-definition").ParamDefinition.Numeric;
371
402
  linearSegments: import("../../mol-util/param-definition").ParamDefinition.Numeric;
372
403
  }, "putty">;
373
404
  spacefill: import("./representation").StructureRepresentationProvider<{
405
+ bumpFrequency: import("../../mol-util/param-definition").ParamDefinition.Numeric;
374
406
  sizeFactor: import("../../mol-util/param-definition").ParamDefinition.Numeric;
375
407
  detail: import("../../mol-util/param-definition").ParamDefinition.Numeric;
376
408
  ignoreHydrogens: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
@@ -381,11 +413,13 @@ export declare namespace StructureRepresentationRegistry {
381
413
  doubleSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
382
414
  ignoreLight: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
383
415
  xrayShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
416
+ bumpAmplitude: import("../../mol-util/param-definition").ParamDefinition.Numeric;
384
417
  alpha: import("../../mol-util/param-definition").ParamDefinition.Numeric;
385
418
  quality: import("../../mol-util/param-definition").ParamDefinition.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
386
419
  material: import("../../mol-util/param-definition").ParamDefinition.Group<import("../../mol-util/param-definition").ParamDefinition.Normalize<{
387
420
  metalness: number;
388
421
  roughness: number;
422
+ bumpiness: number;
389
423
  }>>;
390
424
  flipSided: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
391
425
  flatShaded: import("../../mol-util/param-definition").ParamDefinition.BooleanParam;
@@ -11,6 +11,7 @@ import { Structure } from '../../../mol-model/structure';
11
11
  export declare const BackboneParams: {
12
12
  sizeAspectRatio: PD.Numeric;
13
13
  visuals: PD.MultiSelect<"polymer-gap" | "polymer-backbone-cylinder" | "polymer-backbone-sphere">;
14
+ bumpFrequency: PD.Numeric;
14
15
  sizeFactor: PD.Numeric;
15
16
  radialSegments: PD.Numeric;
16
17
  unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
@@ -20,11 +21,13 @@ export declare const BackboneParams: {
20
21
  flatShaded: PD.BooleanParam;
21
22
  ignoreLight: PD.BooleanParam;
22
23
  xrayShaded: PD.BooleanParam;
24
+ bumpAmplitude: PD.Numeric;
23
25
  alpha: PD.Numeric;
24
26
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
25
27
  material: PD.Group<PD.Normalize<{
26
28
  metalness: number;
27
29
  roughness: number;
30
+ bumpiness: number;
28
31
  }>>;
29
32
  tryUseImpostor: PD.BooleanParam;
30
33
  detail: PD.Numeric;
@@ -33,6 +36,7 @@ export declare type BackboneParams = typeof BackboneParams;
33
36
  export declare function getBackboneParams(ctx: ThemeRegistryContext, structure: Structure): {
34
37
  sizeAspectRatio: PD.Numeric;
35
38
  visuals: PD.MultiSelect<"polymer-gap" | "polymer-backbone-cylinder" | "polymer-backbone-sphere">;
39
+ bumpFrequency: PD.Numeric;
36
40
  sizeFactor: PD.Numeric;
37
41
  radialSegments: PD.Numeric;
38
42
  unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
@@ -42,11 +46,13 @@ export declare function getBackboneParams(ctx: ThemeRegistryContext, structure:
42
46
  flatShaded: PD.BooleanParam;
43
47
  ignoreLight: PD.BooleanParam;
44
48
  xrayShaded: PD.BooleanParam;
49
+ bumpAmplitude: PD.Numeric;
45
50
  alpha: PD.Numeric;
46
51
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
47
52
  material: PD.Group<PD.Normalize<{
48
53
  metalness: number;
49
54
  roughness: number;
55
+ bumpiness: number;
50
56
  }>>;
51
57
  tryUseImpostor: PD.BooleanParam;
52
58
  detail: PD.Numeric;
@@ -56,6 +62,7 @@ export declare function BackboneRepresentation(ctx: RepresentationContext, getPa
56
62
  export declare const BackboneRepresentationProvider: StructureRepresentationProvider<{
57
63
  sizeAspectRatio: PD.Numeric;
58
64
  visuals: PD.MultiSelect<"polymer-gap" | "polymer-backbone-cylinder" | "polymer-backbone-sphere">;
65
+ bumpFrequency: PD.Numeric;
59
66
  sizeFactor: PD.Numeric;
60
67
  radialSegments: PD.Numeric;
61
68
  unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
@@ -65,11 +72,13 @@ export declare const BackboneRepresentationProvider: StructureRepresentationProv
65
72
  flatShaded: PD.BooleanParam;
66
73
  ignoreLight: PD.BooleanParam;
67
74
  xrayShaded: PD.BooleanParam;
75
+ bumpAmplitude: PD.Numeric;
68
76
  alpha: PD.Numeric;
69
77
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
70
78
  material: PD.Group<PD.Normalize<{
71
79
  metalness: number;
72
80
  roughness: number;
81
+ bumpiness: number;
73
82
  }>>;
74
83
  tryUseImpostor: PD.BooleanParam;
75
84
  detail: PD.Numeric;
@@ -11,12 +11,13 @@ import { StructureRepresentationProvider, StructureRepresentationStateBuilder }
11
11
  import { Representation } from '../../../mol-repr/representation';
12
12
  import { PolymerBackboneSphereParams, PolymerBackboneSphereVisual } from '../visual/polymer-backbone-sphere';
13
13
  import { PolymerGapParams, PolymerGapVisual } from '../visual/polymer-gap-cylinder';
14
+ import { BaseGeometry } from '../../../mol-geo/geometry/base';
14
15
  var BackboneVisuals = {
15
16
  'polymer-backbone-cylinder': function (ctx, getParams) { return UnitsRepresentation('Polymer backbone cylinder', ctx, getParams, PolymerBackboneCylinderVisual); },
16
17
  'polymer-backbone-sphere': function (ctx, getParams) { return UnitsRepresentation('Polymer backbone sphere', ctx, getParams, PolymerBackboneSphereVisual); },
17
18
  'polymer-gap': function (ctx, getParams) { return UnitsRepresentation('Polymer gap cylinder', ctx, getParams, PolymerGapVisual); },
18
19
  };
19
- export var BackboneParams = __assign(__assign(__assign(__assign({}, PolymerBackboneSphereParams), PolymerBackboneCylinderParams), PolymerGapParams), { sizeAspectRatio: PD.Numeric(1, { min: 0.1, max: 3, step: 0.1 }), visuals: PD.MultiSelect(['polymer-backbone-cylinder', 'polymer-backbone-sphere', 'polymer-gap'], PD.objectToOptions(BackboneVisuals)) });
20
+ export var BackboneParams = __assign(__assign(__assign(__assign({}, PolymerBackboneSphereParams), PolymerBackboneCylinderParams), PolymerGapParams), { sizeAspectRatio: PD.Numeric(1, { min: 0.1, max: 3, step: 0.1 }), visuals: PD.MultiSelect(['polymer-backbone-cylinder', 'polymer-backbone-sphere', 'polymer-gap'], PD.objectToOptions(BackboneVisuals)), bumpFrequency: PD.Numeric(0, { min: 0, max: 10, step: 0.1 }, BaseGeometry.ShadingCategory) });
20
21
  export function getBackboneParams(ctx, structure) {
21
22
  var params = PD.clone(BackboneParams);
22
23
  var hasGaps = false;
@@ -14,6 +14,7 @@ export declare const BallAndStickParams: {
14
14
  sizeFactor: PD.Numeric;
15
15
  sizeAspectRatio: PD.Numeric;
16
16
  visuals: PD.MultiSelect<"element-sphere" | "intra-bond" | "inter-bond">;
17
+ bumpFrequency: PD.Numeric;
17
18
  tryUseImpostor: PD.BooleanParam;
18
19
  adjustCylinderLength: PD.BooleanParam;
19
20
  includeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
@@ -35,11 +36,13 @@ export declare const BallAndStickParams: {
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;
@@ -53,6 +56,7 @@ export declare function getBallAndStickParams(ctx: ThemeRegistryContext, structu
53
56
  sizeFactor: PD.Numeric;
54
57
  sizeAspectRatio: PD.Numeric;
55
58
  visuals: PD.MultiSelect<"element-sphere" | "intra-bond" | "inter-bond">;
59
+ bumpFrequency: PD.Numeric;
56
60
  tryUseImpostor: PD.BooleanParam;
57
61
  adjustCylinderLength: PD.BooleanParam;
58
62
  includeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
@@ -74,11 +78,13 @@ export declare function getBallAndStickParams(ctx: ThemeRegistryContext, structu
74
78
  doubleSided: PD.BooleanParam;
75
79
  ignoreLight: PD.BooleanParam;
76
80
  xrayShaded: PD.BooleanParam;
81
+ bumpAmplitude: PD.Numeric;
77
82
  alpha: PD.Numeric;
78
83
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
79
84
  material: PD.Group<PD.Normalize<{
80
85
  metalness: number;
81
86
  roughness: number;
87
+ bumpiness: number;
82
88
  }>>;
83
89
  flipSided: PD.BooleanParam;
84
90
  flatShaded: PD.BooleanParam;
@@ -93,6 +99,7 @@ export declare const BallAndStickRepresentationProvider: StructureRepresentation
93
99
  sizeFactor: PD.Numeric;
94
100
  sizeAspectRatio: PD.Numeric;
95
101
  visuals: PD.MultiSelect<"element-sphere" | "intra-bond" | "inter-bond">;
102
+ bumpFrequency: PD.Numeric;
96
103
  tryUseImpostor: PD.BooleanParam;
97
104
  adjustCylinderLength: PD.BooleanParam;
98
105
  includeTypes: PD.MultiSelect<"covalent" | "metal-coordination" | "hydrogen-bond" | "disulfide" | "aromatic" | "computed">;
@@ -114,11 +121,13 @@ export declare const BallAndStickRepresentationProvider: StructureRepresentation
114
121
  doubleSided: PD.BooleanParam;
115
122
  ignoreLight: PD.BooleanParam;
116
123
  xrayShaded: PD.BooleanParam;
124
+ bumpAmplitude: PD.Numeric;
117
125
  alpha: PD.Numeric;
118
126
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
119
127
  material: PD.Group<PD.Normalize<{
120
128
  metalness: number;
121
129
  roughness: number;
130
+ bumpiness: number;
122
131
  }>>;
123
132
  flipSided: PD.BooleanParam;
124
133
  flatShaded: PD.BooleanParam;
@@ -13,12 +13,13 @@ import { ComplexRepresentation } from '../complex-representation';
13
13
  import { StructureRepresentationProvider, StructureRepresentationStateBuilder } from '../representation';
14
14
  import { Representation } from '../../../mol-repr/representation';
15
15
  import { getUnitKindsParam } from '../params';
16
+ import { BaseGeometry } from '../../../mol-geo/geometry/base';
16
17
  var BallAndStickVisuals = {
17
18
  'element-sphere': function (ctx, getParams) { return UnitsRepresentation('Element sphere', ctx, getParams, ElementSphereVisual); },
18
19
  'intra-bond': function (ctx, getParams) { return UnitsRepresentation('Intra-unit bond cylinder', ctx, getParams, IntraUnitBondCylinderVisual); },
19
20
  'inter-bond': function (ctx, getParams) { return ComplexRepresentation('Inter-unit bond cylinder', ctx, getParams, InterUnitBondCylinderVisual); },
20
21
  };
21
- export var BallAndStickParams = __assign(__assign(__assign(__assign(__assign({}, ElementSphereParams), { traceOnly: PD.Boolean(false, { isHidden: true }) }), IntraUnitBondCylinderParams), InterUnitBondCylinderParams), { includeParent: PD.Boolean(false), unitKinds: getUnitKindsParam(['atomic']), sizeFactor: PD.Numeric(0.15, { min: 0.01, max: 10, step: 0.01 }), sizeAspectRatio: PD.Numeric(2 / 3, { min: 0.01, max: 3, step: 0.01 }), visuals: PD.MultiSelect(['element-sphere', 'intra-bond', 'inter-bond'], PD.objectToOptions(BallAndStickVisuals)) });
22
+ export var BallAndStickParams = __assign(__assign(__assign(__assign(__assign({}, ElementSphereParams), { traceOnly: PD.Boolean(false, { isHidden: true }) }), IntraUnitBondCylinderParams), InterUnitBondCylinderParams), { includeParent: PD.Boolean(false), unitKinds: getUnitKindsParam(['atomic']), sizeFactor: PD.Numeric(0.15, { min: 0.01, max: 10, step: 0.01 }), sizeAspectRatio: PD.Numeric(2 / 3, { min: 0.01, max: 3, step: 0.01 }), visuals: PD.MultiSelect(['element-sphere', 'intra-bond', 'inter-bond'], PD.objectToOptions(BallAndStickVisuals)), bumpFrequency: PD.Numeric(0, { min: 0, max: 10, step: 0.1 }, BaseGeometry.ShadingCategory) });
22
23
  export function getBallAndStickParams(ctx, structure) {
23
24
  return PD.clone(BallAndStickParams);
24
25
  }
@@ -10,6 +10,7 @@ import { ParamDefinition as PD } from '../../../mol-util/param-definition';
10
10
  import { StructureRepresentation, StructureRepresentationProvider } from '../representation';
11
11
  export declare const CarbohydrateParams: {
12
12
  visuals: PD.MultiSelect<"carbohydrate-symbol" | "carbohydrate-link" | "carbohydrate-terminal-link">;
13
+ bumpFrequency: PD.Numeric;
13
14
  terminalLinkSizeFactor: PD.Numeric;
14
15
  linkScale: PD.Numeric;
15
16
  linkSpacing: PD.Numeric;
@@ -29,11 +30,13 @@ export declare const CarbohydrateParams: {
29
30
  flatShaded: PD.BooleanParam;
30
31
  ignoreLight: PD.BooleanParam;
31
32
  xrayShaded: PD.BooleanParam;
33
+ bumpAmplitude: PD.Numeric;
32
34
  alpha: PD.Numeric;
33
35
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
34
36
  material: PD.Group<PD.Normalize<{
35
37
  metalness: number;
36
38
  roughness: number;
39
+ bumpiness: number;
37
40
  }>>;
38
41
  linkSizeFactor: PD.Numeric;
39
42
  detail: PD.Numeric;
@@ -42,6 +45,7 @@ export declare const CarbohydrateParams: {
42
45
  export declare type CarbohydrateParams = typeof CarbohydrateParams;
43
46
  export declare function getCarbohydrateParams(ctx: ThemeRegistryContext, structure: Structure): {
44
47
  visuals: PD.MultiSelect<"carbohydrate-symbol" | "carbohydrate-link" | "carbohydrate-terminal-link">;
48
+ bumpFrequency: PD.Numeric;
45
49
  terminalLinkSizeFactor: PD.Numeric;
46
50
  linkScale: PD.Numeric;
47
51
  linkSpacing: PD.Numeric;
@@ -61,11 +65,13 @@ export declare function getCarbohydrateParams(ctx: ThemeRegistryContext, structu
61
65
  flatShaded: PD.BooleanParam;
62
66
  ignoreLight: PD.BooleanParam;
63
67
  xrayShaded: PD.BooleanParam;
68
+ bumpAmplitude: PD.Numeric;
64
69
  alpha: PD.Numeric;
65
70
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
66
71
  material: PD.Group<PD.Normalize<{
67
72
  metalness: number;
68
73
  roughness: number;
74
+ bumpiness: number;
69
75
  }>>;
70
76
  linkSizeFactor: PD.Numeric;
71
77
  detail: PD.Numeric;
@@ -75,6 +81,7 @@ export declare type CarbohydrateRepresentation = StructureRepresentation<Carbohy
75
81
  export declare function CarbohydrateRepresentation(ctx: RepresentationContext, getParams: RepresentationParamsGetter<Structure, CarbohydrateParams>): CarbohydrateRepresentation;
76
82
  export declare const CarbohydrateRepresentationProvider: StructureRepresentationProvider<{
77
83
  visuals: PD.MultiSelect<"carbohydrate-symbol" | "carbohydrate-link" | "carbohydrate-terminal-link">;
84
+ bumpFrequency: PD.Numeric;
78
85
  terminalLinkSizeFactor: PD.Numeric;
79
86
  linkScale: PD.Numeric;
80
87
  linkSpacing: PD.Numeric;
@@ -94,11 +101,13 @@ export declare const CarbohydrateRepresentationProvider: StructureRepresentation
94
101
  flatShaded: PD.BooleanParam;
95
102
  ignoreLight: PD.BooleanParam;
96
103
  xrayShaded: PD.BooleanParam;
104
+ bumpAmplitude: PD.Numeric;
97
105
  alpha: PD.Numeric;
98
106
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
99
107
  material: PD.Group<PD.Normalize<{
100
108
  metalness: number;
101
109
  roughness: number;
110
+ bumpiness: number;
102
111
  }>>;
103
112
  linkSizeFactor: PD.Numeric;
104
113
  detail: PD.Numeric;
@@ -4,6 +4,7 @@
4
4
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
5
  */
6
6
  import { __assign } from "tslib";
7
+ import { BaseGeometry } from '../../../mol-geo/geometry/base';
7
8
  import { Model } from '../../../mol-model/structure';
8
9
  import { Representation } from '../../../mol-repr/representation';
9
10
  import { ParamDefinition as PD } from '../../../mol-util/param-definition';
@@ -17,7 +18,7 @@ var CarbohydrateVisuals = {
17
18
  'carbohydrate-link': function (ctx, getParams) { return ComplexRepresentation('Carbohydrate link cylinder', ctx, getParams, CarbohydrateLinkVisual); },
18
19
  'carbohydrate-terminal-link': function (ctx, getParams) { return ComplexRepresentation('Carbohydrate terminal link cylinder', ctx, getParams, CarbohydrateTerminalLinkVisual); },
19
20
  };
20
- export var CarbohydrateParams = __assign(__assign(__assign(__assign({}, CarbohydrateSymbolParams), CarbohydrateLinkParams), CarbohydrateTerminalLinkParams), { visuals: PD.MultiSelect(['carbohydrate-symbol', 'carbohydrate-link', 'carbohydrate-terminal-link'], PD.objectToOptions(CarbohydrateVisuals)) });
21
+ export var CarbohydrateParams = __assign(__assign(__assign(__assign({}, CarbohydrateSymbolParams), CarbohydrateLinkParams), CarbohydrateTerminalLinkParams), { visuals: PD.MultiSelect(['carbohydrate-symbol', 'carbohydrate-link', 'carbohydrate-terminal-link'], PD.objectToOptions(CarbohydrateVisuals)), bumpFrequency: PD.Numeric(0, { min: 0, max: 10, step: 0.1 }, BaseGeometry.ShadingCategory) });
21
22
  export function getCarbohydrateParams(ctx, structure) {
22
23
  return PD.clone(CarbohydrateParams);
23
24
  }
@@ -11,6 +11,7 @@ import { StructureRepresentation, StructureRepresentationProvider } from '../rep
11
11
  export declare const CartoonParams: {
12
12
  sizeFactor: PD.Numeric;
13
13
  visuals: PD.MultiSelect<"polymer-trace" | "polymer-gap" | "nucleotide-block" | "nucleotide-ring" | "direction-wedge">;
14
+ bumpFrequency: PD.Numeric;
14
15
  unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
15
16
  includeParent: PD.BooleanParam;
16
17
  doubleSided: PD.BooleanParam;
@@ -18,11 +19,13 @@ export declare const CartoonParams: {
18
19
  flatShaded: PD.BooleanParam;
19
20
  ignoreLight: PD.BooleanParam;
20
21
  xrayShaded: PD.BooleanParam;
22
+ bumpAmplitude: PD.Numeric;
21
23
  alpha: PD.Numeric;
22
24
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
23
25
  material: PD.Group<PD.Normalize<{
24
26
  metalness: number;
25
27
  roughness: number;
28
+ bumpiness: number;
26
29
  }>>;
27
30
  radialSegments: PD.Numeric;
28
31
  detail: PD.Numeric;
@@ -36,6 +39,7 @@ export declare type CartoonParams = typeof CartoonParams;
36
39
  export declare function getCartoonParams(ctx: ThemeRegistryContext, structure: Structure): {
37
40
  sizeFactor: PD.Numeric;
38
41
  visuals: PD.MultiSelect<"polymer-trace" | "polymer-gap" | "nucleotide-block" | "nucleotide-ring" | "direction-wedge">;
42
+ bumpFrequency: PD.Numeric;
39
43
  unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
40
44
  includeParent: PD.BooleanParam;
41
45
  doubleSided: PD.BooleanParam;
@@ -43,11 +47,13 @@ export declare function getCartoonParams(ctx: ThemeRegistryContext, structure: S
43
47
  flatShaded: PD.BooleanParam;
44
48
  ignoreLight: PD.BooleanParam;
45
49
  xrayShaded: PD.BooleanParam;
50
+ bumpAmplitude: PD.Numeric;
46
51
  alpha: PD.Numeric;
47
52
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
48
53
  material: PD.Group<PD.Normalize<{
49
54
  metalness: number;
50
55
  roughness: number;
56
+ bumpiness: number;
51
57
  }>>;
52
58
  radialSegments: PD.Numeric;
53
59
  detail: PD.Numeric;
@@ -62,6 +68,7 @@ export declare function CartoonRepresentation(ctx: RepresentationContext, getPar
62
68
  export declare const CartoonRepresentationProvider: StructureRepresentationProvider<{
63
69
  sizeFactor: PD.Numeric;
64
70
  visuals: PD.MultiSelect<"polymer-trace" | "polymer-gap" | "nucleotide-block" | "nucleotide-ring" | "direction-wedge">;
71
+ bumpFrequency: PD.Numeric;
65
72
  unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
66
73
  includeParent: PD.BooleanParam;
67
74
  doubleSided: PD.BooleanParam;
@@ -69,11 +76,13 @@ export declare const CartoonRepresentationProvider: StructureRepresentationProvi
69
76
  flatShaded: PD.BooleanParam;
70
77
  ignoreLight: PD.BooleanParam;
71
78
  xrayShaded: PD.BooleanParam;
79
+ bumpAmplitude: PD.Numeric;
72
80
  alpha: PD.Numeric;
73
81
  quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
74
82
  material: PD.Group<PD.Normalize<{
75
83
  metalness: number;
76
84
  roughness: number;
85
+ bumpiness: number;
77
86
  }>>;
78
87
  radialSegments: PD.Numeric;
79
88
  detail: PD.Numeric;
@@ -16,6 +16,7 @@ import { PolymerGapParams, PolymerGapVisual } from '../visual/polymer-gap-cylind
16
16
  import { PolymerTraceParams, PolymerTraceVisual } from '../visual/polymer-trace-mesh';
17
17
  import { SecondaryStructureProvider } from '../../../mol-model-props/computed/secondary-structure';
18
18
  import { HelixOrientationProvider } from '../../../mol-model-props/computed/helix-orientation';
19
+ import { BaseGeometry } from '../../../mol-geo/geometry/base';
19
20
  var CartoonVisuals = {
20
21
  'polymer-trace': function (ctx, getParams) { return UnitsRepresentation('Polymer trace mesh', ctx, getParams, PolymerTraceVisual); },
21
22
  'polymer-gap': function (ctx, getParams) { return UnitsRepresentation('Polymer gap cylinder', ctx, getParams, PolymerGapVisual); },
@@ -23,7 +24,7 @@ var CartoonVisuals = {
23
24
  'nucleotide-ring': function (ctx, getParams) { return UnitsRepresentation('Nucleotide ring mesh', ctx, getParams, NucleotideRingVisual); },
24
25
  'direction-wedge': function (ctx, getParams) { return UnitsRepresentation('Polymer direction wedge', ctx, getParams, PolymerDirectionVisual); }
25
26
  };
26
- export var CartoonParams = __assign(__assign(__assign(__assign(__assign(__assign({}, PolymerTraceParams), PolymerGapParams), NucleotideBlockParams), NucleotideRingParams), PolymerDirectionParams), { sizeFactor: PD.Numeric(0.2, { min: 0, max: 10, step: 0.01 }), visuals: PD.MultiSelect(['polymer-trace', 'polymer-gap', 'nucleotide-block'], PD.objectToOptions(CartoonVisuals)) });
27
+ export var CartoonParams = __assign(__assign(__assign(__assign(__assign(__assign({}, PolymerTraceParams), PolymerGapParams), NucleotideBlockParams), NucleotideRingParams), PolymerDirectionParams), { sizeFactor: PD.Numeric(0.2, { min: 0, max: 10, step: 0.01 }), visuals: PD.MultiSelect(['polymer-trace', 'polymer-gap', 'nucleotide-block'], PD.objectToOptions(CartoonVisuals)), bumpFrequency: PD.Numeric(2, { min: 0, max: 10, step: 0.1 }, BaseGeometry.ShadingCategory) });
27
28
  export function getCartoonParams(ctx, structure) {
28
29
  var params = PD.clone(CartoonParams);
29
30
  var hasNucleotides = false;