VTK  9.4.20241222
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
34VTK_ABI_NAMESPACE_BEGIN
36class vtkIdList;
37class vtkDataSet;
40
41class VTKFILTERSPARALLEL_EXPORT vtkPHyperTreeGridProbeFilter : public vtkHyperTreeGridProbeFilter
42{
43public:
45
46 void PrintSelf(ostream& os, vtkIndent indent) override;
47
49
51
55 vtkGetObjectMacro(Controller, vtkMultiProcessController);
57
58protected:
60
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
96private:
98 void operator=(const vtkPHyperTreeGridProbeFilter&) = delete;
99
100}; // vtkPHyperTreeGridProbeFilter
101
102VTK_ABI_NAMESPACE_END
103#endif // vtkPHyperTreeGridProbeFilter_h
abstract class to specify dataset behavior
Definition vtkDataSet.h:165
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:133
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
probe a vtkHyperTreeGrid in parallel
bool Reduce(vtkHyperTreeGrid *source, vtkDataSet *output, vtkIdList *localPointIds) override
Helper method for reducing the distributed data to the master process.
virtual void SetController(vtkMultiProcessController *)
Set and get the controller.
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.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Overridden to force UseImplicitArrays option to false.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)