Skip to content

Interface: VolumeProjectionLayerConfig ​

Defined in: layers.ts:135

Extends ​

Properties ​

visible? ​

ts
visible?: boolean;

Defined in: layers.ts:120

Inherited from ​

DataLayerConfig.visible


opacity? ​

ts
opacity?: number;

Defined in: layers.ts:121

Inherited from ​

DataLayerConfig.opacity


blendMode? ​

ts
blendMode?: BlendMode;

Defined in: layers.ts:122

Inherited from ​

DataLayerConfig.blendMode


order? ​

ts
order?: number;

Defined in: layers.ts:124

Deprecated ​

Initialization hint only; use LayerStack ordering commands at runtime.

Inherited from ​

DataLayerConfig.order


presentation? ​

ts
presentation?: Partial<LayerPresentation>;

Defined in: layers.ts:125

Inherited from ​

DataLayerConfig.presentation


range? ​

ts
range?: [number, number];

Defined in: layers.ts:129

Inherited from ​

DataLayerConfig.range


threshold? ​

ts
threshold?: [number, number];

Defined in: layers.ts:130

Inherited from ​

DataLayerConfig.threshold


magnitudeOpacity? ​

ts
magnitudeOpacity?: MagnitudeOpacity | null;

Defined in: layers.ts:132

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:137

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


worldToIJK? ​

ts
worldToIJK?: ArrayLike<number> | Matrix4;

Defined in: layers.ts:139

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


voxelSize? ​

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

Defined in: layers.ts:141

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


volumeOrigin? ​

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

Defined in: layers.ts:143

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


colormap? ​

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

Defined in: layers.ts:145

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


useHalfFloat? ​

ts
useHalfFloat?: boolean;

Defined in: layers.ts:147

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


fillValue? ​

ts
fillValue?: number;

Defined in: layers.ts:149

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


projectionMode? ​

ts
projectionMode?: VolumeProjectionMode;

Defined in: layers.ts:151

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


sampling? ​

ts
sampling?: VolumeSamplingMode;

Defined in: layers.ts:156

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:158

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


ribbon? ​

ts
ribbon?: RibbonSamplingConfig;

Defined in: layers.ts:160

Ribbon sampling options for pial/white cortical thickness sampling.

Released under the MIT License.