Skip to main content

Interface: PlanarViewPresentation

Extends​

Properties​

aspectRatio?​

optional aspectRatio: Point2

The aspect ratio is how the viewport image is stretched and the default is [1,1].

Inherited from​

Omit.aspectRatio

Defined in​

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


displayArea?​

optional displayArea: PlanarDisplayArea

Defined in​

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


flipHorizontal?​

optional flipHorizontal: boolean

The flip horizontal value is true if the view is flipped horizontally.

Inherited from​

Omit.flipHorizontal

Defined in​

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


flipVertical?​

optional flipVertical: boolean

The flip vertical value is true if the view is flipped vertically.

Inherited from​

Omit.flipVertical

Defined in​

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


pan?​

optional pan: Point2

The pan value is how far the pan has moved relative to the fit to canvas or relative to the display area initial position/sizing. true is the default units, which is relative to the initial canvas setting, in zoom relative units.

Inherited from​

Omit.pan

Defined in​

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


rotation?​

optional rotation: number

The rotation of the view - this is related to cameraViewUp, but is relative to the viewNormal and the default viewUp for that viewNormal.

Inherited from​

Omit.rotation

Defined in​

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


scale?​

optional scale: Point2

Defined in​

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


slabThickness?​

optional slabThickness: number

The slice thickness - in frames(true/default) it will be 1 for a frame distance of 1 pixel thickness, while for mm will be in mm distance.

Inherited from​

Omit.slabThickness

Defined in​

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


zoom?​

optional zoom: number

The zoom value is a zoom factor relative either to fit to canvas or relative to the display area. The default true units are relative to the initial camera scale to fit is used to get units relative to the scale to fit camera.

Inherited from​

Omit.zoom

Defined in​

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