MeasureFaceFaceDistanceOperator
- class Communicator.Operator.MeasureFaceFaceDistanceOperator()
Constructors
Methods
Constructors
- MeasureFaceFaceDistanceOperator.constructor(viewer, measureManager)
- Arguments
viewer (
WebViewer()
) –measureManager (
MeasureManager()
) –
- Return type
Methods
addMapping
- MeasureFaceFaceDistanceOperator.addMapping(button[, modifier])
Adds a button and key modifier mapping for the operator. If no mapping is provided, all combinations are considered valid. All mappings require a mouse button, but a key modifier is optional.
- Arguments
button (Button) –
modifier (KeyModifiers) – optional
- Return type
void
clearMapping
- MeasureFaceFaceDistanceOperator.clearMapping()
Clears any button and key modifier mappings for the operator.
- Return type
void
setMapping
- MeasureFaceFaceDistanceOperator.setMapping(button[, modifier])
Sets the button and key modifier mapping for the operator.
- Arguments
button (Button) –
modifier (KeyModifiers) – optional
- Return type
void