VTK  9.7.1
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
27 #include "vtkPolyDataAlgorithm.h"
28 
29 VTK_ABI_NAMESPACE_BEGIN
30 
32 
33 class VTKFILTERSCELLGRID_EXPORT vtkCellGridPointProbe : public vtkPolyDataAlgorithm
34 {
35 public:
36  static vtkCellGridPointProbe* New();
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
45  void SetSourceConnection(vtkAlgorithmOutput* source);
46 
50  vtkSetStringMacro(AttributeName);
51  vtkGetStringMacro(AttributeName);
52 
53 protected:
55  ~vtkCellGridPointProbe() override;
56 
58  int RequestData(
59  vtkInformation* request, vtkInformationVector** inInfo, vtkInformationVector* ouInfo) override;
60 
62  char* AttributeName{ nullptr };
63 
64 private:
66  void operator=(const vtkCellGridPointProbe&) = delete;
67 };
68 
69 VTK_ABI_NAMESPACE_END
70 #endif // vtkCellGridPointProbe_h
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Proxy object to connect input/output ports.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:28
Evaluate a field (vtkCellAttribute) at some points inside cells.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
vtkNew< vtkCellGridEvaluator > Request
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store zero or more vtkInformation instances.
Probe a vtkCellGrid with points.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.