VTK  9.4.20241222
vtkCellGridPointProbe.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
22#ifndef vtkCellGridPointProbe_h
23#define vtkCellGridPointProbe_h
24
25#include "vtkFiltersCellGridModule.h" // For export macro
26#include "vtkNew.h" // for ivar
28
29VTK_ABI_NAMESPACE_BEGIN
30
32
33class VTKFILTERSCELLGRID_EXPORT vtkCellGridPointProbe : public vtkPolyDataAlgorithm
34{
35public:
38 void PrintSelf(ostream& os, vtkIndent indent) override;
39
46
50 vtkSetStringMacro(AttributeName);
51 vtkGetStringMacro(AttributeName);
52
53protected:
56
57 int FillInputPortInformation(int port, vtkInformation* info) override;
59 vtkInformation* request, vtkInformationVector** inInfo, vtkInformationVector* ouInfo) override;
60
62 char* AttributeName{ nullptr };
63
64private:
66 void operator=(const vtkCellGridPointProbe&) = delete;
67};
68
69VTK_ABI_NAMESPACE_END
70#endif // vtkCellGridPointProbe_h
Proxy object to connect input/output ports.
Evaluate a field (vtkCellAttribute) at some points inside cells.
Probe a vtkCellGrid with points.
~vtkCellGridPointProbe() override
int RequestData(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *ouInfo) override
This is called by the superclass.
static vtkCellGridPointProbe * New()
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void SetSourceConnection(vtkAlgorithmOutput *source)
Set the input cell-grid connection.
vtkNew< vtkCellGridEvaluator > Request
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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:167
Superclass for algorithms that produce only polydata as output.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)