28 #ifndef vtkImageSlab_h
29 #define vtkImageSlab_h
31 #include "vtkImagingGeneralModule.h"
46 vtkSetClampMacro(Orientation,
int, 0, 2);
48 this->SetOrientation(0); };
50 this->SetOrientation(1); };
52 this->SetOrientation(2); };
53 vtkGetMacro(Orientation,
int);
61 vtkSetVector2Macro(SliceRange,
int);
62 vtkGetVector2Macro(SliceRange,
int);
79 vtkGetMacro(Operation,
int);
80 const char *GetOperationAsString();
92 vtkGetMacro(TrapezoidIntegration,
int);
105 vtkGetMacro(MultiSliceOutput,
int);
120 this->SetOutputScalarType(0); };
121 vtkGetMacro(OutputScalarType,
int);
129 vtkInformationVector *) VTK_OVERRIDE;
130 int RequestUpdateExtent(vtkInformation *, vtkInformationVector **,
131 vtkInformationVector *) VTK_OVERRIDE;
132 void ThreadedRequestData(vtkInformation *request,
133 vtkInformationVector **inputVector,
134 vtkInformationVector *outputVector,
136 vtkImageData **outData,
int ext[6],
int id) VTK_OVERRIDE;
143 int OutputScalarType;
144 int MultiSliceOutput;
145 int TrapezoidIntegration;
149 void operator=(const
vtkImageSlab&) VTK_DELETE_FUNCTION;
void SetOperationToMin()
Set the operation to use when combining slices.
#define VTK_IMAGE_SLAB_MAX
void SetOperationToMean()
Set the operation to use when combining slices.
#define VTK_IMAGE_SLAB_MIN
void SetOperationToMax()
Set the operation to use when combining slices.
void SetOrientationToZ()
Set the slice direction: zero for x, 1 for y, 2 for z.
#define VTK_IMAGE_SLAB_SUM
#define VTK_IMAGE_SLAB_MEAN
void SetOrientationToY()
Set the slice direction: zero for x, 1 for y, 2 for z.
void SetOperationToSum()
Set the operation to use when combining slices.
void SetOrientationToX()
Set the slice direction: zero for x, 1 for y, 2 for z.
void SetOutputScalarTypeToFloat()
Set the output scalar type to float or double, to avoid potential overflow when doing a summation ope...
Generic filter that has one input.
combine image slices to form a slab image
void SetOutputScalarTypeToDouble()
Set the output scalar type to float or double, to avoid potential overflow when doing a summation ope...
a simple class to control print indentation
topologically and geometrically regular array of data
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void SetOutputScalarTypeToInputScalarType()
Set the output scalar type to float or double, to avoid potential overflow when doing a summation ope...
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.