Interface: MountSurfViewOptions
Defined in: report/SceneMount.ts:61
Properties
lazy?
lazy?: boolean;Defined in: report/SceneMount.ts:63
Delay asset loading and WebGL creation until the container intersects the viewport.
rootMargin?
rootMargin?: string;Defined in: report/SceneMount.ts:65
IntersectionObserver root margin used by lazy mounting.
baseUrl?
baseUrl?: string;Defined in: report/SceneMount.ts:67
Asset URL base for adjacent-directory manifests.
fetcher?
fetcher?: (input, init?) => Promise<Response>;Defined in: report/SceneMount.ts:69
Fetch implementation used for adjacent assets.
Parameters
input
RequestInfo | URL
init?
RequestInit
Returns
Promise<Response>
width?
width?: number;Defined in: report/SceneMount.ts:71
Initial CSS-pixel width. Defaults to the container width or 640.
height?
height?: number;Defined in: report/SceneMount.ts:73
Initial CSS-pixel height. Defaults to the container height or 480.
preset?
preset?: SurfViewStylePresetName;Defined in: report/SceneMount.ts:75
Viewer appearance preset. paper-light is the report default.
controls?
controls?: boolean;Defined in: report/SceneMount.ts:77
Show the small report toolbar. This never loads an external pane UI.
initialView?
initialView?: AnatomicalView;Defined in: report/SceneMount.ts:79
Initial anatomical view.
bilateralGroup?
bilateralGroup?: BilateralSurfaceGroup;Defined in: report/SceneMount.ts:84
Explicit pair controlled by coordinated report views. Required when a report contains more than one surface; pairs are never inferred.
hemisphereGap?
hemisphereGap?: number;Defined in: report/SceneMount.ts:86
Gap between recentered hemispheres in scene units.
layout?
layout?: ReportLayout;Defined in: report/SceneMount.ts:91
Pair pose: split (default) rotates each hemisphere into the view side by side; anatomical keeps one coherent brain and rotates it as a whole.
initialBrainView?
initialBrainView?: ReportBrainView;Defined in: report/SceneMount.ts:93
Initial whole-brain view for the anatomical layout. Defaults to oblique.
headlight?
headlight?: boolean;Defined in: report/SceneMount.ts:95
Attach the key light to the camera. Defaults to true for the anatomical layout.
fov?
fov?: number;Defined in: report/SceneMount.ts:97
Vertical camera field of view in degrees.
fitMargin?
fitMargin?: number;Defined in: report/SceneMount.ts:99
Camera fit margin as a fraction of the framed distance.
oblique?
oblique?: "auto" | ReportObliqueAngle;Defined in: report/SceneMount.ts:101
Camera angle of the oblique whole-brain view in degrees, or auto (data-driven).
fitInsets?
fitInsets?: ReportFitInsets;Defined in: report/SceneMount.ts:103
Canvas insets (CSS px) kept clear of the fitted brain for overlaid controls.
onError?
onError?: (error) => void;Defined in: report/SceneMount.ts:105
Called after a load or WebGL initialization failure is rendered inline.
Parameters
error
Error
Returns
void