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 =========================================================================*/
43 #ifndef vtkReebGraphSurfaceSkeletonFilter_h
44 #define vtkReebGraphSurfaceSkeletonFilter_h
45 
46 #include "vtkFiltersReebGraphModule.h" // For export macro
47 #include "vtkDataObjectAlgorithm.h"
48 
49 class vtkReebGraph;
50 class vtkTable;
51 
52 class VTKFILTERSREEBGRAPH_EXPORT vtkReebGraphSurfaceSkeletonFilter :
54 {
55 public:
58  void PrintSelf(ostream& os, vtkIndent indent);
59 
61 
65  vtkSetMacro(NumberOfSamples, int);
66  vtkGetMacro(NumberOfSamples, int);
68 
70 
74  vtkSetMacro(NumberOfSmoothingIterations, int);
75  vtkGetMacro(NumberOfSmoothingIterations, int);
77 
79 
83  vtkSetMacro(FieldId, vtkIdType);
84  vtkGetMacro(FieldId, vtkIdType);
86 
88 
89 protected:
92 
94  int NumberOfSamples, NumberOfSmoothingIterations;
95 
96  int FillInputPortInformation(int portNumber, vtkInformation *);
97  int FillOutputPortInformation(int portNumber, vtkInformation *info);
98 
99  int RequestData(vtkInformation *request,
100  vtkInformationVector **inputVector, vtkInformationVector *outputVector);
101 
102 private:
104  void operator=(const vtkReebGraphSurfaceSkeletonFilter&) VTK_DELETE_FUNCTION;
105 };
106 
107 #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:345
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:131
a simple class to control print indentation
Definition: vtkIndent.h:33
compute a skeletal embedding of the Reeb graph of a scalar field defined on a triangulated surface (v...
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Superclass for algorithms that produce only data object as output.
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:62
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.