30 #ifndef __vtkImageSlab_h
31 #define __vtkImageSlab_h
35 #define VTK_IMAGE_SLAB_MIN 0
36 #define VTK_IMAGE_SLAB_MAX 1
37 #define VTK_IMAGE_SLAB_MEAN 2
38 #define VTK_IMAGE_SLAB_SUM 3
50 vtkSetClampMacro(Orientation,
int, 0, 2);
52 this->SetOrientation(0); };
54 this->SetOrientation(1); };
56 this->SetOrientation(2); };
57 vtkGetMacro(Orientation,
int);
63 vtkSetVector2Macro(SliceRange,
int);
64 vtkGetVector2Macro(SliceRange,
int);
70 vtkSetClampMacro(Operation,
int, 0, 3);
79 vtkGetMacro(Operation,
int);
80 const char *GetOperationAsString();
88 vtkSetMacro(TrapezoidIntegration,
int);
89 vtkBooleanMacro(TrapezoidIntegration,
int);
90 vtkGetMacro(TrapezoidIntegration,
int);
99 vtkSetMacro(MultiSliceOutput,
int);
100 vtkBooleanMacro(MultiSliceOutput,
int);
101 vtkGetMacro(MultiSliceOutput,
int);
114 this->SetOutputScalarType(0); };
115 vtkGetMacro(OutputScalarType,
int);
132 vtkSetMacro(OutputScalarType,
int);
void SetOperationToMean()
#define VTK_IMAGE_SLAB_MIN
#define VTK_IMAGE_SLAB_MEAN
void SetOutputScalarTypeToFloat()
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Generic filter that has one input..
combine image slices to form a slab image
void SetOutputScalarTypeToDouble()
#define VTK_IMAGE_SLAB_MAX
a simple class to control print indentation
topologically and geometrically regular array of data
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
#define VTK_IMAGE_SLAB_SUM
void SetOutputScalarTypeToInputScalarType()
static vtkAlgorithm * New()