VTK  9.7.1
vtkPHyperTreeGridProbeFilter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
27 #ifndef vtkPHyperTreeGridProbeFilter_h
28 #define vtkPHyperTreeGridProbeFilter_h
29 
30 #include "vtkFiltersParallelModule.h" //For export Macro
32 #include "vtkSmartPointer.h" //For Locator member
33 
34 VTK_ABI_NAMESPACE_BEGIN
36 class vtkIdList;
37 class vtkDataSet;
38 class vtkHyperTreeGrid;
40 
41 class VTKFILTERSPARALLEL_EXPORT vtkPHyperTreeGridProbeFilter : public vtkHyperTreeGridProbeFilter
42 {
43 public:
45 
46  void PrintSelf(ostream& os, vtkIndent indent) override;
47 
49 
51 
54  virtual void SetController(vtkMultiProcessController*);
55  vtkGetObjectMacro(Controller, vtkMultiProcessController);
57 
58 protected:
60 
64  ~vtkPHyperTreeGridProbeFilter() override;
66 
68 
73 
75 
81 
83 
86  bool Reduce(vtkHyperTreeGrid* source, vtkDataSet* output, vtkIdList* localPointIds) override;
88 
89  enum
90  {
91  HYPERTREEGRID_PROBE_COMMUNICATION_TAG = 4242
92  };
93 
94  vtkMultiProcessController* Controller = nullptr;
95 
96 private:
98  void operator=(const vtkPHyperTreeGridProbeFilter&) = delete;
99 
100 }; // vtkPHyperTreeGridProbeFilter
101 
102 VTK_ABI_NAMESPACE_END
103 #endif // vtkPHyperTreeGridProbeFilter_h
static vtkHyperTreeGridProbeFilter * New()
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:56
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Methods for processing requests.
probe a vtkHyperTreeGrid in parallel
a simple class to control print indentation
Definition: vtkIndent.h:28
list of point or cell ids
Definition: vtkIdList.h:25
abstract base class for objects that implement accelerated searches through HyperTree Grids (HTGs) ...
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
virtual bool Reduce(vtkHyperTreeGrid *source, vtkDataSet *output, vtkIdList *localPointIds)
Helper method for reducing the data after probing.
Store zero or more vtkInformation instances.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Methods for processing requests.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Multiprocessing communication superclass.