Skip to content

Interface: VolumeProjectionLayerConfig ​

Defined in: layers.ts:139

Extends ​

Properties ​

visible? ​

ts
visible?: boolean;

Defined in: layers.ts:122

Inherited from ​

DataLayerConfig.visible


opacity? ​

ts
opacity?: number;

Defined in: layers.ts:123

Inherited from ​

DataLayerConfig.opacity


blendMode? ​

ts
blendMode?: BlendMode;

Defined in: layers.ts:124

Inherited from ​

DataLayerConfig.blendMode


order? ​

ts
order?: number;

Defined in: layers.ts:126

Deprecated ​

Initialization hint only; use LayerStack ordering commands at runtime.

Inherited from ​

DataLayerConfig.order


presentation? ​

ts
presentation?: Partial<LayerPresentation>;

Defined in: layers.ts:127

Inherited from ​

DataLayerConfig.presentation


range? ​

ts
range?: [number, number];

Defined in: layers.ts:131

Inherited from ​

DataLayerConfig.range


threshold? ​

ts
threshold?: [number, number];

Defined in: layers.ts:132

Inherited from ​

DataLayerConfig.threshold


thresholdFade? ​

ts
thresholdFade?: ThresholdFade | null;

Defined in: layers.ts:134

Ramp opacity inside an active threshold band. Null restores the hard mask.

Inherited from ​

DataLayerConfig.thresholdFade


magnitudeOpacity? ​

ts
magnitudeOpacity?: MagnitudeOpacity | null;

Defined in: layers.ts:136

Fade colours by |value| (see MagnitudeOpacity); null or absent keeps colormap alpha.

Inherited from ​

DataLayerConfig.magnitudeOpacity


affineMatrix? ​

ts
affineMatrix?: ArrayLike<number> | Matrix4;

Defined in: layers.ts:141

Voxel-to-world affine matrix (column-major) or Matrix4; used to derive world->voxel.


worldToIJK? ​

ts
worldToIJK?: ArrayLike<number> | Matrix4;

Defined in: layers.ts:143

Direct world->voxel transform (column-major) or Matrix4; overrides affineMatrix if provided.


voxelSize? ​

ts
voxelSize?: [number, number, number];

Defined in: layers.ts:145

Simple voxel-to-world fallback when no affine is provided.


volumeOrigin? ​

ts
volumeOrigin?: [number, number, number];

Defined in: layers.ts:147

Simple voxel-to-world fallback when no affine is provided.


colormap? ​

ts
colormap?: 
  | string
  | ColorMap
  | Color[];

Defined in: layers.ts:149

Preset name, independent ColorMap copy, or explicit RGB/RGBA/hex palette.


useHalfFloat? ​

ts
useHalfFloat?: boolean;

Defined in: layers.ts:151

Use HalfFloatType on the GPU (saves memory, costs CPU conversion).


fillValue? ​

ts
fillValue?: number;

Defined in: layers.ts:153

Treat values equal to fillValue as transparent (alpha=0).


projectionMode? ​

ts
projectionMode?: VolumeProjectionMode;

Defined in: layers.ts:155

Projection path. Defaults to 'vertex' for current fast behavior.


sampling? ​

ts
sampling?: VolumeSamplingMode;

Defined in: layers.ts:160

Scalar sampling method for every path: the CPU sampler and the GPU vertex path's 3D texture filter. Defaults to 'nearest' for compatibility.


quality? ​

ts
quality?: VolumeProjectionQuality;

Defined in: layers.ts:162

Quality hint used by hybrid mode. Defaults to 'interactive'.


ribbon? ​

ts
ribbon?: RibbonSamplingConfig;

Defined in: layers.ts:164

Ribbon sampling options for pial/white cortical thickness sampling.

Released under the MIT License.