VTK  9.3.20240424
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
23VTK_ABI_NAMESPACE_BEGIN
24class vtkGraph;
25
26class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostExtractLargestComponent
27 : public vtkGraphAlgorithm
28{
29public:
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32
38
40
43 vtkSetMacro(InvertSelection, bool);
44 vtkGetMacro(InvertSelection, bool);
46
47protected:
50
52
57
58private:
60 void operator=(const vtkBoostExtractLargestComponent&) = delete;
61};
62
63VTK_ABI_NAMESPACE_END
64#endif
Extract the largest connected component of a graph.
~vtkBoostExtractLargestComponent() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkBoostExtractLargestComponent * New()
Construct an instance of vtkBoostExtractLargestComponent with InvertSelection set to false.
bool InvertSelection
Store the choice of whether or not to invert the selection.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
Superclass for algorithms that produce only graph as output.
Base class for graph data types.
Definition vtkGraph.h:340
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.