VTK  9.0.1
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 
46 #include "vtkDataObjectAlgorithm.h"
47 #include "vtkFiltersReebGraphModule.h" // For export macro
48 
49 class vtkReebGraph;
50 class vtkTable;
51 
52 class VTKFILTERSREEBGRAPH_EXPORT vtkReebGraphSurfaceSkeletonFilter : public vtkDataObjectAlgorithm
53 {
54 public:
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 
88 protected:
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 
101 private:
103  void operator=(const vtkReebGraphSurfaceSkeletonFilter&) = delete;
104 };
105 
106 #endif
vtkDataObjectAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIdType
int vtkIdType
Definition: vtkType.h:338
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:62
vtkDataObjectAlgorithm
Superclass for algorithms that produce only data object as output.
Definition: vtkDataObjectAlgorithm.h:43
vtkDataObjectAlgorithm::FillOutputPortInformation
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkReebGraph
Reeb graph computation for PL scalar fields.
Definition: vtkReebGraph.h:131
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkReebGraphSurfaceSkeletonFilter::NumberOfSmoothingIterations
int NumberOfSmoothingIterations
Definition: vtkReebGraphSurfaceSkeletonFilter.h:93
vtkReebGraphSurfaceSkeletonFilter::FieldId
vtkIdType FieldId
Definition: vtkReebGraphSurfaceSkeletonFilter.h:92
vtkDataObjectAlgorithm::GetOutput
vtkDataObject * GetOutput()
Get the output data object for a port on this algorithm.
vtkReebGraphSurfaceSkeletonFilter
compute a skeletal embedding of the Reeb graph of a scalar field defined on a triangulated surface (v...
Definition: vtkReebGraphSurfaceSkeletonFilter.h:52
vtkDataObjectAlgorithm::New
static vtkDataObjectAlgorithm * New()
vtkDataObjectAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Definition: vtkDataObjectAlgorithm.h:116
vtkDataObjectAlgorithm.h
vtkDataObjectAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.