VTK  9.5.20250902
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#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
37
38#include <map> // For std::map
39
40VTK_ABI_NAMESPACE_BEGIN
42class vtkDataSet;
44template <typename T>
45class vtkSmartPointer;
46
48{
49public:
52 void PrintSelf(ostream& os, vtkIndent indent) override;
53
55
67 vtkSetMacro(PassPartialArrays, bool);
68 vtkGetMacro(PassPartialArrays, bool);
69 vtkBooleanMacro(PassPartialArrays, bool);
71
79
81
94 vtkSetMacro(UseImplicitArrays, bool);
95 vtkGetMacro(UseImplicitArrays, bool);
96 vtkBooleanMacro(UseImplicitArrays, bool);
98
99protected:
102
107 int FillInputPortInformation(int port, vtkInformation* info) override;
108
113
117 void InitializeOutputArrays(vtkPointData* outPD, vtkIdType numPts) override;
118
123
128
130
131private:
133 void operator=(const vtkCompositeDataProbeFilter&) = delete;
134
135 std::map<vtkDataSet*, vtkSmartPointer<vtkFindCellStrategy>> StrategyMap;
136
137 bool UseImplicitArrays = false;
138};
139
140VTK_ABI_NAMESPACE_END
141#endif
subclass of vtkProbeFilter which supports composite datasets in the input.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkCompositeDataProbeFilter() override
void InitializeOutputArrays(vtkPointData *outPD, vtkIdType numPts) override
Initializes output and various arrays which keep track for probing status.
static vtkCompositeDataProbeFilter * New()
int FillInputPortInformation(int port, vtkInformation *info) override
Change input information to accept composite datasets as the input which is probed into.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Handle composite input.
int BuildFieldList(vtkCompositeDataSet *source)
Builds the field list using the composite dataset source.
vtkExecutive * CreateDefaultExecutive() override
Create a default executive.
void SetFindCellStrategyMap(const std::map< vtkDataSet *, vtkSmartPointer< vtkFindCellStrategy > > &map)
Set the structure mapping a dataset belonging to the composite input to its FindCell strategy.
abstract superclass for composite (multi-block or AMR) datasets
abstract class to specify dataset behavior
Definition vtkDataSet.h:165
Superclass for all pipeline executives in VTK.
helper class to manage the vtkPointSet::FindCell() method
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
represent and manipulate point attribute data
sample data values at specified point locations
Hold a reference to a vtkObjectBase instance.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
int vtkIdType
Definition vtkType.h:332
#define VTK_MARSHALAUTO