VTK  9.3.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
21 #ifndef vtkPHyperTreeGridProbeFilter_h
22 #define vtkPHyperTreeGridProbeFilter_h
23 
24 #include "vtkFiltersParallelModule.h" //For export Macro
26 #include "vtkSmartPointer.h" //For Locator member
27 
28 VTK_ABI_NAMESPACE_BEGIN
30 class vtkIdList;
31 class vtkDataSet;
32 class vtkHyperTreeGrid;
34 
35 class VTKFILTERSPARALLEL_EXPORT vtkPHyperTreeGridProbeFilter : public vtkHyperTreeGridProbeFilter
36 {
37 public:
39 
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
43 
45 
48  virtual void SetController(vtkMultiProcessController*);
49  vtkGetObjectMacro(Controller, vtkMultiProcessController);
51 
52 protected:
54 
58  ~vtkPHyperTreeGridProbeFilter() override;
60 
62 
67 
69 
72  bool Reduce(vtkHyperTreeGrid* source, vtkDataSet* output, vtkIdList* localPointIds) override;
74 
75  enum
76  {
77  HYPERTREEGRID_PROBE_COMMUNICATION_TAG = 4242
78  };
79 
80  vtkMultiProcessController* Controller = nullptr;
81 
82 private:
84  void operator=(const vtkPHyperTreeGridProbeFilter&) = delete;
85 
86 }; // vtkPHyperTreeGridProbeFilter
87 
88 VTK_ABI_NAMESPACE_END
89 #endif // vtkPHyperTreeGridProbeFilter_h
static vtkHyperTreeGridProbeFilter * New()
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:52
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:22
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.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Multiprocessing communication superclass.