VTK  9.2.6
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 "vtkDataObjectAlgorithm.h"
51 #include "vtkFiltersReebGraphModule.h" // For export macro
52 
53 class vtkReebGraph;
54 class vtkTable;
55 
56 class VTKFILTERSREEBGRAPH_EXPORT vtkReebGraphVolumeSkeletonFilter : public vtkDataObjectAlgorithm
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, vtkInformationVector** inputVector,
103  vtkInformationVector* outputVector) override;
104 
105 private:
107  void operator=(const vtkReebGraphVolumeSkeletonFilter&) = 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:332
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:73
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.