Skip to content

Commit

Permalink
Automated package and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ronzim committed Mar 14, 2022
1 parent a12d0be commit fcf509d
Show file tree
Hide file tree
Showing 10 changed files with 61 additions and 7,244 deletions.
3,598 changes: 1 addition & 3,597 deletions dist/diglettk.js

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions docs/documentation/MPRManager.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ <h4 class="name" id="MPRManager"><span class="type-signature"></span>new MPRMana

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="mprManager.js.html">mprManager.js</a>, <a href="mprManager.js.html#line32">line 32</a>
<a href="mprManager.js.html">mprManager.js</a>, <a href="mprManager.js.html#line33">line 33</a>
</li></ul></dd>


Expand Down Expand Up @@ -313,7 +313,7 @@ <h4 class="name" id="wwwl"><span class="type-signature"></span>wwwl<span class="

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="mprManager.js.html">mprManager.js</a>, <a href="mprManager.js.html#line61">line 61</a>
<a href="mprManager.js.html">mprManager.js</a>, <a href="mprManager.js.html#line62">line 62</a>
</li></ul></dd>


Expand Down Expand Up @@ -396,7 +396,7 @@ <h4 class="name" id="destroy"><span class="type-signature"></span>destroy<span c

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="mprManager.js.html">mprManager.js</a>, <a href="mprManager.js.html#line471">line 471</a>
<a href="mprManager.js.html">mprManager.js</a>, <a href="mprManager.js.html#line472">line 472</a>
</li></ul></dd>


Expand Down Expand Up @@ -483,7 +483,7 @@ <h4 class="name" id="getInitialState"><span class="type-signature"></span>getIni

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="mprManager.js.html">mprManager.js</a>, <a href="mprManager.js.html#line96">line 96</a>
<a href="mprManager.js.html">mprManager.js</a>, <a href="mprManager.js.html#line97">line 97</a>
</li></ul></dd>


Expand Down Expand Up @@ -592,7 +592,7 @@ <h4 class="name" id="onRotate"><span class="type-signature"></span>onRotate<span

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="mprManager.js.html">mprManager.js</a>, <a href="mprManager.js.html#line370">line 370</a>
<a href="mprManager.js.html">mprManager.js</a>, <a href="mprManager.js.html#line371">line 371</a>
</li></ul></dd>


Expand Down Expand Up @@ -797,7 +797,7 @@ <h4 class="name" id="onThickness"><span class="type-signature"></span>onThicknes

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="mprManager.js.html">mprManager.js</a>, <a href="mprManager.js.html#line405">line 405</a>
<a href="mprManager.js.html">mprManager.js</a>, <a href="mprManager.js.html#line406">line 406</a>
</li></ul></dd>


Expand Down Expand Up @@ -1002,7 +1002,7 @@ <h4 class="name" id="resize"><span class="type-signature"></span>resize<span cla

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="mprManager.js.html">mprManager.js</a>, <a href="mprManager.js.html#line457">line 457</a>
<a href="mprManager.js.html">mprManager.js</a>, <a href="mprManager.js.html#line458">line 458</a>
</li></ul></dd>


Expand Down Expand Up @@ -1138,7 +1138,7 @@ <h4 class="name" id="setImage"><span class="type-signature"></span>setImage<span

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="mprManager.js.html">mprManager.js</a>, <a href="mprManager.js.html#line139">line 139</a>
<a href="mprManager.js.html">mprManager.js</a>, <a href="mprManager.js.html#line140">line 140</a>
</li></ul></dd>


Expand Down Expand Up @@ -1297,7 +1297,7 @@ <h4 class="name" id="setTool"><span class="type-signature"></span>setTool<span c

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="mprManager.js.html">mprManager.js</a>, <a href="mprManager.js.html#line171">line 171</a>
<a href="mprManager.js.html">mprManager.js</a>, <a href="mprManager.js.html#line172">line 172</a>
</li></ul></dd>


Expand Down Expand Up @@ -1459,7 +1459,7 @@ <h5>Parameters:</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/documentation/VRView.html
Original file line number Diff line number Diff line change
Expand Up @@ -2117,7 +2117,7 @@ <h4 class="name" id="setupCropWidget"><span class="type-signature"></span>setupC
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down
4 changes: 2 additions & 2 deletions docs/documentation/global.html
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ <h4 class="name" id="State">State</h4>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="mprManager.js.html">mprManager.js</a>, <a href="mprManager.js.html#line16">line 16</a>
<a href="mprManager.js.html">mprManager.js</a>, <a href="mprManager.js.html#line17">line 17</a>
</li></ul></dd>


