@@ -173,6 +173,16 @@ export interface vtkRenderWindowInteractor extends vtkObject {
173
173
*
174
174
* @param {IRenderWindowInteractorEvent } callData
175
175
*/
176
+ invokePointerEnter ( callData : IRenderWindowInteractorEvent ) : void ;
177
+
178
+ /**
179
+ *
180
+ */
181
+ invokePointerLeave ( callData : IRenderWindowInteractorEvent ) : void ;
182
+
183
+ /**
184
+ *
185
+ */
176
186
invokeMouseEnter ( callData : IRenderWindowInteractorEvent ) : void ;
177
187
178
188
/**
@@ -392,6 +402,18 @@ export interface vtkRenderWindowInteractor extends vtkObject {
392
402
* @param {InteractorEventCallback } cb The callback to be called.
393
403
* @param {Number } [priority] The priority of the event.
394
404
*/
405
+ onPointerEnter ( cb : InteractorEventCallback , priority ?: number ) : Readonly < vtkSubscription > ;
406
+
407
+ /**
408
+ *
409
+ * @param cb The callback to be called
410
+ */
411
+ onPointerLeave ( cb : InteractorEventCallback , priority ?: number ) : Readonly < vtkSubscription > ;
412
+
413
+ /**
414
+ *
415
+ * @param cb The callback to be called
416
+ */
395
417
onMouseEnter ( cb : InteractorEventCallback , priority ?: number ) : Readonly < vtkSubscription > ;
396
418
397
419
/**
@@ -1052,15 +1074,15 @@ export interface vtkRenderWindowInteractor extends vtkObject {
1052
1074
1053
1075
/**
1054
1076
*
1055
- * @param {MouseEvent } event
1077
+ * @param {PointerEvent } event
1056
1078
*/
1057
- handleMouseEnter ( event : MouseEvent ) : void ;
1079
+ handlePointerEnter ( event : PointerEvent ) : void ;
1058
1080
1059
1081
/**
1060
1082
*
1061
- * @param {MouseEvent } event
1083
+ * @param {PointerEvent } event
1062
1084
*/
1063
- handleMouseLeave ( event : MouseEvent ) : void ;
1085
+ handlePointerLeave ( event : PointerEvent ) : void ;
1064
1086
1065
1087
/**
1066
1088
*
0 commit comments