Skip to content

Interface: VolumeProjectionLayerConfig ​

Defined in: layers.ts:127

Extends ​

Properties ​

visible? ​

ts
optional visible?: boolean;

Defined in: layers.ts:114

Inherited from ​

DataLayerConfig.visible


opacity? ​

ts
optional opacity?: number;

Defined in: layers.ts:115

Inherited from ​

DataLayerConfig.opacity


blendMode? ​

ts
optional blendMode?: BlendMode;

Defined in: layers.ts:116

Inherited from ​

DataLayerConfig.blendMode


order? ​

ts
optional order?: number;

Defined in: layers.ts:118

Deprecated ​

Initialization hint only; use LayerStack ordering commands at runtime.

Inherited from ​

DataLayerConfig.order


presentation? ​

ts
optional presentation?: Partial<LayerPresentation>;

Defined in: layers.ts:119

Inherited from ​

DataLayerConfig.presentation


range? ​

ts
optional range?: [number, number];

Defined in: layers.ts:123

Inherited from ​

DataLayerConfig.range


threshold? ​

ts
optional threshold?: [number, number];

Defined in: layers.ts:124

Inherited from ​

DataLayerConfig.threshold


affineMatrix? ​

ts
optional affineMatrix?: ArrayLike<number> | Matrix4;

Defined in: layers.ts:129

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


worldToIJK? ​

ts
optional worldToIJK?: ArrayLike<number> | Matrix4;

Defined in: layers.ts:131

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


voxelSize? ​

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

Defined in: layers.ts:133

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


volumeOrigin? ​

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

Defined in: layers.ts:135

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


colormap? ​

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

Defined in: layers.ts:137

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


useHalfFloat? ​

ts
optional useHalfFloat?: boolean;

Defined in: layers.ts:139

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


fillValue? ​

ts
optional fillValue?: number;

Defined in: layers.ts:141

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


projectionMode? ​

ts
optional projectionMode?: VolumeProjectionMode;

Defined in: layers.ts:143

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


sampling? ​

ts
optional sampling?: VolumeSamplingMode;

Defined in: layers.ts:148

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
optional quality?: VolumeProjectionQuality;

Defined in: layers.ts:150

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


ribbon? ​

ts
optional ribbon?: RibbonSamplingConfig;

Defined in: layers.ts:152

Ribbon sampling options for pial/white cortical thickness sampling.

Released under the MIT License.