Expand Down Expand Up @@ -780,7 +780,7 @@ <h5>Type:</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down
9 changes: 8 additions & 1 deletion docs/documentation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,13 @@ <h2 id="use">Use</h2>
mpr.onThickness(&quot;top&quot;, &quot;x&quot;, 50, state);
});
</code></pre>
<h2 id="dev">DEV</h2>
<p><code>yarn dev &amp;&amp; cp ./dist/diglettk.js ./docs/examples/diglettk.js</code> to build the lib and move it from <code>dist</code> folder to <code>examples</code>.</p>
<p>then load the desired example with a webserver (eg VS code liveserver).</p>
<p><code>yarn build</code> to build the librery for production</p>
<p><code>yarn generate-docs</code> to build the documentation in the <code>documentation</code> folder.</p>
<h3 id="roadmap">RoadMap</h3>
<p>--</p>
<ul>
<li>[x] Volume Rendering</li>
<li>[x] Measuring tools</li>
Expand All @@ -145,6 +151,7 @@ <h3 id="todo">TODO</h3>
<li>[x] <s>rollup config</s> webpack config</li>
<li>[x] examples</li>
<li>[ ] npm package</li>
<li>[ ] webpack-dev-server for a better dev experience</li>
</ul></article>
</section>

Expand All @@ -160,7 +167,7 @@ <h3 id="todo">TODO</h3>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down
7 changes: 4 additions & 3 deletions docs/documentation/mprManager.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ <h1 class="page-title">mprManager.js</h1>
import vtkInteractorStyleMPRWindowLevel from "./vtk/vtkInteractorStyleMPRWindowLevel";
import vtkInteractorStyleMPRCrosshairs from "./vtk/vtkInteractorStyleMPRCrosshairs";
import vtkInteractorStyleMPRPanZoom from "./vtk/vtkInteractorStyleMPRPanZoom";
import vtkCoordinate from "vtk.js/Sources/Rendering/Core/Coordinate";
import vtkMatrixBuilder from "vtk.js/Sources/Common/Core/MatrixBuilder";

import vtkCoordinate from "@kitware/vtk.js/Rendering/Core/Coordinate";
import vtkMatrixBuilder from "@kitware/vtk.js/Common/Core/MatrixBuilder";

