13 #ifndef vtkMitkThickSlicesFilter_h
14 #define vtkMitkThickSlicesFilter_h
18 #include <vtkThreadedImageAlgorithm.h>
38 void PrintSelf(ostream &os, vtkIndent indent)
override;
84 int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
override;
90 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
override;
101 vtkInformationVector **,
102 vtkInformationVector *,
103 vtkImageData ***inData,
104 vtkImageData **outData,
106 int threadId)
override;
Computes a thick slice projection from a 3D image stack.
vtkTypeMacro(vtkMitkThickSlicesFilter, vtkThreadedImageAlgorithm)
void SetThickSliceMode(int mode)
Set the thick slice projection mode.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Compute the input update extent from the output request.
void ThreadedRequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int threadId) override
Threaded execution method that applies the selected projection mode.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Propagate output information (reduces Z extent to a single slice).
static vtkMitkThickSlicesFilter * New()
Create a new instance of vtkMitkThickSlicesFilter.
vtkSetMacro(HandleBoundaries, int)
Get/Set whether to handle boundaries.
void PrintSelf(ostream &os, vtkIndent indent) override
Print the filter state to the given output stream.
vtkBooleanMacro(HandleBoundaries, int)
~vtkMitkThickSlicesFilter() override
Destructor.
int GetThickSliceMode()
Get the current thick slice projection mode.
vtkGetMacro(HandleBoundaries, int)
vtkGetMacro(Dimensionality, int)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Execute the filter and process output data arrays.
vtkSetClampMacro(Dimensionality, int, 2, 3)
Determines how the input is interpreted (set of 2D slices). Clamped to [2, 3].
vtkMitkThickSlicesFilter()
Constructor. Sets defaults: HandleBoundaries=1, Dimensionality=2, mode=MIP.