28 #ifndef vtkImageWeightedSum_h 29 #define vtkImageWeightedSum_h 31 #include "vtkImagingMathModule.h" 64 vtkSetClampMacro(NormalizeByWeight,
vtkTypeBool, 0, 1);
71 double CalculateTotalWeight();
91 int ext[6],
int id)
override;
dynamic, self-adjusting array of double
Generic filter that has one input.
adds any number of images, weighting each according to the weight set using this->SetWeights(i,...
a simple class to control print indentation
topologically and geometrically regular array of data
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
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,...
vtkTypeBool NormalizeByWeight
int FillInputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.