|
int | Apply (vtkMRMLCropVolumeParametersNode *) |
| Crop input volume using the specified ROI node.
|
|
int | CropInterpolated (vtkMRMLDisplayableNode *roi, vtkMRMLVolumeNode *inputVolume, vtkMRMLVolumeNode *outputNode, bool isotropicResampling, double spacingScale, int interpolationMode, double fillValue) |
| Perform interpolated cropping.
|
|
virtual const char * | GetClassName () |
|
vtkMRMLTransformNode * | GetReorientTransformNode (vtkMRMLCropVolumeParametersNode *parametersNode) |
|
virtual int | IsA (const char *type) |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
|
void | RegisterNodes () override |
|
bool | ReorientVolumeEnd (vtkMRMLCropVolumeParametersNode *parametersNode, bool apply) |
|
bool | ReorientVolumeStart (vtkMRMLCropVolumeParametersNode *parametersNode) |
|
virtual vtkSlicerApplicationLogic * | GetApplicationLogic () |
| Get access to overall application state.
|
|
virtual vtkMRMLAbstractLogic * | GetModuleLogic (const char *moduleName) |
| Convenience method for getting another module's logic from the application logic.
|
|
std::string | GetModuleShareDirectory () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
|
void | SetModuleShareDirectory (const std::string &shareDirectory) |
|
virtual vtkMRMLApplicationLogic * | GetMRMLApplicationLogic () const |
| Get access to overall application state.
|
|
vtkMRMLScene * | GetMRMLScene () const |
| Return a reference to the current MRML scene.
|
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
|
virtual void | SetMRMLApplicationLogic (vtkMRMLApplicationLogic *logic) |
|
void | SetMRMLScene (vtkMRMLScene *newScene) |
| Set and observe the MRMLScene.
|
|
|
static int | CropVoxelBased (vtkMRMLDisplayableNode *roi, vtkMRMLVolumeNode *inputVolume, vtkMRMLVolumeNode *outputNode, bool limitToInputExtent=true, double fillValue=0.0) |
|
static bool | FitROI (vtkMRMLCropVolumeParametersNode *parametersNode) |
| Sets ROI to fit to input volume. Orientation of the ROI set based on FitROIMode setting.
|
|
static bool | FitROIToInputVolume (vtkMRMLCropVolumeParametersNode *parametersNode) |
|
static bool | GetInterpolatedCropOutputGeometry (vtkMRMLDisplayableNode *roi, vtkMRMLVolumeNode *inputVolume, bool isotropicResampling, double spacingScale, int outputExtent[6], double outputSpacing[3]) |
| Computes output volume geometry for interpolated cropping (without actually cropping the image).
|
|
static bool | GetVoxelBasedCropOutputExtent (vtkMRMLDisplayableNode *roi, vtkMRMLVolumeNode *inputVolume, int outputExtent[6], bool limitToInputExtent=false) |
|
static bool | IsROIAlignedWithInputVolume (vtkMRMLCropVolumeParametersNode *parametersNode) |
|
static bool | IsROIAlignedWithWorld (vtkMRMLCropVolumeParametersNode *parametersNode) |
|
static int | IsTypeOf (const char *type) |
|
static vtkSlicerCropVolumeLogic * | New () |
|
static vtkSlicerCropVolumeLogic * | SafeDownCast (vtkObject *o) |
|
static void | SnapROIToVoxelGrid (vtkMRMLCropVolumeParametersNode *parametersNode) |
|
static void | SnapROIToWorld (vtkMRMLCropVolumeParametersNode *parametersNode) |
|
static int | IsTypeOf (const char *type) |
|
static vtkSlicerModuleLogic * | New () |
| The Usual vtk class functions.
|
|
static vtkSlicerModuleLogic * | SafeDownCast (vtkObject *o) |
|
static int | IsTypeOf (const char *type) |
|
static vtkMRMLAbstractLogic * | New () |
|
static vtkMRMLAbstractLogic * | SafeDownCast (vtkObject *o) |
|
|
static void | MRMLLogicsCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
| MRMLLogicCallback is a static function to relay modified events from the logics.
|
|
static void | MRMLNodesCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
| MRMLNodesCallback is a static function to relay modified events from the nodes.
|
|
static void | MRMLSceneCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
|
Crop a volume to the specified region of interest.
This class implements cropping and resampling of a volume. Two main use cases:
- Reduce size (both extent and resolution) of a large volume. Size reduction is useful, as it reduces memory need and makes visualization and processing faster.
- Increase resolution of a specific region. Increasing resolution (decreasing voxel size) is useful for segmentation and visualization of fine details.
If interpolation is disabled then only the extent of the volume is decreased. Cropping without resampling is very fast and needs almost no extra memory.
If interpolation is enabled, then both the size and resolution of the volume can be changed.
Limitations:
- Region of interest (ROI) node cannot be under non-linear transform
- Cropped output volume node cannot be under non-linear transform
- If interpolation is disabled: input volume node cannot be under non-linear transform and ROI node must be aligned with the input volume
Definition at line 63 of file vtkSlicerCropVolumeLogic.h.