Skip to main content

Function: createToolGroup()

createToolGroup(toolGroupId): IToolGroup | undefined

Create a new tool group with the given name. ToolGroups are the new way in Cornerstone3DTools to share tool configuration, state (enabled, disabled, etc.) across a set of viewports.

Parameters​

• toolGroupId: string

The unique ID of the tool group.

Returns​

IToolGroup | undefined

A reference to the tool group that was created.

Defined in​

tools/src/store/ToolGroupManager/createToolGroup.ts:18