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);
83 const char *GetOperationAsString();
123 this->SetOutputScalarType(0); };
124 vtkGetMacro(OutputScalarType,
int);
141 vtkSetMacro(OutputScalarType,
int);
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
If the subclass does not define an Execute method, then the task will be broken up,...
#define VTK_IMAGE_SLAB_MAX
void SetOutputScalarTypeToInputScalarType()
vtkTypeBool MultiSliceOutput
Generic filter that has one input.
#define VTK_IMAGE_SLAB_MEAN
vtkTypeBool TrapezoidIntegration
combine image slices to form a slab image
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to translate the update extent requests from each output port ...
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
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 PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetOperationToMean()
topologically and geometrically regular array of data
a simple class to control print indentation
static vtkAlgorithm * New()
#define VTK_IMAGE_SLAB_SUM
void SetOutputScalarTypeToDouble()