38#ifndef vtkImageWeightedSum_h
39#define vtkImageWeightedSum_h
41#include "vtkImagingMathModule.h"
44VTK_ABI_NAMESPACE_BEGIN
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,...
static vtkImageWeightedSum * New()
vtkTypeBool NormalizeByWeight
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int ext[6], int id) override
If the subclass does not define an Execute method, then the task will be broken up,...
int RequestInformation(vtkInformation *vtkNotUsed(request), vtkInformationVector **vtkNotUsed(inputVector), vtkInformationVector *outputVector) override
~vtkImageWeightedSum() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int i, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
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.