31 #ifndef vtkImageWeightedSum_h
32 #define vtkImageWeightedSum_h
34 #include "vtkImagingMathModule.h"
66 vtkGetMacro(NormalizeByWeight,
int);
67 vtkSetClampMacro(NormalizeByWeight,
int, 0, 1);
dynamic, self-adjusting array of double
topologically and geometrically regular array of data
adds any number of images, weighting each according to the weight set using this->SetWeights(i,...
int FillInputPortInformation(int i, vtkInformation *info)
Fill the input port information objects for this algorithm.
int RequestInformation(vtkInformation *vtkNotUsed(request), vtkInformationVector **vtkNotUsed(inputVector), vtkInformationVector *outputVector)
static vtkImageWeightedSum * New()
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,...
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
double CalculateTotalWeight()
Compute the total value of all the weight.
virtual void SetWeights(vtkDoubleArray *)
The weights control the contribution of each input to the sum.
virtual void SetWeight(vtkIdType id, double weight)
Change a specific weight.
a simple class to control print indentation
Generic filter that has one input.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.