ImageCropFilter
Introduction
The vtkImageCropFilter will crop a vtkImageData. This will only crop against IJK-aligned planes.
Note this is slow on large datasets due to CPU-bound cropping.
Methods
extend
Method used to decorate a given object (publicAPI+model) with vtkImageCropFilter characteristics.
| Argument | Type | Required | Description |
|---|---|---|---|
publicAPI | Yes | object on which methods will be bounds (public) | |
model | Yes | object on which data structure will be bounds (protected) | |
initialValues | IImageCropFilterInitialValues | No | (default: {}) |
getCroppingPlanes
Get The cropping planes, in IJK space.
getCroppingPlanesByReference
Get The cropping planes, in IJK space.
isResetAvailable
newInstance
Method used to create a new instance of vtkImageCropFilter
| Argument | Type | Required | Description |
|---|---|---|---|
initialValues | IImageCropFilterInitialValues | No | for pre-setting some of its content |
requestData
| Argument | Type | Required | Description |
|---|---|---|---|
inData | Yes | ||
outData | Yes |
reset
setCroppingPlanes
| Argument | Type | Required | Description |
|---|---|---|---|
croppingPlanes | Yes |
setCroppingPlanesFrom
| Argument | Type | Required | Description |
|---|---|---|---|
croppingPlanes | Yes |