VTK  9.2.6
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 =========================================================================*/
29 #ifndef vtkPolyDataToReebGraphFilter_h
30 #define vtkPolyDataToReebGraphFilter_h
31 
33 #include "vtkFiltersGeneralModule.h" // For export macro
34 
35 class vtkReebGraph;
36 
37 class VTKFILTERSGENERAL_EXPORT vtkPolyDataToReebGraphFilter : public vtkDirectedGraphAlgorithm
38 {
39 public:
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
45 
48  vtkSetMacro(FieldId, int);
49  vtkGetMacro(FieldId, int);
51 
53 
54 protected:
56  ~vtkPolyDataToReebGraphFilter() override;
57 
58  int FieldId;
59 
60  int FillInputPortInformation(int portNumber, vtkInformation*) override;
61  int FillOutputPortInformation(int, vtkInformation*) override;
62 
64 
65 private:
67  void operator=(const vtkPolyDataToReebGraphFilter&) = delete;
68 };
69 
70 #endif
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
Store vtkAlgorithm input/output information.
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:134
Superclass for algorithms that produce only directed graph as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store zero or more vtkInformation instances.
generate a Reeb graph from a scalar field defined on a vtkPolyData.
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.