feat(segmentation mode): Add create, and export SEG with Brushes (#3632)
This commit is contained in:
1 parent
896866e9d0
commit
48bbd6281a
186 files changed
+6801
-2883
No files matched your search
@@ -178,8 +178,15 @@ export default class DisplaySetService extends PubSubService {
|
||||
* @param {string} displaySetInstanceUID
|
||||
* @returns {object} displaySet
|
||||
*/
|
||||
public getDisplaySetByUID = (displaySetInstanceUid: string): DisplaySet =>
|
||||
displaySetCache.get(displaySetInstanceUid);
|
||||
public getDisplaySetByUID = (displaySetInstanceUid: string): DisplaySet => {
|
||||
if (typeof displaySetInstanceUid !== 'string') {
|
||||
throw new Error(
|
||||
`getDisplaySetByUID: displaySetInstanceUid must be a string, you passed ${displaySetInstanceUid}`
|
||||
);
|
||||
}
|
||||
|
||||
return displaySetCache.get(displaySetInstanceUid);
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user