@kitware/vtk.js 23.4.2 → 23.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/Common/Core/Math/Constants.js +12 -0
  2. package/Common/Core/Math/index.js +1 -1
  3. package/Common/Core/Math.js +1 -1
  4. package/Common/Core/ScalarsToColors/Constants.d.ts +18 -0
  5. package/Common/DataModel/AbstractPointLocator.d.ts +54 -0
  6. package/Common/DataModel/AbstractPointLocator.js +40 -0
  7. package/Common/DataModel/BoundingBox.d.ts +659 -0
  8. package/Common/DataModel/Collection.d.ts +118 -0
  9. package/Common/DataModel/Collection.js +113 -0
  10. package/Common/DataModel/DataSet/Constants.d.ts +27 -0
  11. package/Common/DataModel/EdgeLocator.d.ts +79 -0
  12. package/Common/DataModel/EdgeLocator.js +85 -0
  13. package/Common/DataModel/ITKHelper.d.ts +54 -0
  14. package/Common/DataModel/IncrementalOctreeNode.d.ts +297 -0
  15. package/Common/DataModel/IncrementalOctreeNode.js +640 -0
  16. package/Common/DataModel/IncrementalOctreePointLocator.d.ts +61 -0
  17. package/Common/DataModel/IncrementalOctreePointLocator.js +398 -0
  18. package/Common/DataModel/Locator.d.ts +43 -0
  19. package/Common/DataModel/Locator.js +37 -0
  20. package/Common/DataModel/Plane.js +1 -1
  21. package/Common/DataModel/PolyData/Constants.d.ts +6 -0
  22. package/Common/DataModel/PolyLine.d.ts +63 -0
  23. package/Common/DataModel/PolyLine.js +77 -0
  24. package/Common/DataModel/Polygon/Constants.js +12 -0
  25. package/Common/DataModel/Polygon.js +1 -1
  26. package/Common/DataModel/Quad/Constants.js +9 -0
  27. package/Common/DataModel/Quad.d.ts +91 -0
  28. package/Common/DataModel/Quad.js +235 -0
  29. package/Common/DataModel/SelectionNode/Constants.d.ts +27 -0
  30. package/Common/DataModel/Spline1D/Constants.js +17 -0
  31. package/Common/DataModel/Spline3D/Constants.d.ts +9 -0
  32. package/Common/Transform/Transform.js +51 -0
  33. package/Filters/Core/PolyDataNormals.js +124 -0
  34. package/Filters/General/ClipClosedSurface/Constants.js +10 -0
  35. package/Filters/General/ClipClosedSurface.d.ts +95 -0
  36. package/Filters/General/ClipClosedSurface.js +972 -0
  37. package/Filters/General/ContourTriangulator/Constants.js +6 -0
  38. package/Filters/General/ContourTriangulator/helper.js +1951 -0
  39. package/Filters/General/ContourTriangulator.d.ts +136 -0
  40. package/Filters/General/ContourTriangulator.js +202 -0
  41. package/Filters/General/ImageMarchingCubes.js +1 -1
  42. package/Filters/General/MoleculeToRepresentation.js +1 -1
  43. package/Filters/General/OBBTree/OBBNode.js +82 -0
  44. package/Filters/General/OBBTree/helper.js +92 -0
  45. package/Filters/General/OBBTree.js +1243 -0
  46. package/Filters/General/TubeFilter.js +1 -1
  47. package/Filters/Sources/LineSource.js +1 -1
  48. package/Filters/Sources/PlaneSource.js +1 -1
  49. package/Filters/Texture/TextureMapToPlane.js +1 -1
  50. package/Interaction/Manipulators/CompositeCameraManipulator.d.ts +68 -0
  51. package/Interaction/Manipulators/CompositeGestureManipulator.d.ts +168 -0
  52. package/Interaction/Manipulators/CompositeKeyboardManipulator.d.ts +48 -0
  53. package/Interaction/Manipulators/CompositeMouseManipulator.d.ts +149 -0
  54. package/Interaction/Manipulators/CompositeVRManipulator.d.ts +44 -0
  55. package/Interaction/Manipulators/GestureCameraManipulator.d.ts +34 -0
  56. package/Interaction/Manipulators/KeyboardCameraManipulator.js +1 -1
  57. package/Interaction/Manipulators/MouseBoxSelectorManipulator.d.ts +88 -0
  58. package/Interaction/Manipulators/MouseCameraAxisRotateManipulator.js +1 -1
  59. package/Interaction/Manipulators/MouseCameraTrackballMultiRotateManipulator.d.ts +32 -0
  60. package/Interaction/Manipulators/MouseCameraTrackballPanManipulator.d.ts +33 -0
  61. package/Interaction/Manipulators/MouseCameraTrackballPanManipulator.js +1 -1
  62. package/Interaction/Manipulators/MouseCameraTrackballRollManipulator.d.ts +33 -0
  63. package/Interaction/Manipulators/MouseCameraTrackballRotateManipulator.d.ts +67 -0
  64. package/Interaction/Manipulators/MouseCameraTrackballRotateManipulator.js +1 -1
  65. package/Interaction/Manipulators/MouseCameraTrackballZoomManipulator.d.ts +45 -0
  66. package/Interaction/Manipulators/MouseCameraTrackballZoomToMouseManipulator.d.ts +26 -0
  67. package/Interaction/Manipulators/MouseCameraUnicamManipulator.js +1 -1
  68. package/Interaction/Manipulators/MouseCameraUnicamRotateManipulator.js +1 -1
  69. package/Interaction/Manipulators/MouseRangeManipulator.d.ts +53 -0
  70. package/Interaction/Style/InteractorStyleImage.d.ts +107 -0
  71. package/Interaction/Style/InteractorStyleMPRSlice.js +1 -1
  72. package/Interaction/Style/InteractorStyleManipulator.d.ts +348 -0
  73. package/Interaction/Style/InteractorStyleTrackballCamera.d.ts +170 -0
  74. package/Interaction/Widgets/ImageCroppingRegionsWidget.js +1 -1
  75. package/Interaction/Widgets/LabelRepresentation.js +1 -1
  76. package/Interaction/Widgets/OrientationMarkerWidget/Constants.d.ts +11 -0
  77. package/Interaction/Widgets/ResliceCursor/ResliceCursor.js +1 -1
  78. package/Interaction/Widgets/ResliceCursor/ResliceCursorLineRepresentation.js +1 -1
  79. package/Interaction/Widgets/ResliceCursor/ResliceCursorRepresentation.js +1 -1
  80. package/Proxy/Core/AbstractRepresentationProxy.d.ts +24 -0
  81. package/Proxy/Core/LookupTableProxy.d.ts +45 -0
  82. package/Proxy/Core/PiecewiseFunctionProxy.d.ts +62 -0
  83. package/Proxy/Core/ProxyManager.d.ts +115 -0
  84. package/Proxy/Core/SourceProxy.d.ts +22 -0
  85. package/Proxy/Core/View2DProxy.d.ts +7 -0
  86. package/Proxy/Core/View2DProxy.js +1 -1
  87. package/Proxy/Core/ViewProxy.d.ts +86 -0
  88. package/Proxy/Representations/SliceRepresentationProxy.d.ts +27 -0
  89. package/Proxy/Representations/VolumeRepresentationProxy.d.ts +44 -0
  90. package/README.md +2 -2
  91. package/Rendering/Core/AbstractImageMapper/helper.js +127 -0
  92. package/Rendering/Core/AbstractImageMapper.d.ts +82 -0
  93. package/Rendering/Core/AbstractImageMapper.js +44 -0
  94. package/Rendering/Core/Camera.js +1 -1
  95. package/Rendering/Core/CellPicker.js +1 -1
  96. package/Rendering/Core/ColorTransferFunction/ColorMaps.d.ts +24 -0
  97. package/Rendering/Core/ColorTransferFunction/Constants.d.ts +17 -0
  98. package/Rendering/Core/ColorTransferFunction.js +1 -1
  99. package/Rendering/Core/Coordinate/Constants.d.ts +14 -0
  100. package/Rendering/Core/Coordinate.js +1 -1
  101. package/Rendering/Core/Glyph3DMapper/Constants.d.ts +17 -0
  102. package/Rendering/Core/Glyph3DMapper.js +1 -1
  103. package/Rendering/Core/HardwareSelector.d.ts +84 -0
  104. package/Rendering/Core/ImageArrayMapper.d.ts +253 -0
  105. package/Rendering/Core/ImageArrayMapper.js +242 -0
  106. package/Rendering/Core/ImageMapper/Constants.d.ts +14 -0
  107. package/Rendering/Core/ImageMapper.js +1 -1
  108. package/Rendering/Core/ImageProperty/Constants.d.ts +9 -0
  109. package/Rendering/Core/ImageResliceMapper/Constants.d.ts +11 -0
  110. package/Rendering/Core/ImageResliceMapper/Constants.js +11 -0
  111. package/Rendering/Core/ImageResliceMapper.d.ts +245 -0
  112. package/Rendering/Core/ImageResliceMapper.js +70 -0
  113. package/Rendering/Core/InteractorObserver.d.ts +132 -0
  114. package/Rendering/Core/InteractorStyle/Constants.d.ts +16 -0
  115. package/Rendering/Core/InteractorStyle.d.ts +229 -0
  116. package/Rendering/Core/Light.js +1 -1
  117. package/Rendering/Core/Mapper/Constants.d.ts +26 -0
  118. package/Rendering/Core/Mapper.js +1 -1
  119. package/Rendering/Core/Picker.js +1 -1
  120. package/Rendering/Core/Prop/Constants.d.ts +9 -0
  121. package/Rendering/Core/Prop/Constants.js +9 -0
  122. package/Rendering/Core/Property/Constants.d.ts +24 -0
  123. package/Rendering/Core/Property2D/Constants.d.ts +9 -0
  124. package/Rendering/Core/RenderWindow.js +1 -1
  125. package/Rendering/Core/RenderWindowInteractor/Constants.d.ts +31 -0
  126. package/Rendering/Core/Renderer.js +1 -1
  127. package/Rendering/Core/VolumeMapper/Constants.d.ts +20 -0
  128. package/Rendering/Core/VolumeMapper.js +1 -1
  129. package/Rendering/Core/VolumeProperty/Constants.d.ts +16 -0
  130. package/Rendering/Misc/SynchronizableRenderWindow/BehaviorManager/CameraSynchronizer.js +129 -0
  131. package/Rendering/Misc/SynchronizableRenderWindow/BehaviorManager.js +131 -0
  132. package/Rendering/Misc/SynchronizableRenderWindow/ObjectManager.d.ts +80 -0
  133. package/Rendering/Misc/SynchronizableRenderWindow/ObjectManager.js +763 -0
  134. package/Rendering/OpenGL/HardwareSelector/Constants.d.ts +8 -0
  135. package/Rendering/OpenGL/HardwareSelector.d.ts +339 -0
  136. package/Rendering/OpenGL/ImageResliceMapper.js +996 -0
  137. package/Rendering/OpenGL/PolyDataMapper.js +1 -1
  138. package/Rendering/OpenGL/PolyDataMapper2D.js +1 -1
  139. package/Rendering/OpenGL/RenderWindow/Constants.d.ts +10 -0
  140. package/Rendering/OpenGL/RenderWindow/Constants.js +13 -0
  141. package/Rendering/OpenGL/RenderWindow/ContextProxy.js +70 -0
  142. package/Rendering/OpenGL/RenderWindow.d.ts +9 -2
  143. package/Rendering/OpenGL/RenderWindow.js +2 -1
  144. package/Rendering/OpenGL/glsl/vtkImageResliceMapperFS.glsl.js +3 -0
  145. package/Rendering/OpenGL/glsl/vtkImageResliceMapperVS.glsl.js +3 -0
  146. package/Rendering/WebGPU/Actor2D.js +151 -0
  147. package/Rendering/WebGPU/BufferManager.js +1 -1
  148. package/Rendering/WebGPU/CellArrayMapper.js +853 -0
  149. package/Rendering/WebGPU/IndexBuffer.js +397 -0
  150. package/Rendering/WebGPU/PolyDataMapper2D.js +99 -0
  151. package/Rendering/WebGPU/RenderWindow.js +3 -1
  152. package/Rendering/WebGPU/SimpleMapper.js +290 -0
  153. package/Widgets/Core/AbstractWidget.d.ts +187 -0
  154. package/Widgets/Core/AbstractWidgetFactory.d.ts +131 -0
  155. package/Widgets/Core/StateBuilder/color3Mixin.js +24 -0
  156. package/Widgets/Core/StateBuilder/orientationMixin.js +1 -1
  157. package/Widgets/Core/StateBuilder.d.ts +29 -0
  158. package/Widgets/Core/WidgetManager/Constants.d.ts +27 -0
  159. package/Widgets/Core/WidgetManager.d.ts +231 -0
  160. package/Widgets/Core/WidgetState.d.ts +81 -0
  161. package/Widgets/Manipulators/AbstractManipulator.d.ts +221 -0
  162. package/Widgets/Manipulators/AbstractManipulator.js +57 -0
  163. package/Widgets/Manipulators/LineManipulator.js +1 -1
  164. package/Widgets/Manipulators/TrackballManipulator.js +1 -1
  165. package/Widgets/Representations/GlyphRepresentation.js +325 -0
  166. package/Widgets/Representations/LineHandleRepresentation.js +116 -0
  167. package/Widgets/Representations/ResliceCursorContextRepresentation.js +1 -1
  168. package/Widgets/Representations/WidgetRepresentation.js +1 -1
  169. package/Widgets/Widgets3D/AngleWidget.js +1 -1
  170. package/Widgets/Widgets3D/InteractiveOrientationWidget.d.ts +40 -0
  171. package/Widgets/Widgets3D/LabelWidget/behavior.js +157 -0
  172. package/Widgets/Widgets3D/LabelWidget/state.js +22 -0
  173. package/Widgets/Widgets3D/LabelWidget.js +78 -0
  174. package/Widgets/Widgets3D/LineWidget/behavior.js +1 -1
  175. package/Widgets/Widgets3D/LineWidget/helpers.js +1 -1
  176. package/Widgets/Widgets3D/ResliceCursorWidget/behavior.js +1 -1
  177. package/Widgets/Widgets3D/ResliceCursorWidget/helpers.js +1 -1
  178. package/Widgets/Widgets3D/ResliceCursorWidget.js +1 -1
  179. package/index.d.ts +133 -74
  180. package/package.json +1 -1
