VTK
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 =========================================================================*/
46 #ifndef vtkReebGraphSurfaceSkeletonFilter_h
47 #define vtkReebGraphSurfaceSkeletonFilter_h
48 
49 #include "vtkFiltersReebGraphModule.h" // For export macro
50 #include "vtkDataObjectAlgorithm.h"
51 
52 class vtkReebGraph;
53 class vtkTable;
54 
55 class VTKFILTERSREEBGRAPH_EXPORT vtkReebGraphSurfaceSkeletonFilter :
57 {
58 public:
61  void PrintSelf(ostream& os, vtkIndent indent) override;
62 
64 
68  vtkSetMacro(NumberOfSamples, int);
69  vtkGetMacro(NumberOfSamples, int);
71 
73 
77  vtkSetMacro(NumberOfSmoothingIterations, int);
78  vtkGetMacro(NumberOfSmoothingIterations, int);
80 
82 
86  vtkSetMacro(FieldId, vtkIdType);
87  vtkGetMacro(FieldId, vtkIdType);
89 
91 
92 protected:
95 
97  int NumberOfSamples, NumberOfSmoothingIterations;
98 
99  int FillInputPortInformation(int portNumber, vtkInformation *) override;
100  int FillOutputPortInformation(int portNumber, vtkInformation *info) override;
101 
102  int RequestData(vtkInformation *request,
103  vtkInformationVector **inputVector, vtkInformationVector *outputVector) override;
104 
105 private:
107  void operator=(const vtkReebGraphSurfaceSkeletonFilter&) = delete;
108 };
109 
110 #endif
vtkDataObject * GetOutput()
Get the output data object for a port on this algorithm.
Store vtkAlgorithm input/output information.
static vtkDataObjectAlgorithm * New()
int vtkIdType
Definition: vtkType.h:347
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
Reeb graph computation for PL scalar fields.
Definition: vtkReebGraph.h:134
a simple class to control print indentation
Definition: vtkIndent.h:39
compute a skeletal embedding of the Reeb graph of a scalar field defined on a triangulated surface (v...
Superclass for algorithms that produce only data object as output.
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:68
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store zero or more vtkInformation instances.
int FillInputPortInformation(int port, vtkInformation *info) 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.