VTK  9.0.1
vtkPolyDataToReebGraphFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPolyDataToReebGraphFilter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
26 #ifndef vtkPolyDataToReebGraphFilter_h
27 #define vtkPolyDataToReebGraphFilter_h
28 
30 #include "vtkFiltersGeneralModule.h" // For export macro
31 
32 class vtkReebGraph;
33 
34 class VTKFILTERSGENERAL_EXPORT vtkPolyDataToReebGraphFilter : public vtkDirectedGraphAlgorithm
35 {
36 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
42 
45  vtkSetMacro(FieldId, int);
46  vtkGetMacro(FieldId, int);
48 
50 
51 protected:
54 
55  int FieldId;
56 
57  int FillInputPortInformation(int portNumber, vtkInformation*) override;
59 
61 
62 private:
64  void operator=(const vtkPolyDataToReebGraphFilter&) = delete;
65 };
66 
67 #endif
Superclass for algorithms that produce only directed graph as output.
a simple class to control print indentation
Definition: vtkIndent.h:34
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:132