VTK  9.1.0
vtkReebGraphSurfaceSkeletonFilter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkReebGraphSurfaceSkeletonFilter.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=========================================================================*/
43#ifndef vtkReebGraphSurfaceSkeletonFilter_h
44#define vtkReebGraphSurfaceSkeletonFilter_h
45
47#include "vtkFiltersReebGraphModule.h" // For export macro
48
49class vtkReebGraph;
50class vtkTable;
51
52class VTKFILTERSREEBGRAPH_EXPORT vtkReebGraphSurfaceSkeletonFilter : public vtkDataObjectAlgorithm
53{
54public:
57 void PrintSelf(ostream& os, vtkIndent indent) override;
58
60
64 vtkSetMacro(NumberOfSamples, int);
65 vtkGetMacro(NumberOfSamples, int);
67
69
73 vtkSetMacro(NumberOfSmoothingIterations, int);
74 vtkGetMacro(NumberOfSmoothingIterations, int);
76
78
82 vtkSetMacro(FieldId, vtkIdType);
83 vtkGetMacro(FieldId, vtkIdType);
85
87
88protected:
91
93 int NumberOfSamples, NumberOfSmoothingIterations;
94
95 int FillInputPortInformation(int portNumber, vtkInformation*) override;
96 int FillOutputPortInformation(int portNumber, vtkInformation* info) override;
97
98 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
99 vtkInformationVector* outputVector) override;
100
101private:
103 void operator=(const vtkReebGraphSurfaceSkeletonFilter&) = delete;
104};
105
106#endif
Superclass for algorithms that produce only data object as output.
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
compute a skeletal embedding of the Reeb graph of a scalar field defined on a triangulated surface (v...
static vtkReebGraphSurfaceSkeletonFilter * New()
int FillOutputPortInformation(int portNumber, vtkInformation *info) override
Fill the output port information objects for this algorithm.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
int FillInputPortInformation(int portNumber, vtkInformation *) override
Fill the input port information objects for this algorithm.
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:132
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:172
@ info
Definition: vtkX3D.h:382
int vtkIdType
Definition: vtkType.h:332