VTK: Filters/ReebGraph/vtkReebGraphSurfaceSkeletonFilter.h Source File

| VTK 9.3.1

vtkReebGraphSurfaceSkeletonFilter.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
34 #ifndef vtkReebGraphSurfaceSkeletonFilter_h
35 #define vtkReebGraphSurfaceSkeletonFilter_h
36
37 #include "vtkDataObjectAlgorithm.h"
38 #include "vtkFiltersReebGraphModule.h" // For export macro
39
40 VTK_ABI_NAMESPACE_BEGIN
41 class vtkReebGraph;
42 class vtkTable;
43
44 class VTKFILTERSREEBGRAPH_EXPORT vtkReebGraphSurfaceSkeletonFilter : public vtkDataObjectAlgorithm
45 {
46 public:
47 static vtkReebGraphSurfaceSkeletonFilter* New();
48 vtkTypeMacro(vtkReebGraphSurfaceSkeletonFilter, vtkDataObjectAlgorithm);
49 void PrintSelf(ostream& os, vtkIndent indent) override;
50
52
56 vtkSetMacro(NumberOfSamples, int);
57 vtkGetMacro(NumberOfSamples, int);
59
61
65 vtkSetMacro(NumberOfSmoothingIterations, int);
66 vtkGetMacro(NumberOfSmoothingIterations, int);
68
70
74 vtkSetMacro(FieldId, vtkIdType);
75 vtkGetMacro(FieldId, vtkIdType);
77
78 vtkTable* GetOutput();
79
80 protected:
81 vtkReebGraphSurfaceSkeletonFilter();
82 ~vtkReebGraphSurfaceSkeletonFilter() override;
83
84 vtkIdType FieldId;
85 int NumberOfSamples, NumberOfSmoothingIterations;
86
87 int FillInputPortInformation(int portNumber, vtkInformation*) override;
88 int FillOutputPortInformation(int portNumber, vtkInformation* info) override;
89
90 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
91 vtkInformationVector* outputVector) override;
92
93 private:
94 vtkReebGraphSurfaceSkeletonFilter(const vtkReebGraphSurfaceSkeletonFilter&) = delete;
95 void operator=(const vtkReebGraphSurfaceSkeletonFilter&) = delete;
96 };
97
98 VTK_ABI_NAMESPACE_END
99 #endif
vtkDataObjectAlgorithm
Superclass for algorithms that produce only data object as output.
Definition: vtkDataObjectAlgorithm.h:33
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
vtkReebGraphSurfaceSkeletonFilter
compute a skeletal embedding of the Reeb graph of a scalar field defined on a triangulated surface (v...
Definition: vtkReebGraphSurfaceSkeletonFilter.h:45
vtkReebGraphSurfaceSkeletonFilter::vtkReebGraphSurfaceSkeletonFilter
vtkReebGraphSurfaceSkeletonFilter()
vtkReebGraphSurfaceSkeletonFilter::FieldId
vtkIdType FieldId
Definition: vtkReebGraphSurfaceSkeletonFilter.h:84
vtkReebGraphSurfaceSkeletonFilter::~vtkReebGraphSurfaceSkeletonFilter
~vtkReebGraphSurfaceSkeletonFilter() override
vtkReebGraphSurfaceSkeletonFilter::New
static vtkReebGraphSurfaceSkeletonFilter * New()
vtkReebGraphSurfaceSkeletonFilter::GetOutput
vtkTable * GetOutput()
vtkReebGraphSurfaceSkeletonFilter::FillOutputPortInformation
int FillOutputPortInformation(int portNumber, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkReebGraphSurfaceSkeletonFilter::RequestData
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
vtkReebGraphSurfaceSkeletonFilter::NumberOfSamples
int NumberOfSamples
Definition: vtkReebGraphSurfaceSkeletonFilter.h:85
vtkReebGraphSurfaceSkeletonFilter::FillInputPortInformation
int FillInputPortInformation(int portNumber, vtkInformation *) override
Fill the input port information objects for this algorithm.
vtkReebGraphSurfaceSkeletonFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkReebGraph
Reeb graph computation for PL scalar fields.
Definition: vtkReebGraph.h:121
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:68
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkDataObjectAlgorithm.h
vtkIdType
int vtkIdType
Definition: vtkType.h:315