Skip to main content

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?​

optional aspectRatio: boolean

Inherited from​

ViewPresentationSelector.aspectRatio

Defined in​

packages/core/src/types/IViewport.ts:442


displayArea?​

optional displayArea: boolean

Inherited from​

ViewPresentationSelector.displayArea

Defined in​

packages/core/src/types/IViewport.ts:439


flipHorizontal?​

optional flipHorizontal: boolean

Inherited from​

ViewPresentationSelector.flipHorizontal

Defined in​

packages/core/src/types/IViewport.ts:443


flipVertical?​

optional flipVertical: boolean

Inherited from​

ViewPresentationSelector.flipVertical

Defined in​

packages/core/src/types/IViewport.ts:444


paletteLut?​

optional paletteLut: boolean

Inherited from​

ViewPresentationSelector.paletteLut

Defined in​

packages/core/src/types/IViewport.ts:447


pan?​

optional pan: boolean

Inherited from​

ViewPresentationSelector.pan

Defined in​

packages/core/src/types/IViewport.ts:441


rotation?​

optional rotation: boolean

Inherited from​

ViewPresentationSelector.rotation

Defined in​

packages/core/src/types/IViewport.ts:438


scale?​

optional scale: boolean

Defined in​

packages/core/src/RenderingEngine/GenericViewport/Planar/PlanarViewportTypes.ts:147


slabThickness?​

optional slabThickness: number

Inherited from​

ViewPresentationSelector.slabThickness

Defined in​

packages/core/src/types/IViewport.ts:436


windowLevel?​

optional windowLevel: boolean

Inherited from​

ViewPresentationSelector.windowLevel

Defined in​

packages/core/src/types/IViewport.ts:446


zoom?​

optional zoom: boolean

Inherited from​

ViewPresentationSelector.zoom

Defined in​

packages/core/src/types/IViewport.ts:440