Interface: ViewPresentationSelector
A view presentation selector allows choosing what view attributes should be returned by a call to getViewPresentation. This allows a shared selection object to be used to specify which presentation attributes are to be used.
For example, a synchronizer might choose to use a presentation selector so that multiple viewports could specify to synchronizer, say slabThickness and windowLevel across one set, while a different synchronizer would choose to apply zoom and pan. Then, a resize operation might choose to synchronize display area, zoom and pan, but not window level or slab thickness. A store/remember state of viewport might choose to synchronize everything Individual tools might choose to use synchronization of the specific attribute which they are modifying (such as rotation) for history undo/redo, but use the same re-apply function to undo the remembered history.
It is certainly possible to implement each of these with their own selectors which call the particular get/set functions, but that makes it more work to share particular sets for different uses.
Properties
displayArea?
optionaldisplayArea:boolean
Defined in
packages/core/src/types/IViewport.ts:351
flipHorizontal?
optionalflipHorizontal:boolean
Defined in
packages/core/src/types/IViewport.ts:354
flipVertical?
optionalflipVertical:boolean
Defined in
packages/core/src/types/IViewport.ts:355
paletteLut?
optionalpaletteLut:boolean
Defined in
packages/core/src/types/IViewport.ts:358
pan?
optionalpan:boolean
Defined in
packages/core/src/types/IViewport.ts:353
rotation?
optionalrotation:boolean
Defined in
packages/core/src/types/IViewport.ts:350
slabThickness?
optionalslabThickness:number
Defined in
packages/core/src/types/IViewport.ts:348
windowLevel?
optionalwindowLevel:boolean
Defined in
packages/core/src/types/IViewport.ts:357
zoom?
optionalzoom:boolean