VTK  9.3.20240418
vtkPolyDataToReebGraphFilter.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 vtkPolyDataToReebGraphFilter_h
18 #define vtkPolyDataToReebGraphFilter_h
19 
21 #include "vtkFiltersGeneralModule.h" // For export macro
22 
23 VTK_ABI_NAMESPACE_BEGIN
24 class vtkReebGraph;
25 
26 class VTKFILTERSGENERAL_EXPORT vtkPolyDataToReebGraphFilter : public vtkDirectedGraphAlgorithm
27 {
28 public:
31  void PrintSelf(ostream& os, vtkIndent indent) override;
32 
34 
37  vtkSetMacro(FieldId, int);
38  vtkGetMacro(FieldId, int);
40 
42 
43 protected:
46 
47  int FieldId;
48 
49  int FillInputPortInformation(int portNumber, vtkInformation*) override;
51 
53 
54 private:
56  void operator=(const vtkPolyDataToReebGraphFilter&) = delete;
57 };
58 
59 VTK_ABI_NAMESPACE_END
60 #endif
Superclass for algorithms that produce only directed graph as output.
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
generate a Reeb graph from a scalar field defined on a vtkPolyData.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkReebGraph * GetOutput()
static vtkPolyDataToReebGraphFilter * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
int FillInputPortInformation(int portNumber, vtkInformation *) override
Fill the input port information objects for this algorithm.
~vtkPolyDataToReebGraphFilter() override
Reeb graph computation for PL scalar fields.
Definition: vtkReebGraph.h:121