-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Segmentation architecture improvements (#330)
* renamed labelmap to segmentation * wip * fix toolGroup viewports and toolOptions in enabled and disabled * fix ItoolGroup location * wip for new states * fix rename * minor work * more work * add removeViewports from toolGroup * feat getSegmentations for toolGroup * wip * inactive segmentations * active segmentation controller * fix naming * add remove viewport for toolGroup * wip * wip for using toolGroups * change gettoolGroups to toolGroup * fix active segmentation for toolGroup * feat add segmentation visibility * add enable disable callback * fixed rectangle scissor * fix trigger segmentation modified * fix create new segmentation * fix test * renamed global segmentation methods * wip * change state to toolGroup based * wip * first render with the new state manager add toolGroupUID to toolInstances toolGroupId to toolGroupUID rename rename bunch of methods rename id to uid fix remove segmentation from toolGroup working new rectangle scissor with new state modifiy hide segmentation controller finished all controllers add segmentation config controller toolGroup specific configuration initial toolGroup segmentation config address review comments fix build issues address more comments address more comments add remove segmentations after toolgroup destroy chore: add .yarn to gitignore fix: setSegmentIndexLockedStatus for tool group and a bunch of typos wip for tests * add initial rendering tests for segmentation * add segmentation state tests * fix seg state test * initial seg tool tests * add documentation to segmentation functions * fix draw test for scissor * fix bug for rectangle scissor test * fix tool name typo * refactored various testutils * add custom colorLUT test for segmentation * visibility controller * segmentation config controller tests * fix test errors * address some comments * address some comments and add docs to tools
- Loading branch information
Showing
179 changed files
with
7,594 additions
and
2,958 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
packages/cornerstone-render/src/RenderingEngine/helpers/createVolumeMapper.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
interface CustomEvent<T = any> extends Event { | ||
/** | ||
* Returns any custom data event was created with. Typically used for synthetic events. | ||
*/ | ||
readonly detail: T | ||
initCustomEvent( | ||
typeArg: string, | ||
canBubbleArg: boolean, | ||
cancelableArg: boolean, | ||
detailArg: T | ||
): void | ||
} | ||
|
||
export default CustomEvent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.