VTK  9.3.0
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
28VTK_ABI_NAMESPACE_BEGIN
30class vtkIdList;
31class vtkDataSet;
34
35class VTKFILTERSPARALLEL_EXPORT vtkPHyperTreeGridProbeFilter : public vtkHyperTreeGridProbeFilter
36{
37public:
39
40 void PrintSelf(ostream& os, vtkIndent indent) override;
41
43
45
49 vtkGetObjectMacro(Controller, vtkMultiProcessController);
51
52protected:
54
60
62
67
69
72 bool Reduce(vtkHyperTreeGrid* source, vtkDataSet* output, vtkIdList* localPointIds);
74
75 enum
76 {
77 HYPERTREEGRID_PROBE_COMMUNICATION_TAG = 4242
78 };
79
80 vtkMultiProcessController* Controller = nullptr;
81
82private:
84 void operator=(const vtkPHyperTreeGridProbeFilter&) = delete;
85
86}; // vtkPHyperTreeGridProbeFilter
87
88VTK_ABI_NAMESPACE_END
89#endif // vtkPHyperTreeGridProbeFilter_h
abstract class to specify dataset behavior
Definition vtkDataSet.h:53
abstract base class for objects that implement accelerated searches through HyperTree Grids (HTGs)
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
list of point or cell ids
Definition vtkIdList.h:23
a simple class to control print indentation
Definition vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
probe a vtkHyperTreeGrid in parallel
virtual void SetController(vtkMultiProcessController *)
Set and get the controller.
bool Reduce(vtkHyperTreeGrid *source, vtkDataSet *output, vtkIdList *localPointIds)
Helper method for reducing the distributed data to the master process.
vtkPHyperTreeGridProbeFilter()
Construction methods.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkPHyperTreeGridProbeFilter() override
Construction methods.
static vtkPHyperTreeGridProbeFilter * New()
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Overridden here because it is important that the input be updated on all processes.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)