Skip to content

Interface: ParcelPuzzleOptions ​

Defined in: puzzle/ParcelPuzzle.ts:8

Extends ​

Extended by ​

Properties ​

separation? ​

ts
optional separation?: number;

Defined in: puzzle/ParcelPuzzle.ts:10

Fractional expansion of parcel centers about the whole mesh center. Default 0.04.


relief? ​

ts
optional relief?: number;

Defined in: puzzle/ParcelPuzzle.ts:12

Local curvature/thickness scale along each parcel's mean normal: 0.15–1. Default 1.


hoverLift? ​

ts
optional hoverLift?: number;

Defined in: puzzle/ParcelPuzzle.ts:14

Hover displacement in mesh units. Default 4% of the mesh radius.


selectionLift? ​

ts
optional selectionLift?: number;

Defined in: puzzle/ParcelPuzzle.ts:16

Extra clearance in front of the assembled brain on selection. Default 12% of radius.


color? ​

ts
optional color?: (parcel) => ColorRepresentation;

Defined in: puzzle/ParcelPuzzle.ts:17

Parameters ​

parcel ​

Readonly<ParcelRecord>

Returns ​

ColorRepresentation


thickness? ​

ts
optional thickness?: number;

Defined in: puzzle/buildParcelPuzzle.ts:16

Display thickness in mesh coordinate units, not an anatomical thickness estimate.

Inherited from ​

ParcelPuzzleGeometryOptions.thickness


backgroundLabel? ​

ts
optional backgroundLabel?: number;

Defined in: puzzle/buildParcelPuzzle.ts:18

Vertices with this label are omitted. Defaults to 0.

Inherited from ​

ParcelPuzzleGeometryOptions.backgroundLabel

Released under the MIT License.