larvitar 0.18.2 → 1.2.0

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 (229) hide show
  1. package/.github/workflows/deploy.yml +3 -12
  2. package/MIGRATION.md +25 -0
  3. package/README.md +28 -27
  4. package/docs/documentation/Mixins.polygonSegmentationMixin%20-%20segmentation%20operations%20for%20polyline.html +171 -0
  5. package/docs/documentation/Tools.Annotation.ContoursTool.html +218 -0
  6. package/docs/documentation/Tools.Annotation.DiameterTool.html +219 -0
  7. package/docs/documentation/Tools.Annotation.SeedsTool.html +214 -0
  8. package/docs/documentation/Tools.Brush.BrushTool.html +218 -0
  9. package/docs/documentation/Tools.Brush.ThresholdsBrushTool.html +218 -0
  10. package/docs/documentation/Tools.PolylineScissorsTool.html +218 -0
  11. package/docs/documentation/fonts/Montserrat/Montserrat-Bold.eot +0 -0
  12. package/docs/documentation/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
  13. package/docs/documentation/fonts/Montserrat/Montserrat-Bold.woff +0 -0
  14. package/docs/documentation/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
  15. package/docs/documentation/fonts/Montserrat/Montserrat-Regular.eot +0 -0
  16. package/docs/documentation/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
  17. package/docs/documentation/fonts/Montserrat/Montserrat-Regular.woff +0 -0
  18. package/docs/documentation/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
  19. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
  20. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +978 -0
  21. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
  22. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
  23. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
  24. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
  25. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +1049 -0
  26. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
  27. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
  28. package/docs/documentation/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
  29. package/docs/documentation/global.html +1303 -0
  30. package/docs/documentation/imageAnonymization.js.html +245 -0
  31. package/docs/documentation/imageColormaps.js.html +283 -0
  32. package/docs/documentation/imageContours.js.html +278 -0
  33. package/docs/documentation/imageIo.js.html +291 -0
  34. package/docs/documentation/imageLayers.js.html +188 -0
  35. package/docs/documentation/imageLoading.js.html +297 -0
  36. package/docs/documentation/imageParsing.js.html +385 -0
  37. package/docs/documentation/imagePresets.js.html +207 -0
  38. package/docs/documentation/imageRendering.js.html +849 -0
  39. package/docs/documentation/imageReslice.js.html +162 -0
  40. package/docs/documentation/imageStore.js.html +360 -0
  41. package/docs/documentation/imageTools.js.html +784 -0
  42. package/docs/documentation/imageUtils.js.html +1609 -0
  43. package/docs/documentation/image_colormaps.js.html +283 -0
  44. package/docs/documentation/image_contours.js.html +279 -0
  45. package/docs/documentation/image_io.js.html +288 -0
  46. package/docs/documentation/image_layers.js.html +188 -0
  47. package/docs/documentation/image_loading.js.html +294 -0
  48. package/docs/documentation/image_parsing.js.html +391 -0
  49. package/docs/documentation/image_presets.js.html +207 -0
  50. package/docs/documentation/image_rendering.js.html +845 -0
  51. package/docs/documentation/image_reslice.js.html +164 -0
  52. package/docs/documentation/image_store.js.html +359 -0
  53. package/docs/documentation/image_tools.js.html +792 -0
  54. package/docs/documentation/image_utils.js.html +1609 -0
  55. package/docs/documentation/index.html +175 -0
  56. package/docs/documentation/loaders_commonLoader.js.html +306 -0
  57. package/docs/documentation/loaders_dicomLoader.js.html +130 -0
  58. package/docs/documentation/loaders_fileLoader.js.html +155 -0
  59. package/docs/documentation/loaders_multiframeLoader.js.html +443 -0
  60. package/docs/documentation/loaders_niftiLoader.js.html +150 -0
  61. package/docs/documentation/loaders_nrrdLoader.js.html +545 -0
  62. package/docs/documentation/loaders_resliceLoader.js.html +258 -0
  63. package/docs/documentation/module-imaging_contours.html +954 -0
  64. package/docs/documentation/module-imaging_imageAnonymization.html +544 -0
  65. package/docs/documentation/module-imaging_imageColormaps.html +1012 -0
  66. package/docs/documentation/module-imaging_imageContours.html +954 -0
  67. package/docs/documentation/module-imaging_imageIo.html +1057 -0
  68. package/docs/documentation/module-imaging_imageLayers.html +904 -0
  69. package/docs/documentation/module-imaging_imageLoading.html +1301 -0
  70. package/docs/documentation/module-imaging_imageParsing.html +1356 -0
  71. package/docs/documentation/module-imaging_imagePresets.html +679 -0
  72. package/docs/documentation/module-imaging_imageRendering.html +3223 -0
  73. package/docs/documentation/module-imaging_imageReslice.html +413 -0
  74. package/docs/documentation/module-imaging_imageStore-Larvitar_Store.html +284 -0
  75. package/docs/documentation/module-imaging_imageStore.html +1560 -0
  76. package/docs/documentation/module-imaging_imageTools.html +3617 -0
  77. package/docs/documentation/module-imaging_imageUtils.html +7253 -0
  78. package/docs/documentation/module-imaging_io.html +1057 -0
  79. package/docs/documentation/module-imaging_layers.html +904 -0
  80. package/docs/documentation/module-imaging_loading.html +1301 -0
  81. package/docs/documentation/module-imaging_parsing.html +1375 -0
  82. package/docs/documentation/module-imaging_presets.html +679 -0
  83. package/docs/documentation/module-imaging_rendering.html +8094 -0
  84. package/docs/documentation/module-imaging_reslice.html +411 -0
  85. package/docs/documentation/module-imaging_store-Larvitar_Store.html +284 -0
  86. package/docs/documentation/module-imaging_store.html +1537 -0
  87. package/docs/documentation/module-imaging_strategies_eraseFreehand.html +708 -0
  88. package/docs/documentation/module-imaging_strategies_fillFreehand.html +708 -0
  89. package/docs/documentation/module-imaging_tools.html +3617 -0
  90. package/docs/documentation/module-imaging_tools_custom_contourTool.html +207 -0
  91. package/docs/documentation/module-imaging_tools_custom_diameterTool.html +205 -0
  92. package/docs/documentation/module-imaging_tools_custom_editMaskTool.html +205 -0
  93. package/docs/documentation/module-imaging_tools_custom_polygonScissorsTool.html +203 -0
  94. package/docs/documentation/module-imaging_tools_custom_thresholdBrushTool.html +684 -0
  95. package/docs/documentation/module-imaging_tools_default.html +205 -0
  96. package/docs/documentation/module-imaging_tools_interaction.html +530 -0
  97. package/docs/documentation/module-imaging_tools_io.html +832 -0
  98. package/docs/documentation/module-imaging_tools_main.html +2028 -0
  99. package/docs/documentation/module-imaging_tools_polygonSegmentationMixin.html +567 -0
  100. package/docs/documentation/module-imaging_tools_segmentation.html +3586 -0
  101. package/docs/documentation/module-imaging_tools_state.html +494 -0
  102. package/docs/documentation/module-imaging_utils.html +7253 -0
  103. package/docs/documentation/module-loaders_commonLoader.html +1313 -0
  104. package/docs/documentation/module-loaders_dicomLoader.html +522 -0
  105. package/docs/documentation/module-loaders_fileLoader.html +593 -0
  106. package/docs/documentation/module-loaders_multiframeLoader.html +1169 -0
  107. package/docs/documentation/module-loaders_niftiLoader.html +565 -0
  108. package/docs/documentation/module-loaders_nrrdLoader.html +1459 -0
  109. package/docs/documentation/module-loaders_resliceLoader.html +590 -0
  110. package/docs/documentation/module-monitors_memory.html +980 -0
  111. package/docs/documentation/module-tools_default.html +740 -0
  112. package/docs/documentation/module.exports_module.exports.html +203 -0
  113. package/docs/documentation/monitors_memory.js.html +189 -0
  114. package/docs/documentation/parsers_nrrd.js.html +569 -0
  115. package/docs/documentation/scripts/collapse.js +20 -0
  116. package/docs/documentation/scripts/linenumber.js +25 -0
  117. package/docs/documentation/scripts/nav.js +12 -0
  118. package/docs/documentation/scripts/polyfill.js +4 -0
  119. package/docs/documentation/scripts/prettify/Apache-License-2.0.txt +202 -0
  120. package/docs/documentation/scripts/prettify/lang-css.js +2 -0
  121. package/docs/documentation/scripts/prettify/prettify.js +28 -0
  122. package/docs/documentation/scripts/search.js +83 -0
  123. package/docs/documentation/styles/jsdoc.css +765 -0
  124. package/docs/documentation/styles/prettify.css +80 -0
  125. package/docs/documentation/tools_contourTool.js.html +1963 -0
  126. package/docs/documentation/tools_custom_contourTool.js.html +1968 -0
  127. package/docs/documentation/tools_custom_diameterTool.js.html +225 -0
  128. package/docs/documentation/tools_custom_editMaskTool.js.html +225 -0
  129. package/docs/documentation/tools_custom_polylineScissorsTool.js.html +143 -0
  130. package/docs/documentation/tools_custom_thresholdsBrushTool.js.html +245 -0
  131. package/docs/documentation/tools_default.js.html +576 -0
  132. package/docs/documentation/tools_diameterTool.js.html +219 -0
  133. package/docs/documentation/tools_editMaskTool.js.html +219 -0
  134. package/docs/documentation/tools_interaction.js.html +258 -0
  135. package/docs/documentation/tools_io.js.html +297 -0
  136. package/docs/documentation/tools_main.js.html +443 -0
  137. package/docs/documentation/tools_polygonSegmentationMixin.js.html +329 -0
  138. package/docs/documentation/tools_polylineScissorsTool.js.html +136 -0
  139. package/docs/documentation/tools_seedTool.js.html +423 -0
  140. package/docs/documentation/tools_segmentation.js.html +558 -0
  141. package/docs/documentation/tools_state.js.html +163 -0
  142. package/docs/documentation/tools_strategies_eraseFreehand.js.html +160 -0
  143. package/docs/documentation/tools_strategies_fillFreehand.js.html +163 -0
  144. package/docs/documentation/tools_thresholdsBrushTool.js.html +239 -0
  145. package/docs/documentation/tools_tools.default.js.html +569 -0
  146. package/docs/documentation/tools_tools.interaction.js.html +251 -0
  147. package/docs/documentation/tools_tools.io.js.html +288 -0
  148. package/docs/documentation/tools_tools.main.js.html +442 -0
  149. package/docs/documentation/tools_tools.segmentation.js.html +445 -0
  150. package/docs/documentation/tools_tools.state.js.html +157 -0
  151. package/docs/examples/base.html +170 -0
  152. package/docs/examples/colorMaps.html +181 -0
  153. package/docs/examples/defaultTools.html +246 -0
  154. package/docs/examples/demo/anon1 +0 -0
  155. package/docs/examples/demo/anon10 +0 -0
  156. package/docs/examples/demo/anon11 +0 -0
  157. package/docs/examples/demo/anon12 +0 -0
  158. package/docs/examples/demo/anon13 +0 -0
  159. package/docs/examples/demo/anon14 +0 -0
  160. package/docs/examples/demo/anon15 +0 -0
  161. package/docs/examples/demo/anon16 +0 -0
  162. package/docs/examples/demo/anon17 +0 -0
  163. package/docs/examples/demo/anon18 +0 -0
  164. package/docs/examples/demo/anon19 +0 -0
  165. package/docs/examples/demo/anon2 +0 -0
  166. package/docs/examples/demo/anon20 +0 -0
  167. package/docs/examples/demo/anon21 +0 -0
  168. package/docs/examples/demo/anon22 +0 -0
  169. package/docs/examples/demo/anon23 +0 -0
  170. package/docs/examples/demo/anon24 +0 -0
  171. package/docs/examples/demo/anon3 +0 -0
  172. package/docs/examples/demo/anon4 +0 -0
  173. package/docs/examples/demo/anon5 +0 -0
  174. package/docs/examples/demo/anon6 +0 -0
  175. package/docs/examples/demo/anon7 +0 -0
  176. package/docs/examples/demo/anon8 +0 -0
  177. package/docs/examples/demo/anon9 +0 -0
  178. package/docs/examples/demo/example.nrrd +0 -0
  179. package/docs/examples/demo/segmentation.nrrd +0 -0
  180. package/docs/examples/demo/xa_integris.dcm +0 -0
  181. package/docs/examples/index.html +129 -0
  182. package/docs/examples/larvitar.js +108623 -0
  183. package/docs/examples/layers.html +250 -0
  184. package/docs/examples/masks.html +273 -0
  185. package/docs/examples/multiframe.html +200 -0
  186. package/docs/examples/nrrd.html +96 -0
  187. package/docs/examples/reslice.html +174 -0
  188. package/docs/index.html +92 -0
  189. package/imaging/dataDictionary.json +21865 -21865
  190. package/imaging/imageAnonymization.js +161 -0
  191. package/imaging/{image_colormaps.js → imageColormaps.js} +2 -2
  192. package/imaging/{image_contours.js → imageContours.js} +1 -2
  193. package/imaging/{image_io.js → imageIo.js} +18 -15
  194. package/imaging/{image_layers.js → imageLayers.js} +2 -2
  195. package/imaging/{image_loading.js → imageLoading.js} +9 -6
  196. package/imaging/imageParsing.js +301 -0
  197. package/imaging/{image_presets.js → imagePresets.js} +2 -2
  198. package/imaging/{image_rendering.js → imageRendering.js} +36 -32
  199. package/imaging/imageReslice.js +78 -0
  200. package/imaging/{image_store.js → imageStore.js} +8 -7
  201. package/imaging/{image_tools.js → imageTools.js} +15 -23
  202. package/imaging/{image_utils.js → imageUtils.js} +1 -1
  203. package/imaging/loaders/commonLoader.js +1 -1
  204. package/imaging/loaders/dicomLoader.js +1 -1
  205. package/imaging/loaders/fileLoader.js +2 -2
  206. package/imaging/loaders/multiframeLoader.js +6 -2
  207. package/imaging/loaders/nrrdLoader.js +11 -7
  208. package/imaging/tools/{contourTool.js → custom/contourTool.js} +25 -20
  209. package/imaging/tools/{diameterTool.js → custom/diameterTool.js} +9 -3
  210. package/imaging/tools/{editMaskTool.js → custom/editMaskTool.js} +7 -1
  211. package/imaging/tools/{polylineScissorsTool.js → custom/polylineScissorsTool.js} +12 -5
  212. package/imaging/tools/{seedTool.js → custom/seedTool.js} +3 -3
  213. package/imaging/tools/{thresholdsBrushTool.js → custom/thresholdsBrushTool.js} +7 -1
  214. package/imaging/tools/{tools.default.js → default.js} +10 -3
  215. package/imaging/tools/{tools.interaction.js → interaction.js} +13 -6
  216. package/imaging/tools/{tools.io.js → io.js} +15 -6
  217. package/imaging/tools/{tools.main.js → main.js} +16 -14
  218. package/imaging/tools/polygonSegmentationMixin.js +8 -4
  219. package/imaging/tools/{tools.segmentation.js → segmentation.js} +171 -58
  220. package/imaging/tools/segmentations.md +38 -0
  221. package/imaging/tools/setLabelMap3D.js +248 -0
  222. package/imaging/tools/{tools.state.js → state.js} +7 -1
  223. package/imaging/tools/strategies/eraseFreehand.js +8 -9
  224. package/imaging/tools/strategies/fillFreehand.js +8 -9
  225. package/index.js +44 -39
  226. package/modules/vuex/larvitar.js +13 -3
  227. package/package.json +13 -10
  228. package/imaging/image_parsing.js +0 -307
  229. package/imaging/image_reslice.js +0 -80
