Function: cropVolumeByCroppingPlanes()
cropVolumeByCroppingPlanes(
vtkVolume,croppingPlanes):vtkImageData
Defined in: src/cropping/index.ts:73
Crops a VTK volume using specified cropping planes.
This function applies cropping planes to a vtkImageData volume and returns the cropped volume.
The cropping planes define the boundaries of the crop operation in voxel coordinates, ordered as:
[minX, maxX, minY, maxY, minZ, maxZ].
Parameters
vtkVolume
vtkImageData
croppingPlanes
TCroppingPlanes
Returns
vtkImageData