VTK  9.0.1
vtkReebGraphToJoinSplitTreeFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkReebGraphToJoinSplitTreeFilter.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 =========================================================================*/
35 #ifndef vtkReebGraphToJoinSplitTreeFilter_h
36 #define vtkReebGraphToJoinSplitTreeFilter_h
37 
39 #include "vtkFiltersReebGraphModule.h" // For export macro
40 
41 class vtkReebGraph;
42 
43 class VTKFILTERSREEBGRAPH_EXPORT vtkReebGraphToJoinSplitTreeFilter
45 {
46 public:
49  void PrintSelf(ostream& os, vtkIndent indent) override;
50 
52 
56  vtkSetMacro(IsSplitTree, bool);
57  vtkGetMacro(IsSplitTree, bool);
59 
61 
65  vtkSetMacro(FieldId, vtkIdType);
66  vtkGetMacro(FieldId, vtkIdType);
68 
70 
71 protected:
74 
76 
78 
79  int FillInputPortInformation(int portNumber, vtkInformation*) override;
80  int FillOutputPortInformation(int, vtkInformation*) override;
81 
82  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
83  vtkInformationVector* outputVector) override;
84 
85 private:
87  void operator=(const vtkReebGraphToJoinSplitTreeFilter&) = delete;
88 };
89 
90 #endif
vtkDirectedGraphAlgorithm
Superclass for algorithms that produce only directed graph as output.
Definition: vtkDirectedGraphAlgorithm.h:52
vtkIdType
int vtkIdType
Definition: vtkType.h:338
vtkDirectedGraphAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkDirectedGraphAlgorithm::New
static vtkDirectedGraphAlgorithm * New()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkDirectedGraphAlgorithm::FillOutputPortInformation
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkReebGraphToJoinSplitTreeFilter
converts a given Reeb graph either to a join tree or a split tree (respectively the connectivity of t...
Definition: vtkReebGraphToJoinSplitTreeFilter.h:43
vtkReebGraphToJoinSplitTreeFilter::FieldId
vtkIdType FieldId
Definition: vtkReebGraphToJoinSplitTreeFilter.h:77
vtkReebGraph
Reeb graph computation for PL scalar fields.
Definition: vtkReebGraph.h:131
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkDirectedGraphAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkDirectedGraphAlgorithm.h
vtkDirectedGraphAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkDirectedGraphAlgorithm::GetOutput
vtkDirectedGraph * GetOutput()
Get the output data object for a port on this algorithm.
Definition: vtkDirectedGraphAlgorithm.h:68
vtkReebGraphToJoinSplitTreeFilter::IsSplitTree
bool IsSplitTree
Definition: vtkReebGraphToJoinSplitTreeFilter.h:75