fix(typescript): rename services to fix typescript (#3165)
* fix: Rename services to lower camel case, hp, measure * fix: Rename DisplaySetService instances to displaySetService * fix: Rename CornerstoneViewportService to lower camel case * fix: Added lower case segmentationService rename * rename other services (#3166) * rename uiDialogService * rename toolGroupService * rename uiNotificationService * rename viewportGridService * rename syncGroupService * rename CornerstoneCacheService * Fix a syntax error in hotkeys * Fix a couple of rename issues that were missed --------- Co-authored-by: Alireza <ar.sedghi@gmail.com>
This commit is contained in:
1 parent
a97fb2fc9a
commit
8af0362d12
97 files changed
+934
-908
No files matched your search
@@ -3,8 +3,8 @@ import { toolGroupIds } from '../initToolGroups';
|
||||
export default function setFusionActiveVolume(
|
||||
matches,
|
||||
toolNames,
|
||||
ToolGroupService,
|
||||
DisplaySetService
|
||||
toolGroupService,
|
||||
displaySetService
|
||||
) {
|
||||
const matchDetails = matches.get('ptDisplaySet');
|
||||
|
||||
@@ -14,7 +14,7 @@ export default function setFusionActiveVolume(
|
||||
|
||||
const { SeriesInstanceUID } = matchDetails;
|
||||
|
||||
const displaySets = DisplaySetService.getDisplaySetsForSeries(
|
||||
const displaySets = displaySetService.getDisplaySetsForSeries(
|
||||
SeriesInstanceUID
|
||||
);
|
||||
|
||||
@@ -22,12 +22,12 @@ export default function setFusionActiveVolume(
|
||||
return;
|
||||
}
|
||||
|
||||
const wlToolConfig = ToolGroupService.getToolConfiguration(
|
||||
const wlToolConfig = toolGroupService.getToolConfiguration(
|
||||
toolGroupIds.Fusion,
|
||||
toolNames.WindowLevel
|
||||
);
|
||||
|
||||
const ellipticalToolConfig = ToolGroupService.getToolConfiguration(
|
||||
const ellipticalToolConfig = toolGroupService.getToolConfiguration(
|
||||
toolGroupIds.Fusion,
|
||||
toolNames.EllipticalROI
|
||||
);
|
||||
@@ -45,13 +45,13 @@ export default function setFusionActiveVolume(
|
||||
volumeId,
|
||||
};
|
||||
|
||||
ToolGroupService.setToolConfiguration(
|
||||
toolGroupService.setToolConfiguration(
|
||||
toolGroupIds.Fusion,
|
||||
toolNames.WindowLevel,
|
||||
windowLevelConfig
|
||||
);
|
||||
|
||||
ToolGroupService.setToolConfiguration(
|
||||
toolGroupService.setToolConfiguration(
|
||||
toolGroupIds.Fusion,
|
||||
toolNames.EllipticalROI,
|
||||
ellipticalROIConfig
|
||||
|
||||
Reference in new issue
Block a user