28 #ifndef vtkImageSlab_h
29 #define vtkImageSlab_h
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 PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkImageSlab * New()
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()
void SetOutputScalarTypeToFloat()
Set the output scalar type to float or double, to avoid potential overflow when doing a summation ope...
const char * GetOperationAsString()
vtkTypeBool TrapezoidIntegration
void SetOutputScalarTypeToDouble()
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
void SetOutputScalarTypeToInputScalarType()
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