VTK
vtkPProbeFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPProbeFilter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
24 #ifndef vtkPProbeFilter_h
25 #define vtkPProbeFilter_h
26 
27 #include "vtkFiltersParallelModule.h" // For export macro
29 
31 
32 class VTKFILTERSPARALLEL_EXPORT vtkPProbeFilter : public vtkCompositeDataProbeFilter
33 {
34 public:
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
38  static vtkPProbeFilter *New();
39 
41 
44  virtual void SetController(vtkMultiProcessController*);
45  vtkGetObjectMacro(Controller, vtkMultiProcessController);
47 
48 protected:
50  ~vtkPProbeFilter() override;
51 
52  enum
53  {
54  PROBE_COMMUNICATION_TAG=1970
55  };
56 
57  // Usual data generation method
61 
63 
64 private:
65  vtkPProbeFilter(const vtkPProbeFilter&) = delete;
66  void operator=(const vtkPProbeFilter&) = delete;
67 
68 };
69 
70 #endif
int FillInputPortInformation(int port, vtkInformation *info) override
Change input information to accept composite datasets as the input which is probed into...
Store vtkAlgorithm input/output information.
vtkMultiProcessController * Controller
subclass of vtkProbeFilter which supports composite datasets in the input.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
probe dataset in parallel
a simple class to control print indentation
Definition: vtkIndent.h:33
static vtkCompositeDataProbeFilter * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Handle composite input.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store zero or more vtkInformation instances.
Multiprocessing communication superclass.