@@ -0,0 +1,297 @@
1
+ import { vtkObject } from './../../interfaces';
2
+ import { Bounds, Vector3 } from './../../types';
3
+ import vtkPoints from './../Core/Points';
4
+ /**
5
+ *
6
+ */
7
+ export interface IIncrementalOctreeNodeInitialValues {
8
+ pointIdSet?: number[];
9
+ minBounds?: Bounds;
10
+ maxBounds?: Bounds;
11
+ minDataBounds?: Bounds;
12
+ maxDataBounds?: Bounds;
13
+ parent?: vtkIncrementalOctreeNode;
14
+ children?: vtkIncrementalOctreeNode[];
15
+ }
16
+
17
+ export interface vtkIncrementalOctreeNode extends vtkObject {
18
+ /**
19
+ * Create a list object for storing point indices.
20
+ */
21
+ createPointIdSet(): void;
22
+
23
+ /**
24
+ * Set the spatial bounding box of the node. This function sets a default
25
+ * data bounding box.
26
+ *
27
+ * @param {Number} x1
28
+ * @param {Number} x2
29
+ * @param {Number} y1
30
+ * @param {Number} y2
31
+ * @param {Number} z1
32
+ * @param {Number} z2
33
+ */
34
+ setBounds(
35
+ x1: number,
36
+ x2: number,
37
+ y1: number,
38
+ y2: number,
39
+ z1: number,
40
+ z2: number
41
+ ): void;
42
+
43
+ /**
44
+ * Get the spatial bounding box of the node. The values are returned via
45
+ * an array in order of: x_min, x_max, y_min, y_max, z_min, z_max.
46
+ *
47
+ * @param {Bounds} bounds
48
+ */
49
+ getBounds(bounds: Bounds): void;
50
+
51
+ /**
52
+ * @param {Vector3} point
53
+ */
54
+ getChildIndex(point: Vector3): number;
55
+
56
+ /**
57
+ * @param {Vector3} point
58
+ */
59
+ containsPoint(point: Vector3): boolean;
60
+
61
+ /**
62
+ * @param {Vector3} point
63
+ */
64
+ containsPointByData(point: Vector3): boolean;
65
+
66
+ /**
67
+ * Given a point inserted to either this node (a leaf node) or a descendant
68
+ * leaf (of this node --- when this node is a non-leaf node), update the
69
+ * counter and the data bounding box for this node only. The data bounding box
70
+ * is considered only if updateData is non-zero. The returned value indicates
71
+ * whether (1) or not (0) the data bounding box is actually updated. Note that
72
+ * argument nHits must be 1 unless this node is updated with a number (nHits)
73
+ * of exactly duplicate points as a whole via a single call to this function.
74
+ *
75
+ * @param {Vector3} point
76
+ * @param {Number} nHits
77
+ * @param {Boolean} updateData
78
+ */
79
+ updateCounterAndDataBounds(
80
+ point: Vector3,
81
+ nHits: number,
82
+ updateData: boolean
83
+ ): boolean;
84
+
85
+ /**
86
+ * Given a point inserted to either this node (a leaf node) or a descendant
87
+ * leaf (of this node --- when this node is a non-leaf node), update the
88
+ * counter and the data bounding box recursively bottom-up until a specified
89
+ * node. The data bounding box is considered only if updateData is non-zero.
90
+ * The returned value indicates whether (true) or not (false) the data bounding box
91
+ * is actually updated. Note that argument nHits must be 1 unless this node
92
+ * is updated with a number (nHits) of exactly duplicate points as a whole
93
+ * via a single call to this function.
94
+ *
95
+ * @param {Vector3} point
96
+ * @param {Number} nHits
97
+ * @param {Boolean} updateData
98
+ * @param {vtkIncrementalOctreeNode} endNode
99
+ */
100
+ updateCounterAndDataBoundsRecursively(
101
+ point: Vector3,
102
+ nHits: number,
103
+ updateData: boolean,
104
+ endNode: vtkIncrementalOctreeNode
105
+ ): boolean;
106
+
107
+ /**
108
+ * Given a point, determine whether (true) or not (false) it is an exact duplicate
109
+ * of all the points, if any, maintained in this node. In other words, to
110
+ * check if this given point and all existing points, if any, of this node
111
+ * are exactly duplicate with one another.
112
+ *
113
+ * @param {Vector3} point
114
+ */
115
+ containsDuplicatePointsOnly(point: Vector3): boolean;
116
+
117
+ /**
118
+ * Determine whether or not this node is a leaf.
119
+ */
120
+ isLeaf(): boolean;
121
+
122
+ /**
123
+ * Get the child at the given index i.
124
+ * i must be an int between 0 and 7.
125
+ *
126
+ * @param {Number} i
127
+ */
128
+ getChild(i: number): vtkIncrementalOctreeNode;
129
+
130
+ /**
131
+ * Given a number (>= threshold) of all exactly duplicate points (accessible
132
+ * via points and pntIds, but with exactly the same 3D coordinate) maintained
133
+ * in this leaf node and a point (absolutely not a duplicate any more, with
134
+ * pntIdx storing the index in points)) to be inserted to this node, separate
135
+ * all the duplicate points from this new point by means of usually recursive
136
+ * node sub-division such that the former points are inserted to a descendant
137
+ * leaf while the new point is inserted to a sibling of this descendant leaf.
138
+ * Argument ptMode specifies whether the point is not inserted at all but only
139
+ * the point index is provided upon 0, the point is inserted via vtkPoints::
140
+ * InsertPoint() upon 1, or this point is instead inserted through vtkPoints::
141
+ * InsertNextPoint() upon 2.
142
+ *
143
+ * @param {vtkPoints} points
144
+ * @param {Number[]} pntIds
145
+ * @param {Vector3} newPnt
146
+ * @param {Number} pntIdx
147
+ * @param {Number} maxPts
148
+ * @param {Number} ptMode
149
+ */
150
+ separateExactlyDuplicatePointsFromNewInsertion(
151
+ points: vtkPoints,
152
+ pntIds: number[],
153
+ newPnt: Vector3,
154
+ pntIdx: number,
155
+ maxPts: number,
156
+ ptMode: number
157
+ ): void;
158
+
159
+ /**
160
+ * Divide this LEAF node into eight child nodes as the number of points
161
+ * maintained by this leaf node has reached the threshold maxPts while
162
+ * another point newPnt is just going to be inserted to it. The available
163
+ * point-indices pntIds are distributed to the child nodes based on the
164
+ * point coordinates (available through points). Note that this function
165
+ * can incur recursive node-division to determine the specific leaf node
166
+ * for accepting the new point (with pntIdx storing the index in points)
167
+ * because the existing maxPts points may fall within only one of the eight
168
+ * child nodes to make a radically imbalanced layout within the node (to
169
+ * be divided). Argument ptMode specifies whether the point is not inserted
170
+ * at all but instead only the point index is provided upon 0, the point is
171
+ * inserted via vtkPoints.InsertPoint() upon 1, or the point is inserted by
172
+ * vtkPoints.InsertNextPoint() upon 2. The returned value of this function
173
+ * indicates whether pntIds needs to be destroyed (1) or just unregistered
174
+ * from this node as it has been attached to another node (0).
175
+ * numberOfNodes in the tree is updated with new created nodes
176
+ *
177
+ * @param {vtkPoints} points
178
+ * @param {Number[]} pntIds
179
+ * @param {Vector3} newPnt
180
+ * @param {Number} pntIdx
181
+ * @param {Number} maxPts
182
+ * @param {Number} ptMode
183
+ * @param {Number} numberOfNodes
184
+ */
185
+ createChildNodes(
186
+ points: vtkPoints,
187
+ pntIds: number[],
188
+ newPnt: Vector3,
189
+ pntIdx: number,
190
+ maxPts: number,
191
+ ptMode: number,
192
+ numberOfNodes: number
193
+ ): { success: boolean; numberOfNodes: number; pointIdx: number };
194
+
195
+ /**
196
+ * This function is called after a successful point-insertion check and
197
+ * only applies to a leaf node. Prior to a call to this function, the
198
+ * octree should have been retrieved top-down to find the specific leaf
199
+ * node in which this new point (newPt) will be inserted. The actual index
200
+ * of the new point (to be inserted to points) is stored in pntId. Argument
201
+ * ptMode specifies whether the point is not inserted at all but instead only
202
+ * the point index is provided upon 0, the point is inserted via vtkPoints.
203
+ * insertPoint() upon 1, or it is inserted via vtkPoints.insertNextPoint()
204
+ * upon 2. For case 0, pntId needs to be specified. For cases 1 and 2, the
205
+ * actual point index is returned via pntId. Note that this function always
206
+ * returns 1 to indicate the success of point insertion.
207
+ * numberOfNodes is the number of nodes present in the tree at this time.
208
+ * it is used to assign an ID to each node which can be used to associate
209
+ * application specific information with each node. It is updated if new nodes
210
+ * are added to the tree.
211
+ *
212
+ * @param {Number} points
213
+ * @param {Number} newPnt
214
+ * @param {Number} maxPts
215
+ * @param {Number} pntId
216
+ * @param {Number} ptMode
217
+ * @param {Number} numberOfNodes
218
+ */
219
+ insertPoint(
220
+ points: number,
221
+ newPnt: number,
222
+ maxPts: number,
223
+ pntId: number,
224
+ ptMode: number,
225
+ numberOfNodes: number
226
+ ): { numberOfNodes: number; pointIdx: number };
227
+
228
+ /**
229
+ * Compute the minimum squared distance from a point to this node, with all
230
+ * six boundaries considered. The data bounding box is checked if checkData
231
+ * is non-zero. The closest on-boundary point is returned via closest.
232
+ *
233
+ * @param {Vector3} point
234
+ * @param {Vector3} closest
235
+ * @param {Boolean} innerOnly
236
+ * @param {vtkIncrementalOctreeNode} rootNode
237
+ * @param {Boolean} checkData
238
+ * @returns {Number}
239
+ */
240
+ getDistance2ToBoundary(
241
+ point: Vector3,
242
+ closest: Vector3,
243
+ innerOnly: boolean,
244
+ rootNode: vtkIncrementalOctreeNode,
245
+ checkData: boolean
246
+ ): number;
247
+
248
+ /**
249
+ * Given a point inside this node, get the minimum squared distance to all
250
+ * inner boundaries. An inner boundary is a node's face that is shared by
251
+ * another non-root node.
252
+ *
253
+ * @param {Vector3} point
254
+ * @param {vtkIncrementalOctreeNode} rootNode
255
+ */
256
+ getDistance2ToInnerBoundary(
257
+ point: Vector3,
258
+ rootNode: vtkIncrementalOctreeNode
259
+ ): number;
260
+ }
261
+
262
+ // ----------------------------------------------------------------------------
263
+ // Static API
264
+ // ----------------------------------------------------------------------------
265
+
266
+ /**
267
+ * Method use to decorate a given object (publicAPI+model) with vtkIncrementalOctreeNode characteristics.
268
+ *
269
+ * @param publicAPI object on which methods will be bounds (public)
270
+ * @param model object on which data structure will be bounds (protected)
271
+ * @param {object} [initialValues] (default: {})
272
+ */
273
+ export function extend(
274
+ publicAPI: object,
275
+ model: object,
276
+ initialValues?: object
277
+ ): void;
278
+
279
+ // ----------------------------------------------------------------------------
280
+
281
+ /**
282
+ * Method use to create a new instance of vtkIncrementalOctreeNode
283
+ * @param {IIncrementalOctreeNodeInitialValues} [initialValues] for pre-setting some of its content
284
+ */
285
+ export function newInstance(
286
+ initialValues?: IIncrementalOctreeNodeInitialValues
287
+ ): vtkIncrementalOctreeNode;
288
+
289
+ /**
290
+ * vtkIncrementalOctreeNode
291
+ */
292
+ export declare const vtkIncrementalOctreeNode: {
293
+ newInstance: typeof newInstance;
294
+ extend: typeof extend;
295
+ };
296
+
297
+ export default vtkIncrementalOctreeNode;