33 #ifndef vtkReductionFilter_h 34 #define vtkReductionFilter_h 36 #include "vtkDataObjectAlgorithm.h" 37 #include "vtkPVVTKExtensionsRenderingModule.h" 38 #include "vtkSmartPointer.h" 41 class vtkMultiProcessController;
48 void PrintSelf(ostream& os, vtkIndent indent);
55 void SetPreGatherHelper(vtkAlgorithm*);
56 void SetPreGatherHelperName(
const char*);
57 vtkGetObjectMacro(PreGatherHelper, vtkAlgorithm);
67 void SetPostGatherHelper(vtkAlgorithm*);
68 void SetPostGatherHelperName(
const char*);
69 vtkGetObjectMacro(PostGatherHelper, vtkAlgorithm);
75 void SetController(vtkMultiProcessController*);
84 vtkSetMacro(PassThrough,
int);
85 vtkGetMacro(PassThrough,
int);
95 vtkSetMacro(GenerateProcessIds,
int);
96 vtkGetMacro(GenerateProcessIds,
int);
101 TRANSMIT_DATA_OBJECT = 23484
110 virtual int FillInputPortInformation(
int port, vtkInformation* info);
112 virtual int RequestDataObject(vtkInformation* request, vtkInformationVector** inputVector,
113 vtkInformationVector* outputVector);
114 virtual int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
115 vtkInformationVector* outputVector);
117 void Reduce(vtkDataObject* input, vtkDataObject* output);
118 vtkDataObject* PreProcess(vtkDataObject* input);
120 vtkDataObject* output, vtkSmartPointer<vtkDataObject> inputs[],
unsigned int num_inputs);
127 int GatherSelection(vtkSelection* sendData,
128 std::vector<vtkSmartPointer<vtkDataObject> >& receiveData,
int destProcessId);
vtkMultiProcessController * Controller
vtkAlgorithm * PreGatherHelper
vtkAlgorithm * PostGatherHelper
A generic filter that can reduce any type of dataset using any reduction algorithm.