@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,8 @@
1
+ export declare enum PassTypes {
2
+ MIN_KNOWN_PASS = 0,
3
+ ACTOR_PASS = 0,
4
+ COMPOSITE_INDEX_PASS = 1,
5
+ ID_LOW24 = 2,
6
+ ID_HIGH24 = 3,
7
+ MAX_KNOWN_PASS = 3,
8
+ }
@@ -0,0 +1,339 @@
1
+ import vtkSelectionNode from './../../Common/DataModel/SelectionNode';
2
+ import {
3
+ IHardwareSelectorInitialValues,
4
+ vtkHardwareSelector,
5
+ } from './../Core/HardwareSelector';
6
+ import vtkProp from './../Core/Prop';
7
+ import vtkRenderer from './../Core/Renderer';
8
+ import vtkOpenGLRenderWindow from './RenderWindow';
9
+ import { FieldAssociations } from './../../Common/DataModel/DataSet/Constants';
10
+ import { EventHandler, vtkSubscription } from './../../interfaces';
11
+ import { Nullable, Vector2, Vector3 } from './../../types';
12
+ import { PassTypes } from './HardwareSelector/Constants';
13
+
14
+ type Area = [number, number, number, number];
15
+
16
+ export interface BufferData {
17
+ area: Area;
18
+ pixBuffer: Uint8Array[];
19
+ }
20
+
21
+ export interface SourceData {
22
+ area: Area;
23
+ pixBuffer: Uint8Array[];
24
+ captureZValues: boolean;
25
+ zBuffer: Uint8Array;
26
+ props: vtkProp[];
27
+ fieldAssociation: FieldAssociations;
28
+ renderer: vtkRenderer;
29
+ openGLRenderWindow: vtkOpenGLRenderWindow;
30
+ generateSelection(
31
+ buffdata: BufferData,
32
+ fx1: number,
33
+ fy1: number,
34
+ fx2: number,
35
+ fy2: number
36
+ ): vtkSelectionNode[];
37
+ }
38
+
39
+ export interface PixelInformation {
40
+ valid: boolean;
41
+ prop: vtkProp;
42
+ propID: number;
43
+ compositeID: number;
44
+ zValue: number;
45
+ displayPosition: Vector2;
46
+ attributeID?: number;
47
+ }
48
+
49
+ // TODO extends vtkHardwareSelector
50
+ export interface vtkOpenGLHardwareSelector extends vtkHardwareSelector {
51
+ /**
52
+ * Releases internal pixel buffer memory.
53
+ */
54
+ releasePixBuffers(): void;
55
+
56
+ /**
57
+ * Preps for picking the scene.
58
+ *
59
+ * Call endSelection() afterwards.
60
+ */
61
+ beginSelection(): void;
62
+
63
+ /**
64
+ * Cleans up picking state.
65
+ *
66
+ * Should be after a call to beginSelection();
67
+ */
68
+ endSelection(): void;
69
+
70
+ /**
71
+ * Runs a pre-capture pass.
72
+ */
73
+ preCapturePass(): void;
74
+
75
+ /**
76
+ * Runs a post-capture pass.
77
+ */
78
+ postCapturePass(): void;
79
+
80
+ /**
81
+ * Generates a selection.
82
+ */
83
+ select(): Nullable<vtkSelectionNode[]>;
84
+
85
+ /**
86
+ * Get the picking source data.
87
+ *
88
+ * @param {vtkRenderer} renderer
89
+ * @param {number} fx1 top left x coord
90
+ * @param {number} fy1 top left y coord
91
+ * @param {number} fx2 bottom right x coord
92
+ * @param {number} fy2 bottom right y coord
93
+ */
94
+ getSourceDataAsync(
95
+ renderer: vtkRenderer,
96
+ fx1: number,
97
+ fy1: number,
98
+ fx2: number,
99
+ fy2: number
100
+ ): Promise<SourceData>;
101
+
102
+ /**
103
+ * Captures the scene for picking.
104
+ * @returns whether the capture succeeded.
105
+ */
106
+ captureBuffers(): boolean;
107
+
108
+ /**
109
+ * Processes the pixel buffers for actors.
110
+ */
111
+ processPixelBuffers(): void;
112
+
113
+ /**
114
+ * Determines if a pass is required.
115
+ * @param {PassTypes} pass
116
+ */
117
+ passRequired(pass: PassTypes): boolean;
118
+
119
+ /**
120
+ * Saves the pixel buffer from the view.
121
+ * @param {PassTypes} pass
122
+ */
123
+ savePixelBuffer(pass: PassTypes): void;
124
+
125
+ /**
126
+ * Builds the prop hit list.
127
+ * @param {Uint8Array} pixelBuffer
128
+ */
129
+ buildPropHitList(pixelBuffer: Uint8Array): void;
130
+
131
+ /**
132
+ * Renders a prop for picking.
133
+ * @param {vtkProp} prop
134
+ */
135
+ renderProp(prop: vtkProp): void;
136
+
137
+ /**
138
+ * Sets the current prop's color value for the composite index.
139
+ * @param {number} index
140
+ */
141
+ renderCompositeIndex(index: number): void;
142
+
143
+ /**
144
+ * Renders an attribute ID.
145
+ * @param {number} attribId
146
+ */
147
+ renderAttributeId(attribId: number): void;
148
+
149
+ /**
150
+ * Returns the pass type name as a string.
151
+ * @param {PassTypes} type
152
+ */
153
+ passTypeToString(type: PassTypes): string;
154
+
155
+ /**
156
+ * Has the prop with the given internal ID been hit.
157
+ * @param {number} id
158
+ */
159
+ isPropHit(id: number): boolean;
160
+
161
+ /**
162
+ * Sets the internal color used for coloring the current prop.
163
+ * @param {number} val
164
+ */
165
+ setPropColorValueFromInt(val: number): void;
166
+
167
+ /**
168
+ * Gets the selection information for a given pixel.
169
+ *
170
+ * @param inDispPos The input diplay position.
171
+ * @param maxDistance The max distance to consider from the input position.
172
+ * @param outDispPos The output display position.
173
+ */
174
+ getPixelInformation(
175
+ inDispPos: Vector2,
176
+ maxDistance: number,
177
+ outDispPos: Vector2
178
+ ): Nullable<PixelInformation>;
179
+
180
+ /**
181
+ * Generates selections in a given area.
182
+ *
183
+ * @param {number} fx1 top left x coord
184
+ * @param {number} fy1 top left y coord
185
+ * @param {number} fx2 bottom right x coord
186
+ * @param {number} fy2 bottom right y coord
187
+ */
188
+ generateSelection(
189
+ fx1: number,
190
+ fy1: number,
191
+ fx2: number,
192
+ fy2: number
193
+ ): vtkSelectionNode[];
194
+
195
+ /**
196
+ * Get the raw pixel buffer for a pass type.
197
+ * @param {PassTypes} passNo
198
+ */
199
+ getRawPixelBuffer(passNo: PassTypes): Uint8Array;
200
+
201
+ /**
202
+ * Get the pixel buffer for a pass type.
203
+ * @param {PassTypes} passNo
204
+ */
205
+ getPixelBuffer(passNo: PassTypes): Uint8Array;
206
+
207
+ /**
208
+ * Attaches a render window + renderer to this hardware selector.
209
+ * @param {Nullable<vtkOpenGLRenderWindow>} openglRenderWindow
210
+ * @param {Nullable<vtkRenderer>} renderer
211
+ */
212
+ attach(
213
+ openglRenderWindow: Nullable<vtkOpenGLRenderWindow>,
214
+ renderer: Nullable<vtkRenderer>
215
+ ): void;
216
+
217
+ /**
218
+ * Sets the current renderer.
219
+ * @param {vtkRenderer} ren
220
+ */
221
+ setRenderer(ren: vtkRenderer): boolean;
222
+
223
+ /**
224
+ * Gets the current renderer.
225
+ */
226
+ getRenderer(): vtkRenderer;
227
+
228
+ /**
229
+ * Sets the current pass type.
230
+ * @param {PassTypes} pass
231
+ */
232
+ setCurrentPass(pass: PassTypes): boolean;
233
+
234
+ /**
235
+ * Gets the current pass type.
236
+ */
237
+ getCurrentPass(): PassTypes;
238
+
239
+ /**
240
+ * Sets the current opengl render window.
241
+ * @param {vtkOpenGLRenderWindow} oglrw
242
+ */
243
+ setOpenGLRenderWindow(oglrw: vtkOpenGLRenderWindow): boolean;
244
+
245
+ getOpenGLRenderWindow(): vtkOpenGLRenderWindow;
246
+
247
+ /**
248
+ * Sets the maximum point ID.
249
+ * @param {number} id
250
+ */
251
+ setMaximumPointId(id: number): boolean;
252
+
253
+ /**
254
+ * Gets the maximum point ID.
255
+ */
256
+ getMaximumPointId(): number;
257
+
258
+ /**
259
+ * Sets the maximum cell ID.
260
+ * @param {number} id
261
+ */
262
+ setMaximumCellId(id: number): boolean;
263
+
264
+ /**
265
+ * Gets the maximum cell ID.
266
+ */
267
+ getMaximumCellId(): number;
268
+
269
+ /**
270
+ * Sets the prop's color value.
271
+ * @param {Vector3} color
272
+ */
273
+ setPropColorValue(color: Vector3): boolean;
274
+
275
+ /**
276
+ * Sets the prop's color value.
277
+ * @param {number} r
278
+ * @param {number} g
279
+ * @param {number} b
280
+ */
281
+ setPropColorValue(r: number, g: number, b: number): boolean;
282
+
283
+ /**
284
+ * Gets the prop color value.
285
+ */
286
+ getPropColorValue(): Vector3;
287
+
288
+ /**
289
+ * Sets the selection area.
290
+ *
291
+ * @param area An area bounding box
292
+ */
293
+ setArea(area: Area): boolean;
294
+
295
+ /**
296
+ * Sets the selection area.
297
+ * @param {number} fx1 top left x coord
298
+ * @param {number} fy1 top left y coord
299
+ * @param {number} fx2 bottom right x coord
300
+ * @param {number} fy2 bottom right y coord
301
+ */
302
+ setArea(fx1: number, fy1: number, fx2: number, fy2: number): boolean;
303
+
304
+ /**
305
+ * Gets the selection area.
306
+ */
307
+ getArea(): Area;
308
+
309
+ /**
310
+ * Listen to the start/stop events.
311
+ * @param cb
312
+ * @param priority
313
+ */
314
+ onEvent(cb: EventHandler, priority?: number): Readonly<vtkSubscription>;
315
+ }
316
+
317
+ export interface IOpenGLHardwareSelectorInitialValues
318
+ extends IHardwareSelectorInitialValues {
319
+ maximumPointId?: number;
320
+ maximumCellId?: number;
321
+ idOffset?: number;
322
+ }
323
+
324
+ export function newInstance(
325
+ initialValues?: IOpenGLHardwareSelectorInitialValues
326
+ ): vtkOpenGLHardwareSelector;
327
+
328
+ export function extend(
329
+ publicAPI: object,
330
+ model: object,
331
+ initialValues?: IOpenGLHardwareSelectorInitialValues
332
+ ): void;
333
+
334
+ export const vtkOpenGLHardwareSelector: {
335
+ newInstance: typeof newInstance;
336
+ extend: typeof extend;
337
+ };
338
+
339
+ export default vtkOpenGLHardwareSelector;