VTK: Filters/General/vtkPolyDataToReebGraphFilter.h Source File

| VTK 9.3.1

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
20 #include "vtkDirectedGraphAlgorithm.h"
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:
29 static vtkPolyDataToReebGraphFilter* New();
30 vtkTypeMacro(vtkPolyDataToReebGraphFilter, vtkDirectedGraphAlgorithm);
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32
34
37 vtkSetMacro(FieldId, int);
38 vtkGetMacro(FieldId, int);
40
41 vtkReebGraph* GetOutput();
42
43 protected:
44 vtkPolyDataToReebGraphFilter();
45 ~vtkPolyDataToReebGraphFilter() override;
46
47 int FieldId;
48
49 int FillInputPortInformation(int portNumber, vtkInformation*) override;
50 int FillOutputPortInformation(int, vtkInformation*) override;
51
52 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
53
54 private:
55 vtkPolyDataToReebGraphFilter(const vtkPolyDataToReebGraphFilter&) = delete;
56 void operator=(const vtkPolyDataToReebGraphFilter&) = delete;
57 };
58
59 VTK_ABI_NAMESPACE_END
60 #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
vtkPolyDataToReebGraphFilter
generate a Reeb graph from a scalar field defined on a vtkPolyData.
Definition: vtkPolyDataToReebGraphFilter.h:27
vtkPolyDataToReebGraphFilter::vtkPolyDataToReebGraphFilter
vtkPolyDataToReebGraphFilter()
vtkPolyDataToReebGraphFilter::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkPolyDataToReebGraphFilter::GetOutput
vtkReebGraph * GetOutput()
vtkPolyDataToReebGraphFilter::New
static vtkPolyDataToReebGraphFilter * New()
vtkPolyDataToReebGraphFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPolyDataToReebGraphFilter::FillOutputPortInformation
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
vtkPolyDataToReebGraphFilter::FillInputPortInformation
int FillInputPortInformation(int portNumber, vtkInformation *) override
Fill the input port information objects for this algorithm.
vtkPolyDataToReebGraphFilter::FieldId
int FieldId
Definition: vtkPolyDataToReebGraphFilter.h:47
vtkPolyDataToReebGraphFilter::~vtkPolyDataToReebGraphFilter
~vtkPolyDataToReebGraphFilter() override
vtkReebGraph
Reeb graph computation for PL scalar fields.
Definition: vtkReebGraph.h:121
vtkDirectedGraphAlgorithm.h