Interface: PlanarViewPresentationSelector
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.
Extends
Properties
aspectRatio?
optionalaspectRatio:boolean
Inherited from
ViewPresentationSelector.aspectRatio
Defined in
packages/core/src/types/IViewport.ts:369
displayArea?
optionaldisplayArea:boolean
Inherited from
ViewPresentationSelector.displayArea
Defined in
packages/core/src/types/IViewport.ts:366
flipHorizontal?
optionalflipHorizontal:boolean
Inherited from
ViewPresentationSelector.flipHorizontal
Defined in
packages/core/src/types/IViewport.ts:370
flipVertical?
optionalflipVertical:boolean
Inherited from
ViewPresentationSelector.flipVertical
Defined in
packages/core/src/types/IViewport.ts:371
paletteLut?
optionalpaletteLut:boolean
Inherited from
ViewPresentationSelector.paletteLut
Defined in
packages/core/src/types/IViewport.ts:374
pan?
optionalpan:boolean
Inherited from
Defined in
packages/core/src/types/IViewport.ts:368
rotation?
optionalrotation:boolean
Inherited from
ViewPresentationSelector.rotation
Defined in
packages/core/src/types/IViewport.ts:365
scale?
optionalscale:boolean
Defined in
packages/core/src/RenderingEngine/GenericViewport/Planar/PlanarViewportTypes.ts:126
slabThickness?
optionalslabThickness:number
Inherited from
ViewPresentationSelector.slabThickness
Defined in
packages/core/src/types/IViewport.ts:363
windowLevel?
optionalwindowLevel:boolean
Inherited from
ViewPresentationSelector.windowLevel
Defined in
packages/core/src/types/IViewport.ts:373
zoom?
optionalzoom:boolean