Interface: PolylineShapeOptions
Properties
planePoint?
optionalplanePoint:Point3
The annotation plane anchor, which defines the plane's depth. Defaults to the first point of the outline, because every point of a polyline lies in the plane already.
Pass the annotation's own anchor when you have one: a drawn vertex carries rounding error that the anchor does not. Whichever you use, the shape and the iterator MUST use the same anchor, or the two describe different slabs.
Defined in
packages/core/src/utilities/voxelSlab/shapes/createPolylineShape.ts:29
polyline
The outline, as world coordinates: one ring, or an array of rings. Each ring is closed, so do not repeat the first point.
Do NOT flatten multiple rings into one array. That inserts an edge between
them, raises no error, and quietly measures a different shape. See
docs/docs/concepts/cornerstone-tools/annotation/voxel-statistics.md.
Defined in
packages/core/src/utilities/voxelSlab/shapes/createPolylineShape.ts:40
viewPlaneNormal
viewPlaneNormal:
Point3
The annotation view plane normal. Unit length.
Defined in
packages/core/src/utilities/voxelSlab/shapes/createPolylineShape.ts:31
volume
volume:
VolumeGeometry
The volume being measured. Pass an IImageVolume, or any object that has
direction, spacing, origin and dimensions. The structural form
lets a caller that holds no cached volume, such as a test, use this code.
Defined in
packages/core/src/utilities/voxelSlab/shapes/createPolylineShape.ts:19