@@ -0,0 +1,3617 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+
5
+ <meta charset="utf-8">
6
+ <title>imaging/imageTools - Larvitar</title>
7
+
8
+ <meta name="description" content="Dicom Image Toolkit for CornestoneJS" />
9
+
10
+ <meta name="keywords" content="imaging, dataviz, medical, cornerstone" />
11
+ <meta name="keyword" content="imaging, dataviz, medical, cornerstone" />
12
+
13
+
14
+
15
+ <script src="scripts/prettify/prettify.js"></script>
16
+ <script src="scripts/prettify/lang-css.js"></script>
17
+ <!--[if lt IE 9]>
18
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
19
+ <![endif]-->
20
+ <link type="text/css" rel="stylesheet" href="styles/prettify.css">
21
+ <link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
22
+ <script src="scripts/nav.js" defer></script>
23
+
24
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
25
+ </head>
26
+ <body>
27
+
28
+ <input type="checkbox" id="nav-trigger" class="nav-trigger" />
29
+ <label for="nav-trigger" class="navicon-button x">
30
+ <div class="navicon"></div>
31
+ </label>
32
+
33
+ <label for="nav-trigger" class="overlay"></label>
34
+
35
+ <nav >
36
+
37
+ <input type="text" id="nav-search" placeholder="Search" />
38
+
39
+
40
+ <h2><a href="index.html">Home</a></h2><h2><a href="https://github.com/dvisionlab/Larvitar" target="_blank" class="menu-item" id="repository" >Github repo</a></h2><h3>Classes</h3><ul><li><a href="module-imaging_imageStore-Larvitar_Store.html">imaging/imageStore~Larvitar_Store</a></li><li><a href="module-imaging_tools_custom_polygonScissorsTool.html">imaging/tools/custom/polygonScissorsTool</a></li><li><a href="Tools.Annotation.ContoursTool.html">Tools.Annotation.ContoursTool</a></li><li><a href="Tools.Annotation.DiameterTool.html">Tools.Annotation.DiameterTool</a></li><li><a href="Tools.Brush.BrushTool.html">Tools.Brush.BrushTool</a></li><li><a href="Tools.Brush.ThresholdsBrushTool.html">Tools.Brush.ThresholdsBrushTool</a></li><li><a href="Tools.PolylineScissorsTool.html">Tools.PolylineScissorsTool</a></li></ul><h3>Modules</h3><ul><li><a href="module-imaging_imageAnonymization.html">imaging/imageAnonymization</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imageAnonymization.html#anonymize#~anonymize">anonymize</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageAnonymization.html#encrypt#~encrypt">encrypt</a></li></ul></li><li><a href="module-imaging_imageColormaps.html">imaging/imageColormaps</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imageColormaps.html#HSVToRGB#.HSVToRGB">HSVToRGB</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageColormaps.html#addColorMap#addColorMap">addColorMap</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageColormaps.html#applyColorMap#applyColorMap">applyColorMap</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageColormaps.html#fillPixelData#fillPixelData">fillPixelData</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageColormaps.html#getColormapsList#getColormapsList">getColormapsList</a></li></ul></li><li><a href="module-imaging_imageContours.html">imaging/imageContours</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imageContours.html#extractSlicePoints#extractSlicePoints">extractSlicePoints</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageContours.html#populateContoursObject#populateContoursObject">populateContoursObject</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageContours.html#parseContours#~parseContours">parseContours</a></li></ul></li><li><a href="module-imaging_imageIo.html">imaging/imageIo</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imageIo.html#buildData#~buildData">buildData</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageIo.html#buildDataAsync#~buildDataAsync">buildDataAsync</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageIo.html#buildHeader#~buildHeader">buildHeader</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageIo.html#getCachedPixelData#~getCachedPixelData">getCachedPixelData</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageIo.html#importNRRDImage#~importNRRDImage">importNRRDImage</a></li></ul></li><li><a href="module-imaging_imageLayers.html">imaging/imageLayers</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imageLayers.html#getActiveLayer#getActiveLayer">getActiveLayer</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageLayers.html#setActiveLayer#setActiveLayer">setActiveLayer</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageLayers.html#updateLayer#updateLayer">updateLayer</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageLayers.html#buildLayers#~buildLayers">buildLayers</a></li></ul></li><li><a href="module-imaging_imageLoading.html">imaging/imageLoading</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imageLoading.html#initializeFileImageLoader#initializeFileImageLoader">initializeFileImageLoader</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageLoading.html#initializeImageLoader#initializeImageLoader">initializeImageLoader</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageLoading.html#initializeWebImageLoader#initializeWebImageLoader">initializeWebImageLoader</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageLoading.html#registerMultiFrameImageLoader#registerMultiFrameImageLoader">registerMultiFrameImageLoader</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageLoading.html#registerNRRDImageLoader#registerNRRDImageLoader">registerNRRDImageLoader</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageLoading.html#registerResliceLoader#registerResliceLoader">registerResliceLoader</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageLoading.html#updateLoadedStack#updateLoadedStack">updateLoadedStack</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageLoading.html#isNewInstance#~isNewInstance">isNewInstance</a></li></ul></li><li><a href="module-imaging_imageParsing.html">imaging/imageParsing</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imageParsing.html#clearImageParsing#clearImageParsing">clearImageParsing</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageParsing.html#parseDataSet#parseDataSet">parseDataSet</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageParsing.html#readFile#readFile">readFile</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageParsing.html#readFiles#readFiles">readFiles</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageParsing.html#parseFile#~parseFile">parseFile</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageParsing.html#parseFiles#~parseFiles">parseFiles</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageParsing.html#parseNextFile#~parseNextFile">parseNextFile</a></li></ul></li><li><a href="module-imaging_imagePresets.html">imaging/imagePresets</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imagePresets.html#getImagePresets#getImagePresets">getImagePresets</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imagePresets.html#setImageCustomPreset#setImageCustomPreset">setImageCustomPreset</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imagePresets.html#setImagePreset#setImagePreset">setImagePreset</a></li></ul></li><li><a href="module-imaging_imageRendering.html">imaging/imageRendering</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#clearImageCache#clearImageCache">clearImageCache</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#disableViewport#disableViewport">disableViewport</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#flipImageHorizontal#flipImageHorizontal">flipImageHorizontal</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#flipImageVertical#flipImageVertical">flipImageVertical</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#getSeriesData#getSeriesData">getSeriesData</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#invertImage#invertImage">invertImage</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#loadAndCacheImages#loadAndCacheImages">loadAndCacheImages</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#renderImage#renderImage">renderImage</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#renderWebImage#renderWebImage">renderWebImage</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#renderWebImage#renderWebImage">renderWebImage</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#resetViewports#resetViewports">resetViewports</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#resizeViewport#resizeViewport">resizeViewport</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#rotateImageLeft#rotateImageLeft">rotateImageLeft</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#rotateImageRight#rotateImageRight">rotateImageRight</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#storeViewportData#storeViewportData">storeViewportData</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#unloadViewport#unloadViewport">unloadViewport</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#updateImage#updateImage">updateImage</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageRendering.html#updateViewportData#updateViewportData">updateViewportData</a></li></ul></li><li><a href="module-imaging_imageReslice.html">imaging/imageReslice</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imageReslice.html#resliceSeries#resliceSeries">resliceSeries</a></li></ul></li><li><a href="module-imaging_imageStore.html">imaging/imageStore</a><ul class='members'><li data-type='member' style='display: none;'><a href="module-imaging_imageStore.html#.larvitar_store">larvitar_store</a></li></ul><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imageStore.html#initLarvitarStore#.initLarvitarStore">initLarvitarStore</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageStore.html#addSeriesIds#~addSeriesIds">addSeriesIds</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageStore.html#addViewport#~addViewport">addViewport</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageStore.html#deleteViewport#~deleteViewport">deleteViewport</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageStore.html#disableVuex#~disableVuex">disableVuex</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageStore.html#enableVuex#~enableVuex">enableVuex</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageStore.html#get#~get">get</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageStore.html#removeSeriesIds#~removeSeriesIds">removeSeriesIds</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageStore.html#set#~set">set</a></li></ul></li><li><a href="module-imaging_imageTools.html">imaging/imageTools</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#addContoursTool#~addContoursTool">addContoursTool</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#addDefaultTools#~addDefaultTools">addDefaultTools</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#addDiameterTool#~addDiameterTool">addDiameterTool</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#addMaskEditingTool#~addMaskEditingTool">addMaskEditingTool</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#addSeedsTool#~addSeedsTool">addSeedsTool</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#addStackStateToElement#~addStackStateToElement">addStackStateToElement</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#addToolStateSingleSlice#~addToolStateSingleSlice">addToolStateSingleSlice</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#clearCornerstoneElements#~clearCornerstoneElements">clearCornerstoneElements</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#clearMeasurements#~clearMeasurements">clearMeasurements</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#clearToolStateByName#~clearToolStateByName">clearToolStateByName</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#getCurrentMaskData#~getCurrentMaskData">getCurrentMaskData</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#getToolState#~getToolState">getToolState</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#isToolMissing#~isToolMissing">isToolMissing</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#setSegmentationConfig#~setSegmentationConfig">setSegmentationConfig</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#setToolActive#~setToolActive">setToolActive</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#setToolActive#~setToolActive">setToolActive</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#setToolEnabled#~setToolEnabled">setToolEnabled</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#setToolPassive#~setToolPassive">setToolPassive</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#syncToolStack#~syncToolStack">syncToolStack</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#updateDiameterTool#~updateDiameterTool">updateDiameterTool</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageTools.html#updateStackToolState#~updateStackToolState">updateStackToolState</a></li></ul></li><li><a href="module-imaging_imageUtils.html">imaging/imageUtils</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#formatDate#formatDate">formatDate</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#formatDateTime#formatDateTime">formatDateTime</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getCmprMetadata#getCmprMetadata">getCmprMetadata</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getDICOMTag#getDICOMTag">getDICOMTag</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getDICOMTagCode#getDICOMTagCode">getDICOMTagCode</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getDistanceBetweenSlices#getDistanceBetweenSlices">getDistanceBetweenSlices</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getMaxPixelValue#getMaxPixelValue">getMaxPixelValue</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getMeanValue#getMeanValue">getMeanValue</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getMinPixelValue#getMinPixelValue">getMinPixelValue</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getNormalOrientation#getNormalOrientation">getNormalOrientation</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getPixelRepresentation#getPixelRepresentation">getPixelRepresentation</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getPixelTypedArray#getPixelTypedArray">getPixelTypedArray</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getReslicedIOP#getReslicedIOP">getReslicedIOP</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getReslicedIPP#getReslicedIPP">getReslicedIPP</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getReslicedMetadata#getReslicedMetadata">getReslicedMetadata</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getReslicedPixeldata#getReslicedPixeldata">getReslicedPixeldata</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getReslicedSliceLocation#getReslicedSliceLocation">getReslicedSliceLocation</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getSortedStack#getSortedStack">getSortedStack</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getSortedUIDs#getSortedUIDs">getSortedUIDs</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getTagValue#getTagValue">getTagValue</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getTypedArray#getTypedArray">getTypedArray</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#getTypedArrayFromDataType#getTypedArrayFromDataType">getTypedArrayFromDataType</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#isElement#isElement">isElement</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#isNegativeSign#isNegativeSign">isNegativeSign</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#isStringVr#isStringVr">isStringVr</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#isValidDate#isValidDate">isValidDate</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#parseAgeTag#parseAgeTag">parseAgeTag</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#parseDateTag#parseDateTag">parseDateTag</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#parseDateTimeTag#parseDateTimeTag">parseDateTimeTag</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#parseDICOMFileIDTag#parseDICOMFileIDTag">parseDICOMFileIDTag</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#parsePatientNameTag#parsePatientNameTag">parsePatientNameTag</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#parseTag#parseTag">parseTag</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#parseTimeTag#parseTimeTag">parseTimeTag</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#permuteSignedArrays#permuteSignedArrays">permuteSignedArrays</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#permuteValues#permuteValues">permuteValues</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#rand#rand">rand</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#randomId#randomId">randomId</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#sortStackCallback#sortStackCallback">sortStackCallback</a></li><li data-type='method' style='display: none;'><a href="module-imaging_imageUtils.html#spacingArray#spacingArray">spacingArray</a></li></ul></li><li><a href="module-imaging_strategies_eraseFreehand.html">imaging/strategies/eraseFreehand</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_strategies_eraseFreehand.html#eraseInsideFreehand#.eraseInsideFreehand">eraseInsideFreehand</a></li><li data-type='method' style='display: none;'><a href="module-imaging_strategies_eraseFreehand.html#eraseOutsideFreehand#.eraseOutsideFreehand">eraseOutsideFreehand</a></li><li data-type='method' style='display: none;'><a href="module-imaging_strategies_eraseFreehand.html#eraseFreehand#~eraseFreehand">eraseFreehand</a></li></ul></li><li><a href="module-imaging_strategies_fillFreehand.html">imaging/strategies/fillFreehand</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_strategies_fillFreehand.html#fillInsideFreehand#.fillInsideFreehand">fillInsideFreehand</a></li><li data-type='method' style='display: none;'><a href="module-imaging_strategies_fillFreehand.html#fillOutsideFreehand#.fillOutsideFreehand">fillOutsideFreehand</a></li><li data-type='method' style='display: none;'><a href="module-imaging_strategies_fillFreehand.html#fillFreehand#~fillFreehand">fillFreehand</a></li></ul></li><li><a href="module-imaging_tools_custom_contourTool.html">imaging/tools/custom/contourTool</a></li><li><a href="module-imaging_tools_custom_diameterTool.html">imaging/tools/custom/diameterTool</a></li><li><a href="module-imaging_tools_custom_editMaskTool.html">imaging/tools/custom/editMaskTool</a></li><li><a href="module-imaging_tools_custom_polygonScissorsTool.html">imaging/tools/custom/polygonScissorsTool</a></li><li><a href="module-imaging_tools_custom_thresholdBrushTool.html">imaging/tools/custom/thresholdBrushTool</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_tools_custom_thresholdBrushTool.html#_paint#_paint">_paint</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_custom_thresholdBrushTool.html#getCircleWithThreshold#~getCircleWithThreshold">getCircleWithThreshold</a></li></ul></li><li><a href="module-imaging_tools_default.html">imaging/tools/default</a></li><li><a href="module-imaging_tools_interaction.html">imaging/tools/interaction</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_tools_interaction.html#addMouseKeyHandlers#.addMouseKeyHandlers">addMouseKeyHandlers</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_interaction.html#toggleMouseHandlers#toggleMouseHandlers">toggleMouseHandlers</a></li></ul></li><li><a href="module-imaging_tools_io.html">imaging/tools/io</a><ul class='members'><li data-type='member' style='display: none;'><a href="module-imaging_tools_io.html#.exportAnnotations">exportAnnotations</a></li><li data-type='member' style='display: none;'><a href="module-imaging_tools_io.html#.loadAnnotations">loadAnnotations</a></li><li data-type='member' style='display: none;'><a href="module-imaging_tools_io.html#.saveAnnotations">saveAnnotations</a></li></ul><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_tools_io.html#generateCSV#.generateCSV">generateCSV</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_io.html#download#~download">download</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_io.html#extractToolInfo#~extractToolInfo">extractToolInfo</a></li></ul></li><li><a href="module-imaging_tools_main.html">imaging/tools/main</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_tools_main.html#csToolsUpdateImageIndex#.csToolsUpdateImageIndex">csToolsUpdateImageIndex</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_main.html#addDefaultTools#~addDefaultTools">addDefaultTools</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_main.html#addTool#~addTool">addTool</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_main.html#csToolsCreateStack#~csToolsCreateStack">csToolsCreateStack</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_main.html#initializeCSTools#~initializeCSTools">initializeCSTools</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_main.html#isToolMissing#~isToolMissing">isToolMissing</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_main.html#setToolActive#~setToolActive">setToolActive</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_main.html#setToolDisabled#~setToolDisabled">setToolDisabled</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_main.html#setToolEnabled#~setToolEnabled">setToolEnabled</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_main.html#setToolPassive#~setToolPassive">setToolPassive</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_main.html#setToolsStyle#~setToolsStyle">setToolsStyle</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_main.html#tryUpdateImage#~tryUpdateImage">tryUpdateImage</a></li></ul></li><li><a href="module-imaging_tools_polygonSegmentationMixin.html">imaging/tools/polygonSegmentationMixin</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_tools_polygonSegmentationMixin.html#_checkIfDrawing#~_checkIfDrawing">_checkIfDrawing</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_polygonSegmentationMixin.html#renderToolData#~renderToolData">renderToolData</a></li></ul></li><li><a href="module-imaging_tools_segmentation.html">imaging/tools/segmentation</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#addSegmentationMask#.addSegmentationMask">addSegmentationMask</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#clearSegmentationState#.clearSegmentationState">clearSegmentationState</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#deleteMask#.deleteMask">deleteMask</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#disableBrushTool#.disableBrushTool">disableBrushTool</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#enableBrushTool#.enableBrushTool">enableBrushTool</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#forceRender#.forceRender">forceRender</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#getActiveLabelmapBuffer#.getActiveLabelmapBuffer">getActiveLabelmapBuffer</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#getLabelColor#.getLabelColor">getLabelColor</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#initSegmentationModule#.initSegmentationModule">initSegmentationModule</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#loadMaskSlice#.loadMaskSlice">loadMaskSlice</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#redoLastStroke#.redoLastStroke">redoLastStroke</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#setActiveLabelmap#.setActiveLabelmap">setActiveLabelmap</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#setActiveLabelOpacity#.setActiveLabelOpacity">setActiveLabelOpacity</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#setActiveSegment#.setActiveSegment">setActiveSegment</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#setBrushProps#.setBrushProps">setBrushProps</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#setInactiveLabelOpacity#.setInactiveLabelOpacity">setInactiveLabelOpacity</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#setLabelColor#.setLabelColor">setLabelColor</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#setMaskProps#.setMaskProps">setMaskProps</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#toggleContourMode#.toggleContourMode">toggleContourMode</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#toggleVisibility#.toggleVisibility">toggleVisibility</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#undoLastStroke#.undoLastStroke">undoLastStroke</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#generateLUT#~generateLUT">generateLUT</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#generateUniformLUT#~generateUniformLUT">generateUniformLUT</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_segmentation.html#HSVtoRGB#~HSVtoRGB">HSVtoRGB</a></li></ul></li><li><a href="module-imaging_tools_state.html">imaging/tools/state</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-imaging_tools_state.html#restoreToolState#~restoreToolState">restoreToolState</a></li><li data-type='method' style='display: none;'><a href="module-imaging_tools_state.html#saveToolState#~saveToolState">saveToolState</a></li></ul></li><li><a href="module-loaders_commonLoader.html">loaders/commonLoader</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-loaders_commonLoader.html#getImageFrame#getImageFrame">getImageFrame</a></li><li data-type='method' style='display: none;'><a href="module-loaders_commonLoader.html#getLarvitarImageTracker#getLarvitarImageTracker">getLarvitarImageTracker</a></li><li data-type='method' style='display: none;'><a href="module-loaders_commonLoader.html#getLarvitarManager#getLarvitarManager">getLarvitarManager</a></li><li data-type='method' style='display: none;'><a href="module-loaders_commonLoader.html#getSeriesDataFromLarvitarManager#getSeriesDataFromLarvitarManager">getSeriesDataFromLarvitarManager</a></li><li data-type='method' style='display: none;'><a href="module-loaders_commonLoader.html#populateLarvitarManager#populateLarvitarManager">populateLarvitarManager</a></li><li data-type='method' style='display: none;'><a href="module-loaders_commonLoader.html#removeSeriesFromLarvitarManager#removeSeriesFromLarvitarManager">removeSeriesFromLarvitarManager</a></li><li data-type='method' style='display: none;'><a href="module-loaders_commonLoader.html#resetLarvitarManager#resetLarvitarManager">resetLarvitarManager</a></li><li data-type='method' style='display: none;'><a href="module-loaders_commonLoader.html#updateLarvitarManager#updateLarvitarManager">updateLarvitarManager</a></li></ul></li><li><a href="module-loaders_dicomLoader.html">loaders/dicomLoader</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-loaders_dicomLoader.html#cacheImages#cacheImages">cacheImages</a></li><li data-type='method' style='display: none;'><a href="module-loaders_dicomLoader.html#getDicomImageId#getDicomImageId">getDicomImageId</a></li></ul></li><li><a href="module-loaders_fileLoader.html">loaders/fileLoader</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-loaders_fileLoader.html#getFileImageId#getFileImageId">getFileImageId</a></li><li data-type='method' style='display: none;'><a href="module-loaders_fileLoader.html#populateFileManager#populateFileManager">populateFileManager</a></li><li data-type='method' style='display: none;'><a href="module-loaders_fileLoader.html#resetFileLoader#resetFileLoader">resetFileLoader</a></li><li data-type='method' style='display: none;'><a href="module-loaders_fileLoader.html#resetFileManager#resetFileManager">resetFileManager</a></li></ul></li><li><a href="module-loaders_multiframeLoader.html">loaders/multiframeLoader</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-loaders_multiframeLoader.html#clearMultiFrameCache#clearMultiFrameCache">clearMultiFrameCache</a></li><li data-type='method' style='display: none;'><a href="module-loaders_multiframeLoader.html#createCustomImage#createCustomImage">createCustomImage</a></li><li data-type='method' style='display: none;'><a href="module-loaders_multiframeLoader.html#getMultiFrameImageId#getMultiFrameImageId">getMultiFrameImageId</a></li><li data-type='method' style='display: none;'><a href="module-loaders_multiframeLoader.html#setPixelDataType#setPixelDataType">setPixelDataType</a></li><li data-type='method' style='display: none;'><a href="module-loaders_multiframeLoader.html#buildMultiFrameImage#~buildMultiFrameImage">buildMultiFrameImage</a></li><li data-type='method' style='display: none;'><a href="module-loaders_multiframeLoader.html#loadMultiFrameImage#~loadMultiFrameImage">loadMultiFrameImage</a></li></ul></li><li><a href="module-loaders_nrrdLoader.html">loaders/nrrdLoader</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-loaders_nrrdLoader.html#buildNrrdImage#buildNrrdImage">buildNrrdImage</a></li><li data-type='method' style='display: none;'><a href="module-loaders_nrrdLoader.html#createCustomImage#createCustomImage">createCustomImage</a></li><li data-type='method' style='display: none;'><a href="module-loaders_nrrdLoader.html#getImageIdFromSlice#getImageIdFromSlice">getImageIdFromSlice</a></li><li data-type='method' style='display: none;'><a href="module-loaders_nrrdLoader.html#getNrrdImageId#getNrrdImageId">getNrrdImageId</a></li><li data-type='method' style='display: none;'><a href="module-loaders_nrrdLoader.html#getNrrdSerieDimensions#getNrrdSerieDimensions">getNrrdSerieDimensions</a></li><li data-type='method' style='display: none;'><a href="module-loaders_nrrdLoader.html#getSliceNumberFromImageId#getSliceNumberFromImageId">getSliceNumberFromImageId</a></li><li data-type='method' style='display: none;'><a href="module-loaders_nrrdLoader.html#loadNrrdImage#loadNrrdImage">loadNrrdImage</a></li></ul></li><li><a href="module-loaders_resliceLoader.html">loaders/resliceLoader</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-loaders_resliceLoader.html#createCustomImage#createCustomImage">createCustomImage</a></li><li data-type='method' style='display: none;'><a href="module-loaders_resliceLoader.html#loadReslicedImage#loadReslicedImage">loadReslicedImage</a></li></ul></li><li><a href="module-monitors_memory.html">monitors/memory</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-monitors_memory.html#checkMemoryAllocation#checkMemoryAllocation">checkMemoryAllocation</a></li><li data-type='method' style='display: none;'><a href="module-monitors_memory.html#checkMemorySupport#checkMemorySupport">checkMemorySupport</a></li><li data-type='method' style='display: none;'><a href="module-monitors_memory.html#getAvailableMemory#getAvailableMemory">getAvailableMemory</a></li><li data-type='method' style='display: none;'><a href="module-monitors_memory.html#getMB#getMB">getMB</a></li><li data-type='method' style='display: none;'><a href="module-monitors_memory.html#getUsedMemory#getUsedMemory">getUsedMemory</a></li><li data-type='method' style='display: none;'><a href="module-monitors_memory.html#setAvailableMemory#setAvailableMemory">setAvailableMemory</a></li></ul></li><li><a href="module-tools_default.html">tools/default</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-tools_default.html#getDefaultToolsByType#~getDefaultToolsByType">getDefaultToolsByType</a></li><li data-type='method' style='display: none;'><a href="module-tools_default.html#setDefaultToolsProps#~setDefaultToolsProps">setDefaultToolsProps</a></li></ul></li></ul><h3>Events</h3><ul><li><a href="module-imaging_tools_custom_contourTool.ContoursTool.html#event:_drawingDoubleTapClickCallback">imaging/tools/custom/contourTool.ContoursTool#_drawingDoubleTapClickCallback</a></li><li><a href="module-imaging_tools_custom_contourTool.ContoursTool.html#event:_drawingMouseDoubleClickCallback">imaging/tools/custom/contourTool.ContoursTool#_drawingMouseDoubleClickCallback</a></li><li><a href="module-imaging_tools_custom_contourTool.ContoursTool.html#event:_drawingMouseDownCallback">imaging/tools/custom/contourTool.ContoursTool#_drawingMouseDownCallback</a></li><li><a href="module-imaging_tools_custom_contourTool.ContoursTool.html#event:_drawingMouseDragCallback">imaging/tools/custom/contourTool.ContoursTool#_drawingMouseDragCallback</a></li><li><a href="module-imaging_tools_custom_contourTool.ContoursTool.html#event:_drawingMouseMoveCallback">imaging/tools/custom/contourTool.ContoursTool#_drawingMouseMoveCallback</a></li><li><a href="module-imaging_tools_custom_contourTool.ContoursTool.html#event:_drawingMouseUpCallback">imaging/tools/custom/contourTool.ContoursTool#_drawingMouseUpCallback</a></li><li><a href="module-imaging_tools_custom_contourTool.ContoursTool.html#event:_drawingTouchDragCallback">imaging/tools/custom/contourTool.ContoursTool#_drawingTouchDragCallback</a></li><li><a href="module-imaging_tools_custom_contourTool.ContoursTool.html#event:_drawingTouchStartCallback">imaging/tools/custom/contourTool.ContoursTool#_drawingTouchStartCallback</a></li><li><a href="module-imaging_tools_custom_contourTool.ContoursTool.html#event:_editMouseDragCallback">imaging/tools/custom/contourTool.ContoursTool#_editMouseDragCallback</a></li><li><a href="module-imaging_tools_custom_contourTool.ContoursTool.html#event:_editTouchDragCallback">imaging/tools/custom/contourTool.ContoursTool#_editTouchDragCallback</a></li></ul><h3>Mixins</h3><ul><li><a href="Mixins.polygonSegmentationMixin%2520-%2520segmentation%2520operations%2520for%2520polyline.html">Mixins.polygonSegmentationMixin - segmentation operations for polyline</a></li></ul><h3>Global</h3><ul><li><a href="global.html#getSegmentsOnPixelData">getSegmentsOnPixelData</a></li><li><a href="global.html#NRRD_TYPES_TO_TYPEDARRAY">NRRD_TYPES_TO_TYPEDARRAY</a></li><li><a href="global.html">parse</a></li><li><a href="global.html#setLabelmap3DByFirstImageId">setLabelmap3DByFirstImageId</a></li><li><a href="global.html#setLabelmap3DForElement">setLabelmap3DForElement</a></li></ul>
41
+
42
+ </nav>
43
+
44
+ <div id="main">
45
+
46
+ <h1 class="page-title">imaging/imageTools</h1>
47
+
48
+
49
+
50
+
51
+
52
+
53
+
54
+ <section>
55
+
56
+ <header>
57
+
58
+
59
+
60
+
61
+
62
+ </header>
63
+
64
+ <article>
65
+
66
+ <div class="container-overview">
67
+
68
+
69
+ <div class="description usertext"><p>This file provides functionalities for<br>
70
+ interacting with cornerstone tools</p></div>
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+ <dl class="details">
80
+
81
+ <dt class="tag-description">Description:</dt>
82
+ <dd class="tag-description"><ul class="dummy"><li><p>This file provides functionalities for<br>
83
+ interacting with cornerstone tools</p></li></ul></dd>
84
+
85
+
86
+
87
+ <dt class="tag-source">Source:</dt>
88
+ <dd class="tag-source"><ul class="dummy"><li>
89
+ <a href="imageTools.js.html">imageTools.js</a>, <a href="imageTools.js.html#line1">line 1</a>
90
+ </li></ul></dd>
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+ </dl>
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+ </div>
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+ <h3 class="subsection-title">Methods</h3>
174
+
175
+
176
+
177
+
178
+
179
+
180
+ <h4 class="name" id="~addContoursTool"><span class="type-signature">(inner) </span>addContoursTool<span class="signature">(rawContours, maskName)</span><span class="type-signature"></span></h4>
181
+
182
+
183
+
184
+
185
+
186
+
187
+ <dl class="details">
188
+
189
+ <dt class="tag-description">Description:</dt>
190
+ <dd class="tag-description"><ul class="dummy"><li><p>Add Contour tool</p></li></ul></dd>
191
+
192
+
193
+
194
+ <dt class="tag-source">Source:</dt>
195
+ <dd class="tag-source"><ul class="dummy"><li>
196
+ <a href="imageTools.js.html">imageTools.js</a>, <a href="imageTools.js.html#line124">line 124</a>
197
+ </li></ul></dd>
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+ </dl>
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+
243
+ <h5>Parameters:</h5>
244
+
245
+
246
+ <table class="params">
247
+ <thead>
248
+ <tr>
249
+
250
+ <th>Name</th>
251
+
252
+
253
+ <th>Type</th>
254
+
255
+
256
+
257
+
258
+
259
+ <th class="last">Description</th>
260
+ </tr>
261
+ </thead>
262
+
263
+ <tbody>
264
+
265
+
266
+ <tr>
267
+
268
+ <td class="name"><code>rawContours</code></td>
269
+
270
+
271
+ <td class="type">
272
+
273
+
274
+ <span class="param-type">Object</span>
275
+
276
+
277
+
278
+ </td>
279
+
280
+
281
+
282
+
283
+
284
+ <td class="description last"><p>The contours object (generated from a segmentation mask).</p></td>
285
+ </tr>
286
+
287
+
288
+
289
+ <tr>
290
+
291
+ <td class="name"><code>maskName</code></td>
292
+
293
+
294
+ <td class="type">
295
+
296
+
297
+ <span class="param-type">String</span>
298
+
299
+
300
+
301
+ </td>
302
+
303
+
304
+
305
+
306
+
307
+ <td class="description last"><p>The name tag that identify the mask</p></td>
308
+ </tr>
309
+
310
+
311
+ </tbody>
312
+ </table>
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+
325
+
326
+
327
+
328
+
329
+
330
+
331
+
332
+
333
+
334
+
335
+
336
+
337
+ <h4 class="name" id="~addDefaultTools"><span class="type-signature">(inner) </span>addDefaultTools<span class="signature">()</span><span class="type-signature"></span></h4>
338
+
339
+
340
+
341
+
342
+
343
+
344
+ <dl class="details">
345
+
346
+ <dt class="tag-description">Description:</dt>
347
+ <dd class="tag-description"><ul class="dummy"><li><p>Add all default tools, as listed in tools/default.js</p></li></ul></dd>
348
+
349
+
350
+
351
+ <dt class="tag-source">Source:</dt>
352
+ <dd class="tag-source"><ul class="dummy"><li>
353
+ <a href="imageTools.js.html">imageTools.js</a>, <a href="imageTools.js.html#line46">line 46</a>
354
+ </li></ul></dd>
355
+
356
+
357
+
358
+
359
+
360
+
361
+
362
+
363
+
364
+
365
+
366
+
367
+
368
+
369
+
370
+
371
+
372
+ <dt class="important tag-deprecated">Deprecated:</dt><dd><ul class="dummy"><li>(OBSOLETE)</li></ul></dd>
373
+
374
+
375
+
376
+
377
+
378
+
379
+
380
+
381
+
382
+
383
+
384
+
385
+
386
+
387
+
388
+ </dl>
389
+
390
+
391
+
392
+
393
+
394
+
395
+
396
+
397
+
398
+
399
+
400
+
401
+
402
+
403
+
404
+
405
+
406
+
407
+
408
+
409
+
410
+
411
+
412
+
413
+
414
+
415
+
416
+
417
+
418
+
419
+
420
+
421
+
422
+
423
+
424
+ <h4 class="name" id="~addDiameterTool"><span class="type-signature">(inner) </span>addDiameterTool<span class="signature">(elementId, diameters, seriesId)</span><span class="type-signature"></span></h4>
425
+
426
+
427
+
428
+
429
+
430
+
431
+ <dl class="details">
432
+
433
+ <dt class="tag-description">Description:</dt>
434
+ <dd class="tag-description"><ul class="dummy"><li><p>Add Diameter tool</p></li></ul></dd>
435
+
436
+
437
+
438
+ <dt class="tag-source">Source:</dt>
439
+ <dd class="tag-source"><ul class="dummy"><li>
440
+ <a href="imageTools.js.html">imageTools.js</a>, <a href="imageTools.js.html#line104">line 104</a>
441
+ </li></ul></dd>
442
+
443
+
444
+
445
+
446
+
447
+
448
+
449
+
450
+
451
+
452
+
453
+
454
+
455
+
456
+
457
+
458
+
459
+
460
+
461
+
462
+
463
+
464
+
465
+
466
+
467
+
468
+
469
+
470
+
471
+
472
+
473
+ </dl>
474
+
475
+
476
+
477
+
478
+
479
+
480
+
481
+
482
+
483
+
484
+
485
+
486
+
487
+ <h5>Parameters:</h5>
488
+
489
+
490
+ <table class="params">
491
+ <thead>
492
+ <tr>
493
+
494
+ <th>Name</th>
495
+
496
+
497
+ <th>Type</th>
498
+
499
+
500
+
501
+
502
+
503
+ <th class="last">Description</th>
504
+ </tr>
505
+ </thead>
506
+
507
+ <tbody>
508
+
509
+
510
+ <tr>
511
+
512
+ <td class="name"><code>elementId</code></td>
513
+
514
+
515
+ <td class="type">
516
+
517
+
518
+ <span class="param-type">String</span>
519
+
520
+
521
+
522
+ </td>
523
+
524
+
525
+
526
+
527
+
528
+ <td class="description last"><p>The target hmtl element id or its DOM HTMLElement</p></td>
529
+ </tr>
530
+
531
+
532
+
533
+ <tr>
534
+
535
+ <td class="name"><code>diameters</code></td>
536
+
537
+
538
+ <td class="type">
539
+
540
+
541
+ <span class="param-type">Array</span>
542
+
543
+
544
+
545
+ </td>
546
+
547
+
548
+
549
+
550
+
551
+ <td class="description last"><p>The array of diameter objects.</p></td>
552
+ </tr>
553
+
554
+
555
+
556
+ <tr>
557
+
558
+ <td class="name"><code>seriesId</code></td>
559
+
560
+
561
+ <td class="type">
562
+
563
+
564
+ <span class="param-type">String</span>
565
+
566
+
567
+
568
+ </td>
569
+
570
+
571
+
572
+
573
+
574
+ <td class="description last"><p>The id of the target serie.</p></td>
575
+ </tr>
576
+
577
+
578
+ </tbody>
579
+ </table>
580
+
581
+
582
+
583
+
584
+
585
+
586
+
587
+
588
+
589
+
590
+
591
+
592
+
593
+
594
+
595
+
596
+
597
+
598
+
599
+
600
+
601
+
602
+
603
+
604
+ <h4 class="name" id="~addMaskEditingTool"><span class="type-signature">(inner) </span>addMaskEditingTool<span class="signature">(mask, callback, targetViewport)</span><span class="type-signature"></span></h4>
605
+
606
+
607
+
608
+
609
+
610
+
611
+ <dl class="details">
612
+
613
+ <dt class="tag-description">Description:</dt>
614
+ <dd class="tag-description"><ul class="dummy"><li><p>Add mask editing tool</p></li></ul></dd>
615
+
616
+
617
+
618
+ <dt class="tag-source">Source:</dt>
619
+ <dd class="tag-source"><ul class="dummy"><li>
620
+ <a href="imageTools.js.html">imageTools.js</a>, <a href="imageTools.js.html#line141">line 141</a>
621
+ </li></ul></dd>
622
+
623
+
624
+
625
+
626
+
627
+
628
+
629
+
630
+
631
+
632
+
633
+
634
+
635
+
636
+
637
+
638
+
639
+
640
+
641
+
642
+
643
+
644
+
645
+
646
+
647
+
648
+
649
+
650
+
651
+
652
+
653
+ </dl>
654
+
655
+
656
+
657
+
658
+
659
+
660
+
661
+
662
+
663
+
664
+
665
+
666
+
667
+ <h5>Parameters:</h5>
668
+
669
+
670
+ <table class="params">
671
+ <thead>
672
+ <tr>
673
+
674
+ <th>Name</th>
675
+
676
+
677
+ <th>Type</th>
678
+
679
+
680
+
681
+
682
+
683
+ <th class="last">Description</th>
684
+ </tr>
685
+ </thead>
686
+
687
+ <tbody>
688
+
689
+
690
+ <tr>
691
+
692
+ <td class="name"><code>mask</code></td>
693
+
694
+
695
+ <td class="type">
696
+
697
+
698
+ <span class="param-type">Array</span>
699
+
700
+
701
+
702
+ </td>
703
+
704
+
705
+
706
+
707
+
708
+ <td class="description last"><p>The mask data.</p></td>
709
+ </tr>
710
+
711
+
712
+
713
+ <tr>
714
+
715
+ <td class="name"><code>callback</code></td>
716
+
717
+
718
+ <td class="type">
719
+
720
+
721
+ <span class="param-type">function</span>
722
+
723
+
724
+
725
+ </td>
726
+
727
+
728
+
729
+
730
+
731
+ <td class="description last"><p>The tool initialization callback</p></td>
732
+ </tr>
733
+
734
+
735
+
736
+ <tr>
737
+
738
+ <td class="name"><code>targetViewport</code></td>
739
+
740
+
741
+ <td class="type">
742
+
743
+
744
+ <span class="param-type">String</span>
745
+
746
+
747
+
748
+ </td>
749
+
750
+
751
+
752
+
753
+
754
+ <td class="description last"><p>The target hmtl element id.</p></td>
755
+ </tr>
756
+
757
+
758
+ </tbody>
759
+ </table>
760
+
761
+
762
+
763
+
764
+
765
+
766
+
767
+
768
+
769
+
770
+
771
+
772
+
773
+
774
+
775
+
776
+
777
+
778
+
779
+
780
+
781
+
782
+
783
+
784
+ <h4 class="name" id="~addSeedsTool"><span class="type-signature">(inner) </span>addSeedsTool<span class="signature">(preLoadSeeds, initViewport)</span><span class="type-signature"></span></h4>
785
+
786
+
787
+
788
+
789
+
790
+
791
+ <dl class="details">
792
+
793
+ <dt class="tag-description">Description:</dt>
794
+ <dd class="tag-description"><ul class="dummy"><li><p>Add seeds tool</p></li></ul></dd>
795
+
796
+
797
+
798
+ <dt class="tag-source">Source:</dt>
799
+ <dd class="tag-source"><ul class="dummy"><li>
800
+ <a href="imageTools.js.html">imageTools.js</a>, <a href="imageTools.js.html#line234">line 234</a>
801
+ </li></ul></dd>
802
+
803
+
804
+
805
+
806
+
807
+
808
+
809
+
810
+
811
+
812
+
813
+
814
+
815
+
816
+
817
+
818
+
819
+
820
+
821
+
822
+
823
+
824
+
825
+
826
+
827
+
828
+
829
+
830
+
831
+
832
+
833
+ </dl>
834
+
835
+
836
+
837
+
838
+
839
+
840
+
841
+
842
+
843
+
844
+
845
+
846
+
847
+ <h5>Parameters:</h5>
848
+
849
+
850
+ <table class="params">
851
+ <thead>
852
+ <tr>
853
+
854
+ <th>Name</th>
855
+
856
+
857
+ <th>Type</th>
858
+
859
+
860
+
861
+
862
+
863
+ <th class="last">Description</th>
864
+ </tr>
865
+ </thead>
866
+
867
+ <tbody>
868
+
869
+
870
+ <tr>
871
+
872
+ <td class="name"><code>preLoadSeeds</code></td>
873
+
874
+
875
+ <td class="type">
876
+
877
+
878
+ <span class="param-type">Array</span>
879
+
880
+
881
+
882
+ </td>
883
+
884
+
885
+
886
+
887
+
888
+ <td class="description last"><p>The array of seeds to load as initialization.</p></td>
889
+ </tr>
890
+
891
+
892
+
893
+ <tr>
894
+
895
+ <td class="name"><code>initViewport</code></td>
896
+
897
+
898
+ <td class="type">
899
+
900
+
901
+ <span class="param-type">String</span>
902
+
903
+
904
+
905
+ </td>
906
+
907
+
908
+
909
+
910
+
911
+ <td class="description last"><p>The hmtl element id to be used for tool initialization.</p></td>
912
+ </tr>
913
+
914
+
915
+ </tbody>
916
+ </table>
917
+
918
+
919
+
920
+
921
+
922
+
923
+
924
+
925
+
926
+
927
+
928
+
929
+
930
+
931
+
932
+
933
+
934
+
935
+
936
+
937
+
938
+
939
+
940
+
941
+ <h4 class="name" id="~addStackStateToElement"><span class="type-signature">(inner) </span>addStackStateToElement<span class="signature">(seriesId, element)</span><span class="type-signature"></span></h4>
942
+
943
+
944
+
945
+
946
+
947
+
948
+ <dl class="details">
949
+
950
+ <dt class="tag-description">Description:</dt>
951
+ <dd class="tag-description"><ul class="dummy"><li><p>Add Stack State to a single hmtl element</p></li></ul></dd>
952
+
953
+
954
+
955
+ <dt class="tag-source">Source:</dt>
956
+ <dd class="tag-source"><ul class="dummy"><li>
957
+ <a href="imageTools.js.html">imageTools.js</a>, <a href="imageTools.js.html#line220">line 220</a>
958
+ </li></ul></dd>
959
+
960
+
961
+
962
+
963
+
964
+
965
+
966
+
967
+
968
+
969
+
970
+
971
+
972
+
973
+
974
+
975
+
976
+
977
+
978
+
979
+
980
+
981
+
982
+
983
+
984
+
985
+
986
+
987
+
988
+
989
+
990
+ </dl>
991
+
992
+
993
+
994
+
995
+
996
+
997
+
998
+
999
+
1000
+
1001
+
1002
+
1003
+
1004
+ <h5>Parameters:</h5>
1005
+
1006
+
1007
+ <table class="params">
1008
+ <thead>
1009
+ <tr>
1010
+
1011
+ <th>Name</th>
1012
+
1013
+
1014
+ <th>Type</th>
1015
+
1016
+
1017
+
1018
+
1019
+
1020
+ <th class="last">Description</th>
1021
+ </tr>
1022
+ </thead>
1023
+
1024
+ <tbody>
1025
+
1026
+
1027
+ <tr>
1028
+
1029
+ <td class="name"><code>seriesId</code></td>
1030
+
1031
+
1032
+ <td class="type">
1033
+
1034
+
1035
+ <span class="param-type">String</span>
1036
+
1037
+
1038
+
1039
+ </td>
1040
+
1041
+
1042
+
1043
+
1044
+
1045
+ <td class="description last"><p>The id of the target serie.</p></td>
1046
+ </tr>
1047
+
1048
+
1049
+
1050
+ <tr>
1051
+
1052
+ <td class="name"><code>element</code></td>
1053
+
1054
+
1055
+ <td class="type">
1056
+
1057
+
1058
+ <span class="param-type">HTMLElement</span>
1059
+
1060
+
1061
+
1062
+ </td>
1063
+
1064
+
1065
+
1066
+
1067
+
1068
+ <td class="description last"><p>The target hmtl element.</p></td>
1069
+ </tr>
1070
+
1071
+
1072
+ </tbody>
1073
+ </table>
1074
+
1075
+
1076
+
1077
+
1078
+
1079
+
1080
+
1081
+
1082
+
1083
+
1084
+
1085
+
1086
+
1087
+
1088
+
1089
+
1090
+
1091
+
1092
+
1093
+
1094
+
1095
+
1096
+
1097
+
1098
+ <h4 class="name" id="~addToolStateSingleSlice"><span class="type-signature">(inner) </span>addToolStateSingleSlice<span class="signature">(element, toolName, data, slice, seriesId)</span><span class="type-signature"></span></h4>
1099
+
1100
+
1101
+
1102
+
1103
+
1104
+
1105
+ <dl class="details">
1106
+
1107
+ <dt class="tag-description">Description:</dt>
1108
+ <dd class="tag-description"><ul class="dummy"><li><p>Add tool data for a single target slice</p></li></ul></dd>
1109
+
1110
+
1111
+
1112
+ <dt class="tag-source">Source:</dt>
1113
+ <dd class="tag-source"><ul class="dummy"><li>
1114
+ <a href="imageTools.js.html">imageTools.js</a>, <a href="imageTools.js.html#line528">line 528</a>
1115
+ </li></ul></dd>
1116
+
1117
+
1118
+
1119
+
1120
+
1121
+
1122
+
1123
+
1124
+
1125
+
1126
+
1127
+
1128
+
1129
+
1130
+
1131
+
1132
+
1133
+
1134
+
1135
+
1136
+
1137
+
1138
+
1139
+
1140
+
1141
+
1142
+
1143
+
1144
+
1145
+
1146
+
1147
+ </dl>
1148
+
1149
+
1150
+
1151
+
1152
+
1153
+
1154
+
1155
+
1156
+
1157
+
1158
+
1159
+
1160
+
1161
+ <h5>Parameters:</h5>
1162
+
1163
+
1164
+ <table class="params">
1165
+ <thead>
1166
+ <tr>
1167
+
1168
+ <th>Name</th>
1169
+
1170
+
1171
+ <th>Type</th>
1172
+
1173
+
1174
+
1175
+
1176
+
1177
+ <th class="last">Description</th>
1178
+ </tr>
1179
+ </thead>
1180
+
1181
+ <tbody>
1182
+
1183
+
1184
+ <tr>
1185
+
1186
+ <td class="name"><code>element</code></td>
1187
+
1188
+
1189
+ <td class="type">
1190
+
1191
+
1192
+ <span class="param-type">HTMLElement</span>
1193
+
1194
+
1195
+
1196
+ </td>
1197
+
1198
+
1199
+
1200
+
1201
+
1202
+ <td class="description last"><p>The target hmtl element.</p></td>
1203
+ </tr>
1204
+
1205
+
1206
+
1207
+ <tr>
1208
+
1209
+ <td class="name"><code>toolName</code></td>
1210
+
1211
+
1212
+ <td class="type">
1213
+
1214
+
1215
+ <span class="param-type">String</span>
1216
+
1217
+
1218
+
1219
+ </td>
1220
+
1221
+
1222
+
1223
+
1224
+
1225
+ <td class="description last"><p>The tool name.</p></td>
1226
+ </tr>
1227
+
1228
+
1229
+
1230
+ <tr>
1231
+
1232
+ <td class="name"><code>data</code></td>
1233
+
1234
+
1235
+ <td class="type">
1236
+
1237
+
1238
+ <span class="param-type">Object</span>
1239
+ |
1240
+
1241
+ <span class="param-type">Array</span>
1242
+
1243
+
1244
+
1245
+ </td>
1246
+
1247
+
1248
+
1249
+
1250
+
1251
+ <td class="description last"><p>The tool data to add (tool-specific)</p></td>
1252
+ </tr>
1253
+
1254
+
1255
+
1256
+ <tr>
1257
+
1258
+ <td class="name"><code>slice</code></td>
1259
+
1260
+
1261
+ <td class="type">
1262
+
1263
+
1264
+ <span class="param-type">Number</span>
1265
+
1266
+
1267
+
1268
+ </td>
1269
+
1270
+
1271
+
1272
+
1273
+
1274
+ <td class="description last"><p>The target slice to put the data in.</p></td>
1275
+ </tr>
1276
+
1277
+
1278
+
1279
+ <tr>
1280
+
1281
+ <td class="name"><code>seriesId</code></td>
1282
+
1283
+
1284
+ <td class="type">
1285
+
1286
+
1287
+ <span class="param-type">String</span>
1288
+
1289
+
1290
+
1291
+ </td>
1292
+
1293
+
1294
+
1295
+
1296
+
1297
+ <td class="description last"><p>The target serie id.</p></td>
1298
+ </tr>
1299
+
1300
+
1301
+ </tbody>
1302
+ </table>
1303
+
1304
+
1305
+
1306
+
1307
+
1308
+
1309
+
1310
+
1311
+
1312
+
1313
+
1314
+
1315
+
1316
+
1317
+
1318
+
1319
+
1320
+
1321
+
1322
+
1323
+
1324
+
1325
+
1326
+
1327
+ <h4 class="name" id="~clearCornerstoneElements"><span class="type-signature">(inner) </span>clearCornerstoneElements<span class="signature">()</span><span class="type-signature"></span></h4>
1328
+
1329
+
1330
+
1331
+
1332
+
1333
+
1334
+ <dl class="details">
1335
+
1336
+ <dt class="tag-description">Description:</dt>
1337
+ <dd class="tag-description"><ul class="dummy"><li><p>Clear tool state and disable all cornerstone elements</p></li></ul></dd>
1338
+
1339
+
1340
+
1341
+ <dt class="tag-source">Source:</dt>
1342
+ <dd class="tag-source"><ul class="dummy"><li>
1343
+ <a href="imageTools.js.html">imageTools.js</a>, <a href="imageTools.js.html#line590">line 590</a>
1344
+ </li></ul></dd>
1345
+
1346
+
1347
+
1348
+
1349
+
1350
+
1351
+
1352
+
1353
+
1354
+
1355
+
1356
+
1357
+
1358
+
1359
+
1360
+
1361
+
1362
+
1363
+
1364
+
1365
+
1366
+
1367
+
1368
+
1369
+
1370
+
1371
+
1372
+
1373
+
1374
+
1375
+
1376
+ </dl>
1377
+
1378
+
1379
+
1380
+
1381
+
1382
+
1383
+
1384
+
1385
+
1386
+
1387
+
1388
+
1389
+
1390
+
1391
+
1392
+
1393
+
1394
+
1395
+
1396
+
1397
+
1398
+
1399
+
1400
+
1401
+
1402
+
1403
+
1404
+
1405
+
1406
+
1407
+
1408
+
1409
+
1410
+
1411
+
1412
+ <h4 class="name" id="~clearMeasurements"><span class="type-signature">(inner) </span>clearMeasurements<span class="signature">()</span><span class="type-signature"></span></h4>
1413
+
1414
+
1415
+
1416
+
1417
+
1418
+
1419
+ <dl class="details">
1420
+
1421
+ <dt class="tag-description">Description:</dt>
1422
+ <dd class="tag-description"><ul class="dummy"><li><p>Delete all measurements from tools state, for tools that have the &quot;cleaneable&quot; prop set to true in tools/default.js</p></li></ul></dd>
1423
+
1424
+
1425
+
1426
+ <dt class="tag-source">Source:</dt>
1427
+ <dd class="tag-source"><ul class="dummy"><li>
1428
+ <a href="imageTools.js.html">imageTools.js</a>, <a href="imageTools.js.html#line255">line 255</a>
1429
+ </li></ul></dd>
1430
+
1431
+
1432
+
1433
+
1434
+
1435
+
1436
+
1437
+
1438
+
1439
+
1440
+
1441
+
1442
+
1443
+
1444
+
1445
+
1446
+
1447
+
1448
+
1449
+
1450
+
1451
+
1452
+
1453
+
1454
+
1455
+
1456
+
1457
+
1458
+
1459
+
1460
+
1461
+ </dl>
1462
+
1463
+
1464
+
1465
+
1466
+
1467
+
1468
+
1469
+
1470
+
1471
+
1472
+
1473
+
1474
+
1475
+
1476
+
1477
+
1478
+
1479
+
1480
+
1481
+
1482
+
1483
+
1484
+
1485
+
1486
+
1487
+
1488
+
1489
+
1490
+
1491
+
1492
+
1493
+
1494
+
1495
+
1496
+
1497
+ <h4 class="name" id="~clearToolStateByName"><span class="type-signature">(inner) </span>clearToolStateByName<span class="signature">(toolName, options)</span><span class="type-signature"></span></h4>
1498
+
1499
+
1500
+
1501
+
1502
+
1503
+
1504
+ <dl class="details">
1505
+
1506
+ <dt class="tag-description">Description:</dt>
1507
+ <dd class="tag-description"><ul class="dummy"><li><p>Clear tool data for a subset of seeds</p></li></ul></dd>
1508
+
1509
+
1510
+
1511
+ <dt class="tag-source">Source:</dt>
1512
+ <dd class="tag-source"><ul class="dummy"><li>
1513
+ <a href="imageTools.js.html">imageTools.js</a>, <a href="imageTools.js.html#line395">line 395</a>
1514
+ </li></ul></dd>
1515
+
1516
+
1517
+
1518
+
1519
+
1520
+
1521
+
1522
+
1523
+
1524
+
1525
+
1526
+
1527
+
1528
+
1529
+
1530
+
1531
+
1532
+
1533
+
1534
+
1535
+
1536
+
1537
+
1538
+
1539
+
1540
+
1541
+
1542
+
1543
+
1544
+
1545
+
1546
+ </dl>
1547
+
1548
+
1549
+
1550
+
1551
+
1552
+
1553
+
1554
+
1555
+
1556
+
1557
+
1558
+
1559
+
1560
+ <h5>Parameters:</h5>
1561
+
1562
+
1563
+ <table class="params">
1564
+ <thead>
1565
+ <tr>
1566
+
1567
+ <th>Name</th>
1568
+
1569
+
1570
+ <th>Type</th>
1571
+
1572
+
1573
+
1574
+
1575
+
1576
+ <th class="last">Description</th>
1577
+ </tr>
1578
+ </thead>
1579
+
1580
+ <tbody>
1581
+
1582
+
1583
+ <tr>
1584
+
1585
+ <td class="name"><code>toolName</code></td>
1586
+
1587
+
1588
+ <td class="type">
1589
+
1590
+
1591
+ <span class="param-type">String</span>
1592
+
1593
+
1594
+
1595
+ </td>
1596
+
1597
+
1598
+
1599
+
1600
+
1601
+ <td class="description last"><p>The tool name.</p></td>
1602
+ </tr>
1603
+
1604
+
1605
+
1606
+ <tr>
1607
+
1608
+ <td class="name"><code>options</code></td>
1609
+
1610
+
1611
+ <td class="type">
1612
+
1613
+
1614
+ <span class="param-type">Object</span>
1615
+
1616
+
1617
+
1618
+ </td>
1619
+
1620
+
1621
+
1622
+
1623
+
1624
+ <td class="description last"><p>Props used to select the data to delete (at the moment only {name : &quot;targetName&quot;} is implemented)</p></td>
1625
+ </tr>
1626
+
1627
+
1628
+ </tbody>
1629
+ </table>
1630
+
1631
+
1632
+
1633
+
1634
+
1635
+
1636
+
1637
+
1638
+
1639
+
1640
+
1641
+
1642
+
1643
+
1644
+
1645
+
1646
+
1647
+
1648
+
1649
+
1650
+
1651
+
1652
+
1653
+
1654
+ <h4 class="name" id="~getCurrentMaskData"><span class="type-signature">(inner) </span>getCurrentMaskData<span class="signature">(viewportId)</span><span class="type-signature"> &rarr; {Array}</span></h4>
1655
+
1656
+
1657
+
1658
+
1659
+
1660
+
1661
+ <dl class="details">
1662
+
1663
+ <dt class="tag-description">Description:</dt>
1664
+ <dd class="tag-description"><ul class="dummy"><li><p>Get mask editing tool current data from state</p></li></ul></dd>
1665
+
1666
+
1667
+
1668
+ <dt class="tag-source">Source:</dt>
1669
+ <dd class="tag-source"><ul class="dummy"><li>
1670
+ <a href="imageTools.js.html">imageTools.js</a>, <a href="imageTools.js.html#line203">line 203</a>
1671
+ </li></ul></dd>
1672
+
1673
+
1674
+
1675
+
1676
+
1677
+
1678
+
1679
+
1680
+
1681
+
1682
+
1683
+
1684
+
1685
+
1686
+
1687
+
1688
+
1689
+
1690
+
1691
+
1692
+
1693
+
1694
+
1695
+
1696
+
1697
+
1698
+
1699
+
1700
+
1701
+
1702
+
1703
+ </dl>
1704
+
1705
+
1706
+
1707
+
1708
+
1709
+
1710
+
1711
+
1712
+
1713
+
1714
+
1715
+
1716
+
1717
+ <h5>Parameters:</h5>
1718
+
1719
+
1720
+ <table class="params">
1721
+ <thead>
1722
+ <tr>
1723
+
1724
+ <th>Name</th>
1725
+
1726
+
1727
+ <th>Type</th>
1728
+
1729
+
1730
+
1731
+
1732
+
1733
+ <th class="last">Description</th>
1734
+ </tr>
1735
+ </thead>
1736
+
1737
+ <tbody>
1738
+
1739
+
1740
+ <tr>
1741
+
1742
+ <td class="name"><code>viewportId</code></td>
1743
+
1744
+
1745
+ <td class="type">
1746
+
1747
+
1748
+ <span class="param-type">String</span>
1749
+
1750
+
1751
+
1752
+ </td>
1753
+
1754
+
1755
+
1756
+
1757
+
1758
+ <td class="description last"><p>The target hmtl element id.</p></td>
1759
+ </tr>
1760
+
1761
+
1762
+ </tbody>
1763
+ </table>
1764
+
1765
+
1766
+
1767
+
1768
+
1769
+
1770
+
1771
+
1772
+
1773
+
1774
+
1775
+
1776
+
1777
+
1778
+
1779
+
1780
+ <h5>Returns:</h5>
1781
+
1782
+
1783
+ <div class="param-desc">
1784
+ <p>labelmap3D - The mask array</p>
1785
+ </div>
1786
+
1787
+
1788
+
1789
+ <dl class="param-type">
1790
+ <dt>
1791
+ Type
1792
+ </dt>
1793
+ <dd>
1794
+
1795
+ <span class="param-type">Array</span>
1796
+
1797
+
1798
+ </dd>
1799
+ </dl>
1800
+
1801
+
1802
+
1803
+
1804
+
1805
+
1806
+
1807
+
1808
+
1809
+
1810
+ <h4 class="name" id="~getToolState"><span class="type-signature">(inner) </span>getToolState<span class="signature">(toolName)</span><span class="type-signature"> &rarr; {Object}</span></h4>
1811
+
1812
+
1813
+
1814
+
1815
+
1816
+
1817
+ <dl class="details">
1818
+
1819
+ <dt class="tag-description">Description:</dt>
1820
+ <dd class="tag-description"><ul class="dummy"><li><p>Get tool data for all enabled elements</p></li></ul></dd>
1821
+
1822
+
1823
+
1824
+ <dt class="tag-source">Source:</dt>
1825
+ <dd class="tag-source"><ul class="dummy"><li>
1826
+ <a href="imageTools.js.html">imageTools.js</a>, <a href="imageTools.js.html#line377">line 377</a>
1827
+ </li></ul></dd>
1828
+
1829
+
1830
+
1831
+
1832
+
1833
+
1834
+
1835
+
1836
+
1837
+
1838
+
1839
+
1840
+
1841
+
1842
+
1843
+
1844
+
1845
+
1846
+
1847
+
1848
+
1849
+
1850
+
1851
+
1852
+
1853
+
1854
+
1855
+
1856
+
1857
+
1858
+
1859
+ </dl>
1860
+
1861
+
1862
+
1863
+
1864
+
1865
+
1866
+
1867
+
1868
+
1869
+
1870
+
1871
+
1872
+
1873
+ <h5>Parameters:</h5>
1874
+
1875
+
1876
+ <table class="params">
1877
+ <thead>
1878
+ <tr>
1879
+
1880
+ <th>Name</th>
1881
+
1882
+
1883
+ <th>Type</th>
1884
+
1885
+
1886
+
1887
+
1888
+
1889
+ <th class="last">Description</th>
1890
+ </tr>
1891
+ </thead>
1892
+
1893
+ <tbody>
1894
+
1895
+
1896
+ <tr>
1897
+
1898
+ <td class="name"><code>toolName</code></td>
1899
+
1900
+
1901
+ <td class="type">
1902
+
1903
+
1904
+ <span class="param-type">String</span>
1905
+
1906
+
1907
+
1908
+ </td>
1909
+
1910
+
1911
+
1912
+
1913
+
1914
+ <td class="description last"><p>The tool name.</p></td>
1915
+ </tr>
1916
+
1917
+
1918
+ </tbody>
1919
+ </table>
1920
+
1921
+
1922
+
1923
+
1924
+
1925
+
1926
+
1927
+
1928
+
1929
+
1930
+
1931
+
1932
+
1933
+
1934
+
1935
+
1936
+ <h5>Returns:</h5>
1937
+
1938
+
1939
+ <div class="param-desc">
1940
+ <ul>
1941
+ <li>Tool data grouped by element id</li>
1942
+ </ul>
1943
+ </div>
1944
+
1945
+
1946
+
1947
+ <dl class="param-type">
1948
+ <dt>
1949
+ Type
1950
+ </dt>
1951
+ <dd>
1952
+
1953
+ <span class="param-type">Object</span>
1954
+
1955
+
1956
+ </dd>
1957
+ </dl>
1958
+
1959
+
1960
+
1961
+
1962
+
1963
+
1964
+
1965
+
1966
+
1967
+
1968
+ <h4 class="name" id="~isToolMissing"><span class="type-signature">(inner) </span>isToolMissing<span class="signature">(toolName, _viewports)</span><span class="type-signature"></span></h4>
1969
+
1970
+
1971
+
1972
+
1973
+
1974
+
1975
+ <dl class="details">
1976
+
1977
+ <dt class="tag-description">Description:</dt>
1978
+ <dd class="tag-description"><ul class="dummy"><li><p>Check if a tool has already been added</p></li></ul></dd>
1979
+
1980
+
1981
+
1982
+ <dt class="tag-source">Source:</dt>
1983
+ <dd class="tag-source"><ul class="dummy"><li>
1984
+ <a href="imageTools.js.html">imageTools.js</a>, <a href="imageTools.js.html#line670">line 670</a>
1985
+ </li></ul></dd>
1986
+
1987
+
1988
+
1989
+
1990
+
1991
+
1992
+
1993
+
1994
+
1995
+
1996
+
1997
+
1998
+
1999
+
2000
+
2001
+
2002
+
2003
+
2004
+
2005
+
2006
+
2007
+
2008
+
2009
+
2010
+
2011
+
2012
+
2013
+
2014
+
2015
+
2016
+
2017
+ </dl>
2018
+
2019
+
2020
+
2021
+
2022
+
2023
+
2024
+
2025
+
2026
+
2027
+
2028
+
2029
+
2030
+
2031
+ <h5>Parameters:</h5>
2032
+
2033
+
2034
+ <table class="params">
2035
+ <thead>
2036
+ <tr>
2037
+
2038
+ <th>Name</th>
2039
+
2040
+
2041
+ <th>Type</th>
2042
+
2043
+
2044
+
2045
+
2046
+
2047
+ <th class="last">Description</th>
2048
+ </tr>
2049
+ </thead>
2050
+
2051
+ <tbody>
2052
+
2053
+
2054
+ <tr>
2055
+
2056
+ <td class="name"><code>toolName</code></td>
2057
+
2058
+
2059
+ <td class="type">
2060
+
2061
+
2062
+ <span class="param-type">String</span>
2063
+
2064
+
2065
+
2066
+ </td>
2067
+
2068
+
2069
+
2070
+
2071
+
2072
+ <td class="description last"><p>The tool name.</p></td>
2073
+ </tr>
2074
+
2075
+
2076
+
2077
+ <tr>
2078
+
2079
+ <td class="name"><code>_viewports</code></td>
2080
+
2081
+
2082
+ <td class="type">
2083
+
2084
+
2085
+ <span class="param-type">Array</span>
2086
+
2087
+
2088
+
2089
+ </td>
2090
+
2091
+
2092
+
2093
+
2094
+
2095
+ <td class="description last"><p>The viewports to check.</p></td>
2096
+ </tr>
2097
+
2098
+
2099
+ </tbody>
2100
+ </table>
2101
+
2102
+
2103
+
2104
+
2105
+
2106
+
2107
+
2108
+
2109
+
2110
+
2111
+
2112
+
2113
+
2114
+
2115
+
2116
+
2117
+
2118
+
2119
+
2120
+
2121
+
2122
+
2123
+
2124
+
2125
+ <h4 class="name" id="~setSegmentationConfig"><span class="type-signature">(inner) </span>setSegmentationConfig<span class="signature">(config)</span><span class="type-signature"></span></h4>
2126
+
2127
+
2128
+
2129
+
2130
+
2131
+
2132
+ <dl class="details">
2133
+
2134
+ <dt class="tag-description">Description:</dt>
2135
+ <dd class="tag-description"><ul class="dummy"><li><p>Modify configuration for cornerstone tools segmentation module</p></li></ul></dd>
2136
+
2137
+
2138
+
2139
+ <dt class="tag-source">Source:</dt>
2140
+ <dd class="tag-source"><ul class="dummy"><li>
2141
+ <a href="imageTools.js.html">imageTools.js</a>, <a href="imageTools.js.html#line172">line 172</a>
2142
+ </li></ul></dd>
2143
+
2144
+
2145
+
2146
+
2147
+
2148
+
2149
+
2150
+
2151
+
2152
+
2153
+
2154
+
2155
+
2156
+
2157
+
2158
+
2159
+
2160
+
2161
+
2162
+
2163
+
2164
+
2165
+
2166
+
2167
+
2168
+
2169
+
2170
+
2171
+
2172
+
2173
+
2174
+ </dl>
2175
+
2176
+
2177
+
2178
+
2179
+
2180
+
2181
+
2182
+
2183
+
2184
+
2185
+
2186
+ <h5>Example</h5>
2187
+
2188
+ <pre class="prettyprint"><code>Example of custom configuration
2189
+ config = {
2190
+ renderOutline: true,
2191
+ renderFill: true,
2192
+ shouldRenderInactiveLabelmaps: true,
2193
+ radius: 10,
2194
+ minRadius: 1,
2195
+ maxRadius: 50,
2196
+ segmentsPerLabelmap: 65535,
2197
+ fillAlpha: 0.7,
2198
+ fillAlphaInactive: 0.1,
2199
+ outlineAlpha: 0.7,
2200
+ outlineAlphaInactive: 0.35,
2201
+ outlineWidth: 3,
2202
+ storeHistory: true
2203
+ };</code></pre>
2204
+
2205
+
2206
+
2207
+
2208
+ <h5>Parameters:</h5>
2209
+
2210
+
2211
+ <table class="params">
2212
+ <thead>
2213
+ <tr>
2214
+
2215
+ <th>Name</th>
2216
+
2217
+
2218
+ <th>Type</th>
2219
+
2220
+
2221
+
2222
+
2223
+
2224
+ <th class="last">Description</th>
2225
+ </tr>
2226
+ </thead>
2227
+
2228
+ <tbody>
2229
+
2230
+
2231
+ <tr>
2232
+
2233
+ <td class="name"><code>config</code></td>
2234
+
2235
+
2236
+ <td class="type">
2237
+
2238
+
2239
+ <span class="param-type">Object</span>
2240
+
2241
+
2242
+
2243
+ </td>
2244
+
2245
+
2246
+
2247
+
2248
+
2249
+ <td class="description last"><p>The custom configuration.</p></td>
2250
+ </tr>
2251
+
2252
+
2253
+ </tbody>
2254
+ </table>
2255
+
2256
+
2257
+
2258
+
2259
+
2260
+
2261
+
2262
+
2263
+
2264
+
2265
+
2266
+
2267
+
2268
+
2269
+
2270
+
2271
+
2272
+
2273
+
2274
+
2275
+
2276
+
2277
+
2278
+
2279
+ <h4 class="name" id="~setToolActive"><span class="type-signature">(inner) </span>setToolActive<span class="signature">(toolName, options, activeViewport, viewports)</span><span class="type-signature"></span></h4>
2280
+
2281
+
2282
+
2283
+
2284
+
2285
+
2286
+ <dl class="details">
2287
+
2288
+ <dt class="tag-description">Description:</dt>
2289
+ <dd class="tag-description"><ul class="dummy"><li><p>Set Tool &quot;active&quot; on all elements (ie, rendered and manipulable) &amp; refresh cornerstone elements</p></li></ul></dd>
2290
+
2291
+
2292
+
2293
+ <dt class="tag-source">Source:</dt>
2294
+ <dd class="tag-source"><ul class="dummy"><li>
2295
+ <a href="imageTools.js.html">imageTools.js</a>, <a href="imageTools.js.html#line273">line 273</a>
2296
+ </li></ul></dd>
2297
+
2298
+
2299
+
2300
+
2301
+
2302
+
2303
+
2304
+
2305
+
2306
+
2307
+
2308
+
2309
+
2310
+
2311
+
2312
+
2313
+
2314
+
2315
+
2316
+
2317
+
2318
+
2319
+
2320
+
2321
+
2322
+
2323
+
2324
+
2325
+
2326
+
2327
+
2328
+ </dl>
2329
+
2330
+
2331
+
2332
+
2333
+
2334
+
2335
+
2336
+
2337
+
2338
+
2339
+
2340
+
2341
+
2342
+ <h5>Parameters:</h5>
2343
+
2344
+
2345
+ <table class="params">
2346
+ <thead>
2347
+ <tr>
2348
+
2349
+ <th>Name</th>
2350
+
2351
+
2352
+ <th>Type</th>
2353
+
2354
+
2355
+
2356
+
2357
+
2358
+ <th class="last">Description</th>
2359
+ </tr>
2360
+ </thead>
2361
+
2362
+ <tbody>
2363
+
2364
+
2365
+ <tr>
2366
+
2367
+ <td class="name"><code>toolName</code></td>
2368
+
2369
+
2370
+ <td class="type">
2371
+
2372
+
2373
+ <span class="param-type">String</span>
2374
+
2375
+
2376
+
2377
+ </td>
2378
+
2379
+
2380
+
2381
+
2382
+
2383
+ <td class="description last"><p>The tool name.</p></td>
2384
+ </tr>
2385
+
2386
+
2387
+
2388
+ <tr>
2389
+
2390
+ <td class="name"><code>options</code></td>
2391
+
2392
+
2393
+ <td class="type">
2394
+
2395
+
2396
+ <span class="param-type">Object</span>
2397
+
2398
+
2399
+
2400
+ </td>
2401
+
2402
+
2403
+
2404
+
2405
+
2406
+ <td class="description last"><p>The custom options. @default from tools/default.js</p></td>
2407
+ </tr>
2408
+
2409
+
2410
+
2411
+ <tr>
2412
+
2413
+ <td class="name"><code>activeViewport</code></td>
2414
+
2415
+
2416
+ <td class="type">
2417
+
2418
+
2419
+ <span class="param-type">String</span>
2420
+
2421
+
2422
+
2423
+ </td>
2424
+
2425
+
2426
+
2427
+
2428
+
2429
+ <td class="description last"><p>The active viewport (if &quot;all&quot;, viewports array will be used)</p></td>
2430
+ </tr>
2431
+
2432
+
2433
+
2434
+ <tr>
2435
+
2436
+ <td class="name"><code>viewports</code></td>
2437
+
2438
+
2439
+ <td class="type">
2440
+
2441
+
2442
+ <span class="param-type">Array</span>
2443
+
2444
+
2445
+
2446
+ </td>
2447
+
2448
+
2449
+
2450
+
2451
+
2452
+ <td class="description last"><p>The hmtl element id to be used for tool initialization.</p></td>
2453
+ </tr>
2454
+
2455
+
2456
+ </tbody>
2457
+ </table>
2458
+
2459
+
2460
+
2461
+
2462
+
2463
+
2464
+
2465
+
2466
+
2467
+
2468
+
2469
+
2470
+
2471
+
2472
+
2473
+
2474
+
2475
+
2476
+
2477
+
2478
+
2479
+
2480
+
2481
+
2482
+ <h4 class="name" id="~setToolActive"><span class="type-signature">(inner) </span>setToolActive<span class="signature">(toolName, activeViewport, viewports)</span><span class="type-signature"></span></h4>
2483
+
2484
+
2485
+
2486
+
2487
+
2488
+
2489
+ <dl class="details">
2490
+
2491
+ <dt class="tag-description">Description:</dt>
2492
+ <dd class="tag-description"><ul class="dummy"><li><p>Set Tool &quot;disabled&quot; on all elements (ie, not rendered) &amp; refresh cornerstone elements</p></li></ul></dd>
2493
+
2494
+
2495
+
2496
+ <dt class="tag-source">Source:</dt>
2497
+ <dd class="tag-source"><ul class="dummy"><li>
2498
+ <a href="imageTools.js.html">imageTools.js</a>, <a href="imageTools.js.html#line305">line 305</a>
2499
+ </li></ul></dd>
2500
+
2501
+
2502
+
2503
+
2504
+
2505
+
2506
+
2507
+
2508
+
2509
+
2510
+
2511
+
2512
+
2513
+
2514
+
2515
+
2516
+
2517
+
2518
+
2519
+
2520
+
2521
+
2522
+
2523
+
2524
+
2525
+
2526
+
2527
+
2528
+
2529
+
2530
+
2531
+ </dl>
2532
+
2533
+
2534
+
2535
+
2536
+
2537
+
2538
+
2539
+
2540
+
2541
+
2542
+
2543
+
2544
+
2545
+ <h5>Parameters:</h5>
2546
+
2547
+
2548
+ <table class="params">
2549
+ <thead>
2550
+ <tr>
2551
+
2552
+ <th>Name</th>
2553
+
2554
+
2555
+ <th>Type</th>
2556
+
2557
+
2558
+
2559
+
2560
+
2561
+ <th class="last">Description</th>
2562
+ </tr>
2563
+ </thead>
2564
+
2565
+ <tbody>
2566
+
2567
+
2568
+ <tr>
2569
+
2570
+ <td class="name"><code>toolName</code></td>
2571
+
2572
+
2573
+ <td class="type">
2574
+
2575
+
2576
+ <span class="param-type">String</span>
2577
+
2578
+
2579
+
2580
+ </td>
2581
+
2582
+
2583
+
2584
+
2585
+
2586
+ <td class="description last"><p>The tool name.</p></td>
2587
+ </tr>
2588
+
2589
+
2590
+
2591
+ <tr>
2592
+
2593
+ <td class="name"><code>activeViewport</code></td>
2594
+
2595
+
2596
+ <td class="type">
2597
+
2598
+
2599
+ <span class="param-type">String</span>
2600
+
2601
+
2602
+
2603
+ </td>
2604
+
2605
+
2606
+
2607
+
2608
+
2609
+ <td class="description last"><p>The active viewport (if &quot;all&quot;, viewports array will be used)</p></td>
2610
+ </tr>
2611
+
2612
+
2613
+
2614
+ <tr>
2615
+
2616
+ <td class="name"><code>viewports</code></td>
2617
+
2618
+
2619
+ <td class="type">
2620
+
2621
+
2622
+ <span class="param-type">Array</span>
2623
+
2624
+
2625
+
2626
+ </td>
2627
+
2628
+
2629
+
2630
+
2631
+
2632
+ <td class="description last"><p>The hmtl element id to be used for tool initialization.</p></td>
2633
+ </tr>
2634
+
2635
+
2636
+ </tbody>
2637
+ </table>
2638
+
2639
+
2640
+
2641
+
2642
+
2643
+
2644
+
2645
+
2646
+
2647
+
2648
+
2649
+
2650
+
2651
+
2652
+
2653
+
2654
+
2655
+
2656
+
2657
+
2658
+
2659
+
2660
+
2661
+
2662
+ <h4 class="name" id="~setToolEnabled"><span class="type-signature">(inner) </span>setToolEnabled<span class="signature">(toolName, activeViewport, viewports)</span><span class="type-signature"></span></h4>
2663
+
2664
+
2665
+
2666
+
2667
+
2668
+
2669
+ <dl class="details">
2670
+
2671
+ <dt class="tag-description">Description:</dt>
2672
+ <dd class="tag-description"><ul class="dummy"><li><p>Set Tool &quot;enabled&quot; on all elements (ie, rendered but not manipulable) &amp; refresh cornerstone elements</p></li></ul></dd>
2673
+
2674
+
2675
+
2676
+ <dt class="tag-source">Source:</dt>
2677
+ <dd class="tag-source"><ul class="dummy"><li>
2678
+ <a href="imageTools.js.html">imageTools.js</a>, <a href="imageTools.js.html#line329">line 329</a>
2679
+ </li></ul></dd>
2680
+
2681
+
2682
+
2683
+
2684
+
2685
+
2686
+
2687
+
2688
+
2689
+
2690
+
2691
+
2692
+
2693
+
2694
+
2695
+
2696
+
2697
+
2698
+
2699
+
2700
+
2701
+
2702
+
2703
+
2704
+
2705
+
2706
+
2707
+
2708
+
2709
+
2710
+
2711
+ </dl>
2712
+
2713
+
2714
+
2715
+
2716
+
2717
+
2718
+
2719
+
2720
+
2721
+
2722
+
2723
+
2724
+
2725
+ <h5>Parameters:</h5>
2726
+
2727
+
2728
+ <table class="params">
2729
+ <thead>
2730
+ <tr>
2731
+
2732
+ <th>Name</th>
2733
+
2734
+
2735
+ <th>Type</th>
2736
+
2737
+
2738
+
2739
+
2740
+
2741
+ <th class="last">Description</th>
2742
+ </tr>
2743
+ </thead>
2744
+
2745
+ <tbody>
2746
+
2747
+
2748
+ <tr>
2749
+
2750
+ <td class="name"><code>toolName</code></td>
2751
+
2752
+
2753
+ <td class="type">
2754
+
2755
+
2756
+ <span class="param-type">String</span>
2757
+
2758
+
2759
+
2760
+ </td>
2761
+
2762
+
2763
+
2764
+
2765
+
2766
+ <td class="description last"><p>The tool name.</p></td>
2767
+ </tr>
2768
+
2769
+
2770
+
2771
+ <tr>
2772
+
2773
+ <td class="name"><code>activeViewport</code></td>
2774
+
2775
+
2776
+ <td class="type">
2777
+
2778
+
2779
+ <span class="param-type">String</span>
2780
+
2781
+
2782
+
2783
+ </td>
2784
+
2785
+
2786
+
2787
+
2788
+
2789
+ <td class="description last"><p>The active viewport (if &quot;all&quot;, viewports array will be used)</p></td>
2790
+ </tr>
2791
+
2792
+
2793
+
2794
+ <tr>
2795
+
2796
+ <td class="name"><code>viewports</code></td>
2797
+
2798
+
2799
+ <td class="type">
2800
+
2801
+
2802
+ <span class="param-type">Array</span>
2803
+
2804
+
2805
+
2806
+ </td>
2807
+
2808
+
2809
+
2810
+
2811
+
2812
+ <td class="description last"><p>The hmtl element id to be used for tool initialization.</p></td>
2813
+ </tr>
2814
+
2815
+
2816
+ </tbody>
2817
+ </table>
2818
+
2819
+
2820
+
2821
+
2822
+
2823
+
2824
+
2825
+
2826
+
2827
+
2828
+
2829
+
2830
+
2831
+
2832
+
2833
+
2834
+
2835
+
2836
+
2837
+
2838
+
2839
+
2840
+
2841
+
2842
+ <h4 class="name" id="~setToolPassive"><span class="type-signature">(inner) </span>setToolPassive<span class="signature">(toolName, activeViewport, viewports)</span><span class="type-signature"></span></h4>
2843
+
2844
+
2845
+
2846
+
2847
+
2848
+
2849
+ <dl class="details">
2850
+
2851
+ <dt class="tag-description">Description:</dt>
2852
+ <dd class="tag-description"><ul class="dummy"><li><p>Set Tool &quot;enabled&quot; on all elements (ie, rendered and manipulable passively) &amp; refresh cornerstone elements</p></li></ul></dd>
2853
+
2854
+
2855
+
2856
+ <dt class="tag-source">Source:</dt>
2857
+ <dd class="tag-source"><ul class="dummy"><li>
2858
+ <a href="imageTools.js.html">imageTools.js</a>, <a href="imageTools.js.html#line353">line 353</a>
2859
+ </li></ul></dd>
2860
+
2861
+
2862
+
2863
+
2864
+
2865
+
2866
+
2867
+
2868
+
2869
+
2870
+
2871
+
2872
+
2873
+
2874
+
2875
+
2876
+
2877
+
2878
+
2879
+
2880
+
2881
+
2882
+
2883
+
2884
+
2885
+
2886
+
2887
+
2888
+
2889
+
2890
+
2891
+ </dl>
2892
+
2893
+
2894
+
2895
+
2896
+
2897
+
2898
+
2899
+
2900
+
2901
+
2902
+
2903
+
2904
+
2905
+ <h5>Parameters:</h5>
2906
+
2907
+
2908
+ <table class="params">
2909
+ <thead>
2910
+ <tr>
2911
+
2912
+ <th>Name</th>
2913
+
2914
+
2915
+ <th>Type</th>
2916
+
2917
+
2918
+
2919
+
2920
+
2921
+ <th class="last">Description</th>
2922
+ </tr>
2923
+ </thead>
2924
+
2925
+ <tbody>
2926
+
2927
+
2928
+ <tr>
2929
+
2930
+ <td class="name"><code>toolName</code></td>
2931
+
2932
+
2933
+ <td class="type">
2934
+
2935
+
2936
+ <span class="param-type">String</span>
2937
+
2938
+
2939
+
2940
+ </td>
2941
+
2942
+
2943
+
2944
+
2945
+
2946
+ <td class="description last"><p>The tool name.</p></td>
2947
+ </tr>
2948
+
2949
+
2950
+
2951
+ <tr>
2952
+
2953
+ <td class="name"><code>activeViewport</code></td>
2954
+
2955
+
2956
+ <td class="type">
2957
+
2958
+
2959
+ <span class="param-type">String</span>
2960
+
2961
+
2962
+
2963
+ </td>
2964
+
2965
+
2966
+
2967
+
2968
+
2969
+ <td class="description last"><p>The active viewport (if &quot;all&quot;, viewports array will be used)</p></td>
2970
+ </tr>
2971
+
2972
+
2973
+
2974
+ <tr>
2975
+
2976
+ <td class="name"><code>viewports</code></td>
2977
+
2978
+
2979
+ <td class="type">
2980
+
2981
+
2982
+ <span class="param-type">Array</span>
2983
+
2984
+
2985
+
2986
+ </td>
2987
+
2988
+
2989
+
2990
+
2991
+
2992
+ <td class="description last"><p>The hmtl element id to be used for tool initialization.</p></td>
2993
+ </tr>
2994
+
2995
+
2996
+ </tbody>
2997
+ </table>
2998
+
2999
+
3000
+
3001
+
3002
+
3003
+
3004
+
3005
+
3006
+
3007
+
3008
+
3009
+
3010
+
3011
+
3012
+
3013
+
3014
+
3015
+
3016
+
3017
+
3018
+
3019
+
3020
+
3021
+
3022
+ <h4 class="name" id="~syncToolStack"><span class="type-signature">(inner) </span>syncToolStack<span class="signature">(srcSliceNumber, toolName, viewport, seriesId)</span><span class="type-signature"></span></h4>
3023
+
3024
+
3025
+
3026
+
3027
+
3028
+
3029
+ <dl class="details">
3030
+
3031
+ <dt class="tag-description">Description:</dt>
3032
+ <dd class="tag-description"><ul class="dummy"><li><p>Sync the cornerstone tools stack given a slice as data source</p></li></ul></dd>
3033
+
3034
+
3035
+
3036
+ <dt class="tag-source">Source:</dt>
3037
+ <dd class="tag-source"><ul class="dummy"><li>
3038
+ <a href="imageTools.js.html">imageTools.js</a>, <a href="imageTools.js.html#line607">line 607</a>
3039
+ </li></ul></dd>
3040
+
3041
+
3042
+
3043
+
3044
+
3045
+
3046
+
3047
+
3048
+
3049
+
3050
+
3051
+
3052
+
3053
+
3054
+
3055
+
3056
+
3057
+
3058
+
3059
+
3060
+
3061
+
3062
+
3063
+
3064
+
3065
+
3066
+
3067
+
3068
+
3069
+
3070
+
3071
+ </dl>
3072
+
3073
+
3074
+
3075
+
3076
+
3077
+
3078
+
3079
+
3080
+
3081
+
3082
+
3083
+
3084
+
3085
+ <h5>Parameters:</h5>
3086
+
3087
+
3088
+ <table class="params">
3089
+ <thead>
3090
+ <tr>
3091
+
3092
+ <th>Name</th>
3093
+
3094
+
3095
+ <th>Type</th>
3096
+
3097
+
3098
+
3099
+
3100
+
3101
+ <th class="last">Description</th>
3102
+ </tr>
3103
+ </thead>
3104
+
3105
+ <tbody>
3106
+
3107
+
3108
+ <tr>
3109
+
3110
+ <td class="name"><code>srcSliceNumber</code></td>
3111
+
3112
+
3113
+ <td class="type">
3114
+
3115
+
3116
+ <span class="param-type">Number</span>
3117
+
3118
+
3119
+
3120
+ </td>
3121
+
3122
+
3123
+
3124
+
3125
+
3126
+ <td class="description last"><p>The slice to be used as data source.</p></td>
3127
+ </tr>
3128
+
3129
+
3130
+
3131
+ <tr>
3132
+
3133
+ <td class="name"><code>toolName</code></td>
3134
+
3135
+
3136
+ <td class="type">
3137
+
3138
+
3139
+ <span class="param-type">String</span>
3140
+
3141
+
3142
+
3143
+ </td>
3144
+
3145
+
3146
+
3147
+
3148
+
3149
+ <td class="description last"><p>The name of the tool to sync.</p></td>
3150
+ </tr>
3151
+
3152
+
3153
+
3154
+ <tr>
3155
+
3156
+ <td class="name"><code>viewport</code></td>
3157
+
3158
+
3159
+ <td class="type">
3160
+
3161
+
3162
+ <span class="param-type">String</span>
3163
+
3164
+
3165
+
3166
+ </td>
3167
+
3168
+
3169
+
3170
+
3171
+
3172
+ <td class="description last"><p>The target viewport id.</p></td>
3173
+ </tr>
3174
+
3175
+
3176
+
3177
+ <tr>
3178
+
3179
+ <td class="name"><code>seriesId</code></td>
3180
+
3181
+
3182
+ <td class="type">
3183
+
3184
+
3185
+ <span class="param-type">String</span>
3186
+
3187
+
3188
+
3189
+ </td>
3190
+
3191
+
3192
+
3193
+
3194
+
3195
+ <td class="description last"><p>The target serie id.</p></td>
3196
+ </tr>
3197
+
3198
+
3199
+ </tbody>
3200
+ </table>
3201
+
3202
+
3203
+
3204
+
3205
+
3206
+
3207
+
3208
+
3209
+
3210
+
3211
+
3212
+
3213
+
3214
+
3215
+
3216
+
3217
+
3218
+
3219
+
3220
+
3221
+
3222
+
3223
+
3224
+
3225
+ <h4 class="name" id="~updateDiameterTool"><span class="type-signature">(inner) </span>updateDiameterTool<span class="signature">(diameterId, value, seriesId, viewportId)</span><span class="type-signature"></span></h4>
3226
+
3227
+
3228
+
3229
+
3230
+
3231
+
3232
+ <dl class="details">
3233
+
3234
+ <dt class="tag-description">Description:</dt>
3235
+ <dd class="tag-description"><ul class="dummy"><li><p>Update diameter tool with new value (removing old one)</p></li></ul></dd>
3236
+
3237
+
3238
+
3239
+ <dt class="tag-source">Source:</dt>
3240
+ <dd class="tag-source"><ul class="dummy"><li>
3241
+ <a href="imageTools.js.html">imageTools.js</a>, <a href="imageTools.js.html#line420">line 420</a>
3242
+ </li></ul></dd>
3243
+
3244
+
3245
+
3246
+
3247
+
3248
+
3249
+
3250
+
3251
+
3252
+
3253
+
3254
+
3255
+
3256
+
3257
+
3258
+
3259
+
3260
+
3261
+
3262
+
3263
+
3264
+
3265
+
3266
+
3267
+
3268
+
3269
+
3270
+
3271
+
3272
+
3273
+
3274
+ </dl>
3275
+
3276
+
3277
+
3278
+
3279
+
3280
+
3281
+
3282
+
3283
+
3284
+
3285
+
3286
+
3287
+
3288
+ <h5>Parameters:</h5>
3289
+
3290
+
3291
+ <table class="params">
3292
+ <thead>
3293
+ <tr>
3294
+
3295
+ <th>Name</th>
3296
+
3297
+
3298
+ <th>Type</th>
3299
+
3300
+
3301
+
3302
+
3303
+
3304
+ <th class="last">Description</th>
3305
+ </tr>
3306
+ </thead>
3307
+
3308
+ <tbody>
3309
+
3310
+
3311
+ <tr>
3312
+
3313
+ <td class="name"><code>diameterId</code></td>
3314
+
3315
+
3316
+ <td class="type">
3317
+
3318
+
3319
+ <span class="param-type">String</span>
3320
+ |
3321
+
3322
+ <span class="param-type">Number</span>
3323
+
3324
+
3325
+
3326
+ </td>
3327
+
3328
+
3329
+
3330
+
3331
+
3332
+ <td class="description last"><p>The id that identify the diameter data.</p></td>
3333
+ </tr>
3334
+
3335
+
3336
+
3337
+ <tr>
3338
+
3339
+ <td class="name"><code>value</code></td>
3340
+
3341
+
3342
+ <td class="type">
3343
+
3344
+
3345
+ <span class="param-type">Object</span>
3346
+
3347
+
3348
+
3349
+ </td>
3350
+
3351
+
3352
+
3353
+
3354
+
3355
+ <td class="description last"><p>The object representing the new diameter data.</p></td>
3356
+ </tr>
3357
+
3358
+
3359
+
3360
+ <tr>
3361
+
3362
+ <td class="name"><code>seriesId</code></td>
3363
+
3364
+
3365
+ <td class="type">
3366
+
3367
+
3368
+ <span class="param-type">String</span>
3369
+
3370
+
3371
+
3372
+ </td>
3373
+
3374
+
3375
+
3376
+
3377
+
3378
+ <td class="description last"><p>The target serie id.</p></td>
3379
+ </tr>
3380
+
3381
+
3382
+
3383
+ <tr>
3384
+
3385
+ <td class="name"><code>viewportId</code></td>
3386
+
3387
+
3388
+ <td class="type">
3389
+
3390
+
3391
+ <span class="param-type">String</span>
3392
+
3393
+
3394
+
3395
+ </td>
3396
+
3397
+
3398
+
3399
+
3400
+
3401
+ <td class="description last"><p>The viewport id.</p></td>
3402
+ </tr>
3403
+
3404
+
3405
+ </tbody>
3406
+ </table>
3407
+
3408
+
3409
+
3410
+
3411
+
3412
+
3413
+
3414
+
3415
+
3416
+
3417
+
3418
+
3419
+
3420
+
3421
+
3422
+
3423
+
3424
+
3425
+
3426
+
3427
+
3428
+
3429
+
3430
+
3431
+ <h4 class="name" id="~updateStackToolState"><span class="type-signature">(inner) </span>updateStackToolState<span class="signature">(elementId, imageIndex)</span><span class="type-signature"></span></h4>
3432
+
3433
+
3434
+
3435
+
3436
+
3437
+
3438
+ <dl class="details">
3439
+
3440
+ <dt class="tag-description">Description:</dt>
3441
+ <dd class="tag-description"><ul class="dummy"><li><p>Update slice index in cornerstone tools stack state</p></li></ul></dd>
3442
+
3443
+
3444
+
3445
+ <dt class="tag-source">Source:</dt>
3446
+ <dd class="tag-source"><ul class="dummy"><li>
3447
+ <a href="imageTools.js.html">imageTools.js</a>, <a href="imageTools.js.html#line642">line 642</a>
3448
+ </li></ul></dd>
3449
+
3450
+
3451
+
3452
+
3453
+
3454
+
3455
+
3456
+
3457
+
3458
+
3459
+
3460
+
3461
+
3462
+
3463
+
3464
+
3465
+
3466
+
3467
+
3468
+
3469
+
3470
+
3471
+
3472
+
3473
+
3474
+
3475
+
3476
+
3477
+
3478
+
3479
+
3480
+ </dl>
3481
+
3482
+
3483
+
3484
+
3485
+
3486
+
3487
+
3488
+
3489
+
3490
+
3491
+
3492
+
3493
+
3494
+ <h5>Parameters:</h5>
3495
+
3496
+
3497
+ <table class="params">
3498
+ <thead>
3499
+ <tr>
3500
+
3501
+ <th>Name</th>
3502
+
3503
+
3504
+ <th>Type</th>
3505
+
3506
+
3507
+
3508
+
3509
+
3510
+ <th class="last">Description</th>
3511
+ </tr>
3512
+ </thead>
3513
+
3514
+ <tbody>
3515
+
3516
+
3517
+ <tr>
3518
+
3519
+ <td class="name"><code>elementId</code></td>
3520
+
3521
+
3522
+ <td class="type">
3523
+
3524
+
3525
+ <span class="param-type">String</span>
3526
+
3527
+
3528
+
3529
+ </td>
3530
+
3531
+
3532
+
3533
+
3534
+
3535
+ <td class="description last"><p>The html div id used for rendering or its DOM HTMLElement</p></td>
3536
+ </tr>
3537
+
3538
+
3539
+
3540
+ <tr>
3541
+
3542
+ <td class="name"><code>imageIndex</code></td>
3543
+
3544
+
3545
+ <td class="type">
3546
+
3547
+
3548
+ <span class="param-type">Number</span>
3549
+
3550
+
3551
+
3552
+ </td>
3553
+
3554
+
3555
+
3556
+
3557
+
3558
+ <td class="description last"><p>The new imageIndex value.</p></td>
3559
+ </tr>
3560
+
3561
+
3562
+ </tbody>
3563
+ </table>
3564
+
3565
+
3566
+
3567
+
3568
+
3569
+
3570
+
3571
+
3572
+
3573
+
3574
+
3575
+
3576
+
3577
+
3578
+
3579
+
3580
+
3581
+
3582
+
3583
+
3584
+
3585
+
3586
+
3587
+
3588
+
3589
+ </article>
3590
+
3591
+ </section>
3592
+
3593
+
3594
+
3595
+
3596
+
3597
+
3598
+ </div>
3599
+
3600
+ <br class="clear">
3601
+
3602
+ <footer>
3603
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
3604
+ </footer>
3605
+
3606
+ <script>prettyPrint();</script>
3607
+ <script src="scripts/polyfill.js"></script>
3608
+ <script src="scripts/linenumber.js"></script>
3609
+
3610
+ <script src="scripts/search.js" defer></script>
3611
+
3612
+
3613
+ <script src="scripts/collapse.js" defer></script>
3614
+
3615
+
3616
+ </body>
3617
+ </html>