Go to the documentation of this file.
31 #ifndef vtkImageWeightedSum_h
32 #define vtkImageWeightedSum_h
34 #include "vtkImagingMathModule.h"
67 vtkSetClampMacro(NormalizeByWeight,
vtkTypeBool, 0, 1);
74 double CalculateTotalWeight();
94 int ext[6],
int id)
override;
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,...
Generic filter that has one input.
vtkTypeBool NormalizeByWeight
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 PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
topologically and geometrically regular array of data
a simple class to control print indentation
static vtkAlgorithm * New()
adds any number of images, weighting each according to the weight set using this->SetWeights(i,...
dynamic, self-adjusting array of double
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.