VTK  9.3.1
vtkBoostExtractLargestComponent.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
17 #ifndef vtkBoostExtractLargestComponent_h
18 #define vtkBoostExtractLargestComponent_h
19 
20 #include "vtkGraphAlgorithm.h"
21 #include "vtkInfovisBoostGraphAlgorithmsModule.h" // For export macro
22 
23 VTK_ABI_NAMESPACE_BEGIN
24 class vtkGraph;
25 
26 class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostExtractLargestComponent
27  : public vtkGraphAlgorithm
28 {
29 public:
31  void PrintSelf(ostream& os, vtkIndent indent) override;
32 
38 
40 
43  vtkSetMacro(InvertSelection, bool);
44  vtkGetMacro(InvertSelection, bool);
46 
47 protected:
49  ~vtkBoostExtractLargestComponent() override = default;
50 
52 
57 
58 private:
60  void operator=(const vtkBoostExtractLargestComponent&) = delete;
61 };
62 
63 VTK_ABI_NAMESPACE_END
64 #endif
static vtkGraphAlgorithm * New()
Store vtkAlgorithm input/output information.
Extract the largest connected component of a graph.
Superclass for algorithms that produce only graph as output.
Base class for graph data types.
Definition: vtkGraph.h:280
a simple class to control print indentation
Definition: vtkIndent.h:28
bool InvertSelection
Store the choice of whether or not to invert the selection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Store zero or more vtkInformation instances.