34 lines
852 B
TypeScript
34 lines
852 B
TypeScript
|
|
import { Enums } from '@cornerstonejs/tools';
|
||
|
|
import { toolNames } from '../initCornerstoneTools';
|
||
|
|
|
||
|
|
export default {
|
||
|
|
'cornerstone.overlayViewportTools': {
|
||
|
|
active: [
|
||
|
|
{
|
||
|
|
toolName: toolNames.WindowLevel,
|
||
|
|
bindings: [{ mouseButton: Enums.MouseBindings.Primary }],
|
||
|
|
},
|
||
|
|
{
|
||
|
|
toolName: toolNames.Pan,
|
||
|
|
bindings: [{ mouseButton: Enums.MouseBindings.Auxiliary }],
|
||
|
|
},
|
||
|
|
{
|
||
|
|
toolName: toolNames.Zoom,
|
||
|
|
bindings: [{ mouseButton: Enums.MouseBindings.Secondary }],
|
||
|
|
},
|
||
|
|
{
|
||
|
|
toolName: toolNames.StackScroll,
|
||
|
|
bindings: [{ mouseButton: Enums.MouseBindings.Wheel }],
|
||
|
|
},
|
||
|
|
],
|
||
|
|
enabled: [
|
||
|
|
{
|
||
|
|
toolName: toolNames.PlanarFreehandContourSegmentation,
|
||
|
|
configuration: {
|
||
|
|
displayOnePointAsCrosshairs: true,
|
||
|
|
},
|
||
|
|
},
|
||
|
|
],
|
||
|
|
},
|
||
|
|
};
|