VTK  9.3.1
vtkCompositeDataProbeFilter.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
31 #ifndef vtkCompositeDataProbeFilter_h
32 #define vtkCompositeDataProbeFilter_h
33 
34 #include "vtkFiltersCoreModule.h" // For export macro
35 #include "vtkProbeFilter.h"
36 
37 #include <map> // For std::map
38 
39 VTK_ABI_NAMESPACE_BEGIN
41 class vtkDataSet;
43 template <typename T>
44 class vtkSmartPointer;
45 
46 class VTKFILTERSCORE_EXPORT vtkCompositeDataProbeFilter : public vtkProbeFilter
47 {
48 public:
51  void PrintSelf(ostream& os, vtkIndent indent) override;
52 
54 
66  vtkSetMacro(PassPartialArrays, bool);
67  vtkGetMacro(PassPartialArrays, bool);
68  vtkBooleanMacro(PassPartialArrays, bool);
70 
76  void SetFindCellStrategyMap(
77  const std::map<vtkDataSet*, vtkSmartPointer<vtkFindCellStrategy>>& map);
78 
79 protected:
81  ~vtkCompositeDataProbeFilter() override;
82 
88 
93 
97  void InitializeOutputArrays(vtkPointData* outPD, vtkIdType numPts) override;
98 
103 
108 
110 
111 private:
113  void operator=(const vtkCompositeDataProbeFilter&) = delete;
114 
115  std::map<vtkDataSet*, vtkSmartPointer<vtkFindCellStrategy>> StrategyMap;
116 };
117 
118 VTK_ABI_NAMESPACE_END
119 #endif
sample data values at specified point locations
represent and manipulate point attribute data
Definition: vtkPointData.h:29
virtual vtkExecutive * CreateDefaultExecutive()
Create a default executive.
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:52
virtual void InitializeOutputArrays(vtkPointData *outPD, vtkIdType numPts)
subclass of vtkProbeFilter which supports composite datasets in the input.
void BuildFieldList(vtkDataSet *source)
Build the field lists.
Hold a reference to a vtkObjectBase instance.
Definition: vtkMeta.h:23
int vtkIdType
Definition: vtkType.h:315
Superclass for all pipeline executives in VTK.
Definition: vtkExecutive.h:38
helper class to manage the vtkPointSet::FindCell() METHOD
abstract superclass for composite (multi-block or AMR) datasets
a simple class to control print indentation
Definition: vtkIndent.h:28
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
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.
static vtkProbeFilter * New()
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.