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);
95 vtkGetMacro(TrapezoidIntegration,
int);
108 vtkGetMacro(MultiSliceOutput,
int);
123 this->SetOutputScalarType(0); };
124 vtkGetMacro(OutputScalarType,
int);
152 void operator=(
const vtkImageSlab&) VTK_DELETE_FUNCTION;
topologically and geometrically regular array of data
combine image slices to form a slab image
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkImageSlab * New()
void SetOperationToMean()
void SetOutputScalarTypeToFloat()
Set the output scalar type to float or double, to avoid potential overflow when doing a summation ope...
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int ext[6], int id)
If the subclass does not define an Execute method, then the task will be broken up,...
const char * GetOperationAsString()
void SetOutputScalarTypeToDouble()
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 *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to collect information from their inputs and set information f...
void SetOutputScalarTypeToInputScalarType()
a simple class to control print indentation
Generic filter that has one input.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
#define VTK_IMAGE_SLAB_MAX
#define VTK_IMAGE_SLAB_MIN
#define VTK_IMAGE_SLAB_SUM
#define VTK_IMAGE_SLAB_MEAN