import {
getPlaneIntersection,
Expand Down Expand Up @@ -540,7 +541,7 @@ <h1 class="page-title">mprManager.js</h1>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down
5 changes: 3 additions & 2 deletions docs/documentation/mprView.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ <h1 class="page-title">mprView.js</h1>

<section>
<article>
<pre class="prettyprint source linenums"><code>import vtkGenericRenderWindow from "vtk.js/Sources/Rendering/Misc/GenericRenderWindow";
<pre class="prettyprint source linenums"><code>import vtkGenericRenderWindow from "@kitware/vtk.js/Rendering/Misc/GenericRenderWindow";

import vtkInteractorStyleMPRSlice from "./vtk/vtkInteractorMPRSlice";

import { quat, vec3, mat4 } from "gl-matrix";
Expand Down Expand Up @@ -449,7 +450,7 @@ <h1 class="page-title">mprView.js</h1>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down
44 changes: 22 additions & 22 deletions docs/documentation/vrView.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,27 +50,27 @@ <h1 class="page-title">vrView.js</h1>

<section>
<article>
<pre class="prettyprint source linenums"><code>import vtkGenericRenderWindow from "vtk.js/Sources/Rendering/Misc/GenericRenderWindow";
import vtkColorTransferFunction from "vtk.js/Sources/Rendering/Core/ColorTransferFunction";
import vtkPiecewiseFunction from "vtk.js/Sources/Common/DataModel/PiecewiseFunction";
import vtkImageCroppingWidget from "vtk.js/Sources/Widgets/Widgets3D/ImageCroppingWidget";
import vtkImageCropFilter from "vtk.js/Sources/Filters/General/ImageCropFilter";
import vtkWidgetManager from "vtk.js/Sources/Widgets/Core/WidgetManager";
import vtkColorMaps from "vtk.js/Sources/Rendering/Core/ColorTransferFunction/ColorMaps";
import vtkPiecewiseGaussianWidget from "vtk.js/Sources/Interaction/Widgets/PiecewiseGaussianWidget";

import vtkMouseCameraTrackballRotateManipulator from "vtk.js/Sources/Interaction/Manipulators/MouseCameraTrackballRotateManipulator";
import vtkMouseCameraTrackballPanManipulator from "vtk.js/Sources/Interaction/Manipulators/MouseCameraTrackballPanManipulator";
import vtkMouseCameraTrackballZoomManipulator from "vtk.js/Sources/Interaction/Manipulators/MouseCameraTrackballZoomManipulator";
import vtkMouseRangeManipulator from "vtk.js/Sources/Interaction/Manipulators/MouseRangeManipulator";
import vtkInteractorStyleManipulator from "vtk.js/Sources/Interaction/Style/InteractorStyleManipulator";

import vtkPointPicker from "vtk.js/Sources/Rendering/Core/PointPicker";
import vtkPlaneSource from "vtk.js/Sources/Filters/Sources/PlaneSource";
import vtkMapper from "vtk.js/Sources/Rendering/Core/Mapper";
import vtkActor from "vtk.js/Sources/Rendering/Core/Actor";
import vtkSphereSource from "vtk.js/Sources/Filters/Sources/SphereSource";
import vtkCoordinate from "vtk.js/Sources/Rendering/Core/Coordinate";
<pre class="prettyprint source linenums"><code>import vtkGenericRenderWindow from "@kitware/vtk.js/Rendering/Misc/GenericRenderWindow";
import vtkColorTransferFunction from "@kitware/vtk.js/Rendering/Core/ColorTransferFunction";
import vtkPiecewiseFunction from "@kitware/vtk.js/Common/DataModel/PiecewiseFunction";
import vtkImageCroppingWidget from "@kitware/vtk.js/Widgets/Widgets3D/ImageCroppingWidget";
import vtkImageCropFilter from "@kitware/vtk.js/Filters/General/ImageCropFilter";
import vtkWidgetManager from "@kitware/vtk.js/Widgets/Core/WidgetManager";
import vtkColorMaps from "@kitware/vtk.js/Rendering/Core/ColorTransferFunction/ColorMaps";
import vtkPiecewiseGaussianWidget from "@kitware/vtk.js/Interaction/Widgets/PiecewiseGaussianWidget";

import vtkMouseCameraTrackballRotateManipulator from "@kitware/vtk.js/Interaction/Manipulators/MouseCameraTrackballRotateManipulator";
import vtkMouseCameraTrackballPanManipulator from "@kitware/vtk.js/Interaction/Manipulators/MouseCameraTrackballPanManipulator";
import vtkMouseCameraTrackballZoomManipulator from "@kitware/vtk.js/Interaction/Manipulators/MouseCameraTrackballZoomManipulator";
import vtkMouseRangeManipulator from "@kitware/vtk.js/Interaction/Manipulators/MouseRangeManipulator";
import vtkInteractorStyleManipulator from "@kitware/vtk.js/Interaction/Style/InteractorStyleManipulator";

import vtkPointPicker from "@kitware/vtk.js/Rendering/Core/PointPicker";
import vtkPlaneSource from "@kitware/vtk.js/Filters/Sources/PlaneSource";
import vtkMapper from "@kitware/vtk.js/Rendering/Core/Mapper";
import vtkActor from "@kitware/vtk.js/Rendering/Core/Actor";
import vtkSphereSource from "@kitware/vtk.js/Filters/Sources/SphereSource";
import vtkCoordinate from "@kitware/vtk.js/Rendering/Core/Coordinate";

import { createVolumeActor, getCroppingPlanes } from "./utils/utils";
import { applyStrategy } from "./utils/strategies";
Expand Down Expand Up @@ -935,7 +935,7 @@ <h1 class="page-title">vrView.js</h1>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down
18 changes: 9 additions & 9 deletions docs/documentation/vtk_vtkInteractorMPRSlice.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ <h1 class="page-title">vtk/vtkInteractorMPRSlice.js</h1>
*/

// Temporarily using a modified version of this interactor to deal with a camera subscription issue
import macro from "vtk.js/Sources/macro";
import vtkMath from "vtk.js/Sources/Common/Core/Math";
import vtkMatrixBuilder from "vtk.js/Sources/Common/Core/MatrixBuilder";
import vtkInteractorStyleManipulator from "vtk.js/Sources/Interaction/Style/InteractorStyleManipulator";
import vtkMouseCameraTrackballRotateManipulator from "vtk.js/Sources/Interaction/Manipulators/MouseCameraTrackballRotateManipulator";
import vtkMouseCameraTrackballPanManipulator from "vtk.js/Sources/Interaction/Manipulators/MouseCameraTrackballPanManipulator";
import vtkMouseCameraTrackballZoomManipulator from "vtk.js/Sources/Interaction/Manipulators/MouseCameraTrackballZoomManipulator";
import vtkMouseRangeManipulator from "vtk.js/Sources/Interaction/Manipulators/MouseRangeManipulator";
import macro from "@kitware/vtk.js/macro";
import vtkMath from "@kitware/vtk.js/Common/Core/Math";
import vtkMatrixBuilder from "@kitware/vtk.js/Common/Core/MatrixBuilder";
import vtkInteractorStyleManipulator from "@kitware/vtk.js/Interaction/Style/InteractorStyleManipulator";
import vtkMouseCameraTrackballRotateManipulator from "@kitware/vtk.js/Interaction/Manipulators/MouseCameraTrackballRotateManipulator";
import vtkMouseCameraTrackballPanManipulator from "@kitware/vtk.js/Interaction/Manipulators/MouseCameraTrackballPanManipulator";
import vtkMouseCameraTrackballZoomManipulator from "@kitware/vtk.js/Interaction/Manipulators/MouseCameraTrackballZoomManipulator";
import vtkMouseRangeManipulator from "@kitware/vtk.js/Interaction/Manipulators/MouseRangeManipulator";

// ----------------------------------------------------------------------------
// Global methods
Expand Down Expand Up @@ -507,7 +507,7 @@ <h1 class="page-title">vtk/vtkInteractorMPRSlice.js</h1>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down
Loading

0 comments on commit fcf509d

Please sign in to comment.