Skip to content

Interface: CurvatureConfig ​

Defined in: layers/CurvatureLayer.ts:22

Configuration options for curvature display

Extends ​

Properties ​

visible? ​

ts
visible?: boolean;

Defined in: layers.ts:122

Inherited from ​

LayerConfig.visible


opacity? ​

ts
opacity?: number;

Defined in: layers.ts:123

Inherited from ​

LayerConfig.opacity


blendMode? ​

ts
blendMode?: BlendMode;

Defined in: layers.ts:124

Inherited from ​

LayerConfig.blendMode


order? ​

ts
order?: number;

Defined in: layers.ts:126

Deprecated ​

Initialization hint only; use LayerStack ordering commands at runtime.

Inherited from ​

LayerConfig.order


presentation? ​

ts
presentation?: Partial<LayerPresentation>;

Defined in: layers.ts:127

Inherited from ​

LayerConfig.presentation


brightness? ​

ts
brightness?: number;

Defined in: layers/CurvatureLayer.ts:24

Base gray level (0-1), default 0.5


contrast? ​

ts
contrast?: number;

Defined in: layers/CurvatureLayer.ts:26

How much curvature affects brightness (0-1), default 0.5


smoothness? ​

ts
smoothness?: number;

Defined in: layers/CurvatureLayer.ts:28

Divisor for curvature values - higher = more subtle, default 1


smoothnessScale? ​

ts
smoothnessScale?: CurvatureSmoothnessScale;

Defined in: layers/CurvatureLayer.ts:30

Units of smoothness; see CurvatureSmoothnessScale. Default 'data'.


invert? ​

ts
invert?: boolean;

Defined in: layers/CurvatureLayer.ts:36

Reverse the grey ramp so positive values render lighter. Default false: FreeSurfer-convention data (positive in sulci) renders gyri light and sulci dark. true reproduces the mapping of earlier releases.

Released under the MIT License.