19#ifndef vtkImageWeightedSum_h
20#define vtkImageWeightedSum_h
22#include "vtkImagingMathModule.h"
25VTK_ABI_NAMESPACE_BEGIN
80 VTK_FUTURE_CONST
int ext[6],
int id)
override;
dynamic, self-adjusting array of double
topologically and geometrically regular array of data
static vtkImageWeightedSum * New()
vtkTypeBool NormalizeByWeight
~vtkImageWeightedSum() override
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
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.
int FillInputPortInformation(int i, vtkInformation *info) override
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, VTK_FUTURE_CONST int ext[6], int id) override
If the subclass does not define an Execute method, then the task will be broken up,...
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
vtkThreadedImageAlgorithm()