31#include "vtkImagingGeneralModule.h"
46 vtkSetClampMacro(Orientation,
int, 0, 2);
50 vtkGetMacro(Orientation,
int);
58 vtkSetVector2Macro(SliceRange,
int);
59 vtkGetVector2Macro(SliceRange,
int);
72 vtkGetMacro(Operation,
int);
111 vtkGetMacro(OutputScalarType,
int);
124 vtkSetMacro(OutputScalarType,
int);
topologically and geometrically regular array of data
combine image slices to form a slab image
void SetOperationToSum()
Set the operation to use when combining slices.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
const char * GetOperationAsString()
Set the operation to use when combining slices.
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int ext[6], int id) override
If the subclass does not define an Execute method, then the task will be broken up,...
void SetOperationToMean()
Set the operation to use when combining slices.
void SetOutputScalarTypeToFloat()
Set the output scalar type to float or double, to avoid potential overflow when doing a summation ope...
void SetOrientationToX()
Set the slice direction: zero for x, 1 for y, 2 for z.
static vtkImageSlab * New()
void SetOperationToMax()
Set the operation to use when combining slices.
vtkTypeBool TrapezoidIntegration
void SetOutputScalarTypeToDouble()
Set the output scalar type to float or double, to avoid potential overflow when doing a summation ope...
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
void SetOrientationToZ()
Set the slice direction: zero for x, 1 for y, 2 for z.
void SetOrientationToY()
Set the slice direction: zero for x, 1 for y, 2 for z.
void SetOutputScalarTypeToInputScalarType()
Set the output scalar type to float or double, to avoid potential overflow when doing a summation ope...
void SetOperationToMin()
Set the operation to use when combining slices.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to translate the update extent requests from each output port ...
vtkTypeBool MultiSliceOutput
a simple class to control print indentation
Generic filter that has one input.
#define VTK_IMAGE_SLAB_MAX
#define VTK_IMAGE_SLAB_MIN
#define VTK_IMAGE_SLAB_SUM
#define VTK_IMAGE_SLAB_MEAN