An optional value to specify a singular mode of intersection query. This value defaults to undefined
, which will indicate that both exclusive
and inclusive
queries should be made, with inclusive
being represented by a left to right drag behavior and exclusive
being represented by a right to left drag.
Setting this value to inclusive
will cause dragging left to right and left to right to result in an inclusive
query, and the box will only be styled for inclusive
queries.
Setting this value to exclusive
will cause dragging left to right and left to right to result in an exclusive
query, and the box will only be styled for exclusive
queries.
The model that contains the points representing the corners of the box displayed on screen, the type of the query to be performed, and methods for setting these values.
The default operation to perform when a drag has completed and the intersection query will be run. Defaults to clearAndSelect
, and can be changed to select
or deselect
.
clearAndSelect
will clear all existing selection, and select the results of the query. select
will maintain existing selection, and select the results of the query. deselect
will maintain existing selection, and deselect the results of the query.
The operation behavior for this intersection query tool can also be changed by providing a custom implementation of the VolumeIntersectionQueryController
, or by using the setOperationTransform
method of the default controller.
The viewer that this component is bound to. This is automatically assigned if added to the light-dom of a parent viewer element.
Event emitted when the VolumeIntersectionQueryController
associated with this tool changes.
The controller that is responsible for performing operations using the volume intersection query defined by the drawn box and updating the model.