Go to the documentation of this file.
31 #ifndef vtkImageSlab_h
32 #define vtkImageSlab_h
34 #include "vtkImagingGeneralModule.h"
49 vtkSetClampMacro(Orientation,
int, 0, 2);
51 this->SetOrientation(0); };
53 this->SetOrientation(1); };
55 this->SetOrientation(2); };
56 vtkGetMacro(Orientation,
int);
64 vtkSetVector2Macro(SliceRange,
int);
65 vtkGetVector2Macro(SliceRange,
int);
82 vtkGetMacro(Operation,
int);
123 this->SetOutputScalarType(0); };
124 vtkGetMacro(OutputScalarType,
int);
141 vtkSetMacro(OutputScalarType,
int);
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,...
#define VTK_IMAGE_SLAB_MAX
static vtkImageSlab * New()
void SetOutputScalarTypeToInputScalarType()
vtkTypeBool MultiSliceOutput
Generic filter that has one input.
const char * GetOperationAsString()
#define VTK_IMAGE_SLAB_MEAN
vtkTypeBool TrapezoidIntegration
combine image slices to form a slab image
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
void SetOutputScalarTypeToFloat()
Set the output scalar type to float or double, to avoid potential overflow when doing a summation ope...
#define VTK_IMAGE_SLAB_MIN
void SetOperationToMean()
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to translate the update extent requests from each output port ...
topologically and geometrically regular array of data
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_IMAGE_SLAB_SUM
void SetOutputScalarTypeToDouble()