VTK  9.3.1
vtkUnstructuredGridToReebGraphFilter.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
17 #ifndef vtkUnstructuredGridToReebGraphFilter_h
18 #define vtkUnstructuredGridToReebGraphFilter_h
19 
21 #include "vtkFiltersReebGraphModule.h" // For export macro
22 
23 VTK_ABI_NAMESPACE_BEGIN
24 class vtkReebGraph;
25 
26 class VTKFILTERSREEBGRAPH_EXPORT vtkUnstructuredGridToReebGraphFilter
28 {
29 public:
32  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
35 
38  vtkSetMacro(FieldId, int);
39  vtkGetMacro(FieldId, int);
41 
43 
44 protected:
47 
48  int FieldId;
49 
50  int FillInputPortInformation(int portNumber, vtkInformation*) override;
51  int FillOutputPortInformation(int, vtkInformation*) override;
52 
54 
55 private:
57  void operator=(const vtkUnstructuredGridToReebGraphFilter&) = delete;
58 };
59 
60 VTK_ABI_NAMESPACE_END
61 #endif
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
Store vtkAlgorithm input/output information.
generate a Reeb graph from a scalar field defined on a vtkUnstructuredGrid.
static vtkDirectedGraphAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Reeb graph computation for PL scalar fields.
Definition: vtkReebGraph.h:120
Superclass for algorithms that produce only directed graph as output.
a simple class to control print indentation
Definition: vtkIndent.h:28
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store zero or more vtkInformation instances.
vtkDirectedGraph * GetOutput()
Get the output data object for a port on this algorithm.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.