Skip to main content

Function: cropVolumeByCroppingPlanes()

cropVolumeByCroppingPlanes(vtkVolume, croppingPlanes): vtkImageData

Defined in: src/cropping/index.ts:78

Crops a VTK volume using specified cropping planes.

Parameters​

vtkVolume​

vtkImageData

Source vtk.js volume.

croppingPlanes​

TCroppingPlanes

Crop bounds ordered as [minX, maxX, minY, maxY, minZ, maxZ].

Returns​

vtkImageData

Cropped vtk.js volume.