38#ifndef vtkImageWeightedSum_h
39#define vtkImageWeightedSum_h
41#include "vtkImagingMathModule.h"
44VTK_ABI_NAMESPACE_BEGIN
99 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
These method should be reimplemented by subclasses that have more than a single input or single outpu...
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()