VTK  9.0.1
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 =========================================================================*/
44 #ifndef vtkReebGraphVolumeSkeletonFilter_h
45 #define vtkReebGraphVolumeSkeletonFilter_h
46 
47 #include "vtkDataObjectAlgorithm.h"
48 #include "vtkFiltersReebGraphModule.h" // For export macro
49 
50 class vtkReebGraph;
51 class vtkTable;
52 
53 class VTKFILTERSREEBGRAPH_EXPORT vtkReebGraphVolumeSkeletonFilter : public vtkDataObjectAlgorithm
54 {
55 public:
58  void PrintSelf(ostream& os, vtkIndent indent) override;
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*) override;
97  int FillOutputPortInformation(int portNumber, vtkInformation* info) override;
98 
99  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
100  vtkInformationVector* outputVector) override;
101 
102 private:
104  void operator=(const vtkReebGraphVolumeSkeletonFilter&) = delete;
105 };
106 
107 #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.
vtkReebGraphVolumeSkeletonFilter::NumberOfSmoothingIterations
int NumberOfSmoothingIterations
Definition: vtkReebGraphVolumeSkeletonFilter.h:94
vtkReebGraphVolumeSkeletonFilter::FieldId
vtkIdType FieldId
Definition: vtkReebGraphVolumeSkeletonFilter.h:93
vtkReebGraph
Reeb graph computation for PL scalar fields.
Definition: vtkReebGraph.h:131
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkReebGraphVolumeSkeletonFilter
compute a skeletal embedding of the Reeb graph of a scalar field defined on a tetrahedral mesh (vtkUn...
Definition: vtkReebGraphVolumeSkeletonFilter.h:53
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkDataObjectAlgorithm::GetOutput
vtkDataObject * GetOutput()
Get the output data object for a port on this algorithm.
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.