VTK  9.6.20260524
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
30
31#ifndef vtkCompositeDataProbeFilter_h
32#define vtkCompositeDataProbeFilter_h
33
34#include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_7_0
35#include "vtkFiltersCoreModule.h" // For export macro
36#include "vtkProbeFilter.h"
37#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
38
39#include <map> // For std::map
40
41VTK_ABI_NAMESPACE_BEGIN
44class vtkDataSet;
46template <typename T>
47class vtkSmartPointer;
48
50{
51public:
54 void PrintSelf(ostream& os, vtkIndent indent) override;
55
57
69 vtkSetMacro(PassPartialArrays, bool);
70 vtkGetMacro(PassPartialArrays, bool);
71 vtkBooleanMacro(PassPartialArrays, bool);
73
75
81 VTK_DEPRECATED_IN_9_7_0("Use SetCellLocatorMap() instead.")
85
87
100 vtkSetMacro(UseImplicitArrays, bool);
101 vtkGetMacro(UseImplicitArrays, bool);
102 vtkBooleanMacro(UseImplicitArrays, bool);
104
105protected:
108
110
115 int FillInputPortInformation(int port, vtkInformation* info) override;
116
121
125 void InitializeOutputArrays(vtkPointData* outPD, vtkIdType numPts) override;
126
131
136
138
139private:
141 void operator=(const vtkCompositeDataProbeFilter&) = delete;
142
144
145 bool UseImplicitArrays = false;
146};
147
148VTK_ABI_NAMESPACE_END
149#endif
an abstract base class for locators which find cells
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void InitializeOutputArrays(vtkPointData *outPD, vtkIdType numPts) override
Initializes output and various arrays which keep track for probing status.
void SetCellLocatorMap(const std::map< vtkDataSet *, vtkSmartPointer< vtkAbstractCellLocator > > &map)
Set the structure mapping a dataset belonging to the composite input to its Cell Locator.
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 Cell Locator.
void ReportReferences(vtkGarbageCollector *) override
abstract superclass for composite (multi-block or AMR) datasets
abstract class to specify dataset behavior
Definition vtkDataSet.h:166
Superclass for all pipeline executives in VTK.
helper class to manage the vtkPointSet::FindCell() method
Detect and break reference loops.
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
Hold a reference to a vtkObjectBase instance.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
#define VTK_DEPRECATED_IN_9_7_0(reason)
int vtkIdType
Definition vtkType.h:363
#define VTK_MARSHALAUTO