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 =========================================================================*/
27 #ifndef vtkPProbeFilter_h
28 #define vtkPProbeFilter_h
29 
30 #include "vtkFiltersParallelModule.h" // For export macro
32 
34 
35 class VTKFILTERSPARALLEL_EXPORT vtkPProbeFilter : public vtkCompositeDataProbeFilter
36 {
37 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
41  static vtkPProbeFilter *New();
42 
44 
47  virtual void SetController(vtkMultiProcessController*);
48  vtkGetObjectMacro(Controller, vtkMultiProcessController);
50 
51 protected:
53  ~vtkPProbeFilter() override;
54 
55  enum
56  {
57  PROBE_COMMUNICATION_TAG=1970
58  };
59 
60  // Usual data generation method
64 
66 
67 private:
68  vtkPProbeFilter(const vtkPProbeFilter&) = delete;
69  void operator=(const vtkPProbeFilter&) = delete;
70 
71 };
72 
73 #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:39
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.