VTK: Filters/ReebGraph/vtkUnstructuredGridToReebGraphFilter.h Source File

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