VTK  9.7.20260916
vtkTableProbe.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
92
93#ifndef vtkTableProbe_h
94#define vtkTableProbe_h
95
96#include "vtkDataObject.h" // for attribute types enum
97#include "vtkFiltersGeneralModule.h" // For export macro
99
100VTK_ABI_NAMESPACE_BEGIN
103
104class VTKFILTERSGENERAL_EXPORT vtkTableProbe : public vtkPassInputTypeAlgorithm
105{
106public:
109 void PrintSelf(ostream& os, vtkIndent indent) override;
110
115
120 vtkSetClampMacro(
122 vtkGetMacro(AttributeToProcess, int);
123
128 vtkGetMacro(CoordinatesArray, vtkDataArraySelection*);
129
135
136protected:
138 ~vtkTableProbe() override;
139
141 vtkInformationVector* outputVector) override;
142
147
148private:
149 vtkTableProbe(const vtkTableProbe&) = delete;
150 void operator=(const vtkTableProbe&) = delete;
151
159 vtkDataSetAttributes* source, vtkDataSetAttributes* filtered, const std::string& excludedField);
160
164 vtkDataArray* GetInputArrayFromSource(
165 vtkDataSetAttributes* inputAttributes, vtkDataArray* sourceArray);
166
167 int AttributeToProcess = vtkDataObject::POINT;
168
169 vtkNew<vtkDataArraySelection> CoordinatesArray;
170};
171
172VTK_ABI_NAMESPACE_END
173#endif
Proxy object to connect input/output ports.
Store on/off settings for data arrays, etc.
represent and manipulate attribute data in a dataset
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Allocate and hold a VTK object.
Definition vtkNew.h:168
virtual vtkDataArraySelection * GetCoordinatesArray()
The list of vtkDataArray to use as coordinates.
~vtkTableProbe() override
vtkMTimeType GetMTime() override
Get the MTime of the filter.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkTableProbe * New()
void SetSourceConnection(vtkAlgorithmOutput *input)
Set the connection for the Source vtkTable, to define the N-dimensional space.
int FillInputPortInformation(int, vtkInformation *) override
Add a second input with vtkTable class requirement.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
#define vtkDataArray
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:318