VTK
vtkReebGraphVolumeSkeletonFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkReebGraphVolumeSkeletonFilter.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 =========================================================================*/
47 #ifndef vtkReebGraphVolumeSkeletonFilter_h
48 #define vtkReebGraphVolumeSkeletonFilter_h
49 
50 #include "vtkFiltersReebGraphModule.h" // For export macro
51 #include "vtkDataObjectAlgorithm.h"
52 
53 class vtkReebGraph;
54 class vtkTable;
55 
56 class VTKFILTERSREEBGRAPH_EXPORT vtkReebGraphVolumeSkeletonFilter :
58 {
59 public:
63  void PrintSelf(ostream& os, vtkIndent indent) override;
64 
66 
70  vtkSetMacro(NumberOfSamples, int);
71  vtkGetMacro(NumberOfSamples, int);
73 
75 
79  vtkSetMacro(NumberOfSmoothingIterations, int);
80  vtkGetMacro(NumberOfSmoothingIterations, int);
82 
84 
88  vtkSetMacro(FieldId, vtkIdType);
89  vtkGetMacro(FieldId, vtkIdType);
91 
93 
94 protected:
97 
99  int NumberOfSamples, NumberOfSmoothingIterations;
100 
101  int FillInputPortInformation(int portNumber, vtkInformation *) override;
102  int FillOutputPortInformation(int portNumber, vtkInformation *info) override;
103 
104  int RequestData(vtkInformation *request,
105  vtkInformationVector **inputVector, vtkInformationVector *outputVector) override;
106 
107 private:
109  void operator=(const vtkReebGraphVolumeSkeletonFilter&) = delete;
110 };
111 
112 #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.
compute a skeletal embedding of the Reeb graph of a scalar field defined on a tetrahedral mesh (vtkUn...
Reeb graph computation for PL scalar fields.
Definition: vtkReebGraph.h:134
a simple class to control print indentation
Definition: vtkIndent.h:39
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.