VTK  9.2.6
vtkCompositeDataProbeFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCompositeDataProbeFilter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
40 #ifndef vtkCompositeDataProbeFilter_h
41 #define vtkCompositeDataProbeFilter_h
42 
43 #include "vtkFiltersCoreModule.h" // For export macro
44 #include "vtkProbeFilter.h"
45 
46 #include <map> // For std::map
47 
49 class vtkDataSet;
51 template <typename T>
52 class vtkSmartPointer;
53 
54 class VTKFILTERSCORE_EXPORT vtkCompositeDataProbeFilter : public vtkProbeFilter
55 {
56 public:
59  void PrintSelf(ostream& os, vtkIndent indent) override;
60 
62 
74  vtkSetMacro(PassPartialArrays, bool);
75  vtkGetMacro(PassPartialArrays, bool);
76  vtkBooleanMacro(PassPartialArrays, bool);
78 
84  void SetFindCellStrategyMap(
85  const std::map<vtkDataSet*, vtkSmartPointer<vtkFindCellStrategy>>& map);
86 
87 protected:
89  ~vtkCompositeDataProbeFilter() override;
90 
96 
101 
105  void InitializeOutputArrays(vtkPointData* outPD, vtkIdType numPts) override;
106 
111 
116 
118 
119 private:
121  void operator=(const vtkCompositeDataProbeFilter&) = delete;
122 
123  std::map<vtkDataSet*, vtkSmartPointer<vtkFindCellStrategy>> StrategyMap;
124 };
125 
126 #endif
sample data values at specified point locations
represent and manipulate point attribute data
Definition: vtkPointData.h:41
virtual vtkExecutive * CreateDefaultExecutive()
Create a default executive.
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
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:32
int vtkIdType
Definition: vtkType.h:332
Superclass for all pipeline executives in VTK.
Definition: vtkExecutive.h:49
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:39
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.