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;
dynamic, self-adjusting array of double
Generic filter that has one input.
adds any number of images, weighting each according to the weight set using this->SetWeights(i,w).
a simple class to control print indentation
topologically and geometrically regular array of data
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
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, multiple threads will be spawned, and each thread will call this method.
vtkTypeBool NormalizeByWeight
int FillInputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.